How to translate a game after decrypting it?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Skyleft, Feb 19, 2016.

  1. Skyleft
    OP

    Skyleft GBAtemp Regular

    Member
    1
    Feb 19, 2016
    I've decrypted a game since I wanted to translate it to Italian, but the script files are all messy and with a .lua extension. Even when I open them they seem corrupted or something. Is there something I'm skipping or there's no way?
     
  2. evandixon

    evandixon PMD Researcher

    Member
    7
    May 29, 2009
    United States
    What game is it?
     
  3. Skyleft
    OP

    Skyleft GBAtemp Regular

    Member
    1
    Feb 19, 2016
    Virtue's Last Reward, a Visual Novel that probably not a lot of people know about
     
  4. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    16
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Mar 17, 2010
    Norway
    Alola
    VLR is a massively popular game...
     
  5. Skyleft
    OP

    Skyleft GBAtemp Regular

    Member
    1
    Feb 19, 2016
    Really now? Well I definitely haven't seen a lot of people talking about it. Anyway, can I have luck with the original topic?
     
  6. evandixon

    evandixon PMD Researcher

    Member
    7
    May 29, 2009
    United States
    It sounds like the scripts are compiled. Try reading psy_commando's post about how to decompile them (guide written for Pokemon Mystery Dungeon):
    https://projectpokemon.org/forums/s...-And-Utilities&p=207140&viewfull=1#post207140

    If it's anything like Pokemon Mystery Dungeon, the actual dialog will be stored in another file, but it's probably best to see what's in the scripts before making assumptions.

    [Edit]
    Wait, it's published by Chunsoft. It might actually be the same format.
     
  7. Skyleft
    OP

    Skyleft GBAtemp Regular

    Member
    1
    Feb 19, 2016
    I'm trying right now to make it work, but I'd like to ask something else that you might know the answer to as well. VLR was basically the only game braindump didn't want to decrypt, since it froze whenever I selected it. I managed to decrypt it anyway, but not with braindump. That would be fine, but it seems that the same thing is happening now with Hans, since I can't open VLR with it, but I can open every other game.
    Do you have any idea why that'd happen, or if I can fix it?
     
  8. Tomato Hentai

    Tomato Hentai hot death grips singles in your area

    Member
    12
    Oct 30, 2014
    Canada
    Alberta
    Well, you use Google Translate of course.

    Scrolling through the Lua files, is there anything that looks like normal Lua script, or is the whole thing just a mess? If it's the former, it could be that the file is encoded in something like SHIFT-JIS.
     
  9. Skyleft
    OP

    Skyleft GBAtemp Regular

    Member
    1
    Feb 19, 2016
    Everything is a mess except for a few random readable words here and there
     
    Tomato Hentai likes this.
  10. Tomato Hentai

    Tomato Hentai hot death grips singles in your area

    Member
    12
    Oct 30, 2014
    Canada
    Alberta
    Could you show me a picture of what it looks like?
     
  11. evandixon

    evandixon PMD Researcher

    Member
    7
    May 29, 2009
    United States
    It's a compiled lua script, but unluac.jar doesn't do anything with it for some reason. In PMD: GTI and PSMD (both published by Spike Chunsoft), they can be decompiled and recompiled using unluac.jar and luac.exe, respectively. Maybe LVR doesn't use Lua 5.1 like Mystery Dungeon?
     
    Skyleft and Tomato Hentai like this.
  12. Skyleft
    OP

    Skyleft GBAtemp Regular

    Member
    1
    Feb 19, 2016
    Sorry for taking a while to answer. http://prntscr.com/a5ja3f This is one of the files.
     
    Tomato Hentai likes this.
  13. DesuIsSparta

    DesuIsSparta GBAtemp Advanced Fan

    Member
    3
    Oct 13, 2015
    United States
    Weaboo land
    Open it in a hex editor instead. If the amount of bytes between each string is consistent, it won't be too difficult to reverse engineer the file type.
     
    Tomato Hentai likes this.
  14. raystriker

    raystriker Alpha PC Builder

    Member
    5
    Dec 28, 2011
    India
    Bloomington
    The games already released in English language regions. I play it. :rofl2::ph34r::wtf::blink:
     
  15. Tomato Hentai

    Tomato Hentai hot death grips singles in your area

    Member
    12
    Oct 30, 2014
    Canada
    Alberta
     
  16. raystriker

    raystriker Alpha PC Builder

    Member
    5
    Dec 28, 2011
    India
    Bloomington
    Oops my bad, missed the italian word. Sorry :3
     
    Tomato Hentai likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice