Need help editing save file
Need help editing save file
So I found the save file locations (in %appdata%\roaming if you're interested) and now want to edit my save file to try something new, sadly I don't know what file specifies my inventory. If anyone could help me, that would be appreciated.
Re: Need help editing save file
I recommend to have a deep look into the test-mod:
https://forums.factorio.com/forum/viewforum.php?f=46
and/or the wiki:
https://forums.factorio.com/wiki/inde ... le=Modding
https://forums.factorio.com/wiki/inde ... _Directory
https://forums.factorio.com/wiki/index.php?title=Mods
https://forums.factorio.com/forum/viewforum.php?f=46
and/or the wiki:
https://forums.factorio.com/wiki/inde ... le=Modding
https://forums.factorio.com/wiki/inde ... _Directory
https://forums.factorio.com/wiki/index.php?title=Mods
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Need help editing save file
Yeah, i've been looking there already, but I still don't know what file I need to edit.
Re: Need help editing save file
I think you don't have read the test-mode mod thoroughly.
https://forums.factorio.com/forum/vie ... =46&t=2842
I know, that you just need to open the console in game and you can add some items. But don't ask me for the right command. It's somewhere here https://forums.factorio.com/wiki/inde ... ua_objects
I guess it is this https://forums.factorio.com/wiki/inde ... ity#insert
There are some, who knows that better.
https://forums.factorio.com/forum/vie ... =46&t=2842
I know, that you just need to open the console in game and you can add some items. But don't ask me for the right command. It's somewhere here https://forums.factorio.com/wiki/inde ... ua_objects
I guess it is this https://forums.factorio.com/wiki/inde ... ity#insert
There are some, who knows that better.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Need help editing save file
If you just want to add items to your inventory you can use the console (~) command game.player.insert{name="item_code_name", count=x}, where item_code_name is the name that Facotorio knows from the data prototypes and x is the amount you want, a much easier way is to install the test mode mod and it has a search feature so you can use the same names that are shown in-game (rather than the code names). Both of these are better and easier than editing the save file, since the save is not easily editable, you'd need to understand hex editing, inventory seems to start around 35e in the level-init.dat file, and be able to find the ids for the items and those, I believe, can change with mods, starting locations and other info may shift during Factorio updates etc etc