~Hakurei Shrine~ > Touhou Projects
Modifying EoSD's Script
dustyjo:
--- Quote from: Sora Misaki on June 09, 2009, 07:11:32 PM ---In EoSD, it's stored in msg[number].dat, not a .msg. How did you manage to repack the data into a .dat file? I can't figure that part out.
--- End quote ---
I used the MoF/SA tools from Drake's thread.
Sora Misaki:
Okay, I'm finally starting to catch onto this stuff. I managed to repack the DAT using some advice from that thread, and now I'm up to here.
--- Quote from: Drake on June 04, 2009, 11:41:39 PM ---I found them, but they're all in hex. The program works, but the text remains unchanged. Well, at least slapping it in replace_files doesn't do anything. Changing it will require getting into where the temp stuff is stored.
--- End quote ---
What's odd is that when I slapped in a corrupted msg1.DAT file to see what would happen (read: left the wrong file in the folder before packing), the game gave me a blank box that it wouldn't let me scroll past, so changing that file has to have some effect.
How is the music stored in EoSD? I can only find MIDIs and POSes. Is the latter a compressed form of WAV? And, for that matter, how do I get at these mythical temp files I must change?
dustyjo:
My EoSD has the music in a separate folder called "BGM".
Sora Misaki:
--- Quote from: dustyjo on June 10, 2009, 10:20:20 AM ---My EoSD has the music in a separate folder called "BGM".
--- End quote ---
Oh, lolz, I thought that was just a sound rip that came included with my copy or something. Yeah, just replacing files works for the music at least. If only the script were that simple.
Drake:
You can replace files by putting them in a folder called replace_files. This folder is temporary and is what the English patch uses to keep it's files in. When you run the patch, it checks the temp folder, and then it checks for any others. It finds the new folder and replaces all the files in there.