REDNODE / DOCS

TweakDB test

Example apps / tweakdb-test / v0.2.0

Node modneeds tweakxl

Read any TweakDB record, its flats and a method, list every vehicle, and change or clone records through TweakXL.

Simulated game starting
Mod log

    The preview's TweakDB holds a few made-up records. In the game it is the game's own database.

    How it works

    Reading needs nothing but REDnode. Writing goes through TweakXL, listed in the manifest's requires.

    REDnode keeps a journal of each package's changes and undoes them when the package stops, so switching a mod off really switches it off.

    An id is the path's CRC32 and length, the way the game makes it, so tweakdb.id() answers at once.

    What it uses

    tweakdb.type tweakdb.flat tweakdb.record tweakdb.records tweakdb.id tweakdb.set tweakdb.clone

    Try this

    Use it

    Copy the files into red4ext/plugins/REDnode/apps/tweakdb-test/ in the game folder, or start your own package from them: change id and name in the manifest first. The whole folder is on GitHub.