[Resolved] Help with upgrading scenario DB

Post bug reports and ask for game support here.

Moderator: MOD_Command

ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

[Resolved] Help with upgrading scenario DB

Post 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.
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: Help with upgrading scenario DB

Post 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?
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: Help with upgrading scenario DB

Post by ZoroastroBR »

Apparently DB 441 is the scenario's "underlying DB". How do I change that?
thewood1
Posts: 10091
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

RE: Help with upgrading scenario DB

Post 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?
User avatar
Randomizer
Posts: 1508
Joined: Sat Jun 28, 2008 8:31 pm

RE: Help with upgrading scenario DB

Post 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
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: Help with upgrading scenario DB

Post 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
thewood1
Posts: 10091
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

RE: Help with upgrading scenario DB

Post by thewood1 »

Did you actually push the button to upgrade and let it go through the upgrade?
thewood1
Posts: 10091
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

RE: Help with upgrading scenario DB

Post 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.
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: Help with upgrading scenario DB

Post 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.
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: Help with upgrading scenario DB

Post 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.
thewood1
Posts: 10091
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

RE: Help with upgrading scenario DB

Post 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.
thewood1
Posts: 10091
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

RE: Help with upgrading scenario DB

Post 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.
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: Help with upgrading scenario DB

Post 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???
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: Help with upgrading scenario DB

Post 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!
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: Help with upgrading scenario DB

Post 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...
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Help with upgrading scenario DB

Post by michaelm75au »

Are you on the latest build?
Michael
thewood1
Posts: 10091
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

RE: Help with upgrading scenario DB

Post by thewood1 »

Sure sounds like he hasn't upgraded the game.
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: Help with upgrading scenario DB

Post 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.
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Help with upgrading scenario DB

Post 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
Attachments
dblist.jpg
dblist.jpg (152.83 KiB) Viewed 868 times
Michael
ZoroastroBR
Posts: 100
Joined: Thu Feb 09, 2017 5:58 pm

RE: Help with upgrading scenario DB

Post 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.
Post Reply

Return to “Tech Support”