- Start the application in headless mode.
- Run the normal game startup process, loading mods and running through the stages described in the docs, except sprites aren't loaded.
- After all the game data is loaded, dump data.raw to stdout in some recognizable format (JSON ideally, or just what serpent does would probably be fine).
- Exit.
I think in general having an easy way to export the game data would be super useful to lots of people who make external Factorio tools. I definitely consider Factorio a very data-driven game, especially with the way mods can add and modify content, and having a way to automatically process that data is the highest level of Factorio game-play. In an abstract sense, the application I'm developing is meant to automate the playing of the game itself!
Happy to answer questions about use-cases for this, and thanks for making a fantastically fun and well-documented game!