Issue:
I was trying to add a custom texture of my own to Shin Megami Tensei 4 Apocalypse since the HD texture pack that exists for the game isn’t fully completed. The custom texture I made wouldn’t load, I searched for the issue and saw on Reddit that you have to put the json file in the custom texture load folder. So I did that and it made the custom texture I made load, but it caused the custom textures from the HD texture pack to stop loading instead. Is there an easy way to get them to work together?
System Information
Operating System: Windows 10 Home
CPU: Intel Core i5-10400
GPU: NVIDIA GeForce RTX 2060
Citra Version (found in title bar): Citra Nightly 1940
Game: Shin Megami Tensei IV Apocalypse
Screenshot of Issue (include the full Citra window including titlebar):
We changed our Texture hash to a new format, older packs get loaded through a legacy mode, but if you want to add new textures to an old pack, you would need to convert it first to the new format. Using this tool:
Here is the Guide to use that tool:
So since the custom texture implementation has changed as of Nightly 1891 and Canary 2461 (due to a new hash format), you may find that adding to your existing texture packs is not working as intended. This tool is designed to convert old texture packs to the new format. You’ll need to redump all the textures that you wish to convert in order to map the old textures to the new format.
Steps:
Download the exe or build from source to the OS equivalent for your device.
Open the command line and navigate to where you saved the exe/build
In the command line enter the name of the tool: citra-pack-convert
Afterwards you’ll need to enter 3 paramaters:
This is the filepath for where your new dumped textures are located
This is the filepath where your old dumped textures are located
This is the filepath where you want the newly mapped textures to be saved to.
Enter those parameters and run the tool, you should see all your existing textures mapped to the new format. If you see copy errors, don’t worry. These just mean that the newly dumped textures can’t find a corresponding old texture to map to (likely because they don’t exist in the pack).
Side note: In Windows specifically, if you have spaces in any of your folder names you must wrap the filepath in quotes or Windows will treat it as a seperate argument.