lfnetwork.com mark read register faq members calendar

Thread: Runaway and Toonstruck extractor?
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 05-27-2007, 05:50 PM   #1
jannar85
 
jannar85's Avatar
 
Join Date: Dec 2001
Location: Mosjøen, Norway
Posts: 616
Runaway and Toonstruck extractor?

Hey, I heard John Doe had been working on a Toonstruck extractor or something. Any updates on that? I think it was meant to rip music, backgrounds, animations and stuff.

Also, anyone knows how to extract the music for Runaway 1 and 2? I'd really like to get it, as it's pretty awesome. If not, is there a possibility to make a small application to rip it?


Regards,
Atle Ragnar Jarnæs Lerøy | Gamedeveloper

Runestone Entertainment

Stay tuned. Soon Launched.
Roger Foodbelly -.- Official Site
jannar85 is offline   you may: quote & reply,
Old 05-27-2007, 08:58 PM   #2
john_doe
 
john_doe's Avatar
 
Join Date: Feb 2002
Location: The pit
Posts: 137
I've been working on and off a Toonstruck-related project for the two last years or so. The main problem with a simple viewer is that the palette for the respective scene background is not just stored but parts seem to be calculated, and if this is skipped the palette is wrong. I still need to implement the algorithm that makes this calculation.

Edit: Forget my blabbering about the palette...I found a way to correcly display background images.


Long Live Akatosh
And All The Divines

Last edited by john_doe; 05-27-2007 at 09:25 PM.
john_doe is offline   you may: quote & reply,
Old 05-28-2007, 04:01 PM   #3
jannar85
 
jannar85's Avatar
 
Join Date: Dec 2001
Location: Mosjøen, Norway
Posts: 616
So this means we can test out an alpha soon?


Regards,
Atle Ragnar Jarnæs Lerøy | Gamedeveloper

Runestone Entertainment

Stay tuned. Soon Launched.
Roger Foodbelly -.- Official Site
jannar85 is offline   you may: quote & reply,
Old 05-28-2007, 04:04 PM   #4
john_doe
 
john_doe's Avatar
 
Join Date: Feb 2002
Location: The pit
Posts: 137
Define "soon"
There will be something during the next few years, I promise


Long Live Akatosh
And All The Divines
john_doe is offline   you may: quote & reply,
Old 06-16-2007, 01:57 PM   #5
disraeli
Lurker
 
Join Date: Jun 2007
Posts: 6
Hello, I am writing a tool for extracting stuff from Runaway. Speech extraction already works, now I'm playing a bit with savegames. Next step is music extraction! But I'm a newbie in this field so it's gonna take a little..

Last edited by disraeli; 06-26-2007 at 06:49 AM.
disraeli is offline   you may: quote & reply,
Old 06-26-2007, 06:43 AM   #6
disraeli
Lurker
 
Join Date: Jun 2007
Posts: 6
Okay I've made some progress with the extractor.
This is my first gamedata extraction tool, and I find the work an amusing way for training myself!

Currently the tool can do the following things:

- extract speech audio files and save them to WAVs
- extract snapshots from savefiles and save them to BMPs
- extract the chapters snapshots (those you see when you begin the game and decide the chapter to play) and save them to BMPs

I also managed to extract the background music files (they sound sweet) but still have to code that part into the tool. It won't take much since I'll re-use much of the Speech Module. This is the next thing I'm going to do, as soon as I sort out this one:

- how to correctly visualize the snapshots; some of the colors look distorted so I guess I'm missing some sort of palette somewhere. But I can't figure out why they would need a palette when they are 16-bit images.

Any help with this issue would be much appreciated! I think it will be of use when I'll manage to extract backgrounds as well
disraeli is offline   you may: quote & reply,
Old 06-26-2007, 06:51 AM   #7
john_doe
 
john_doe's Avatar
 
Join Date: Feb 2002
Location: The pit
Posts: 137
I don't think they use a palette in Runaway.
How do you handle the background images?
In 16-bit images one word (2 bytes) usually are made up of RGB (565) components, where 5 bits are used for red, 6 bits for green and 5 bits for blue.
You can send me a raw image to john_doe(at)techie.com if you like, I'll have a look at it.


Long Live Akatosh
And All The Divines
john_doe is offline   you may: quote & reply,
Old 06-26-2007, 06:58 AM   #8
disraeli
Lurker
 
Join Date: Jun 2007
Posts: 6
I haven't found out yet how to extract background images, at the moment I'm working with other images (snapshots for savegames and such), but I think it will be the same with backgrounds. Anyway I'll send you a raw image and the respective bmp created by my tool, they're on their way.
Thanks a lot!
disraeli is offline   you may: quote & reply,
Old 06-30-2007, 09:58 AM   #9
disraeli
Lurker
 
