Spellcross - MOD builder/launcher
Spellcross mod builder is utility that allows to "mix" new game archives according to
instructions in mod definition file. It's much more comfortable than manually dearchivate-edit-archivate all
modified archives. It is also able to swap game files with the newly build ones and ater game is
finished, it moves originals back to game/CD folder so you can play orignal game or another mod again. 1 - Setup
Both programs uses their own *.ini files. Main builder utility uses unly "config.ini" where is neccessary
to define Spellcross installation folder path and CD content folder path. Rest of the file is generated automatically
and I strongly recommend you to not edit this because otherwise original game files could not be restored correctly. 2 - Spellcross MOD builder As I've mentioned erlier this utility is used to build new game archives and swap them between game/CD folder and mod make folder. Usage is very simple:
spell_mod_builder.exe ?
Prints usage. spell_mod_builder.exe
without parameters it just restores original game files that are stored in "backup" folder which is automacally created in Spellcross mod builder/launcher folder. If it fails it displays warning message and if this happens repetitively it will be neccessary to make cleanup operation and manually restore all game archives from your own backup (both Spellcross and CD files). The same operation is done by "restore.bat" batch file. spell_mod_builder.exe -cleanup
This operation is neccessary if restore operation failes. It clears "config.ini" informations if about currently modded archives. After that it's neccessary to manually restore all game archives from your own backup (both Spellcross and CD files). The same operation is done by "cleanup.bat" script. spell_mod_builder.exe mod_path [-mod]
Builds specified mod according to its definition file *.def. Mod definition file format is
described in mod example. This operation is also done by "build.bat" batch file which will be described later. 2.1 - build.bat Builds mod archives, usage: build.bat mod_path 2.2 - mod.bat Builds and swaps mod archives with game/CD files, usage: mod.bat cesta_k_modu 2.3 - restore.bat Restores original game/CD files from local "backup" folder as mentioned erlier. 2.4 - cleanup.bat Makes "config.ini" cleanup operation after insuccessfull restore operation as mentiond erlier. 2.5 - exec.bat This script combines "mod.bat" with game launcher. After game is finished it restores original game/CD files. Game startup in Windows is done using "run_XP.bat" script that has to be created in Spellcross folder and DOSbox startup is done using "run_DOSbox.bat" in the same folder. Theese files will be described later. Usage
exec.bat spelcros_folder mod_path XP 3 - Spellcross MOD launcher
It is simple GUI launcher for Spellcross mod builder. You can set most of *.ini items,
create game launcher batch files (for Windows and DOSbox) and execute them. It's also possible to open some game and
DOSbox config files with this. 4 - Installation and usage Entire game installation can be described as follows:
Step 4) is crutial because if mod builder or game or system failes in wrong moment, restoration
of orignal game files might not be done correctly and therefore you'll have to manually restore all your game
archives from this backup (both game and CD). 4.1 - Startup in Windows
There are several ways how to run Spellcross directly in Windows but since I need to mod
CD files too, it's neccessary to use virtual drive emmualted from folder.
Luckily Spellcross with last patch accepts virtual drive created using SUBST. This command (utility from windows\system32)
maps selected folder as virtual drive which is set as Spellcross CD letter (SPELCROS.CD). This command
acts very similar to DOSbox "mount" command. 4.2 - Startup in DOSbox
If you can't run Spellcross in Windows directly it will work at least in DOSbox.
Spellcross mod launcher creates two batch files for this purpose. First one is "run_DOSbox.bat" which
calls DOSbox with "box_exec.bat" as parameter. So if you have already Spellcross launch code in [autoexec]
section of "dosbox.conf" you'll have to disable it with "Disable autoexec" option in Spellcross mod launcher.
Virtual CD drive is craeted from folder instead of image so it's same as in Windows. 5 - Versions history
6 - Licence
It's freeware so you are free to use and redistribute it but only with all included files together (especially with this help)
without any modifications! 7 - Contact In case of some problems with this SW you can contact me at s.maslan@seznam.cz. Additional informations and new versions could be find here: http://www.spellcross.kvalitne.cz/mod/spell_mod_builder.html. (c) 2011-2013, Stanislav Mašláň - All rights reserved.
|