[Scummvm-cvs-logs] CVS: tools loom_tg16_extract.c,NONE,1.1 README,1.16,1.17
Travis Howell
kirben at users.sourceforge.net
Mon Jul 5 05:23:01 CEST 2004
Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4394
Modified Files:
README
Added Files:
loom_tg16_extract.c
Log Message:
Add work in progress extractor for TG16 version of Loom from Quietust
May need cleanup, so not included in Makefiles yet.
--- NEW FILE: loom_tg16_extract.c ---
/* Loom_TG16_Extract - Extract data files from TG16 version of Loom
* Copyright (C) 2003 The ScummVM Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header: /cvsroot/scummvm/tools/loom_tg16_extract.c,v 1.1 2004/07/05 12:22:02 kirben Exp $
*
[...1257 lines suppressed...]
extract_resource(input,output,&res_charset);
fclose(output);
#else // !MAKE_LFLS
dump_resource(input,"globdata.dmp",0,&res_globdata);
dump_resource(input,"charset.dmp",0,&res_charset);
for (i = 0; i < NUM_UNKNOWNS; i++)
dump_resource(input,"unk-%i.dmp",i,&res_unknowns[i]);
for (i = 0; i < NUM_ROOMS; i++)
dump_resource(input,"room-%i.dmp",i,&res_rooms[i]);
for (i = 0; i < NUM_COSTUMES; i++)
dump_resource(input,"costume-%i.dmp",i,&res_costumes[i]);
for (i = 0; i < NUM_SCRIPTS; i++)
dump_resource(input,"script-%i.dmp",i,&res_scripts[i]);
for (i = 0; i < NUM_SOUNDS; i++)
dump_resource(input,"sound-%i.dmp",i,&res_sounds[i]);
#endif // MAKE_LFLS
debug("All done!");
return 0;
}
Index: README
===================================================================
RCS file: /cvsroot/scummvm/tools/README,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- README 2 Jun 2004 01:55:57 -0000 1.16
+++ README 5 Jul 2004 12:22:02 -0000 1.17
@@ -10,6 +10,10 @@
Extracts macintosh "single file" SCUMM games into their
component parts, for use with ScummVM
+ loom_tg16_extract
+ Extracts data files from TG16 version of Loom
+ There is currently no support in ScummVM
+
mm_nes_extract
Extracts data files from NES version of Maniac Mansion
There is currently no support in ScummVM
More information about the Scummvm-git-logs
mailing list