Jump to content

Bogdacutu

Supporter
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Bogdacutu

  1. yes, obb files are just uncompressed archives (in a special format), and they do contain upk files, although with a different extension and in most cases uncompressed too
  2. If I recall correctly (don't have access to the game files atm), the TOC contained the size of each file, so you'd need to change the size there too if you edit any other file.
  3. Just finished porting PatchUPK, will upload the changes soon. https://github.com/Bogdacutu/UPKUtilsAndroid/releases/tag/7.3-android Some PC mods work as-is; for example, the big head mod: http://i.imgur.com/7mkPZQu.jpg Also, the FixTOC tool only works when both obb files are extracted in the same folder, so for now I'd suggest just editing the TOC file manually until I fix the tool. First column is file size, second column is uncompressed file size.
  4. This should hopefully be useful for anyone who is planning to make/port mods to the Android version of the game. https://github.com/Bogdacutu/XComAndroidTools/releases Tools provided (for most tools, just drop the file you want to use the tool with on the executable): Sewer - unpacks obb files when given an obb file, or creates an obb file when given a folderFixTOC - after doing edits, use this on the main directory (the one with Binaries, Engine and XComGame) to rebuild AndroidTOC.txtCompressor - use this on a compressed upk file to decompress it, do it again to recompress (this will also automatically rebuild .uncompressed_size)Decryptor/Encryptor - some files are encrypted (only tested with Coalesced_*.bin so far), use this with those files to decrypt/encrypt them respectivelyCoalescer - like Sewer, but for Coalesced_*.bin files (which contain the configuration files)How to use them: unpack obb with Sewer to edit ini files: decrypt Coalesced_INT.bin with Decryptor unpack it with Coalescer edit whatever you need to edit repack, encrypt to edit upk files: if the file is compressed, decompress it with Compressor edit whatever you need to edit recompress if desired (the engine works fine with decompressed files too) run FixTOC on the main folder pack the folder with Sewer copy obb to device, replacing the existing one ??? profitSome screenshots of results: simple localization file edit, renamed Assault Rifle: http://i.imgur.com/TBuJv6r.jpghex edit to make every new soldier have the same nationality and gender: http://i.imgur.com/CP0e9iq.jpgObservations: Some generic UE tools work on the Android files too, such as UE ExplorerSome upk files appear to be encrypted; I haven't yet figured out how to handle themPatchUPK doesn't work yet, but I've forked it and will try to get it working (although I haven't made a lot of progress on that yet)If you did something wrong, the game will crash as soon as it loads whatever you editedIteration is pretty slow (since each obb file is 1-2GB), I might look into making a tool to patch the existing obb files directly on the deviceOBB files normally have a size limit of 2GB, but I can't confirm whether or not the game actually limits the size (each packed file is limited to 2GB though)xxx files are just upk files with a different extension
×
×
  • Create New...