Join Date: Jun 2007
Posts: 6
I've decided that I'll release separate tools for extracting stuff from the gamedata instead of building a big extractor and work on it forever before releasing a stable version of it. This way people will be able to extract the things they want (e.g. music) without having to wait a huge amount of time only because something is not working properly with, for example, subtitles overriding.
Then when the big part is done, the tools will be merged within a single application (it will be a matter of merging ui's more than other).

At the moment, I'm learning Qt (4.3.0) for the GUI. When I'll be ready for a first release, I will open a sourceforge project page with all the sources and complete documentation. Currently I'm working under Linux so I guess I'll need some time for debugging under WinXP (where I already spotted troubles with read(2)).

I will update the progress here for those of you who are interested in this.
disraeli is offline   you may: quote & reply,
Old 07-02-2007, 04:39 AM   #10
Lebostein
Lurker
 
Join Date: Jul 2007
Posts: 1
Hi,

in 2005 I programmed a little tool (31 KB-exe) to decode and extract all musics (*.mus), sounds (*.sel) and speeches (*.svl) from the adventure game Toonstruck:

http://home.arcor.de/tomysoft/download/ToonRipper.zip

@john_doe: If you are interested, I could upload the source, but it is written with PureBasic, a basic like language.

Last edited by Lebostein; 07-02-2007 at 04:49 AM.
Lebostein is offline   you may: quote & reply,
Old 01-07-2008, 07:54 AM   #11
kelmer
 
Join Date: May 2002
Location: Spain
Posts: 3
Hi,

I was just having a look at Toonstruck's PAK archives, and then I tried the unpacker Benjamin Haisch (John Doe?) has at his website, and found some strange results.

I might be wrong (I'm new at this resource-cracking thing), but I found that the size of the result files is exaclty the same number of the offset that points to each file in the resource header. Is this a wonderful coincidence, or maybe there is an error in the unpacker? I'm saying this because I also tried Lebostein's ToonRipper and it works nice with mus and svl files (which are not packed in the .pak resources), but not with .sel files extracted with Haisch's unpacker. Perhaps these files are not being unpacked properly?

Thanks in advance.
kelmer is offline   you may: quote & reply,
Old 02-05-2008, 02:13 PM   #12
disraeli
Lurker
 
Join Date: Jun 2007
Posts: 6
Hi everyone, sorry for hitting and running away for a long long time. I haven't worked on the Runaway extractor that much (I'm focusing on my Master's thesis), but today I decided to release the source and docs of what I made time ago.

Please note that this is "alpha" stuff and is to be taken as a mere example of how to extract things from the Runaway resource files. And consider it as my personal C/C++ and Qt training, not as an official, stable, solid extractor for doing what it is (should be) meant to.

Please focus your attention on the docs/ folder rather than trying to compile the sources and make it run. Inside the package my personal notes of how to extract media files from Runaway are contained. Please eventually look at the code only to favor your understanding on how to do that.

And of course, please consider using my code and my notes if you intend to write your own extractor, but please give me a little credit as a source of inspiration at least. I am also willing to help others (with code or "resource hacking") who may consider writing a new extractor.

Also, if I get good and / or constructive responses, I might consider re-starting to work hard on it (or rather, fixing up the code and bring it on). And don't you hesitate to contact me if you have any questions.

the link: http://sourceforge.net/projects/runaway-extract/

Cheers

Last edited by disraeli; 02-06-2008 at 10:03 AM.
disraeli is offline   you may: quote & reply,
Old 03-16-2008, 03:00 PM   #13
Onz N Offz
Lurker
 
Join Date: Mar 2008
Posts: 1
hi guys, this is great stuff!

i just have a few questions,

1) is it possible to view the animations?

2) i'd like to help decompile buit where do i start!!! are there any good tutorials around?

thanks guys

i was thinking, have a tick box for playing the content sequentially and continuosly, maybe also having a volume slide if it's no bother
Onz N Offz is offline   you may: quote & reply,
Old 03-22-2008, 07:22 AM   #14
disraeli
Lurker
 
Join Date: Jun 2007
Posts: 6
Hello,

What game are you referring to? Toonstruck or Runaway?
Regarding the animations, that's a topic I'm absolutely uneducated about. Don't know even to start. Probably I would start up a disk monitor, discover where the animations are located, and start trying to extract the single sprites - admitting the game resources contain the single sprites for the animations.

