Toolkit for Translation?

Discussion in 'NDS - ROM Hacking and Translations' started by komkid, Jan 1, 2008.

Jan 1, 2008

Toolkit for Translation? by komkid at 4:23 AM (1,686 Views / 0 Likes) 11 replies

  1. komkid
    OP

    Newcomer komkid Newbie

    Joined:
    Jan 1, 2008
    Messages:
    2
    Country:
    Thailand
    Is there any tools for making a translation?
     
  2. ZeWarrior

    Member ZeWarrior TheWarrior

    Joined:
    Jul 2, 2007
    Messages:
    2,810
    Country:
    Brazil

    lol no there isn't. Probably never will be. Translating games is not easy, I doubt a program will ever be made.
     
  3. BelmontSlayer

    Member BelmontSlayer Homebrew Princess

    Joined:
    May 11, 2006
    Messages:
    128
    Location:
    USA
    Country:
    United States
    Yes, they're called a hex-editor and a brain. Please read the topic directly below yours. I made it to help people looking to learn how to translate ROMs.
     
  4. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,748
    Country:
    United Kingdom
    There have been a few tools (FF3 had one, visit http://www.romhacking.net/ and you should be able to drag it up. Said link also contains the basics of romhacking (the more advanced stuff there tends to be limited to other systems).

    I made a short intro to it but it is as yet unfinished:
    http://www.4shared.com/file/3636881/1f5f088d/rom101.html
    This forum has loads of threads too that will have a lot of nice info for you.
     
  5. Agjsdfd

    Member Agjsdfd My title

    Joined:
    Apr 18, 2007
    Messages:
    1,208
    Location:
    Arctica
    Country:
    There has been some text editors for older pokemon and zelda games(GBC/GBA). But nowdays you have to use hexeditor as mentioned above.
     
  6. deufeufeu

    Member deufeufeu GBAtemp Advanced Fan

    Joined:
    Nov 21, 2005
    Messages:
    880
    Country:
    Cote d'Ivoire
    mmm... I've heard that lately some crazy guy as made a full text editor for Final fantasy tactics A2 (opensource one it seems)... But it must be some hoax...
     
  7. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,748
    Country:
    United Kingdom
    Sorry about that defeufeu.

    Oh and for giggles here is a quick reply I made to a PM about pointers, it is better in some regards than what I have in that document.
    Assuming your text is not graphical (a good chunk of puzzle games have a very small amount of text so they eschew encoding a font in place drawing a picture) and the very rare cases of end to end and set limit text (I will quickly summarise them at the end) what you want to read about is pointers.

    In short they are like a contents to a book as trying to get the computer to calculate the end of a work is a pain and a waste of resources.

    If you run over the length without changing the pointers to match the worst that will happen is you will crash and at best your text will spill over into other areas.

    They come in three main forms:
    Standard: you will get a list of hexadecimal numbers (if you do not know what hexadecimal is have a read of chapter 3 on the following website, if you still do not get it PM me back: http://webster.cs.ucr.edu/AoA/Windows/HTML/AoATOC.html )
    These numbers count from the start of the file to the text. My example today in rune factory 2 ( http://gbatemp.net/index.php?showtopic=70192&st=41 ) is a good example and it deals with the endianness problem .

    Offset:
    The numbers in the standard form above usually come at the start of the file and are called a header. These work in the exact same way as standard but count from the start of the text.

    Relative:
    A hybrid of offset and standard types and in some ways the easiest on the system (although not on your head). Basically they count on from their place in the file. For example if the pointer is at address 5c in the file and reads 10 you add the two numbers together to get where you are at.


    The exceptions and a few problems
    GBA: This is perhaps outside the scope of the question but the GBA cart is in the memory so pointers will usually start with a 08 for roms 16 megabytes and under and 09 for some roms 32 megabytes in size. DS roms tend to be little files which is nice and keeps things simple.

    End to end: I know a sentence is finished when you put a fullstop: some games (mainly nes and snes era) do the same with a 00 or something.

    Fixed length:
    ever wondered why certain final fantasy titles have names of spells that look horrible when translated. Basically the devs decided 12 (or some other number of) characters would do for names (and it does in Japanese) but when it comes to the west things get a bit more difficult. Rather than redo it the localisation team just scrunched the names up. If you encounter this it is usually wise to continue at the next section i.e. for 4 characters ACBD|EFGH|HI__|JK__

    Endianness:
    I know the number 7000000000 is bigger than 6999999999 despite most of the numbers in the one starting with 7 are smaller than the one with 6 at the start. This is called big endian and the GBA/DS read numbers the other way i.e. 0745 would actually be read 4507. Simple enough really once you know the trick. The link I gave you to hexadecimal should sort you out for this as well.
     
  8. deufeufeu

    Member deufeufeu GBAtemp Advanced Fan

    Joined:
    Nov 21, 2005
    Messages:
    880
    Country:
    Cote d'Ivoire
    wow FAST6191 while the info you're giving are indeed good, do you really think some random dude asking such question will do anything useful with it ? It's like giving jam to pigs (french idiom...).
     
  9. Agjsdfd

    Member Agjsdfd My title

    Joined:
    Apr 18, 2007
    Messages:
    1,208
    Location:
    Arctica
    Country:
    LOL. Sound pretty complicated.
    Do you know if its possible to edit the text using a hexeditor and table(TBL) file?

    I used to do that with gbc and gb games.
    If its still possible, I might try to find the right value for certain game and make a table file.
     
  10. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,748
    Country:
    United Kingdom
    I heard of that saying before somehow. Random info I agree is sometimes less than brilliant (especially I as neglected to deal with basic stuff like what hexadecimal is) but I figured better here than my sent messages.

    @Kamui101 a good chunk of the text we play with these days is 16bit (shiftJIS and unicode even for the ASCII subrange only) which discounts some of the older tools but tables still work and are often common to companies. Rarely do I come up against fun things like DTE/MTE as well.
     
  11. deufeufeu

    Member deufeufeu GBAtemp Advanced Fan

    Joined:
    Nov 21, 2005
    Messages:
    880
    Country:
    Cote d'Ivoire
    FFTA2 was using a hash based archive of 70mb and script files in it where using 4 tables : control codes, main character table, another kanji table loaded on demand for every script file or even for every line (out of more than 100...), substitution codes (current character's class, ...). You can still have this kind of fun these days [​IMG]
    But I agree usually companies are lazy and they'd rather pay for a big cartridge size and don't worry about cryptic encodings...
     
  12. Agjsdfd

    Member Agjsdfd My title

    Joined:
    Apr 18, 2007
    Messages:
    1,208
    Location:
    Arctica
    Country:
    LOL, sounds fun. Lets see if I have time to play around those stuffs.
     

Share This Page