Skip to content

SoD: Seperating Male and Female Custom Portraits

CaloNordCaloNord Member Posts: 1,809
Is there a way to have the engine distinguish between the male and female portraits in the folder?

I have several hundred custom portraits and it would be tidy if there was a way to assign them to the correct gender at character creation. :)

Comments

  • megamike15megamike15 Member Posts: 2,666
    as of this moment no. someone did find a way but i could never get it to work.
  • DeeDee Member Posts: 10,447
    Custom portraits have always been kind of a "Hey it works...sort of" feature of the Infinity Engine. We have some ideas on how to improve it, though implementing them may take some time.

    (We hear the "I have packs of 300+ custom portraits and hate having to scroll through them one at a time" comments loud and clear, trust me.)
  • CaloNordCaloNord Member Posts: 1,809
    No problems! :D It's an awesome feature, having to pick through two lists always made it feel like it was a bit of an after thought originally. Having it fit into the list of other portrait makes everything feel a little more like it's part of the same experience.

    It has been a great excuse for me to cull my collection of portraits considerably, especially since I only really used about 2 dozen or so.

    Thanks
  • Avenger_teambgAvenger_teambg Member, Developer Posts: 5,862
    If you can add your portraits to bgee.lua then you can already have them separated. I believe it would be easy with some better text editor to speed up the process.
  • CaloNordCaloNord Member Posts: 1,809
    edited April 2016
    I was going to ask how the male and female portraits were differentiated to begin with? Since the default portraits are separated.
  • BillyYankBillyYank Member Posts: 2,768
    Editing the BGEE.lua sort of works. If you have them differentiated in BGEE.lua, and you click to the right, past the standard portraits, you'll see the correct gender portraits first. If you keep clicking, you'll get all your portraits regardless of gender. As far as I can tell from a quick click through, the portraits are in the order that they appear in BGEE.lua.

    @Dee tells how to add them to BGEE.lua in this thread, and if you scroll down you'll find a PowerShell utility I wrote that helps produce the list you need to paste into BGEE.lua.

    https://forums.beamdog.com/discussion/comment/725816/#Comment_725816
  • naggertnaggert Member Posts: 65
    Not exactly what you asked for, but I find it easiet to just assign a random portrait and then updating it with EE keeper
  • CaloNordCaloNord Member Posts: 1,809
    It's funny @naggert would suggest that because I started doing that a couple of days ago. I'm very picky with portraits and I wanted, in this case, a wide shot for the large portrait and a close up for the small. EE Keeper lets you do that. :)
  • naggertnaggert Member Posts: 65
    edited April 2016
    I found some rather high resolution images on pinterest. Like 2000x3000 and cropped them so they fit (still high res). After updating portraits for 5 party members I had a serious drop in performance. It felt like I was running on 10 FPS or with a constant slow-spell. (playing from ssd, last years i7, gtx980ti and 16gb ram).

    I highly recommend reducing the image size to a much, much smaller size. I'm at work, but as I recall I run something in the vicinity of 120*180 and 240*350 pixels now.

    EDIT: oups, misplaced a word or two.
  • ThelsThels Member Posts: 1,422
    @naggert: 330x210 is what you want to crop them to.
  • naggertnaggert Member Posts: 65
    @Thels I think you should try and make an image with 330x210 ratio. I'll guarantee you'll regret it very fast :)
  • ThelsThels Member Posts: 1,422
    Err wait, yeah, 210x330, not 330x210. Whoops? :p
  • BillyYankBillyYank Member Posts: 2,768
    I make all my portraits at IWD size 420x660 and 169x266. That way I don't have to keep multiple portrait sets. The BG games handle the larger size just fine.
  • rapsam2003rapsam2003 Member Posts: 1,636
    edited April 2016
    You shouldn't even have to crop images in 2.0. Granted, if the images shows some character and then there's a bunch of stuff in the background, it will shrink the whole image. This can cause your image to look...undesirable. But, unlike the old days, you are not forced to crop your images; it's purely personal preference.
  • BillyYankBillyYank Member Posts: 2,768
    You'll want it in the correct aspect ratio, though. Which is 7x11. In my editing software, I've created a crop preset of 420x660. Then I can tell it to maintain aspect ratio as I resize it. The result will always be a 7x11 rectangle no matter how big it is.
  • ThelsThels Member Posts: 1,422
    Didn't know IWD used larger images. If that's so, then focusing on 420x660 is probably recommended.

    Obviously, you still want to crop properly, as you want the character to become the focus of the picture, as well as keep it's aspect ratio, but unless the picture is really really big, there's no need to resize after.
  • BillyYankBillyYank Member Posts: 2,768
    On the advice of Beamdog support, I put my custom portraits in override instead of in the portraits folder. Now the separation of male and female portraits works fine. It also got rid of the weird behavior I was seeing when I clicked to the left instead of to the right.
    http://support.baldursgate.com/issues/21989
Sign In or Register to comment.