trigger-segfault / TriggersTools.CatSystem2

A library for extracting from and working with the CatSystem 2 visual novel game engine.
MIT License
50 stars 8 forks source link

gui debugger #1

Closed koke2c95 closed 4 years ago

koke2c95 commented 4 years ago

game debugger like readme?

koke2c95 commented 4 years ago

oh, that's CatSystem2 self debugger, and need all decrypt Int's Packget ...

trigger-segfault commented 4 years ago

Alright, I've started to sort out the information needed to actually setup debug mode if you're interested.

Decrypting the archives isn't required anymore, but some features will work better if the archives are extracted.

I apologize that this info is a bit jumbled, my notes and tests over the last few months have been very scattered and unorganized.

Requirements

  1. cs2_debug_key.dat (contains random data unique to each game) (i)
  2. Locale Emulator, (or Japanese system locale)
  3. Extract scene.dat to a new folder: scene/ (enables script selection+navigation)
  4. Find the <wndmenu> option in startup.xml, set the value to 1. (enable menu bar, required for some features) (iii)
  5. Add these debug keybinds to KEYCUSTOMIZE list in startup.xml (some features can only be accessed with keybinds) (iii) (TODO: Link xml debug keys from CS2 patcher in this repo)
  6. If you have a Grisaia game, the startup.xml likely contains an invalid comment that invalidates all settings defined after that point(?) Look for <!-- with a --> on the next line. Removing the first should fix this.

Archives that DO NOT need to be extracted:

(archives not listed here are unconfirmed)

Notes:

Todo

If you have any issues, need something explained in more detail, or help using the engines debug mode, then let me know. The debug mode feature can be quite awkward. — Later I can also write up a proper program/script for generating the the debug key file data.

And as it's not present in requirements, patching is no longer necessary. Patching the game exe was only done to workaround cs2_debug_key.dat being specific to each game. (Similarly, some other old requirements were only needed because of the patch-based solution)

I will try to finish writing up what info I've collected in the next few days (hopefully). I always seem to find myself doing this at 1am

trigger-segfault commented 4 years ago

If you don't mind, I'll also be reopening this issue, just to make the information more accessible (and for new discussion) until it gets added to the repo's wiki. 🎉

koke2c95 commented 4 years ago

thank your reply !! but i had delete these tools. and now i no time to redownload try it sorry :(

trigger-segfault commented 4 years ago

That's okay, I'll still throw what I've currently got up on the wiki later. 👍 And I apologize, reopening a user-closed issue was a bit rude of me.