aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.h
AgeCommit message (Collapse)Author
2017-04-23SCI32: Add debugger command to list digital audio samplesColin Snover
2017-04-22SCI: Add alloc_list command to debuggerColin Snover
This command lists all resources that are currently loaded into memory, plus the number of locks that exist on each loaded resource.
2016-11-20SCI: Improve disassembly outputColin Snover
1. pushi opcode now displays decimal value and selector value (if one exists) in-line 2. lofsa, lofss, and super opcodes now display resolved object/class names 3. Opcode arguments are visually aligned
2016-11-20SCI: Add code-address breakpoints to debuggerColin Snover
2016-11-02SCI: Add reference dump to disk in debuggerColin Snover
This allows references in memory to be dumped to disk for examination by other tools. In the case of SCI32 bitmaps, data is output in 8-bit TGA format without transparency, which allows the current palette to also be examined. (The alternative would be to use 32-bit TGA to display transparency, and lose the palette, or dump to a more complicated format that supports 1-bit transparency.)
2016-10-09SCI: Fix crash when attempting to view invalid list, array, bitmap referencesColin Snover
2016-03-07SCI32: Add debugger command to view screen items in the visible plane listColin Snover
2016-02-29SCI: Add vocab994 console commandLars Skovlund
This is intended for early SCI2, but should work with older SCI too, not that we need it.
2016-02-18SCI: Implement accurate renderer architecture for SCI32Colin Snover
2015-05-14SCI: debug commands scro, scrs and script_saidMartin Kiewitz
implement string collecting for SCI3 implement object offset collecting for SCI0-SCI2 implement said-str offset collecting for SCI0-SCI1 add new debug command scro / script_objects add new debug command script_said string without terminating NUL now a warning the latter happens in qfg2 for amiga room 84
2015-05-04SCI: Scripts: identify strings + debug commandMartin Kiewitz
debug command is called "script_strings" / "scrs"
2015-03-18SCI: debugger / fix diskdump + list commandsMartin Kiewitz
diskdump: support for audio36+sync36 list: always show tuple for audio36+sync36
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2013-04-15SCI: Remove unused variableWillem Jan Palenstijn
2012-06-23SCI: Change the program counter (PC) to be a 32-bit variableFilippos Karapetis
This is needed for future support of large SCI3 scripts. The program counter is isolated and does not interfere with other parts of the VM, plus it does not get stored in saved games, so it's pretty straightforward to convert
2012-05-21SCI: Added two new debug commands, plane_list and plane_itemsFilippos Karapetis
These can be used to debug drawn items in SCI32
2011-06-12SCI: Add saved_bits/show_saved_bits console commandsWillem Jan Palenstijn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-20SCI: Added a new console command "window_list" or "wl"md5
This can be used to see a list of the currently open windows. Also, added a sanity check for the "al" command and performed some minor cleanup
2011-03-20SCI: Added a new console command, "animate_list" or "al"md5
This shows the current animation list, along with object properties, positions and the scripts they belong to
2011-03-12SCI: Continue disasm until no jumps go past the current opcodeWillem Jan Palenstijn
This should ensure disasm will disassemble an entire function, and not stop at an intermediate ret opcode.
2011-02-07SCI: Converted the robot decoder into a regular video decoder, and decoupled ↵Filippos Karapetis
it from the SciEngine class - Robot videos are now shown in frameOut(), like they should, and kRobot(sync) is only used for syncing with the game scripts - Hooked video playing into the "play_video" console command svn-id: r55801
2011-02-04SCI: Rewrote the robot playing code in a way similar to other video decodersFilippos Karapetis
- The code now streams videos instead of loading them in memory, without utilizing seeking - Removed the sound-related robot code from the graphics classes - Started implementing the code for the sound in robot videos (still not finished) svn-id: r55772
2011-01-22SCI: Added stub for playing robot audio from the consoleLars Skovlund
svn-id: r55424
2011-01-07SCI2/2.1: Improvements to the find_callk debug function, and some kernel ↵Filippos Karapetis
function updates - Improved the find_callk function to properly find the end of script objects, by monitoring jump calls - Added three extra special calls to find_callk: find kernel function calls to dummy, unused and unmapped kernel functions - Updated several kernel function calls because of the above functionality - The above functionality has also uncovered a VM bug in some SCI2/2.1 opcode - added a FIXME for it svn-id: r55151
2010-12-07DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engineMax Horn
svn-id: r54815
2010-11-17SCI: Unified the functionality and parameters of the disasm and disasm_addr ↵Filippos Karapetis
commands svn-id: r54276
2010-11-17SCI: Added the ability to display original script bytecode in the "disasm" ↵Filippos Karapetis
console command svn-id: r54275
2010-10-31SCI: Play time related changesFilippos Karapetis
- Added support for savegame play time - Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime) - Renamed some variables to camelCase svn-id: r53974
2010-10-28SCI: Several changes related to MT-32 -> GM mappingFilippos Karapetis
- Changed C - style comments in map-mt32-to-gm.h to C++ - style comments - Added a new dynamic MT-32 -> GM mapping, complementary to the normal one, which can be done on the fly using the new console command "map_instrument" - The "show_instruments" command has been moved to the music section and now displays the instruments of the game which aren't in the MT32-> GM mapping svn-id: r53902
2010-10-20SCI: Added a new debug command, "find_callk"Filippos Karapetis
This command can be used to find the object methods (including their corresponding objects and owner scripts) that call a specific kernel call. This shall aid us track all the spots where a particular kernel function is called from, therefore it'll be a bit easier to find examples where unimplemented kernel functions are called svn-id: r53646
2010-09-10SCI: Some changes regarding resourcesFilippos Karapetis
- Renamed the debug command "resource_size" to "resource_info", as it now provides the location of where a specified resource is found (i.e. the resource.xxx file, or the file name itself, if the resource is a patch) - "duskdump" shows the original location of dumped resources - loadResource() now shows the location of files that couldn't be loaded svn-id: r52667
2010-09-02SCI: adding "bpr" and "bpw" debug commandsMartin Kiewitz
"bpr" breakpoint on reading of selectors "bpw" breakpoint of writing of selectors "bpx" is now breakpoint on executing of selectors only svn-id: r52490
2010-08-03SCI: adding bpk debug commandMartin Kiewitz
currently removing or listing such breakpoints is not yet supported svn-id: r51710
2010-07-31SCI: Don't include the time running the debugger in the game running timeMatthew Hoops
svn-id: r51548
2010-07-23SCI: adding new debug command logkernelMartin Kiewitz
svn-id: r51220
2010-07-18SCI: Add basic debugging command for 'said'Willem Jan Palenstijn
svn-id: r50991
2010-07-12SCI: Turn global object g_debugState into SciEngine member varMax Horn
svn-id: r50836
2010-07-07SCI: accepting decimal/hexadecimal input on segment_info & kill_segment ↵Martin Kiewitz
debug command, cleanup svn-id: r50735
2010-07-04Add a hexDumpReg function to view references that are not raw and fix SCI32 ↵Matthew Hoops
strings/arrays in segmentInfo. svn-id: r50660
2010-06-27SCI: added additional output to vmvars commandMartin Kiewitz
svn-id: r50395
2010-06-27SCI: removing debug command "set_acc", use "vmvars a" insteadMartin Kiewitz
svn-id: r50389
2010-06-27SCI: added new command "p" / "stepover" to execute one command, but skip ↵Martin Kiewitz
send/calls processing. single-step is now "trace" (alias "s" and "t"), stepping till ret is "step_ret" (alias "pret"), removed unused kDebugSeek svn-id: r50388
2010-06-25Renamed some variablesFilippos Karapetis
svn-id: r50284
2010-06-11Renamed verify_midi to show_instruments (and fixed a bug with it at the same ↵Filippos Karapetis
time). This command scans all songs, or a specific song of a game and displays the instruments used svn-id: r49599
2010-06-11- Added a new debug command, verify_midi, which can be used to check all the ↵Filippos Karapetis
songs of a game for unmapped instruments (still WIP and disabled) - Fixed a bug in the verify_scripts command (it was loading the script resource twice) svn-id: r49597
2010-05-31Added a new console command, verify_scripts, used for sanity checking of ↵Filippos Karapetis
SCI1.1-SCI2.1 game scripts svn-id: r49364
2010-02-03SCI: Renamed Console::_vm to _engineMax Horn
svn-id: r47831
2010-01-28Introduced a new console command, diskdump, which is able to dump files from ↵Filippos Karapetis
resource files to disk svn-id: r47623
2010-01-27SCI: renamed exit console command to quit, so that systemwide "exit" works ↵Martin Kiewitz
(exits console instead of quitting game) svn-id: r47607