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

NANASHI89

Well-Known Member
OP
Member
Joined
May 3, 2012
Messages
2,473
Trophies
1
XP
5,333
Country
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?
 

AnotherAlternative

Active Member
Newcomer
Joined
May 29, 2019
Messages
35
Trophies
0
Age
40
XP
124
Country
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,
D

Deleted User

Guest
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 ,

AnotherAlternative

Active Member
Newcomer
Joined
May 29, 2019
Messages
35
Trophies
0
Age
40
XP
124
Country
United States
hopefully, it is just loading a rom file
Just tested and no, it crashes just as I assumed it would.

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.
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.
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,177
Trophies
2
XP
33,539
Country
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,

jurai

Well-Known Member
Member
Joined
Dec 23, 2005
Messages
441
Trophies
1
XP
1,279
Country
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
 
  • Like
Reactions: zfreeman

AnotherAlternative

Active Member
Newcomer
Joined
May 29, 2019
Messages
35
Trophies
0
Age
40
XP
124
Country
United States
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.
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.
 

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,627
Country
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.
 

Meganoxxy

New Member
Newbie
Joined
Jun 12, 2019
Messages
1
Trophies
0
Age
34
XP
62
Country
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-

--------------------- MERGED ---------------------------

some screenshots i took of it running
1560291650354.png
Screenshot_2.png
 
Last edited by Quantumcat, , Reason: Removed link to copyright material

unvaluablespace

Well-Known Member
Member
Joined
Aug 3, 2014
Messages
134
Trophies
0
Age
40
XP
1,410
Country
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...
 

Crusatyr

Well-Known Member
Member
Joined
Jul 31, 2016
Messages
197
Trophies
0
XP
901
Country
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?
 

AnotherAlternative

Active Member
Newcomer
Joined
May 29, 2019
Messages
35
Trophies
0
Age
40
XP
124
Country
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.

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?
Can't speak for anyone else but archival purposes for me.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Musk sues Hyundai in 3... 2... 1...