The contents of a cartridge can be viewed with the Wherigo viewer. Two data blocks are required for this:
- the GWC file with the media files and the LUA bytecode
- the cartridge.lua file – the LUA source code, which must be generated from the LUA bytecode.
While the GWC file can be downloaded quite easily via the respective portals, the path to the LUA file is somewhat more complex:
- Either you use the WiG-Crumbler from Team Hildesheim WiG-Crumbler (team-hildesheim. de), upload the GWC file and download the LUA file and add it to the GC Wizard.de), upload the GWC file and download the LUA file into the GC Wizard
- Or you can upload the GWC file into the GC Wizard and allow the online transfer of the LUA bytecode to our server, which generates the LUA source code and sends it back.
- Or you can load the GWC file into the GC Wizard, save the LUA bytecode, convert it manually and load the LUA file back onto the smartphone to open it in the GC Wizard
- Decompile / Decrypt lua files . “unluac.jar” TuTorial . ( Works for Game Gurdian script too ) – YouTube
- unluac download | SourceForge.net
- HansWessels/unluac: fork from http://hg.code.sf.net/p/unluac/hgcode (github.com)
The full scope of the viewer is then available.
Getting the LUA-File online
Getting the LUA-File offline
Range of functions of the Wherigo Viewer
GWC-File
- Display and save the GWC file
- Display the header data
- Display and save the LUA bytecode
- Display and save the media files
LUA-File
- Listing of the zones with representation in the Map View Tool
- Listing of the characters
- Listing of the items
- Listing of the tasks
- Listing of the timers
- Listing of the questions and possible answers
- Listing of the dialogues
Functions after loading a GWC file
Displaying and saving the GWC file
Hex-Viewer
Display Structure
The structure view is a line-by-line display of the data blocks contained.
Offset, the associated data bytes and the meaning of the data are displayed for each data block.
Display Header Data
The header contains general information for each cartridge:
- Signature of the file
- Number of media files
- Start coordinate – this can be displayed in the Map View by clicking on the crosshair icon
- Description of the start coordinate
- Type of cartridge
- Information about the splash screen
- Data about the player who loaded the cartridge
- Name, ID and description of the cartridge
- Data about the author
Display and save LUA-Bytecode
Display in Hex-Viewer | |
Save as file |
Display and save Media Files
List of all media files with detailed data:
- Internal name of the object
- Internal ID
- Name that is displayed
- Description
- Alternate text
Depending on the file, either an audio player or image viewer is displayed.
The following functions are available for the file:
Open the context menu for the file – Save found data – Open in hex view |
The following functions are available for the audio player:
Play Sound | |
Stop plying Sound |
The following functions are available for the image viewer:
Open the context menu for the file – Open in metadata – Open in hex view – Search hidden data – Open in colour correction | |
Display as full screen | |
For further information on the media objects, the LUA file must also be loaded
Functions after loading a LUA file
Display Characters
Listing of all characters with image and detailed data:
- Internal name of the object
- Internal ID
- Name that is displayed
- Description
- Name of the associated image or icon
- Location of the figure – e.g. zone
- Gender
- Visibility
Display Items
List of all objects with image and detailed data:
- Internal name of the object
- Internal ID
- Name that is displayed
- Description
- Name of the associated image or icon
- Location of the figure – e.g. zone
- Gender
- Status – Open, locked
Display Zones
Listing of all zones with image and detailed data:
- Internal name of the zone
- Internal ID
- Name that is displayed
- Description
- Name of the associated image or icon
- Status: active/inactive, visible/invisible
- Distance information
- Centre point and zone perimeter
- Display of the zone in the free map
All zones can also be saved as a GPX or KML file or displayed in the Map View:
Save Zones
Display Zones
Display Timers
List of all timers with detailed data:
- Internal name of the timer
- Internal ID
- Name that is displayed
- Description
- Duration in seconds
- Type: Countdown or interval
- Visibility
Display Tasks
Listing of all tasks with image and detailed data:
- Internal name of the task
- Internal ID
- Name that is displayed
- Description
- Name of the associated image or icon
- Status: active/inactive, visible/invisible, completed
Display Messages and Dialogs
Lists all messages and dialogues with images and texts.
Display Inputs and Answers
Listing of all entries with image and detailed data:
- Internal name of the entry
- Internal ID
- Name that is displayed
- Description
- Name of the associated image or icon
- Selection for multiple choice questions
Listing of the possible answers and the associated responses.
If the entry was encrypted, an answer is calculated that corresponds to the correct answer.
The respective media files are also displayed for the responses.
Display the Obfuscation data
List all data required for decryption:
- Name of the function
- Key