-
Notifications
You must be signed in to change notification settings - Fork 55
add: NekoNyan/Sprite Steam version unpack #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
dogdie233さん、ありがとうございます。 ただ、アーカイブを開く際にゲームブランドの確認処理が行われていないため、
⇒ graphics.datと同じディレクトリに存在する「app.info」の中身を確認すれば、 添付のSpriteArcDAT.csの38行目にゲームブランドの確認処理を追記していますので、 添付ファイル:SpriteArcDAT.cs |
わー、app.infoを読み込むのは本当にいいアイデアですね。フォルダ名を読み込むことしか考えていなかったので、このアイデアをありがとうございます。後ほどこの検出機能を追加します。重ねて感謝いたします。 |
|
dogdie233さん app.infoの読み込みによる検出機能が追加されていることをソースコード、及び実動作から確認しました。 とても素晴らしい修正内容だと思います。 |
|
|
this feature is low priority, so i want to wait another PR merge to avoid conflict Format.json should append follow to "DAT/NEKONYAN/SPRITE": {
"KnownGame": {
"NekoNyanSoft/Aokana": {
"fileCountBeginByte": 16,
"genKeyInitMul": 7391,
"genKeyInitAdd": 42828,
"genKeyInitShift": 17,
"genKeyRoundAdd": 56,
"genKeyRoundAnd": 239,
"genKeyRoundShift": 1,
"decryMod1": 253,
"decryAdd": 3,
"decryMod2": 89,
"decryXor": 153
},
"NekoNyanSoft/AokanaEXTRA1": {
"fileCountBeginByte": 16,
"genKeyInitMul": 7391,
"genKeyInitAdd": 42828,
"genKeyInitShift": 17,
"genKeyRoundAdd": 56,
"genKeyRoundAnd": 239,
"genKeyRoundShift": 1,
"decryMod1": 253,
"decryAdd": 3,
"decryMod2": 89,
"decryXor": 153
},
"NekoNyanSoft/AokanaEXTRA2": {
"fileCountBeginByte": 12,
"genKeyInitMul": 4892,
"genKeyInitAdd": 42816,
"genKeyInitShift": 7,
"genKeyRoundAdd": 156,
"genKeyRoundAnd": 206,
"genKeyRoundShift": 3,
"decryMod1": 179,
"decryAdd": 3,
"decryMod2": 89,
"decryXor": 119
},
"NekoNyanSoft/KoiChoco": {
"fileCountBeginByte": 12,
"genKeyInitMul": 5892,
"genKeyInitAdd": 41280,
"genKeyInitShift": 7,
"genKeyRoundAdd": 341,
"genKeyRoundAnd": 220,
"genKeyRoundShift": 2,
"decryMod1": 235,
"decryAdd": 31,
"decryMod2": 87,
"decryXor": 165
}
}
}, |
|
|
| if (toc_size > view.MaxOffset - header_size) | ||
| return null; // file too small | ||
|
|
||
| using (var toc_buffer = ArrayPool<byte>.Shared.RentSafe(toc_size)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should i remove ArrayPoolGuard and use new byte[] instead?


No description provided.