Results 1 to 8 of 8

Thread: Character panel portrait not changeable

  1. #1

    Default Character panel portrait not changeable

    I've seen tons of other mods mess with this,
    however I cant get it to work.

    I can edit every single other instances of a portrait and it shows up,
    however the actual character panel composite is blank.

    I think it has something to do with how Photoshop is saving the PNG,
    perhaps the quality is different or something with alpha channels?

    I even tried this weird thing with some instructions on changing the meta data time of the file to the future...
    idk why
    taken from here
    https://www.reddit.com/r/totalwar/co..._for_110_beta/
    Spoiler Alert, click show to read: 

    HOW TO FIX VERSION 1.1.0 BETA INCOMPATIBILITY
    This assumes that the portrait mod already worked before, just not on the 1.1.0 beta. If it didn't work before it is unlikely that these steps will fix it.

    • Download a program or use something that can allow you to change the date modified field in the meta data. I used BulkFileChanger: https://www.nirsoft.net/utils/bulk_file_changer.html
    • In the case of BulkFileChanger go to File->Add by Wildcard
    • Point it to the folder with a /* after it
    • Select Infinite for subfolder depth and hit okay.
    • Now click on any of the files that show up. Hit Control + A on your keyboard to select everything
    • Go to Actions->change file time/attributes.
    • Check the modified row and change the year to somewhere in the future. Hit Okay
    • Done!

    Now go in game and see if they work



    that also didnt seem to work

    Spoiler Alert, click show to read: 



    Note I did get the unit card updated, as it was stored in fast.pack for no reason..




    Last edited by Havie; June 30, 2019 at 09:53 PM.

    My Mods
    ------------------------------------------------------------------------------------
    TW Arena Campaign Generals (R2)
    Achilles (2018) mod






  2. #2
    Geniuswas's Avatar Civis
    Join Date
    Sep 2010
    Location
    Sydney, Australia
    Posts
    150

    Default Re: Character panel portrait not changeable

    Have you already added a .png.src file to accompany the normal png in the composites folder?
    For all 3 angry, norm and happy faces in the large_panel folder, (which is the one loaded in the panel portrait), there needs to be a replica copy of the png except with an extra .src extension. Not sure why this is needed but just following the example in the database.pack.

  3. #3

    Default Re: Character panel portrait not changeable

    Quote Originally Posted by Geniuswas View Post
    Have you already added a .png.src file to accompany the normal png in the composites folder?
    For all 3 angry, norm and happy faces in the large_panel folder, (which is the one loaded in the panel portrait), there needs to be a replica copy of the png except with an extra .src extension. Not sure why this is needed but just following the example in the database.pack.
    Hello,

    Thanks for the reply,
    I am not quite sure what you are talking about?
    database.pack doesnt have an UI so I cant follow your example.

    Data.pack does,
    and i dont see png.src for any characters? esp not Zhao Yun, he just has noanim.png


    What is png.src? how do I make one?

    Also under fast.pack zhaoyun has 1 unit card there as well but this isnt for the composite

    My Mods
    ------------------------------------------------------------------------------------
    TW Arena Campaign Generals (R2)
    Achilles (2018) mod






  4. #4

    Default Re: Character panel portrait not changeable

    Also here is an example in data.pack for Gan Ning who follows the same conventions as ZHao Yun:

    Spoiler Alert, click show to read: 





    My Mods
    ------------------------------------------------------------------------------------
    TW Arena Campaign Generals (R2)
    Achilles (2018) mod






  5. #5

    Default Re: Character panel portrait not changeable

    So ive tried figuring this out :

    Adobe PhotoShop: hit ALT+CNTRL+SHIFT+Sselect png24, there are alot of other options here,
    unsure about all of them.



    Spoiler Alert, click show to read: 








    Then downloaded tweakpng

    Opened up the vanilla file- I see the line :
    [type:angry;x:-5;y:78;z-order:0;pivot_x:0.5003;pivot_y:0.5004;]




    and copied it over to the second instance of tweakpng with my edited file open.




    This now works,


    Spoiler Alert, click show to read: 




    Last edited by Havie; July 01, 2019 at 02:15 PM.

    My Mods
    ------------------------------------------------------------------------------------
    TW Arena Campaign Generals (R2)
    Achilles (2018) mod






  6. #6

    Default Re: Character panel portrait not changeable

    You did it! mad man xD

  7. #7

    Default Re: Character panel portrait not changeable

    can you share your Zhou Yun portrait bro? it looks great !

  8. #8

    Default Re: Character panel portrait not changeable

    Quote Originally Posted by steven2212 View Post
    can you share your Zhou Yun portrait bro? it looks great !
    you can find it on my workshop currently
    https://steamcommunity.com/sharedfil...?id=1791698012

    My Mods
    ------------------------------------------------------------------------------------
    TW Arena Campaign Generals (R2)
    Achilles (2018) mod






Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •