Skip to content

[MOD] Portrait Gender Separator (v1.7)

Dan_PDan_P Member Posts: 131
edited January 9 in General Modding
Download: https://github.com/D2-mods/Portrait-Gender-Separator-for-IE-games/releases
Installs on: BG:EE, BG2:EE, IWD:EE, EET (tested on v2.5/v2.6)

--

Adds your portraits to the male or female portrait lists, appearing after the official portraits. Will scan portraits from inside the mod folder, as well as from the regular Portaits folders for each game.

Usage is really simple. Just put your portraits either in the regular Portraits folder or in one of the subfolders in the mod folder. Then run the installer. Files are copied to the override and filenames are grabbed for the M_*.lua file. If using the Infinity UI++ mod, instead of a .lua file, this mod will patch UI.MENU directly (will not overwrite any previous changes).

See bottom for compatibility info. This mod needs to be installed after Infinity UI++, if using.

--

Mod folder
  • All portraits in the (f) folder are added to the female list.
  • All portraits in the (m) folder are added to the male list.
  • If you want a portrait to appear in both lists, you can put it in both the (m) and (f) folders.
  • These folders can also be used to store your portraits for quick reinstall.

Portraits folder
  • Filenames starting in F will be added to the female list (does not need to be capitalized).
  • Filenames starting in M will be added to the male list.
  • Files are copied to the override, where they are only selectable if added by a .lua file.
--

NOTE:
After install, any portraits starting in M or F should be moved/deleted from the Portraits folder.
The portraits in this folder and from the .lua file are part of separate lists.
Both will appear when clicking through the portraits in the game if both exist.

--

Portrait Selector compatibility

compatible:
  • BillyYank's Multi-Portrait
  • Dragonspear UI++
  • Infinity UI++
  • lefreut's Portrait Picker (selection screen will only show the small portraits if you have a file ending in M, but the actual game screens will scale down the L-size if you don't have one)
not compatible:
  • Mr2150's Portrait Picker
Post edited by Dan_P on

Comments

  • skushaskusha Member Posts: 138
    @Dan_P, Is it compatible with the portrait picker from Dragonspear UI++
  • Dan_PDan_P Member Posts: 131
    skusha wrote: »
    @Dan_P, Is it compatible with the portrait picker from Dragonspear UI++

    Just checked, and yes it's fully compatible. I'll add mention of that to the download page.
  • savageksavagek Member Posts: 3
    This works really well. Thanks
  • Dan_PDan_P Member Posts: 131
    Update v1.5
    • Rewrote the installer. It's more efficient + closed one potential (though unlikely) issue.

    Not sure how many here are using this, but I've been wanting to redo this mod for a while. Speed increase will probably only be noticeable if you have hundreds of portraits for these games.
  • Dan_PDan_P Member Posts: 131
    edited January 1
    v1.7 update

    This update makes the mod compatible with Infinity UI++ (tested with v0.64 Beta). Instead of a .lua file, it will patch UI.MENU directly (will not overwrite any previous changes).

    This mod needs to be installed after Infinity UI++, if using.

    Download on GitHub: https://github.com/D2-mods/Portrait-Gender-Separator-for-IE-games/releases
  • FrenzgynFrenzgyn Member Posts: 80
    Thanks for the update!
Sign In or Register to comment.