Any good Hex editor that supports Shift-JS (Japanese)?

Discussion in 'Computer Programming, Emulation, and Game Modding' started by Alex4U, Dec 6, 2017.

  1. Alex4U
    OP

    Alex4U not a Pokémon Mystery Dungeon addict

    Member
    1,200
    1,030
    Jan 6, 2016
    Mexico
    with Snivy, Mystery Zone (offset 0x0FFFF)
    Yeah yeah, I'm asking for this again 'cause I'm tired of CrystalTile2, everytime I save the damn ROM, it corrupts the ROM and I can't proceed working on my translation thanks to this error. I don't know if is my laptop that is failing or something, I don't know. I already downloaded every CrystalTile2 version, even in chinese from different websites and still isn't working?! (I don't know where to post this, so, I will post it here because I don't want to repeat the same thread.)

    Dammit, so, I've searching for hours a good hex editor, but I can't find one that supports Shift-JS (japanese font) for a NDS ROM.

    So, I don't really want to use CrystalTile2, I know is a very powerful tool for NDS ROMs, but I can't get it working, 'cause everytime I save the modified ROM, it corrupts the ROM and I can't proceed translating the game thanks to this error.

    Anyone knows a good editor can could support Shift-JS?

    Thanks in advance.
     
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    24,394
    10,314
    Nov 21, 2005
    United Kingdom
    Do you know how it is corrupting the file? I tend not to use its hex editor for anything more than looking at things but for as flaky as some of the functionality is I don't tend to see it corrupt things.

    "for a NDS ROM"
    A file is a file is a file. If you have permissions it does not matter, save for some older editors that try to load the whole file in memory or top out at 4 gigs or so. If you want one that is aware of the DS file system then that is a rather more limited selection.

    Personally I find doing shiftJIS in a hex editor to be tricky -- so many games will have say an 8 bit control code and that makes everything that follows (at least until the next 8 bit code) not work. This is also before you mess around with pointers.

    Short version is you have reached the point where you really need to learn to extract and insert text -- a hex editor should only really be used to read things and correct typos and even that can be tricky. Bonus for you is there are loads of conventional text editors that handle it, though JWPCE and njstar are the better choices if you need to put the Roman characters from the shiftJIS section (shiftJIS technically supports U16 but most DS games will not)
     
    Alex4U likes this.
  3. Kaidou

    Kaidou Member

    Newcomer
    14
    16
    Jan 3, 2018
    United States
    I use Hexecute for my hex viewer with Shift JIS encoding.
     
    Alex4U likes this.
  4. Alex4U
    OP

    Alex4U not a Pokémon Mystery Dungeon addict

    Member
    1,200
    1,030
    Jan 6, 2016
    Mexico
    with Snivy, Mystery Zone (offset 0x0FFFF)
    Thanks for the reply.

    So I'll try Hexecute then.
     
  5. Kaidou

    Kaidou Member

    Newcomer
    14
    16
    Jan 3, 2018
    United States
    You might have to extract the files out of the .nds file first with something like dsbuff, make your edits, then repack using the same program. Hexecute doesn't uncompress it for you.