Data Dump 1.0
0/5,
0
votes
The mod is designed to save global tables, functions, classes and variables from Farming Simulator into well-structured Lua files. These files will help you better understand the Farming Simulator object model through reverse engineering, which will be useful until the official documentation becomes available.
Using these global objects as a starting point, you can use the 'dtSaveTable' console command from the 'Developer PowerTools' mod to save entire Lua tables (and their full hierarchies) for further analysis. For example, if the Data Dump output contains a global table named 'g_gui', you can run the console command:
dtSaveTable g_gui g_gui.lua 10 to save the 'g_gui' table to a file named g_gui.lua with a depth of up to 10 levels.
Instructions for use:
Open the developer console in FS.
Type the ddDump command and press [ENTER].
Check the files in the folder: ..\Documents\My Games\FarmingSimulator2022\modSettings\FS25_000_DataDump.
(Optional) Run ddSaveGlobalTables {maxDepth} {forceDeep} to automatically export all “g_*” global tables, including “g_currentMission” and “g_localPlayer”, with deeper table structures (the ddDump command exports a shallower structure for better performance).
(Optional) Execute the dtSaveTable {tableName} {luaFileName} {maxDepth} command to export the specified table {tableName} with depth {maxDepth} to a {luaFileName} file.
Credits:
w33zl
Using these global objects as a starting point, you can use the 'dtSaveTable' console command from the 'Developer PowerTools' mod to save entire Lua tables (and their full hierarchies) for further analysis. For example, if the Data Dump output contains a global table named 'g_gui', you can run the console command:
dtSaveTable g_gui g_gui.lua 10 to save the 'g_gui' table to a file named g_gui.lua with a depth of up to 10 levels.
Instructions for use:
Open the developer console in FS.
Type the ddDump command and press [ENTER].
Check the files in the folder: ..\Documents\My Games\FarmingSimulator2022\modSettings\FS25_000_DataDump.
(Optional) Run ddSaveGlobalTables {maxDepth} {forceDeep} to automatically export all “g_*” global tables, including “g_currentMission” and “g_localPlayer”, with deeper table structures (the ddDump command exports a shallower structure for better performance).
(Optional) Execute the dtSaveTable {tableName} {luaFileName} {maxDepth} command to export the specified table {tableName} with depth {maxDepth} to a {luaFileName} file.
Credits:
w33zl
Download Latest Version Files
Version: 1.0Updated: 2 weeks ago
Total Size: 80.41 KB FS25_000_DataDump_fs25planet.zip direct download · 80.41 KB · added 2 weeks ago https://www.farming-simulator.com/mod.php?mod_id=303452&title=fs2025&lang=en external download · added 2 weeks ago
0 Comments
There are no comments. Be first to comment!