How can I translate a game with all its configuration files in .lua?

Discussion in 'Wii U - Hacking & Backup Loaders' started by SagiCL, Jul 24, 2017.

  1. SagiCL
    OP

    SagiCL Member

    Newcomer
    12
    1
    Jul 19, 2017
    Chile
    How can I translate a game with all its configuration files in .lua?


    I want to translate dont starve, but all its configuration is in .lua
     
    Heynerdb likes this.
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,360
    9,150
    Nov 21, 2005
    This will depend upon many things. First whether the lua you have is compressed or turned into bytecode type setups (puzzle quest on the DS being an example of this).

    Many a game using lua has its strings in the same files, however the reason we often use separate text files is because you don't want to have to compile a whole game if you made a typo or want to change phrasing. To that that end it is entirely possible to have to translate a lua using game as you would in a more conventional ROM hacking scenario (pointers, encodings and such). Speaking of encodings I have in the past seen games (Zombie Daisuki on the DS) where you had mixed and matched strings of different encodings and you would have to play to that (or edit the whole game).

    So yeah step one is open up the lua files in a text editor and see what you can do, and if the text is in them. After that it is conventional ROM hacking territory, give or take said lua files being compressed with a known compression with tools for it.
     
  3. SagiCL
    OP

    SagiCL Member

    Newcomer
    12
    1
    Jul 19, 2017
    Chile
    If you could help me translate the game would be great.
    I can not find a way to translate it
     
  4. Alex4U

    Alex4U The worst person you'll meet.

    Member
    1,099
    950
    Jan 6, 2016
    Mexico
    with Snivy, Mystery Zone (Adress 0x00)
    You need check every file that contains text files, like one i'm currently translating.
    Every game have their files extensions. so the first step for searching the game text is using HxD,CrystalTile2, or any Hex editor.
    You also need check if the game have ABC font, if not, that will be harder to remplace the font with Katakana and Hiragana font.
    i can help you if you want i guess.
    also, what game is that you will translate it?