Page 1 of 2

[Resolved] Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 6:55 pm
by ZoroastroBR
Hey guys, I'm trying to update Don of a New Era to use A/C damage. When I try to do a DB update to latest DB (467), the auto DB updater selects DB3K 441, which is older than the scenario's original DB (445). So my question is, how do I tell the DB updater to update to 467 (or how do I manually select 467 as the DB that I want to upgrade to)?

If I use 441, I need to delete a few units from the scenario that were added in 445...

Thanks.

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 7:02 pm
by ZoroastroBR
I did a test using a blank scenario and everytime I want to upgrade from one DB to another, the game (DB upgrade) selects DB3K_441 as the "new DB" and not the actual latest DB (467). Why is that?

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 7:11 pm
by ZoroastroBR
Apparently DB 441 is the scenario's "underlying DB". How do I change that?

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 7:54 pm
by thewood1
Just making sure you know how to do a rebuild. I don't thin just selecting a db in the editor is going to work. Did you follow the instructions in manual starting on page 78?

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 8:00 pm
by Randomizer
I just executed a deep rebuild of "Don of a New Era" and the default database for the rebuild was DB-3K 467, which is the latest version. So it would appear that your difficulties are probably a user issue.

-C

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 8:24 pm
by ZoroastroBR
Here is the screen I get when i try to upgrade the DB.

I loaded the scenario in the editor, selected Editor, Database, Upgrade scenario to latest DB version.

This screen opened and the default DB is the 441.

Imgur

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 8:53 pm
by thewood1
Did you actually push the button to upgrade and let it go through the upgrade?

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 8:55 pm
by thewood1
btw, complex scenarios like that that come with an ini file...I always do a deep rebuild.

I forgot to add, I had no issues just doing a simple upgrade and rebuild on that scenario.

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 9:00 pm
by ZoroastroBR
I did push the button to upgrade. It downgrades to 441 (from 445). Used the force-rebuild and apply ini file. Also tried not using force-rebuild or the ini file. I get a bunch of errors for units that can't be loaded by the new database is 441.

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 9:02 pm
by ZoroastroBR
I think there is a game option to select the default database. I just can't find it. Looked at all the menus and in the game files.

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 9:02 pm
by thewood1
You are doing something very wrong. I have done it three times now with no issues. If you have been re-rebuilding it without the ini files, that for one will screw things up. Are you keeping backups of the scenario.

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 9:03 pm
by thewood1
My suggestion is get the original scenario file and read through the manual. The rebuild it with the ini file selected. Don't screw around with just changing the db or doing a shallow rebuild.

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 9:12 pm
by ZoroastroBR
I did read the manual. Every time I try to change any scenario the default DB to migrate to is 441.

I tried doing a migration for a Cold War DB. When I load a scenario from Northern Inferno I get DB CWDB 439 as the default one, istead of CWDB 467.

The migration windows has a title which says to which DB you are updating (you can see in the picture I attached before). The name I get is "Scenario Migration (Selected DB: DB3K_441.db3)".

I didn't select that DB... How do I even select a DB to migrate to???

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 9:23 pm
by ZoroastroBR
Even if I have an empty scenario "Create New Blank Scenario", go to Editor, Database, hit the Upgrade scenario to latest database, says that "You are already using the latest version of the scenario's underlying DB". Then I go to "Change database" and the selected DB is 441.

I can upgrade any scenario that has a DB that is older than 441, but I can't move to any of the newer ones... So weird!

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 9:28 pm
by ZoroastroBR
So I went to "D:\SteamLibrary\steamapps\common\Command Modern Air Naval Operations\DB" and deleted DB3K_441.db3.

Now the default DB when I try to migrate a scenario is DB 428....

Feel like deleting all the other DBs and leaving just the latest one...

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 9:53 pm
by michaelm75au
Are you on the latest build?

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 10:01 pm
by thewood1
Sure sounds like he hasn't upgraded the game.

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 10:04 pm
by ZoroastroBR
Yes. I just did a clean install.

Now the default DB to migrate is 391... The first DB....

I read the manual over and over and I can't find a place to select which DB the game should migrate to.

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 10:04 pm
by michaelm75au
Build 936.12 (latest)
in the folder "D:\SteamLibrary\steamapps\common\Command Modern Air Naval Operations\DB", there is a file 'DBInfo.dat'. This contains the DB information index. The date should be the latest (ie above that of the databases)


Image

RE: Help with upgrading scenario DB

Posted: Sat Aug 26, 2017 10:10 pm
by ZoroastroBR
ORIGINAL: michaelm

Build 936.12 (latest)
in the folder "D:\SteamLibrary\steamapps\common\Command Modern Air Naval Operations\DB", there is a file 'DBInfo.dat'. This contains the DB information index. The date should be the latest (ie above that of the databases)


Image

How do i open that file to see what's inside?

Edit: The date is the same since I just did a clean install.