Important
To run the application, you need to install .NET Desktop Runtime 8.0.
CDScriptManager (later CDSM) is a tool for fast and handy managing CDScript files for classic Crashday (1.0-1.2). CDSM gives you the opportunity to configure and apply special script files to a game, which open up the possibilities of low-level modding.
Current version - 0.1.5
Important
For the application to work correctly, you must use the executable files "by Steve". Below is a table with unique files data that you can compare with your available EXE files. In any case, you can download the files here. If you want to add support for other EXEs, let me know.
Executable file name | Game version | File size (in bytes) | Checksum (CRC-32) | Checksum (MD-5) |
---|---|---|---|---|
Crashday10.exe | 1.0 | 3347968 | 498F34B6 | EE740F59A3DF76FC68159758A7D78055 |
Crashday11.exe | 1.1 | 3380224 | A38F60B6 | 1CEA94001C8102582A5C007BDF765646 |
Crashday11.exe | 1.2 | 3378688 | 8D452A29 | F027022CF84FB0A7A9DB9770545346B9 |
CDSM should be located in the game folder (i.e. C:\Games\Crashday
). Scripts for the manager must be installed in the scripts
folder. (see Files overview)
Click here to see all changelogs
Click here for CDScript files writing tutorial
CDSM is a small window that consists of various main elements:
- "Game" tab. Contains options related to the game itself. (see "Game" tab)
- "Presets" tab. Contains options related to the script presets. (see "Presets" tab)
- "About" tab. Contains miscellaneous
not really importentstuff. (see "About" tab) - Script list. The list shows all scripts, located in
scripts
folder in the game directory. - Script information. The area for displaying the description of the selected script.
- "Refresh" button. The button to refrest script list.
- "Configure" button. The button to configure script settings in separated window. The button is enabled only if script has settings to configure. (see "Configuration" window)
- "Run game" option. Run the game executable (
.exe
or.dll
). - "Set game executable" option. Change the game executable (
.exe
or.dll
). - "Set executable arguments" option. Add/remove command-line arguments for Crashday executable.
- "Create shortcut" option. Create shortcut with preinstalled game executable and script preset via command-line arguments for quick game run. (see Command-line arguments)
- "New preset" option. Create a new script preset. When creating a preset, it is automatically selected as the current one.
- "Open preset" option. Loads preset file.
- "Save preset as" option. Works similarly to the "New preset" option, but without preset selection.
- "Information" option. Opens a separated window, which contains CDSM version.
- "GitHub page" option. Opens St1ngLeR's GitHub page.
- Settings list. The list of script settings that can be configurated by user. The count of settings is depends on the script.
- "Reset button". Reset all script settings to the default values.
CDSM supports command-line arguments to speed up and simplify the procedure of running the game:
/preset=(preset_name)
- loads specified preset fromscripts/presets
folder./exec=(executable_file_name)
- runs specified executable file (.exe
or.dll
)./execargs=(executable_arguments)
- adds specified command-line arguments for specified Crashday executable.
Important
The order of the arguments is important. If you want to start the game with a preset, make sure that the preset is set BEFORE assigning the file to run.
Important
For the correct assignment of the preset and the executable file, it's recommended to enclose their names in quotation marks to avoid malfunctions. This is especially true if there is a space character in their names.
Out of the box, the program consists of one file - the executive file itself. But after the first launch, the program creates some files, which are described below:
The logging file that captures each action of the program. This file can be useful for script writing. After each launch, the file is written over again.
The file that contains basic settings for proper work of program.
A folder for CDScript files that CDSM uses to managing them. Initially, the folder does not contain any scripts.
A folder inside the scripts
folder for script preset files. Initially, the folder contains a default preset.
Warning
The following files are updated by the program itself, so manual modification is not recommended unless as a last resort.
The files created and used by CDSM have their own structure, which is described below:
skipmanager
- allow to skip manager on it's launch for quick run game. (default value is0
)exec
- game executable. (default value isCrashday.exe
)currentpreset
- current selected script preset. (default value isdefault
)
[(script_name).cdscript]
section contains all values related to it's script.~state
is the main key that is rensposible for disabling/enabling script to load. (false
- disable,true
- enable)
The script section can also use other keys if the script has settings that the user can configure in the manager.
The application is using Costura.Fody to compile all resources into a single executable file.