Page 1 of 1

Wonderland Online - *.MMG Files

Posted: Sat May 08, 2021 3:38 pm
by ebokucaz
Hello everyone,

I'm currently looking into some of the files from this old MMO Game. There already has been an older thread on here for this game about unpacking some of its other files (viewtopic.php?f=10&t=11690&p=96426). But I would like to look at some of the games map files, which seem to be inside the two .MMG files (Ground.MMG and Wem.MMG): https://www.mediafire.com/file/3v38x7od ... s.rar/file

The Ground.MMG file seems to contain .map-Files and the Wem.MMG seems to contain .wem files (MapObjects). I would like to extract these, but as I'm very new to all of this I wasn't able to figure out how to write a script for these files yet.
Any help with this would be greatly appreciated. Or maybe someone could point me in the right direction of where to start. :)

Re: Wonderland Online - *.MMG Files

Posted: Sat May 08, 2021 6:21 pm
by ikskoks
Or maybe someone could point me in the right direction of where to start.
If you want to learn how to do some reverse engineering and extract data from archives,
you can start here viewtopic.php?f=29&t=22266


I have created also specification for this file format on the wiki
http://wiki.xentax.com/index.php/Wonderland_Online_MMG

You can use it to write working script/extractor.
Such program would need to:
1. Go to the end of the archive file and read "number of files" value
2. Calculate the offset of the info array and go to this offset
3. Read all the entries from the info array
4. Save data of the files

Re: Wonderland Online - *.MMG Files

Posted: Sat May 08, 2021 6:55 pm
by ebokucaz
Thank you very much for the quick reply and the specification.

I'll look into it and if I manage to create a working BMS script I'll add it to the wiki page, in case anyone else might be interested. :)