You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.1 KiB
Markdown
22 lines
1.1 KiB
Markdown
# SQL format
|
|
* Used by newer Rags games.
|
|
* They use a wonderful technology called "SQL Server Compact 3.5", which is like
|
|
SQLite, but by Microsoft, and it is a proprietary piece of crap that only
|
|
works on Windows. Fortunately by now, even MS realized that it's a crap and no
|
|
longer supports it.
|
|
* They're encrypted with a password: `Ç°¥àòÅÅÇÉàññø` (in UTF-8), or
|
|
`L"\u00C7\u00B0\u00A5\u00E0\u00F2\u00C5\u00C5\u00C7\u00C9\u00E0\u00F1\u00F1\u00F8"`
|
|
as a wchar_t string literal on Windows.
|
|
* The game uses it like a (crap) file system, zero indexes or joins or anything,
|
|
it just loads the whole shit into the memory except the actual files.
|
|
* The schema used to create the DB is in [schema.sql](schema.sql).
|
|
|
|
# Encrypted .Net serialized format
|
|
* Used by older Rags games, savegames and exported variables.
|
|
* It's normal .Net binary serialized data (see [MS-NRBF][]) but encrypted with
|
|
AES-256 CBC.
|
|
* Key: `B4BDC259B1104A6531F8109C851BCF9AD09BDD208851C9CBAB782AEC356CC1E3`
|
|
* IV: `31F8109C851BCF9A203D6C71A7BD1487`
|
|
|
|
[MS-NRBF]: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nrbf/75b9fe09-be15-475f-85b8-ae7b7558cfe5?redirectedfrom=MSDN
|