Here's a SQ4CD debugger I made. Same commands as the SQ4 Beta, with the addition of ALT + s to change the music. Attached below. Since SetDebug was removed from the SQ4 interpreter, I migrated the code from rm800.sc into main. Command list:
http://sciwiki.sierrahelp.com//index.php?title=SCI_Debug_Modes#Space_Quest_4_.28beta.29Also, just for fun I made a KQV CD patch to change poisonous to venomous. See 5500.aud.
Patching individual lines of audio dialog is only possible because instead of using messages for speech, KQ5 uses the AUD resource format which can be patched. I used SCI Sound Utilities to create a new SOUND.000 file, then renamed it 5500.aud. I had to use a hex editor to clean up some garbage at the start of the file to remove pops/clicking.