Results 1 to 15 of 15

Thread: Selfie (portrait settings tool)

  1. #1

    Default Selfie (portrait settings tool)

    Attached is a zip file containing selfie.exe. Selfie is a windows console application for packing portrait_settings.xml into portrait_settings.bin for Total War: Attila.

    Usage:

    selfie <path to portrait_settings.xml>
    Creates portrait_settings.bin

    This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

    Uses Boost.Filesystem, (C) Copyright Beman Dawes, 2002-2005
    Uses Boost.Iterator, Copyright David Abrahams, Jeremy Siek, Thomas Witt 2003.
    Uses Boost.LexicalCast, Copyright Kevlin Henney, 2000-2005. Copyright Alexander Nasonov, 2006-2007. Copyright (C) Antony Polukhin, 2011-2014.

    This software is based on pugixml library (http://pugixml.org). pugixml is Copyright (C) 2006-2015 Arseny Kapoulkine.
    Attached Files Attached Files
    Last edited by crux3D; August 10, 2015 at 02:13 PM. Reason: Replaced selfie.exe with statically-linked version.

  2. #2

    Default Re: Selfie (portrait settings tool)

    I get a crash upon start up.

    Spoiler Alert, click show to read: 






    Also some more documentation would be nice. Thanks for the effort though.

  3. #3

    Default Re: Selfie (portrait settings tool)

    Quote Originally Posted by warman222 View Post
    I get a crash upon start up.
    Oops - forgot to statically link the exe. Try it now.

    Quote Originally Posted by warman222 View Post
    Also some more documentation would be nice. Thanks for the effort though.
    I'm not sure what more documentation you want.

    1. Extract portrait_settings.xml from data.pack/ui/portraits.
    2. Edit portrait_settings.xml.
    3. Run selfie.exe portrait_settings.xml.
    4. Pack portrait_settings.bin into mod pack file.
    5. ?
    6. Profit.

  4. #4

    Default Re: Selfie (portrait settings tool)

    Thank you for providing this. Every modder of a large overhaul should be here paying attention to this even if they don't realize it.


  5. #5
    UMCenturion's Avatar Ducenarius
    Join Date
    Nov 2007
    Location
    Atlanta
    Posts
    914

    Default Re: Selfie (portrait settings tool)

    I am about to test...If this can do what I am hoping it will, i cannot thank you enough

    Mod Lead - UI/2D Art - Custom Map Editing

  6. #6
    UMCenturion's Avatar Ducenarius
    Join Date
    Nov 2007
    Location
    Atlanta
    Posts
    914

    Default Re: Selfie (portrait settings tool)

    Quote Originally Posted by crux3D View Post
    Oops - forgot to statically link the exe. Try it now.


    I'm not sure what more documentation you want.

    1. Extract portrait_settings.xml from data.pack/ui/portraits.
    2. Edit portrait_settings.xml.
    3. Run selfie.exe portrait_settings.xml.
    4. Pack portrait_settings.bin into mod pack file.
    5. ?
    6. Profit.
    EDIT: It is working. See ABH's comments below
    Last edited by UMCenturion; August 12, 2015 at 02:54 PM.

    Mod Lead - UI/2D Art - Custom Map Editing

  7. #7

    Default Re: Selfie (portrait settings tool)

    It works for me. Some other people are having issues. Basically, you just download selfie.zip, extract, and then take the portrait_settings.xml file and just drop it onto the selfie application. Drag and drop. It generates it automatically from there. Was very quick for me. A few seconds. Viewed in hex editor, and the new bin contained everything like CA's.

    There are a bunch of these portrait_settings files, unfortunately. Still a lot of work. I'll test it in game and confirm everything, but this software is very light, convenient, and fast.

    EDIT: Also make sure you keep the same spacing as CA's portrait sets. As in, the tabs. Had an issue where it wouldn't compile the bin because a tab was missing.
    Last edited by ABH2; August 12, 2015 at 04:57 PM.


  8. #8
    Biarchus
    Join Date
    Dec 2012
    Location
    Denmark
    Posts
    641

    Default Re: Selfie (portrait settings tool)

    uhm, im not really much of a modder. But what exactly does this do?

  9. #9
    UMCenturion's Avatar Ducenarius
    Join Date
    Nov 2007
    Location
    Atlanta
    Posts
    914

    Default Re: Selfie (portrait settings tool)

    this allows you to create your own generals and characters, without replacing the one currently in there.

    See below - this is something I have created for the mod we are working on, Ancient Empires - these generals, textures and db entries, are all custom. They dont replace anything. Very helpful tool, and hope to create a tutorial on it shortly.

    Spoiler Alert, click show to read: 

    Mod Lead - UI/2D Art - Custom Map Editing

  10. #10
    Linke's Avatar Hazarapatish
    Join Date
    Apr 2014
    Location
    Stockholm
    Posts
    1,800

    Default Re: Selfie (portrait settings tool)

    Hey this tool I understood how to use direcrly, but doing all is very time consuming. Wouldn't it be possible for someone to put up a few already created new sets as a resource for others to just replace the variantmeshes?

  11. #11

    Default Re: Selfie (portrait settings tool)

    +rep, sir

  12. #12

    Default Re: Selfie (portrait settings tool)

    Any chance we can get a Warhammer update? It may not even need to be updated... Does anyone have a portrait settings file handy? They didn't provide the xmls in the game this time....

  13. #13
    UMCenturion's Avatar Ducenarius
    Join Date
    Nov 2007
    Location
    Atlanta
    Posts
    914

    Default Re: Selfie (portrait settings tool)

    Does anyone know if a tool exists to reverse engineer a binary file? or converter similar to this that will convert the binary into xml format?

    This single handidly is probably the most important tool for overhauls in Attila. Thank you sir.

    Mod Lead - UI/2D Art - Custom Map Editing

  14. #14
    Laetus
    Join Date
    Dec 2014
    Location
    Lisbon, Portugal
    Posts
    1

    Default Re: Selfie (portrait settings tool)

    I Extract all files, but when i start Selfie.exe, it doesn't open. nothing happens really. please help

  15. #15

    Default Re: Selfie (portrait settings tool)

    Just grab your xml file and drag it over the selfie exe. A new .bin file should appear in the folder where you keep the xml file.

Posting Permissions

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