Today I'd like to present a little something I started the other day.
Introduction
For those who don't know me (probly 99%), I was involved a bit when the 3DS homebrew scene first started to bloom. I was also involved in aiding PPSSPP development some time ago. I decided to give a try to the vita scene, so here I am, working on something.
Project information
This tool is made to un/pack EAF containers found in Freedom Wars. I actually started this tool the other day so it is not a fully fleshed out Freedom Wars editor yet, nor is it highly optimised.
I largely am releasing this tool in an early state to gauge interest and potentially help for fleshing this tool out.
The EAF containers seem to encrypt nearly all files in the container with a unique encryption. The magic for these encrypted files is #EMZ. I do not know how to decrypt these, so resources cannot be edited yet. I also don't know how to view running game code on the vita to figure out the decryption process.
Currently this tool will not produce 1:1 outputs with the default Freedom Wars EAFs. There are 2 reasons:
1) I don't know how much padding to produce per contained file. This is OK I think as the game doesn't care as long as positions and sizes are correct. Because I don't know, I didn't use padding when writing the tool (which gives the output a bit of a trim).
2) In original EAFs the first file in the EAF's table of files seems to be the last file in the portion that contains the data for contained files. Otherwise the data is ordered according to the file table. My program orders all data according to the file table. The game doesn't seem to care as long as the position and size is correct.
Download
source: https://github.com/CPkmn/Justice
binaries: check attachments
Introduction
For those who don't know me (probly 99%), I was involved a bit when the 3DS homebrew scene first started to bloom. I was also involved in aiding PPSSPP development some time ago. I decided to give a try to the vita scene, so here I am, working on something.
Project information
This tool is made to un/pack EAF containers found in Freedom Wars. I actually started this tool the other day so it is not a fully fleshed out Freedom Wars editor yet, nor is it highly optimised.
I largely am releasing this tool in an early state to gauge interest and potentially help for fleshing this tool out.
The EAF containers seem to encrypt nearly all files in the container with a unique encryption. The magic for these encrypted files is #EMZ. I do not know how to decrypt these, so resources cannot be edited yet. I also don't know how to view running game code on the vita to figure out the decryption process.
Currently this tool will not produce 1:1 outputs with the default Freedom Wars EAFs. There are 2 reasons:
1) I don't know how much padding to produce per contained file. This is OK I think as the game doesn't care as long as positions and sizes are correct. Because I don't know, I didn't use padding when writing the tool (which gives the output a bit of a trim).
2) In original EAFs the first file in the EAF's table of files seems to be the last file in the portion that contains the data for contained files. Otherwise the data is ordered according to the file table. My program orders all data according to the file table. The game doesn't seem to care as long as the position and size is correct.
Download
source: https://github.com/CPkmn/Justice
binaries: check attachments