Question Collection of Mana, extracting Trials of Mana ROM from collection?

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by NANASHI89, Jun 11, 2019.

  1. NANASHI89
    OP

    NANASHI89 GBAtemp Addict

    Member
    11
    May 3, 2012
    United States
    Collection of Mana for Nintendo Switch was released today, and with it the official English translation of Seiken Densetsu 3 (Now known as "Trials of Mana.").

    For those who want to extract the ROM to play it on RetroArch or something, is this possible?
     
  2. EmulateLife

    EmulateLife GBAtemp Psycho!

    Member
    6
    May 30, 2016
    United States
    Probably not, but you could just google the rom and play it on Retroarch? There's an english patched rom out there.
     
  3. NANASHI89
    OP

    NANASHI89 GBAtemp Addict

    Member
    11
    May 3, 2012
    United States
    Not the same. This is the officially licensed release.
     
    DSwizzy, shirizaan and bomigoton like this.
  4. EmulateLife

    EmulateLife GBAtemp Psycho!

    Member
    6
    May 30, 2016
    United States
    Well hope you're a good coder. It's not just a simple thing to extract one of the games out of an official switch release. Good luck with that. Why not just play the game with the other games?
     
    TheDarkGreninja likes this.
  5. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    United States
    Here's my findings so far, make it it what you will.

    When unpacked, there are smc.m and sfc.m files with a seperate file for each language but when compared to the fan translated rom it's quite smaller, 4MB for the original and 2.7MB for the new file and isn't playable when attempting to run it on snes9x, the program crashes.

    My assumption is the rom is compressed as simply renaming the file doesn't work properly, I am curious whether this is a new translation or is it just using the preexisting rom.

    Having said that, som has a gameplay improvement and retranslation hack that make it better than the original and as far as I'm aware the original translation for tom was buggy because of size limitations that the fan translation doesn't have as far as I'm aware.

    EDIT: Sorry, forgot the links, here is the relocalization and gameplay improvement for som and the original fan translation for tom. Enjoy.
     
    Last edited by AnotherAlternative, Jun 12, 2019
    sorabora, DSwizzy and MattKimura like this.
  6. dsrules

    dsrules GBAtemp Guru

    Member
    10
    Sep 20, 2005
    how about the other way around, could you replace the games with other snes games?
     
  7. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    United States
    Give me a minute to try but I'm guessing no since it's not as simple as renaming the rom.
     
  8. dsrules

    dsrules GBAtemp Guru

    Member
    10
    Sep 20, 2005
    hopefully, it is just loading a rom file
     
  9. leafeon34

    leafeon34 Expecto Patronum!

    Suspended
    10
    Sep 30, 2014
    United Kingdom
    AzkaBANNED.
    Not exactly what OP is after but if you want to play Trials of Mana in English, you already can. I played this a few years ago but didn't really like it. You're better off waiting for the remake to come out next year.

    http://www.romhacking.net/translations/440/
     
    Last edited by leafeon34, Jun 12, 2019
  10. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    United States
    Just tested and no, it crashes just as I assumed it would.

    Adding on to this, now that look at it again, I'm assuming the "game" portion of the rom and the "sound" portion of the rom is seperated as all the games are labeled sl1,2,3 for seiken densetsu and then sk1,2,3_sound_mode. which is why the rom is smaller than normal.
     
    DSwizzy and dsrules like this.
  11. Liriel

    Liriel GBAtemp Advanced Fan

    Member
    4
    Sep 26, 2017
    Germany
    Oh i wish they extra the german version too

    Gesendet von meinem Huawei P10 mit Tapatalk
     
  12. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    19
    Jan 17, 2013
    Mexico
    Any luck so far?
    I'd recommend maybe making a RAM dump once the game is already running, to get the fully patched ROM.

    The same had to be done for WiiU VC and 3DS VC games.
    I tried dumping the ROM but got only as far as getting a romfs.bin file, it's my first time decrypting Switch stuff.

    If someone has the files, I could maybe work on them as I know a few romhackers that might help, and I'm a romhacker myself too.
     
    Last edited by ShadowOne333, Jun 12, 2019
    wicksand420, DSwizzy and MattKimura like this.
  13. jurai

    jurai GBAtemp Fan

    Member
    4
    Dec 23, 2005
    The rom files in romfs are compressed/encrypted. Dumping RAM may be a viable solution, don't personally know well enough what app would accomplish that on a Switch
     
  14. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    United States
    I didn't dump it through ram but through the normal method and have all the files here however it's seperated in to what I assume game and sound in mdf format, not sure how helpful this is and whether you still want it.
     
  15. Captain_N

    Captain_N GBAtemp Advanced Maniac

    Member
    8
    Mar 29, 2010
    United States
    Yeah, unofficial translations are usually better. I made a mana 3 snes cart using the unofficial translation and its staying that way.
     
  16. Falo

    Falo GBAtemp Advanced Fan

    Member
    9
    Jul 22, 2012
    Germany
    Files are encrypted and compressed using MFileReadTask:: Decrypt and Zlib.

    first 4 byte = "mdf\0" -> file is marked as compressed
    second 4 byte = uncompressed fileSize
    rest of the file = encrypted and compressed data

    first the filename or filepath is used in md5_init/md5_append/md5_finish to generate a MD5 hash,
    this hash is then the key used by MRandom::MRandom() to decrypt the file, this is a custom Pseudo-RandomNumberGenerator.

    from the values used by this rng, it looks like this algo:
    https://github.com/X-Ryl669/Frost/blob/master/ClassPath/src/Crypto/Random.cpp

    I would need more time to make a tool, i already have lots of stuff todo and not much time to work on this.
     
    wicksand420 and hominid9 like this.
  17. Meganoxxy

    Meganoxxy Newbie

    Newcomer
    1
    Jun 12, 2019
    Brazil
    Someone on 4chan uncompressed the file, it plays really well on a emulator. I can't post the rom or a link because I made a account just for this
    -snip-

    — Posts automatically merged - Please don't double post! —

    some screenshots i took of it running 1560291650354. Screenshot_2.
     
    Last edited by Quantumcat, Jun 12, 2019 - Reason: Removed link to copyright material
    eyeliner, DSwizzy and MythicalData like this.
  18. unvaluablespace

    unvaluablespace GBAtemp Regular

    Member
    5
    Aug 3, 2014
    United States
    From what I could tell, the overall story seems the same. Just text is translated differently, and a few names of towns and people differ between fan translation and official.

    But I only played the first 5 minutes of Duran's intro in both just to get a quick look for comparison...
     
  19. Crusatyr

    Crusatyr GBAtemp Regular

    Member
    5
    Jul 31, 2016
    United States
    Not to be rude, but extracting the rom to pirate it sounds like a lot more work than just pirating it, so why not just do the second?
     
  20. AnotherAlternative

    AnotherAlternative Member

    Newcomer
    1
    May 29, 2019
    United States
    I checked the thread and this dump has debug messages appearing in them, it's playable but I think it's best to make a dump without them.

    Can't speak for anyone else but archival purposes for me.
     
    bikerspade, DSwizzy and d4mation like this.
Loading...