IDA database files for existing game ports

All the inane chatter goes in here. If you're curious about whether we will support a game, post HERE not in General Discussion :)

Moderator: ScummVM Team

sirlemonhead
Posts: 21
Joined: Wed Sep 09, 2009 6:11 pm
Location: Dublin, Ireland

IDA database files for existing game ports

Post by sirlemonhead »

Hi guys,

I was wondering would it be possible to get hold of one or more IDA Pro database files for any of the ScummVM supported games that someone has done a good bit of work on?

I'm trying to RE an adventure game but am still quite unskilled at the process. Being able to get some tips from a well commented IDA database would be REALLY helpful.
User avatar
sev
ScummVM Lead
Posts: 2276
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Post by sev »

No, those are ScummVM team only. Feel free to e-mail me your questions, though or come to IRC, we will see how we can help.

And btw, what is the title of the game?


Eugene
sirlemonhead
Posts: 21
Joined: Wed Sep 09, 2009 6:11 pm
Location: Dublin, Ireland

Post by sirlemonhead »

The Sherlock Holmes: Case of the Serrated Scalpel game. I think someone from the team was working on this at some point, but i'm not aware how far he's got (a lot further than me I'd assume!)

I figured i'd start off with a game I like, that hasn't been done before, and see how it goes. I've got a decent part of the introduction cutscene figured out, which isn't bad for a weeks work (I'm having to learn assembly as I go which is slowing things!)

I'll drop into IRC later, but the questions I have are probably quite numerous and basic for anyone to entertain for too long :)
User avatar
md5
ScummVM Developer
Posts: 2250
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 »

johndoe worked on this game a bit (search in the forums)

There's also this page, containing some resource viewer tools in Pascal:
http://oezmen.eu/gameresources/
androsynth7
Posts: 4
Joined: Tue Mar 08, 2011 1:22 pm

Re: IDA database files for existing game ports

Post by androsynth7 »

sirlemonhead wrote: I'm trying to RE an adventure game but am still quite unskilled at the process. Being able to get some tips from a well commented IDA database would be REALLY helpful.
I've been thinking the same thing, but never mustered enough courage to ask the developers like you did. I have a good knowledge of x86 assembly language and some RE experience as well, but reverse engineering something as big and complex as a game from start to finish is something that I've never done (and I'm not even sure where to start). Seeing those database files would help, that's for sure.
sirlemonhead
Posts: 21
Joined: Wed Sep 09, 2009 6:11 pm
Location: Dublin, Ireland

Post by sirlemonhead »

I PMed johndoe a few days ago to see if he'd be willing to share what he's done so far with me, but I haven't heard back yet.

The handy thing about the sherlock holmes game is that it has a separate .exe for the introduction cutscene, which is quite small. I figured i'd start on that rather than the full blown game.exe itself.

androsynth7, were you looking to RE any game in particular? While I love monkey island/dott and the like, the Sherlock holmes game was the first adventure game I ever played, so i'd love to see it in ScummvM
User avatar
Strangerke
ScummVM Developer
Posts: 335
Joined: Wed Sep 06, 2006 8:39 am
Location: Belgium

Post by Strangerke »

If I may add something... Don't rush on the intro: it uses another game engine (namely: tsage). It's easy to confirm: you'll find tsage.cfg and logo.exe uses it as well as RLB files.
sirlemonhead
Posts: 21
Joined: Wed Sep 09, 2009 6:11 pm
Location: Dublin, Ireland

Post by sirlemonhead »

I didn't know that..I see tsage.cfg now that you mention it.

logo.exe itself is a huge .exe file considering how little it does.

When you say don't rush on it..should I forget about it or make more of an effort to figure it out correctly?
User avatar
md5
ScummVM Developer
Posts: 2250
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 »

tsage is a completely different engine, and it seems that it has been used just to play the intro of this game. I.e. the intro is done with the tsage engine, and the game with a different engine. dreammaster has been working with tsage (used in Ringworld), you can find his progress in his scummvm-misc project:
http://scummvm-misc.svn.sourceforge.net ... nes/tsage/
User avatar
Red_Breast
Posts: 773
Joined: Tue Sep 30, 2008 10:33 pm
Location: The Bar Of Gold, Upper Swandam Lane.

Post by Red_Breast »

Alien vs Predator is not an adventure game!

Just kidding - I couldn't resist a little tease sirlemonhead

For most / the rest of you don't even try understanding this.
sirlemonhead
Posts: 21
Joined: Wed Sep 09, 2009 6:11 pm
Location: Dublin, Ireland

Post by sirlemonhead »

Red_Breast wrote:Alien vs Predator is not an adventure game!

Just kidding - I couldn't resist a little tease sirlemonhead

For most / the rest of you don't even try understanding this.
I need a break from that stuff for a bit :)
sirlemonhead
Posts: 21
Joined: Wed Sep 09, 2009 6:11 pm
Location: Dublin, Ireland

Post by sirlemonhead »

md5 wrote:tsage is a completely different engine, and it seems that it has been used just to play the intro of this game. I.e. the intro is done with the tsage engine, and the game with a different engine. dreammaster has been working with tsage (used in Ringworld), you can find his progress in his scummvm-misc project:
http://scummvm-misc.svn.sourceforge.net ... nes/tsage/
Thanks for that. I've just been having a look at game.exe and I'm already seeing some common code from title.exe, so it wasn't all in vain :)
User avatar
john_doe
ScummVM Developer
Posts: 117
Joined: Fri Nov 04, 2005 8:25 pm
Location: Stuttgart, Germany

Post by john_doe »

Weird about that tsage thing, it really is tsage. I wonder how that came to be. I checked MobyGames but from the credits there it doesn't seem people from Mythos also were in Tsunami... Oh well...
And yes, game.exe and title.exe share a lot of code. title.exe is basically just a player for the vdx animations.
androsynth7
Posts: 4
Joined: Tue Mar 08, 2011 1:22 pm

Post by androsynth7 »

sirlemonhead, I'm trying to RE Callahan's Crosstime Saloon by Legend Entertainment. The game's executable is a 32-bit program that uses DOS4GW dos extender, so all the addresses are linear and you don't have to track down the contents of segment registers, which is really neat. On the other hand, though, Watcom C compiler (which the game source code was compiled with) uses its own calling conventions and IDA Pro is having difficulties guessing function prototypes even for recognized library functions. Being realistic, I don't set any grand goals for myself, seeing learning and gaining experience as something I should focus on.
sirlemonhead
Posts: 21
Joined: Wed Sep 09, 2009 6:11 pm
Location: Dublin, Ireland

Post by sirlemonhead »

androsynth7 wrote:sirlemonhead, I'm trying to RE Callahan's Crosstime Saloon by Legend Entertainment. The game's executable is a 32-bit program that uses DOS4GW dos extender, so all the addresses are linear and you don't have to track down the contents of segment registers, which is really neat. On the other hand, though, Watcom C compiler (which the game source code was compiled with) uses its own calling conventions and IDA Pro is having difficulties guessing function prototypes even for recognized library functions. Being realistic, I don't set any grand goals for myself, seeing learning and gaining experience as something I should focus on.
Nice! that memory segmentation stuff in the 16bit code is causing me a few headaches. Pity about the function prototypes issue. Is there anything yo can do to help with that issue? I figured IDA would be pretty good with Watcom stuff.
Post Reply