Last edited by disraeli; 03-26-2008 at 02:56 PM. Reason: misspellings
disraeli is offline   you may: quote & reply,
Old 03-22-2008, 04:53 PM   #15
ThunderPeel2001
Lovebucket
 
ThunderPeel2001's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 1,772
Ah, Toonstruck. What a great game. Such a shame that no-one understood it when it came out.

ThunderPeel2001 is offline   you may: quote & reply,
Old 09-15-2008, 01:42 PM   #16
ZombieAtPlay
Lurker
 
Join Date: Apr 2008
Posts: 6
I've always wanted the music from toonstruck (my third favourite game ever)!
ZombieAtPlay is offline   you may: quote & reply,
Old 10-02-2008, 04:03 PM   #17
shinobi51
Lurker
 
Join Date: Oct 2008
Posts: 1
hi

please,someone can compile it for windows operating system (xp),because i 'm really bad in that domain
shinobi51 is offline   you may: quote & reply,
Old 10-20-2008, 07:50 PM   #18
mikosworld
Lurker
 
Join Date: Oct 2008
Posts: 2
I would like to get or to extract the resources from game "Runaway 1 & 2", it doesn't exist a hack software can do that?
I love these game and get the ressources

I am the Adventures Games FAN
mikosworld is offline   you may: quote & reply,
Old 07-21-2009, 04:31 PM   #19
mikosworld
Lurker
 
Join Date: Oct 2008
Posts: 2
disraeli, your program is a source only, no binary (EXE), impossible to test your program
mikosworld is offline   you may: quote & reply,
Old 03-15-2010, 09:43 PM   #20
Gharlic
Lurker
 
Join Date: Mar 2010
Posts: 1
Hi there!
I'm italian, so I apologize for my english. I'm translating Toonstruck in my language, but i have problems with the font (the accented letters). I need to edit the game fonts and I suspect they are stored in one of .caf file, but I don't know how to modify them. Can you help me, please?

Thanks!!
Gharlic is offline   you may: quote & reply,
Old 06-01-2011, 04:36 PM   #21
luis46coco
Lurker
 
luis46coco's Avatar
 
Join Date: Jun 2011
Location: Caracas Venezuela
Posts: 2
Quote:
Originally Posted by jannar85 View Post
Hey, I heard John Doe had been working on a Toonstruck extractor or something. Any updates on that? I think it was meant to rip music, backgrounds, animations and stuff.

Also, anyone knows how to extract the music for Runaway 1 and 2? I'd really like to get it, as it's pretty awesome. If not, is there a possibility to make a small application to rip it?
I'm making a tool to translate the voices of Atlantis to Spanish
I would like to find out if there's already done something about it.
And extract the VOC, also decrypt the text, I only need to link them with voc, use ScummSpeaks v3 but it is not easy to handle and talk and I hear that it falls into one and other facilities such as selecting text from one actor or speaker
As you go with your tool?
luis46coco is offline   you may: quote & reply,
Old 06-08-2011, 11:16 PM   #22
jestar_jokin
Rookie
 
Join Date: Sep 2004
Posts: 39
Quote:
Originally Posted by luis46coco View Post
I'm making a tool to translate the voices of Atlantis to Spanish
I would like to find out if there's already done something about it.
And extract the VOC, also decrypt the text, I only need to link them with voc, use ScummSpeaks v3 but it is not easy to handle and talk and I hear that it falls into one and other facilities such as selecting text from one actor or speaker
As you go with your tool?
I'm the developer of ScummSpeaks, what troubles are you having?

ScummSpeaks v3 doesn't support original VOC files (partially because the specific VOC format used has poor support in modern tools), so you need to compress the MONSTER.SOU file with the ScummVM tools. Here's what I suggest you try.
  • Compress the "MONSTER.SOU" file in your Atlantis directory.
  • In ScummSpeaks, extract the text from Atlantis (there's an option under "Tools")
  • Create a new "Speech Map". Point to the new MONSTER.SO3/SOG/SOF file you created in the first step, and the text file you created in the second step.
  • Save the speech map XML file somewhere
  • Export all the game sounds to a directory
  • Replace each exported sound file as you like
  • When finished replacing files, go back to ScummSpeaks, and do "Import Sounds"
  • Save the speech map again
  • Do "Export to Game Resources"
  • Import the new text file back into the game (again, there's an option under "tools")

Feel free to contact me for any further help with ScummSpeaks. But I won't be offended if you decide to use something else

EDIT: Sorry, just realised this is completely unrelated to the topic.
jestar_jokin is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Mixnmojo.com > Community Discussion Forums > SCUMM > Runaway and Toonstruck extractor?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:00 AM.


LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.