tm_unpack — An extractor for To the Moon's datafiles

ttm_unpack is a program to extract the resources from the game To the Moon and other games based on the RPG Maker XP engine. It was developed with the intent of getting the game to work under wine on non-windows operating systems, as wine is unable to run the game's decryption routines.

You can download ttm_unpack here or you can get a precompiled binary for x86 (or x86-64) systems. These binaries were made with bingcc, so they should work on most systems!

darklord42 on the Freebird Games forums got it working under Mac OS X! Check it out!

Kaira and Morgawr ported ttm_unpack to python for the GOGonLinux project and wrote a blog post about the porting progress. I feel quite bad about the horrible pointer hackery now!

To get To the Moon working on Linux, you should simply need to:
  1. Download ttm_unpack.c.
  2. Compile it with cc -o ttm_unpack ttm_unpack.c
  3. Run it (in the game directory):
    cd <path to To the Moon>
    ./ttm_unpack
  4. Rename or delete To the Moon.rgssad:
    mv To\ the\ Moon.rgssad{,.old}
  5. Run the game with wine To\ the\ Moon.exe
  6. Enjoy!

Some people have found a couple of problems with filename encoding. A few strategic renames should be enough to fix that. Of course, patches are accepted!

Also be warned that the demo version, and the version bought directly from the developer have some DRM which also has problems with wine. Get the game from GOG.com, Desura or Steam and you'll have no problems. Don't forget to get the soundtrack if you have a heart somewhere in your chest (and tissues at hand).

You can also check out the forum threads about this at Freebird Games and Steam.