Page 1 of 1

How To Create A New Editable Database

Posted: Sat Jan 11, 2025 2:48 am
by Veitikka
This post has the instructions for setting up a new database that you can edit.

Open the game's data\database folder. There you'll find the 'default' folder, which is the official locked database. Copy it to 'Documents\My Games\Armored Brigade 2\data\database'. In the new folder, open the 'eras.xml' file. I recommend using an advanced text editor such as Notepad++ when you need to edit the files manually, so the file contents won't be messed up. In the .xml file, you see this line:

Code: Select all

<string name="databaseID" value="default" />

You must put your database ID there. For example:

Code: Select all

<string name="databaseID" value="myDatabase" />

After this, when you run the settings launcher, you now have your database selectable in the database dropdown menu. Select it, go to the in-game database editor, and the content is editable there!

NOTE: Now the database can have a 'graphics' folder that contains custom graphics files listed in the 'resources_custom_3d.xml' and the 'resources_custom.xml'. First the system looks for the model, texture, or sprite file in the custom database folder, and if it is not found then the file in the standard graphics folder is used instead.

Re: How To Create A New Editable Database

Posted: Sat Jan 11, 2025 4:19 pm
by gbem
Image

tried to mod HQ radius

Image

doesnt seem to appear on the list sadly, any ideas?

Re: How To Create A New Editable Database

Posted: Sun Jan 12, 2025 2:26 am
by Veitikka
gbem wrote: Sat Jan 11, 2025 4:19 pm doesnt seem to appear on the list sadly, any ideas?
Where did you copy your database folder?

Re: How To Create A New Editable Database

Posted: Tue Mar 18, 2025 10:05 pm
by Kimura
I have the same problem.
I was able to create several new databases in the original "Armored Brigade" without any problems.
The method seems to be the same in AB2.
To be on the safe side, however, I followed the instructions above for creating a new database in AB2 (created in ...:\Armored Brigade 2\data\database\ )
Unfortunately, only the default database is still available for selection.

Greetings, best wishes and many thanks for the game!

Re: How To Create A New Editable Database

Posted: Wed Mar 19, 2025 4:13 pm
by Veitikka
In AB2 custom databases must be in the Documents folder, not in the game installation folder.

Re: How To Create A New Editable Database

Posted: Mon Apr 28, 2025 6:50 am
by KAMIGOOOO
Therefore,could you please advice on which files to place in the document folder and method for doing so?

Re: How To Create A New Editable Database

Posted: Sat May 10, 2025 11:15 am
by Veitikka
KAMIGOOOO wrote: Mon Apr 28, 2025 6:50 am Therefore,could you please advice on which files to place in the document folder and method for doing so?
What are you trying to do?