Data Dump

V 1.0.0.0 mod for Farming Simulator 25

0
Downloads today
288
Downloads total
0
Comments

description

The purpose of this mod is to save global tables, functions, classes, and variables from Farming Simulator into well-structured Lua files. These files can help you better understand the Farming Simulator object model through reverse engineering, especially useful until the official documentation becomes available.

Using these global objects as a starting point, you can utilize the console command 'dtSaveTable' from the 'Developer PowerTools' mod to save entire Lua tables (and their full hierarchies) for further analysis.

Example: If the Data Dump output contains a global table named 'g_gui', you can execute 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 maximum depth of 10 levels.

Usage Instructions:

  1. Open the developer console in FS.
  2. Type ddDump and press [ENTER].
  3. Review the files in the ..\Documents\My Games\FarmingSimulator2022\modSettings\FS25_000_DataDump folder.
  4. (Optional) Execute ddSaveGlobalTables {maxDepth} {forceDeep} to automatically export all global "g_*" tables, including "g_currentMission" and "g_localPlayer", in deeper table structures (the ddDump command exports a shallow structure for performance reasons).
  5. (Optional) Run dtSaveTable {tableName} {luaFileName} {maxDepth} to export the specified table {tableName} with {maxDepth} levels to the file {luaFileName}.

If you encounter any issues, visit my GitHub page.

Credits

w33zl

  • 09 Dec 17:37
    Version 1.0.0.0



Files


09.12 2024
Modhoster user rating
no rating Votes

Empfehlungsrate

-/-      
noch nicht genug Stimmen

Do you think this mod should be featured?

V 1.0.0.0
Farming Simulator 25
FS25_000_DataDump.zip
80.4 KB 288
09. 12 2024 288

0 Comments for Data Dump

You have to log in for writing comments.
You can also sign up for free, id you don't have an account yet - it only takes 5 minutes.

No comments yet.

Write the first comment...

      }