Hey I am trying to troubleshoot an existing mods bfs (mostly as practice and a coding exercise). I am super new to Persona 4 modding and am having issues decompiling the mods bfs with the existing tool. Im getting a Stream too small error. I am wondering if Im missing something or am I parsing the bf wrong. Any insight would be lovely.
#How to use AtlusScriptCompiler to decompile existing Persona 4 mod Bfs?
7 messages · Page 1 of 1 (latest)
How to use AtlusScriptCompiler to decompile existing Persona 4 mod Bfs?
Most mods don't use compiled bfs (any that do probably should be updated not to), instead they have the source flow files in the FEmulator/BF folder and let BF emulator compile them and stuff. That allows for better compatibility since it can merge the file when multiple mods edit it. It's also just nicer for development imo since you don't have to compile the files manually everytime you make a change
If you look in that folder you should find a bunch of .flow and/or .msg files. You can just edit them and your changes should apply when you (re)start the game
There's documentation on how that works here:
https://sewer56.dev/p5rpc.modloader/usage/#editing-bf-files (specifically related to Persona Essentials)
|https://sewer56.dev/FileEmulationFramework/emulators/bf.html (just about BF Emulator, this has some extra details)
The bf file you're trying to decompile is just a 0 byte "dummy file". It contains nothing and just exists so the mod knows where the file is in the game's file structure
That explains a lot thank you!