Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Request: Support for new Catsystem script format (.CSTL) #66

Open
Berthog opened this issue Aug 10, 2022 · 2 comments
Open

Request: Support for new Catsystem script format (.CSTL) #66

Berthog opened this issue Aug 10, 2022 · 2 comments

Comments

@Berthog
Copy link

Berthog commented Aug 10, 2022

Hello, can you add support for .cstl files from catsystem engine please? This kind of script format is used in newest games like Shin koihime musou kakumei, cyanotype daydream (english release) and other ones. Here's a tool that can manage this kind of script, just for reference: https://github.com/marcussacana/CatSceneEditor
and here's some scripts for test.
scripts_cstl.zip

@Cosetto
Copy link
Contributor

Cosetto commented Aug 22, 2022

Can you also implement .qdb along with it too? It's a part of Catsystem2 and contains text such like this
image
My friend said it uses utf-8 and he gave some info about it
image
qdb.zip

@Cosetto
Copy link
Contributor

Cosetto commented Oct 23, 2022

import zlib

with open('tips_en.qdb', 'rb') as fs:
    stm = fs.read()

with open('tips_en_decompressed.qdb', 'wb') as fs:
    fs.write(zlib.decompress(stm[12:]))

This code should help decompress the qdb file

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants