Skip to content

Add support for TLGref and TLGqoi formats#173

Open
MLChinoo wants to merge 4 commits intocrskycode:masterfrom
MLChinoo:master
Open

Add support for TLGref and TLGqoi formats#173
MLChinoo wants to merge 4 commits intocrskycode:masterfrom
MLChinoo:master

Conversation

@MLChinoo
Copy link

图片

@MLChinoo
Copy link
Author

NekoNyan在Dracu-Riot!重置版中引入了全新的图像格式TLGrefTLGqoi,同时改变了原有的图像读取方式。
图片
以ev101这张cg为例,现版本把各个差分切为了单独的指针文件ev101aa.tlg等,这些文件并不包含实际的图像信息,而是指向一个隐藏的总图像文件ev101__af7qc6.tlg,其中才包含完整的基底图像与差分图像等信息。
图片
由于差分索引仅包含在TLGref格式中,所以仅应加载各个单独的指针文件,尝试加载总图像文件只会出现上图中的错误结果。
图片
如上图所示,由于指针文件依靠明文文件名来寻找总图像文件,所以在不加载HxNames.lst mapping的情况下是无法加载图像的。此游戏的mapping可以从我的项目中获取或自行制作。

@2778995958
Copy link

2778995958 commented Mar 10, 2026

https://github.com/2778995958/gal_tachie_ai/tree/main/yuzu/tlgqoi_mux_ref
我有3種新tlg python,僅供參考
因為沒ref的tlg又是另一種方式,立繪mux又是另一種
mux-->batch_decode.py -->st

qoi+ref-->batch_decode_clone.py-->ev,sd

qoi-->decode_single.py-->not ref sd/ev
單qoi格式沒有 QHDR 標籤

@MLChinoo
Copy link
Author

https://github.com/2778995958/gal_tachie_ai/tree/main/yuzu/tlgqoi_mux_ref

我有3種新tlg python,僅供參考

因為沒ref的tlg又是另一種方式,立繪mux又是另一種

mux-->batch_decode.py -->st

qoi+ref-->batch_decode_clone.py-->ev,sd

qoi-->decode_single.py-->not ref sd/ev

單qoi格式沒有 QHDR 標籤

确实,不过最近比较忙,另外两种可能要鸽一会,可能会单独开个pr吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants