Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quasimorph Simple Data Loader

thumbnail icon

A simple utility which can export all of the game's data as well as import data changes.

While this mod does export the localization data, it does not support changing it.

The process is:

  • Run the game with the mod installed.
  • The mod will copy the data to the Export Folder found at %AppData%\..\LocalLow\Magnum Scriptum Ltd\Quasimorph_ModConfigs\QM_SimpleDataLoader\Export.
  • Copy files that need to be changed to the Import folder at %AppData%\..\LocalLow\Magnum Scriptum Ltd\Quasimorph_ModConfigs\QM_SimpleDataLoader\Import
  • Edit the files in the Import folder as needed.
  • Run the game to see the changes.

Warning

When a new version of the game is released, any files that were copied to the import directory should be deleted and the desired edits should again be made from copies from the Export folder. Otherwise the game may crash or cause game corruption.

Due to how this mod currently works, it has a high chance of breaking on new versions of the game. If there are any issues, unsubscribe from the mod.

The formatting is very important. Note that some editors like Visual Studio Code will write out four spaces instead of a tab when pressing the tab key. This will break the import.

Usage

The remainder of this document contains detailed information of the mod's usage.

Source Data

When the game is run, the game's config_* files will be exported to the %AppData%\..\LocalLow\Magnum Scriptum Ltd\Quasimorph_ModConfigs\QM_SimpleDataLoader\Export folder. This data will be replaced on every game run.

The localization data is also exported, but currently is not imported.

Data Overview

The files often contain more than one table, with each table starting with a #<table name>

The item ids generally do not match the name displayed in the game, so the user will need to find the actual item ids. An easy way to find an item's id is to search for the text in the localization.tsv. A part of the localization key should be the item's ID.

For example, Raptor has the id of anc_shotgun_1. item.anc_shotgun_1.name Raptor

The debug's console command itemscan allows the user to mouse over an item to get the id, and the allitems command will spawn one of everything the the ship's cargo.

WARNING: Using any console command will disable achievements for that save.

Change Data

To modify the data, make a change to a file or files in the Export folder and copy them to the Import folder found at %AppData%\..\LocalLow\Magnum Scriptum Ltd\Quasimorph_ModConfigs\QM_SimpleDataLoader\Import

When the game is run, the changes will be imported.

It should be possible to add or remove items, but I have not tried that.

Important Notes

The file formats must be exactly as they are exported. The values can be modified, but any spaces, tabs, new lines, etc. must be identical in format.

Note that some editors such as Visual Studio Code will convert the tab key to spaces instead of a tab. The game requires tabs to delineate columns and must not be spaces.

Configuration

The configuration file will be created on the first game run and can be found at config.json.

Name Default Description
DumpData true If true, exports the config_* files to the export directory

Support

If you enjoy my mods and want to buy me a coffee, check out my Ko-Fi page. Thanks!

Source Code

Source code is available on GitHub at https://github.com/NBKRedSpy/QM-SimpleDataLoader

Change Log

See CHANGELOG.md at https://github.com/NBKRedSpy/QM-SimpleDataLoader

About

Quasimorph very simple data load. Will be obsolete in a week or so.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages