rf900
Warlord
- Joined
- Jan 31, 2006
- Messages
- 194
Not sure if this has been found out before but there is an easy way to generate and merge mods that only imply xml changes.
You will have to use the SQLite addon for Firefox I am looking for other tools to provide additional functionality.
Steps to merge:
1- Run the game and activate whatever mods you want. It would be good to do it with vanilla also to have a copy of the original settings. Go into the addon and open the database (Civ5DebugDatabase.db), then in Database>ExportDatabase you can save it as an sql file. This sql file has all the needed code to recreate the modifications in one go.
2- Create your own mod and use that sql file that has all the "xml" changes. Still looking for a way to easily merge lua bits.
Steps to create mods:
1- Open the vanilla database.
2- Make modifications directly in the addon, change values, add rows...
3- Same thing Database>ExportDatabase and you will have the sql code to generate your mod.
4- To clean it up a bit, use a text comparisson tool (WinMerge) and compare both the sql generate with vanilla and the one after modification. That will indicate the sentences that have changed, leave only those and you will have your mod more understandable.
The texts are kept in My Documents\My Games\Sid Meier's Civilization 5\cache Civ5LocalizationDatabase.db so that one can also be exported.
You will have to use the SQLite addon for Firefox I am looking for other tools to provide additional functionality.
Steps to merge:
1- Run the game and activate whatever mods you want. It would be good to do it with vanilla also to have a copy of the original settings. Go into the addon and open the database (Civ5DebugDatabase.db), then in Database>ExportDatabase you can save it as an sql file. This sql file has all the needed code to recreate the modifications in one go.
2- Create your own mod and use that sql file that has all the "xml" changes. Still looking for a way to easily merge lua bits.
Steps to create mods:
1- Open the vanilla database.
2- Make modifications directly in the addon, change values, add rows...
3- Same thing Database>ExportDatabase and you will have the sql code to generate your mod.
4- To clean it up a bit, use a text comparisson tool (WinMerge) and compare both the sql generate with vanilla and the one after modification. That will indicate the sentences that have changed, leave only those and you will have your mod more understandable.
The texts are kept in My Documents\My Games\Sid Meier's Civilization 5\cache Civ5LocalizationDatabase.db so that one can also be exported.