Goal of this Mod is to offer different save methods, yes u can use Vanilla saving and just Binar. Its for a better overview and having the option to still save it as smoll json to read the saves if needed.
so the setup is simple but first a little template of the config file to see where to add the persistence part:
`
{
"region": "EU",
"bindAddress": "127.0.0.1",
"bindPort": 4444,
"publicAddress": "127.0.0.1",
"publicPort": 4444,
"game": {
"name": "ServerName",
"password": "",
"passwordAdmin": "example",
"admins": [],
"scenarioId": "{C68BD3FF887CAA28}/example",
"visible": true,
"maxPlayers": 50,
"crossPlatform": true,
"gameProperties": {
"missionHeader": {
"aiPlayerCount": 100,
"aiDifficulty": "noob",
"restartDelay": 20,
"m_sName": "ScenarioName",
"m_sDetails": "BSP"
},
"persistence": {
"autoSaveInterval": 1,
"hiveId": 1001,
"databases": {
"main": {
"preset": "{68E1601E02CFCF00}Configs/Systems/Persistence/Database/JsonSaveGamePretty.conf"
}
},
"storages": {
"session": {
"database": "main"
}
}
},
"serverMaxViewDistance": 1500,
"networkViewDistance": 500,
"disableThirdPerson": false,
"fastValidation": true,
"battlEye": false
},
"mods": []
},
"operating": {
"lobbyPlayerSynchronise": true,
"joinQueue": {
"maxSize": 12
},
"aiLimit": 2000
}
}`
Now to the 3 types of saving
1 PersistenceJsonSaveGame:
simple save as json oneliner(saves some space but can still be viewed and read)
2 JsonSaveGamePretty:
Default Save, Human readable but storage intense(If u get near 16MB u shouldnt use it since arma wont save if the save file goes over 16MB)
3 PersistenceBinSaveGame:
If u want Fast and small, this is the guy u want the one and only SaveAsBinary only negativ part is u cant read the save file if u even care for that:
To the Saving:
AutoSaveIntervall is time in min it saves(you can only have 999 Saves and Max 16MB Cause arma cant count past 999 or something idk)(If u have long Session use 60min, If u want many saves to not lose stuff with crashes use 10min(thats around 7days to reach 999 saves)
For Pretty Json u need:
"persistence": {
"autoSaveInterval": 1,
"hiveId": 1005,
"databases": {
"main": {
"preset": "{68E1601E02CFCF00}Configs/Systems/Persistence/Database/JsonSaveGamePretty.conf"
}
},
"storages": {
"session": {
"database": "main"
}
}
},
For oneliner Json u need:
"persistence": {
"autoSaveInterval": 1,
"hiveId": 1001,
"databases": {
"main": {
"preset": "{68E1601E02CFCF00}Configs/Systems/Persistence/Database/PersistenceJsonSaveGame.conf"
}
},
"storages": {
"session": {
"database": "main"
}
}
},
For Recomended Binary u need:
"persistence": {
"autoSaveInterval": 1,
"hiveId": 1001,
"databases": {
"main": {
"preset": "{68E1601E02CFCF00}Configs/Systems/Persistence/Database/PersistenceBinSaveGame.conf"
}
},
"storages": {
"session": {
"database": "main"
}
}
},
or u take just from Basegame the save and dont download my mod:
"persistence": {
"autoSaveInterval": 45,
"hiveId": 1001,
"databases": {
"main": {
"preset": "{A79D2893C8F8F4A9}Configs/Systems/Persistence/Database/BinSaveGame.conf"
}
},
"storages": {
"session": {
"database": "main"
}
}
},
Need Help?
https://discord.com/invite/akiras-spielwiese
Just Ping Hex or write him a DM(yeah my english is not the yellow from the egg(german joke added))