[Scummvm-devel] Resource problems

David Given dg at tao-group.com
Tue Nov 20 06:27:03 CET 2001


I've been fiddling with ScummVM, with a view to writing a program (current 
name: Skim) that will take a SCUMM resource file and decompile it into all 
its individual resources, and then reassemble the pieces. This would make it 
easy to modify a game. Eventually I hope it might be possible to compile new 
SCUMM games from scratch.

I'm doing this to try and find the resources:

	for all rooms
		for all resources of a particular type
			if resource is in room
				dump resource

Only some resources types appear to have a room index. For example, SOUNs 
appear in rooms, but STRNs don't. Is it just that some resources are global, 
or has the index not been loaded?

Also I'm finding that some resources point to the wrong things. For example, 
in my copy of _Monkey Island II_, sound resource 2 points to a COST... is 
this a bug in _MI2_ or in ScummVM?

-- 
+- David Given --------McQ-+ 
|  Work: dg at tao-group.com  | I think, therefore you are.                      
|  Play: dg at cowlark.com    | 
+- http://www.cowlark.com -+ 




More information about the Scummvm-devel mailing list