![]() ![]() Then searching for "LEADER_ATLAS" would bring up the CivBEIconTextureAtlases.xml file which refers to. Searching the XML files for, say, "Fielding" would bring up a bunch of them, but when you patiently browse through them you eventually come across CivBELeader_Fielding.xml and see that it refers to something called LEADER_ATLAS. Personally, I like NoteTab Pro and have been using it for years, but I'm sure NotePad++ or any decent Notepad replacement application would do. You may want to install some application that can find text from inside many XML files at once. The most difficult part may be to figure out which file holds the images that you are interested in. It's pretty complicated at first but not that difficult after all. In this post I've shown you how to find and extract images from the data files of Beyond Earth. it's the third image (since the image numbering starts from zero). For example, Rejinaldo's file says his image is at 2, i.e. The different images are then referred to in assets/Gameplay/XML/Leaders/*.xml files. If you are more interested in the image file structure, then you need to look into the assets/Gameplay/XML/GameInfo/CivBEIconTextureAtlases.xml file, where it describes that the IconSize of the leader atlas file is 256 pixels and that there are 8 IconsPerRow. Good image editors will have a Trim command somewhere so that you can just crudely crop each one of the images and then trim the empty pixels from around it. It's a very simple program: you select the input and output folders, and then click Unpack, at which point the two. > Without Convertion and choose some location. Select the both, then right-click, then select Extract file to. Sure enough, there's leaderportraits.dds and leaderportraits-index.dds. The images are usually named in a pretty intuitive way, so the easiest way to find the correct files would be to sort the list of files by name and look for anything that begins with "leader". Suppose you wanted to find this picture of Kavitha Thakur: Dragon UnPACKer cannot deal with them alone, so that's why we require DDS Unpacker too. These are the so-called compressed DDS files which actually consist of two separate files: something.dds and something-index.dds. > PNG - Portable Network Graphics feature. Not all files can be extracted with using the Dragon UnPACKer's Extract file to. ![]() (Update: see my comment for instructions on how to easily crop all the images at once with Photoshop!) That tells you the coordinates of the upper left hand corner start pixel (x=88, y=44) and the width and height of the icon (22 by 22 pixels).Īfter successfully cropping the file just save it and you're done! Note that the correct coordinates can be found from other game files, in this case from the assets/UI/FontIcons/FontIcons.xml file under your Beyond Earth installation directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |