Community

SCI Programming => SCI Community How To's & Tutorials => Topic started by: miracle.flame on February 12, 2025, 08:55:24 AM

Title: LSL6 speedrun cheat items
Post by: miracle.flame on February 12, 2025, 08:55:24 AM
Jumping from the very beginning to the very end of LSL6 I'd like to test modification of removing (gLSL6 hideControls:) from rm720.sc as the last narration from Shamara leading to endgame scene is also hidden.

While having the modified 720.scr in there the game seems to ignore it probably because all my save games have the previous version of script loaded already. Thus I would need to somehow speedrun through the game and the most effective solution would be to cheat somehow. Is there a way I could get all the necessary items for Shamara right from start or altering the save file?
Title: Re: LSL6 speedrun cheat items
Post by: doomlazer on February 12, 2025, 10:34:36 AM
There are some limited ways to get Inv items already built into the SVGA version: http://sciwiki.sierrahelp.com/index.php/SCI_Debug_Modes#Leisure_Suit_Larry_6_.28SVGA_CD_version.29

However, I've already ported the debugHandler from the CD version to the Hi-Res:
https://github.com/Doomlazer/SCI-Debug-Resources/tree/main/LSL6/LSL6%20CD%20SVGA_HiRes

Copy 911.src and 911.hep into your patches folder, then use Alt-i and Alt-t to teleport and give yourself items.
Title: Re: LSL6 speedrun cheat items
Post by: miracle.flame on February 12, 2025, 10:36:09 AM
You know I actually managed to get around it in the meantime but this is amazing stuff!  :D
Title: Re: LSL6 speedrun cheat items
Post by: lskovlun on February 12, 2025, 02:19:06 PM
Since you're frobbing the code already, I'd just put:
Code: [Select]
(ego get: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41)
somewhere. Or even just do it from the ScummVM console (unfortunately ScummVM can't do copy and paste; but you can cheat, because ScummVM does have a command-line history which is saved and loaded):
Code: [Select]
send ego get 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
EDIT: Fixed call