Difference between revisions of "Gob Scripts"

From ScummVM :: Wiki
Jump to navigation Jump to search
Line 40: Line 40:
* o1_printTotText this is for showing up from a TOT File the containg Text
* o1_printTotText this is for showing up from a TOT File the containg Text
* o1_setFrameRate this is for setting a custom Framerate the Game uses
* o1_setFrameRate this is for setting a custom Framerate the Game uses
* oPlaytoons_openItk for opening a specfic ITK for the next Files

Revision as of 19:32, 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. on PCs that have low Memory
  • o2_writeData is for Write Data in a specfic File
  • o7_readData reads a specfic File
  • o5_deleteFile is for deleting a specfic File
  • o2_checkData checks for a specfic File if its exists
  • o4_playVmdOrMusic is for playing a specfic VMD File that contains a Movie or Music
  • o1_loadFont is for loading a specfic Font File
  • o1_printTotText this is for showing up from a TOT File the containg Text
  • o1_setFrameRate this is for setting a custom Framerate the Game uses
  • oPlaytoons_openItk for opening a specfic ITK for the next Files