Simple python extractor & packer for Dreamlore's VN games:
python dreamlore_extractor.py <game> <path>, where
<game>is one ofnecro/cosmos/onegin,<path>depends on what you want to pack / extract / convert.
Usage: python dreamlore_extractor.py(necro|cosmos|onegin) <path>
extracts:
necro <pak-file> with packed pak data
cosmos <pak-file> with packed pak data
cosmos <sav-file> with packed sav data
cosmos <scn-file> with encoded scripts/persistent data
onegin <cnes-file> with encoded scripts
onegin <pak-file> with packed pak data (+cnes converted)
onegin <sys0.dfn-file> with encoded persistent data
onegin <sys0.dfn-file> with encoded sound settings
packs:
necro <folder> with unpacked pak data
cosmos <folder> with unpacked pak/sav data
cosmos <scene-file> with readable scripts/persistent data
onegin <nes-file> with readable scripts
onegin <sys0.persistent-file> with readable persistent data
onegin <sys1.persistent-file> with readable sound settings
Works with resources data of "Книга Мёртвых".
- unpack file
My.pakto a folderMy python dreamlore_extractor.py necro My.pak- pack folder
Myto a fileMy.pak python dreamlore_extractor.py necro My
This game does not have persistent save data. Gallery shows BMP files that are phisically unpacked to a folder. Director's Cut Edition availability is not persisted and can be changed by loading a savegame.
Works with game state save data of "Книга Мёртвых".
- converts file
16 окт 2016 23-59.savto a human-readable file16 окт 2016 23-59.save python dreamlore_extractor.py necro 15 окт 2016 23-59.sav- converts human-readable file
16 окт 2016 23-59.saveto a file16 окт 2016 23-59.sav python dreamlore_extractor.py necro 15 окт 2016 23-59.save
Works with resources data of "Красный Космос".
- unpack file
cosmos.pakto a foldercosmos python dreamlore_extractor.py cosmos cosmos.pak- pack folder
cosmosto a filecosmos.pak python dreamlore_extractor.py cosmos cosmos
Works with game save data of "Красный Космос".
- unpack file
16 окт 2016 23-59.savto a folder16 окт 2016 23-59 python dreamlore_extractor.py cosmos "16 окт 2016 23-59.sav"- pack folder
16 окт 2016 23-59to a file16 окт 2016 23-59.sav python dreamlore_extractor.py cosmos "16 окт 2016 23-59"
Works with persistent state save data of "Красный Космос".
- converts file
triggers.scnto a human-readable filetriggers.scn.unpack python dreamlore_extractor.py cosmos triggers.scn- converts human-readable file
triggers.scn.unpackto a filetriggers.scn python dreamlore_extractor.py cosmos triggers.scn.unpack
Works with raw scenario files of "Евгений Онегин".
- converts file
main.cnesto a human-readable filemain.nes python dreamlore_extractor.py onegin main.cnes- converts human-readable file
main.nesto a filemain.cnes python dreamlore_extractor.py onegin main.nes
Works with resources data of "Евгений Онегин".
- unpack file
data0004.pakto a folderdata0004 python dreamlore_extractor.py onegin data0004.pak
NOTE: cnes-scripts are converted to human-readable nes-scripts during unpacking. See above on how to convert them back to binary format.
Creating pak-files is not supported because of zipfile library limitations.
NOTE: pak-file is just a password-protected ZIP archive. Password is "putinissatan".
Works with persistent save data and sound settings of "Евгений Онегин".
- converts file
sys0.dfnto a human-readable filesys0.persistent python dreamlore_extractor.py onegin sys0.dfn- converts human-readable file
sys1.persistentto a filesys1.dfn python dreamlore_extractor.py onegin sys1.persistent
TODO: Game state save data file format is not supported.