Dump; Log - HWRM/KarosGraveyard GitHub Wiki

This page lists the status of various files in regards to whether a successful dump was accomplished using them. Also listed is whether certian functions can be called from within them.

It's important to know if the globals(), print(), and dofilepath() functions are accessible, since these functions can be used to glean information about a particular script's environment, or scope. I think that print() and dofilepath() are in the same library, so only one of them has to be checked for, and not both.

Note that many LUA files have no (or almost no) scope -- they are simply storage for tables and variables. Sometimes, you can get around this if a table stores function calls in strings, which are executed later. This is the case among many of the UI LUAs, as well as the event tables in gametype LUAs.


HWRM

Data\ship\hgn_mothership\hgn_mothership.lua [can dump]

did work dofilepath globals didn't work

HW2C

data\leveldata\multiplayer\deathmatch.lua [can dump]

did work
dofilepath
globals
didn't work
The 'HW2_' functions seem to only work in campaigns, for some reason.

*.level [can't dump]

did work
dofilepath
didn't work
getn
tinsert
globals
dostring

data\ui\newui\main\new\newmainmenu.lua [can dump if quoted]

did work
dofilepath
globals [if quoted]
didn't work
globals [if unquoted]

*.resource, *.ship, *.missile, etc. [can dump]

did work
globals
didn't work
dofilepath

data\art\battlescar\default.lua [can't dump]

did work
didn't work
globals

data\effect\hyperspaceeffecttweaks.lua [can't dump]

did work
didn't work
globals

music.lua

did work
didn't work
dofilepath

bin\driverConfig.lua [can't dump]

did work
didn't work
globals

data\scripts\startingfleets\vaygr00.lua [can't dump]

did work
dofilepath
didn't work
globals

data\ai\cpumilitary.lua [can dump]

did work
dofilepath
globals
didn't work

bin\autoexec.lua [can dump]

did work
dofilepath
globals
didn't work

*.madstate [can't dump]

did work
dofilepath
didn't work
globals

data\scripts\attack\dogfight.lua [can't dump]

did work
dofilepath
didn't work
globals

*.campaign [can't dump, no namespaces recognized]

did work
dofilepath
didn't work
globals

*.events [can't dump]

did work
didn't work
globals

data\scripts\debugfunctions.lua

not loaded by the game engine by default

data\scripts\flightmaneuvers.lua [can't dump]

did work
didn't work
globals

data\scripts\utilityfunctions.lua [can't dump]

did work
didn't work
globals

bin\profiles\profile1\playercfg.lua [can't dump, no namespaces recognized]

did work
dofilepath
didn't work
globals

data\locale\english\scripts\keybindings.lua [can't dump, even if quoted (curiously, no errors are produced if quoted)]

did work
dofilepath
didn't work
globals

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial