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.