scummvm/tools/skycpt
Eugene Sandulenko ea87405ae4 Patch #2840212: "Quiet make process"
svn-id: r43635
2009-08-22 11:03:00 +00:00
..
288diff.txt Update FSF address. Eek. Actually that took place on May 1, 2005 2005-10-18 01:30:26 +00:00
AsciiCptCompile.cpp Added a hack for the tools to allow building on MinGW with SDL backend. (see bug #1800764 "TOOLS: MinGW tools building broken") 2007-09-29 11:40:31 +00:00
AsciiCptCompile.sln I have to make this tool available. Without it, the SKY.CPT file can't be included in debian. 2005-10-14 07:58:30 +00:00
AsciiCptCompile.vcproj I have to make this tool available. Without it, the SKY.CPT file can't be included in debian. 2005-10-14 07:58:30 +00:00
COMPACT.TXT I have to make this tool available. Without it, the SKY.CPT file can't be included in debian. 2005-10-14 07:58:30 +00:00
cptcompiler.cpp Fixed the spaces before tabs. 2008-01-28 00:14:17 +00:00
cpthelp.cpp Added legal headers, fixed various warnings 2007-09-22 09:51:33 +00:00
cpthelp.h Added legal headers, fixed various warnings 2007-09-22 09:51:33 +00:00
idFinder.cpp Removed trailing spaces. 2008-01-27 19:47:41 +00:00
KmpSearch.cpp Removed trailing spaces. 2008-01-27 19:47:41 +00:00
KmpSearch.h Added legal headers, fixed various warnings 2007-09-22 09:51:33 +00:00
Makefile Patch #2840212: "Quiet make process" 2009-08-22 11:03:00 +00:00
module.mk Extended rules.mk with code for building extra (tool) executables, and changed some of the tools to make use of this 2008-02-25 14:10:17 +00:00
ReadMe.txt Removed trailing spaces. 2008-01-27 19:47:41 +00:00
savedata.txt Update FSF address. Eek. Actually that took place on May 1, 2005 2005-10-18 01:30:26 +00:00
stdafx.cpp Removing non-ASCII chars from source code 2007-07-01 12:47:07 +00:00
stdafx.h Added legal headers, fixed various warnings 2007-09-22 09:51:33 +00:00
TextFile.cpp Added legal headers, fixed various warnings 2007-09-22 09:51:33 +00:00
TextFile.h Added legal headers, fixed various warnings 2007-09-22 09:51:33 +00:00

Since V.0.8.0 ScummVM requires the SKY.CPT file for running Beneath a Steel Sky.
This file contains data that was originally included in the SKY.EXE and was also included
in the ScummVM executable before 0.8.0.
Including all this data in the executable has the disadvantage that it wastes memory.
Even when playing a completely different game (like, e.g. Day of the Tentacle) ScummVM would
have the Beneath a Steel Sky data lying around in memory. This doesn't make much of a difference
on a 1GB RAM windows system, but for platforms like PALM and PocketPC it's a real problem,
so this data was moved into the SKY.CPT file and is loaded at runtime when BASS is started.

This program creates the SKY.CPT file.

If you want to create your own file, *PLEASE* simply forget about it.
It's a long and annoying procedure and won't help you with anything.
This program was only included in ScummVM's source tree because the Debian license
forces us to.
Instead download the file from http://www.scummvm.org/SKY.CPT
Also, please be aware that if you create your own CPT file (if it isn't exactly the same as the
one we offer for download at www.scummvm.org), it will be incompatible and the savegames produced
using the file will be incompatible with ScummVM using the normal CPT file.
The incompatibility will not be detected by ScummVM, it will most probably simply crash.

If you still want to waste your time by creating this file:
1) compile the tool
2) run it once, it'll complain that it's missing 7 files, the RESET.* files but
	it creates an incomplete COMPACT.DBG file anyways, which you rename to SKY.CPT.
3) download the 7 different Beneath a Steel Sky versions:
	v.0.00288: The first floppy version that was released
	v.0.00303: Another floppy version
	v.0.00331: Another floppy version
	v.0.00348: Another floppy version
	v.0.00365: CD Demo
	v.0.00368: Full CD version
	v.0.00372: Final CD version
4) Change scummvm/sky/logic.cpp, function fnSkipIntroCode
	so that it calls _skyControl->doLoadSavePanel()
5) Compile the patched ScummVM.
6) Start each of the BASS versions, enjoy the intro over and over again.
	Afterwards, it'll automatically show the load/save dialog where you save the game.
7) Rename the Savegame files you created to "RESET.*", depending on the version.
	e.g. RESET.288 for v.0.00288
8) Copy the files into the skycpt tool directory, execute the tool again.
	It'll create a new COMPACT.DBG.
9) Rename this file to SKY.CPT.
10) DELETE IT BECAUSE IT'S PROBABLY BROKEN, NOT WORTH BOTHERING WITH ANYWAYS
	AND DOWNLOAD THE SKY.CPT FILE FROM THE URL ABOVE!!

Oh, I almost forgot.
The program only works on little endian systems and probably isn't alignment safe either.
It may also leak memory or accidentially reformat your harddisk. Who knows.
You've been warned.