Jump to content

defiant

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by defiant

  1. I think I've managed to remove the dependency on Japanese locale.

    My main reason for doing this was to get it running on Linux through wine, where fully changing the locale is quite problematic. However, this should work on Windows machines with non-Japanese locale as well. I'd appreciate if someone could test that.

    Should fix this issue.

     
    Basically, I wrote a program that searches through the .arc packages for files whose names encode differently in different locales, and renames them to something in plain ASCII (base32 of the original filename), and then searches through the scripts for references to them and changes those to reference the new filenames. I tested it with the beginning of the game, and it fixed the issue linked above, which I had before. I haven't had a chance to test it very thoroughly, though. (Does anyone know of other things that would require the locale that I might have missed?)
     
    Here is the program: http://a.pomf.se/owjhtl.py
    It requires Python 3. If you just run it in a directory with the .arc files, it should do everything. It has several options, which you can see by running it with --help, but the default should work.
     
    If you want to try it but don't want to mess with Python, here are patches for the changed files for this version: http://a.pomf.se/bkdcxw.zip
    NOTE: These patches are against the newer version of Rio.arc, so you must have the Ageha fix for the patches to apply. (The script will work on any version.)
    You should be able to just put the included files in the directory with the .arcs and run apply_patches.bat (Windows) or "chmod +x apply_patches.sh;./apply_patches.sh" (just about anything else, but you'll need to get your own copy of xdelta3). I don't have a Windows machine on hand to test it, so hopefully it works on that.  :unsure:
    It will make backups of the two files it changes. You can safely delete all the files that came in the zip once you're done.
     
    I'd very much like to hear if this works for other people, so please try it out!
×
×
  • Create New...