Factorio mod to export data
To set up the datafactorio
mod, follow these steps:
- In
runme/setup.ipynb
, run thepackage_app
function (set the path to the appropriate mod folder). - This process will zip the contents of the
mod/src
directory and place the zipped file in the mod folder. - Verify the installation by checking the mod section in the Factorio game menu.
ctrl+shift+U
to open the export menu. Checkboxes toggle export typesctrl+shift+J
to export the selected data. Export mirror checkboxes
Exported files are output to the script-output
folder within your Factorio directory. The filenames are generated with a seemingly random number followed by the type of data they contain, e.g., 123456-inventory.json
for inventory data. These files are in JSON format, detailing the selected data graphs (nodes and edges) based on the user's choices in the export menu.
To run the frontend for datafactorio
, navigate to the datafactorio-site
directory and execute the following commands:
npm install
to install the necessary dependencies.npm run dev
to start the development server.localhost:1234
(or similar) will serve the site- Select the file from the local factorio
script-output