Tool for editing JPAC2_10 and JPAC2_11 files used in Nintendo Games such as Twilight Princess and Skyward Sword
The Json Library (github) used is by Niels Lohmann.
Original JPA reverse engineering done by Jasper at noclip.website.
The original file used for refernce is JPA.ts. I added in support for JPAC2-11, which is the version Skyward Sword uses. (As of right now, its not fully supported on the main website. If you want to see JPAC2-11 particles, use my fork and run it locally. Directions are in the noclip.website discord to do so.)
The exe is meant to be used via command line. a few options are represented below:
-hshows the help menu-dsignifies that you want to dump the jpc file-i [input file]is the source particle file-o [output file]is for the output file-c [configuration json]is the file to pull edits from
example:
.\JPAC2_Editor.exe -i Common.jpc -o newCommon.jpc -c edits.jsonwill takeCommon.jpc(original file), use replacements defined inedits.jsonand output tonewCommon.jpc
Note about dumping:
.\JPAC2_Editor.exe -i Common.jpc -t TextureDump\ -dwill dump the contents of the particle file - extracting all resources into a master json and export textures.- These textures are in the form of
.bti. You can edit them and apply changes if you know how to. If not, you can ignore them. - If you make texture changes and want to apply them, pass in the
-t [Folder with Texture Changes]to apply edited textures. - Example:
.\JPAC2_Editor.exe -i Common.jpc -o newCommon.jpc -c edits.json -t NewTextures\will do as the first example above, but also apply texture changes from theNewTexturesif you created it and added texture changes.