Difference between revisions of "Gob Scripts"

From ScummVM :: Wiki
Jump to navigation Jump to search
m (Removed Example)
m
Line 29: Line 29:


* <commun.ext>  external common script resource file (commun.EXT)
* <commun.ext>  external common script resource file (commun.EXT)


===Functions===
===Functions===
* o2_getFreeMem is for keeping up Memory (RAM) to dont produce any out of memory problems
* o2_getFreeMem is for keeping up Memory (RAM) to dont produce any out of memory problems

Revision as of 19:13, 11 March 2023

  • Degob is a Tool that decompiles for you the TOT Files

Usage of Degob

  • Usage: ./degob <version> <file.tot> [-o <offset>] [--lib] [<file.ext>] [<commun.ext>]
  • The disassembled script will be written to stdout.
  • Supported versions:
  • Gob1 - Gobliiins 1
  • Gob2 - Gobliins 2
  • Gob3 - Goblins 3
  • Ween - Ween: The Prophecy
  • Bargon - Bargon Attack
  • Fascin - Fascination
  • Lost - Lost in Time
  • Woodruff - The Bizarre Adventures of Woodruff and the Schnibble
  • Dynasty - The Last Dynasty
  • Urban - Urban Runner
  • Geisha - Geisha
  • LittleRed - Once Upon A Time: Little Red Riding Hood
  • Adibou2 - Adibou 2
  • <file.tot> the .tot file to decompile
  • -o <offset> script entry point in the .tot file, defaults to the value read in script header
  • --lib library mode: all offsets from .IDE named functions file are used as entry points
  • <file.ext> external script resource file (<script name>.EXT)
  • <commun.ext> external common script resource file (commun.EXT)

Functions

  • o2_getFreeMem is for keeping up Memory (RAM) to dont produce any out of memory problems