SMAN's The World at War

I believe the mod requires BNW and all DLC.

If you've cleared the game cache and restarted Civ5, enabled only the World at War mod - you should be OK.

If not, it's time to look at logs. Check out post #107 of this forum - my reply to @Gabsau on how to enable logging. We'll need to look at the XML and Lua logs to see if there's a hint as to what's going on that might be causing the problem.
 
Greetings everyone. Just FYI, work on the VP-version is as now completed. I'm done with it, and don't plan on any more efforts in the future. Appreciate all the help getting it here. Thanks!!
 
I believe the mod requires BNW and all DLC.

If you've cleared the game cache and restarted Civ5, enabled only the World at War mod - you should be OK.

If not, it's time to look at logs. Check out post #107 of this forum - my reply to @Gabsau on how to enable logging. We'll need to look at the XML and Lua logs to see if there's a hint as to what's going on that might be causing the problem.


My LUA log was pretty much empty. Dunno if that's supposed to be the case. Only thing of interest in the XML log was "skipping game database validation" with instructions on how to enable it.
 
@bigrube - that sounds fairly standard - can you upload the logs in a post please? Specifically, the Lua.log, Xml.log, and Database.log files. Thanks.
 
@bigrube - that sounds fairly standard - can you upload the logs in a post please? Specifically, the Lua.log, Xml.log, and Database.log files. Thanks.
Will do. Merry Christmas :P


LUA:
[130079.156] Initializing Lua 5.1.4


XML:
[130138.843] *** SKIPPING Game Database Validation. ****
[130138.843] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
[130139.187] **** Validating Prefetch Process *****
[130139.187] **** Validation Success *****
[130139.187] SetGlobalActionInfo
[130139.187]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 7005720 76664280
PageCache: 7 13
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 6587952 63802704
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664

Prepared Statements:
Current: 6
------------------------------
[130139.218] *** SKIPPING Game Database Validation. ****
[130139.218] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
[130139.562] **** Validating Prefetch Process *****
[130139.562] **** Validation Success *****
[130139.562] SetGlobalActionInfo
[130139.562]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 7006896 76664280
PageCache: 7 13
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 6589128 63802704
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664

Prepared Statements:
Current: 6
------------------------------


Database:
[130100.640] columns StrategicViewType, TileType are not unique
[130100.640] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[130131.484] no such table: ContentPackage.LocalizedText
[130131.484] no such table: ContentPackage.LocalizedText
[130131.484] no such table: ContentPackage.LocalizedText
[130132.296] no such table: ContentPackage.LocalizedText
[130134.593] columns StrategicViewType, TileType are not unique
[130134.593] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[130135.234] no such table: ContentPackage.LocalizedText
[130135.234] no such table: ContentPackage.LocalizedText
[130135.234] no such table: ContentPackage.LocalizedText
[130139.187]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 7005720 76664280
PageCache: 7 13
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 6587952 63802704
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664

Prepared Statements:
Current: 6
------------------------------
[130139.562]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 7006896 76664280
PageCache: 7 13
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 6589128 63802704
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664

Prepared Statements:
Current: 6
------------------------------
 
Unfortunately, @bigrube, there's not a thing in those logs that looks out of order... :rolleyes:

If you were missing DLC or BNW, I think you'd see something in the Database.log. Man, I'm at loss to figure this one out...

Bah, Humbug!!! :sad:
 
@bigrube Are you certain you enabled database logging? Your XML log seems to suggest that you haven't done so. See this post for instructions on how to do that.
 
@bigrube Are you certain you enabled database logging? Your XML log seems to suggest that you haven't done so. See this post for instructions on how to do that.
Busy time of year, completely forgot. My bad.


New XML log:

[247946.781] **** Validating Game Database *****
[247948.140] Performing Localization Checks
[247948.140] Checking Tag Format...
[247948.140] Note: Tags must only use [A-Z_] characters, start with 'TXT_KEY_', and be under 128 characters long.
[247948.156] Validating UnitGameplay2DScripts
[247948.156] Missing Entry for UNIT_BARBARIAN_HORSEMAN
[247948.156] **** VALIDATION FAILED *****
[247948.156] Validation Took 1.376620 seconds
[247948.515] **** Validating Prefetch Process *****
[247948.515] **** Validation Success *****
[247948.515] SetGlobalActionInfo
[247948.515]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 6218480 75897376
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 5803560 63018312
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6640

Prepared Statements:
Current: 6
------------------------------
[247948.546] **** Validating Game Database *****
[247949.890] Performing Localization Checks
[247949.890] Checking Tag Format...
[247949.890] Note: Tags must only use [A-Z_] characters, start with 'TXT_KEY_', and be under 128 characters long.
[247949.906] Validating UnitGameplay2DScripts
[247949.906] Missing Entry for UNIT_BARBARIAN_HORSEMAN
[247949.906] **** VALIDATION FAILED *****
[247949.906] Validation Took 1.355251 seconds
[247950.250] **** Validating Prefetch Process *****
[247950.250] **** Validation Success *****
[247950.250] SetGlobalActionInfo
[247950.250]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 6219656 75897376
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 5804736 63018312
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6640

Prepared Statements:
Current: 6
------------------------------



New database log:

[247925.578] columns StrategicViewType, TileType are not unique
[247925.578] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[247937.125] no such table: ContentPackage.LocalizedText
[247937.125] no such table: ContentPackage.LocalizedText
[247937.125] no such table: ContentPackage.LocalizedText
[247938.375] no such table: ContentPackage.LocalizedText
[247939.859] columns StrategicViewType, TileType are not unique
[247939.859] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[247940.484] no such table: ContentPackage.LocalizedText
[247940.484] no such table: ContentPackage.LocalizedText
[247940.484] no such table: ContentPackage.LocalizedText
[247946.781] Validating Foreign Key Constraints...
[247946.781] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247946.781] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247946.781] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247946.781] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247946.781] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247946.781] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247946.781] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247946.781] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247946.781] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247948.140] Failure to check references for foreign key Units(PolicyType).
[247948.140] no such table: PolicyTypes
[247948.140] Failed Validation.
[247948.515]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 6218480 75897376
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 5803560 63018312
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6640

Prepared Statements:
Current: 6
------------------------------
[247948.546] Validating Foreign Key Constraints...
[247948.546] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247948.546] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247948.546] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247948.546] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247948.546] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247948.546] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247948.546] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247948.546] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247948.546] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[247949.890] Failure to check references for foreign key Units(PolicyType).
[247949.890] no such table: PolicyTypes
[247949.890] Failed Validation.
[247950.250]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 6219656 75897376
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 5804736 63018312
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6640

Prepared Statements:
Current: 6
------------------------------
 
This interests me:

[247948.140] Failure to check references for foreign key Units(PolicyType).
[247948.140] no such table: PolicyTypes

The rest looks pretty standard.

There is no specific reference anywhere in the WAW mod for PolicyType in the Units table. Just no need. But, there is also no reference to any table of the same name.

AgentRansack finds 7 instances where a line of code contains the string 'PolicyType' - all of which refer to elements within various game tables - and all used correctly.

Since you have this line appearing, and I don't, there is some kind of artifact left in your install that is incorrectly looking for a table called, "PolicyTypes"

We need to look at the "stopwatch.log" file - could help us pinpoint what is causing at least this error. So, could you please exit Civ5, then restart it, enable only the WAW mod, then start a game. Then upload both the Database and stopwatch logs. Will need to see both of these generated at the same time.
 
Last edited:
This interests me:



The rest looks pretty standard.

There is no specific reference anywhere in the WAW mod for PolicyType in the Units table. Just no need. But, there is also no reference to any table of the same name.

AgentRansack finds 7 instances where a line of code contains the string 'PolicyType' - all of which refer to elements within various game tables - and all used correctly.

Since you have this line appearing, and I don't, there is some kind of artifact left in your install that is incorrectly looking for a table called, "PolicyTypes"

We need to look at the "stopwatch.log" file - could help us pinpoint what is causing at least this error. So, could you please exit Civ5, then restart it, enable only the WAW mod, then start a game. Then upload both the Database and stopwatch logs. Will need to see both of these generated at the same time.



Stopwatch log:

[295070.062] , Discovering Base Game Map Scripts, 0.001387
[295070.390] , CreateCoreDatabase, 0.335716
[295070.671] , cvAudioManager::LoadExtraContentScripts, 0.103891
[295070.671] , cvAudioSystem::Startup, 0.103924
[295071.125] , DISCOVERING MODS, 0.440503
[295071.781] , Generate BaseGame Loc Database., 0.660379
[295071.796] , Get Package Files, 0.006208
[295073.062] , Generate Specific DLC Database, 1.268528
[295073.062] , Get Package Files, 0.008845
[295074.453] , Generate Specific DLC Database, 1.381046
[295074.453] , Get Package Files, 0.007275
[295075.984] , Generate Specific DLC Database, 1.522202
[295075.984] , Get Package Files, 0.007097
[295078.250] , Generate Specific DLC Database, 2.261560
[295078.250] , Get Package Files, 0.005784
[295079.265] , Generate Specific DLC Database, 1.018269
[295079.281] , Get Package Files, 0.004476
[295079.968] , Generate Specific DLC Database, 0.686840
[295079.968] , Get Package Files, 0.009860
[295082.359] , Generate Specific DLC Database, 2.391620
[295082.375] , Get Package Files, 0.004396
[295083.375] , Generate Specific DLC Database, 1.006958
[295083.375] , Get Package Files, 0.000002
[295083.375] , Get Package Files, 0.000001
[295083.375] , Get Package Files, 0.000000
[295083.437] , Get Package Files, 0.057950
[295091.781] , Generate Specific DLC Database, 8.339714
[295091.843] , Get Package Files, 0.076039
[295099.953] , Generate Specific DLC Database, 8.103869
[295099.953] , Get Package Files, 0.004262
[295100.328] , Generate Specific DLC Database, 0.376112
[295100.328] , Get Package Files, 0.000002
[295100.328] , Generate DLC Loc Databases., 28.551295
[295101.875] , CvLocalizationDatabaseFactory::GenerateMergedLocalizationDatabase(), 1.542611
[295101.875] , New Localization Code, 30.755378
[295103.546] , BeforeDeactivateMods - Release Database Cache, 0.000096
[295103.546] , BeforeDeactivateMods - Unload DLL, 0.000000
[295103.562] , AfterDeactivateMods - Reset filesystem, 0.000000
[295103.937] , LoadCoreDatabase - Detach Loc Database, 0.013843
[295103.937] , LoadCoreDatabase - Load Database, 0.010586
[295105.578] , CvLocalizationDatabaseFactory::GenerateMergedLocalizationDatabase(), 1.641556
[295106.265] , LoadCoreDatabase - Attach Loc Database, 2.323642
[295106.265] , AfterDeactivateMods - Rollback Database, 2.706088
[295106.390] , Load DLC into Game Database, 0.129332
[295106.390] , AfterDeactivateMods - Load DLC, 0.129360
[295106.390] , Discovering Base Game Map Scripts, 0.000947
[295106.875] , Parse Map Scripts, 0.472162
[295106.875] , Discover and Parse Base Game Map Scripts, 0.473166
[295106.875] , SetActiveDLCandMods - Import Mod Files into filesystem, 0.000482
[295106.875] , SetActiveDLCandMods - Perform OnModActivated Actions, 0.000205
[295106.875] , SetActiveDLCandMods - Activate Mods, 0.000719
[295107.546] , SetActiveDLCandMods - Notify Localization Database Updated, 0.683983
[295107.578] , Ensure All Tables with 'ID' column start at 0, 0.006021
[295108.906] , Validate FK Constraints, 1.326255
[295108.921] , Localization Checks, 0.009203
[295108.921] , Validating UnitGameplay2DScripts, 0.000122
[295109.281] , SetActiveDLCandMods - Reload GameCore DLL, 1.723368
[295109.296] , SetActiveDLCandMods - Refresh include() file list, 0.013821
[295109.296] , SetActiveDLCandMods - Refresh Gameplay DLL Data, 0.000000
[295109.296] , SetActiveDLCandMods - Perform Gameplay Database Post Processing, 0.001090
[295109.296] , Ensure All Tables with 'ID' column start at 0, 0.005936
[295110.640] , Validate FK Constraints, 1.348623
[295110.656] , Localization Checks, 0.009114
[295110.656] , Validating UnitGameplay2DScripts, 0.000120
[295111.015] , SetActiveDLCandMods - Cache Game Database Data, 1.719944
[295111.015] , SetActiveDLCandMods - Rescan Localized Audio, 0.000134
[295111.156] , SetActiveDLCandMods, 7.616037
[295115.203] , LoadUnitLibraries via Database, 4.025103


Database log:

[295070.078] columns StrategicViewType, TileType are not unique
[295070.078] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[295100.593] no such table: ContentPackage.LocalizedText
[295100.593] no such table: ContentPackage.LocalizedText
[295100.593] no such table: ContentPackage.LocalizedText
[295101.421] no such table: ContentPackage.LocalizedText
[295103.578] columns StrategicViewType, TileType are not unique
[295103.578] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[295104.218] no such table: ContentPackage.LocalizedText
[295104.218] no such table: ContentPackage.LocalizedText
[295104.218] no such table: ContentPackage.LocalizedText
[295107.578] Validating Foreign Key Constraints...
[295107.578] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295107.578] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295107.578] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295107.578] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295107.578] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295107.578] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295107.578] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295107.578] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295107.578] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295108.906] Failure to check references for foreign key Units(PolicyType).
[295108.906] no such table: PolicyTypes
[295108.906] Failed Validation.
[295109.265]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 7005912 76664280
PageCache: 7 13
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 6587952 63802704
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664

Prepared Statements:
Current: 6
------------------------------
[295109.296] Validating Foreign Key Constraints...
[295109.296] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295109.296] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295109.296] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295109.296] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295109.296] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295109.296] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295109.296] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295109.296] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295109.296] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[295110.640] Failure to check references for foreign key Units(PolicyType).
[295110.640] no such table: PolicyTypes
[295110.640] Failed Validation.
[295111.015]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 7007088 76664280
PageCache: 7 13
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 6589128 63802704
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664

Prepared Statements:
Current: 6
------------------------------





I imagine the safest bet would be a clean install and/or just deleting the CIV 5 folder in documents?
 
Last edited:
Have you verified the integrity of the installation thru Steam?

I didn't have to; after testing a few other mods (YAEMP, as well as a few custom scenarios) I noticed weird era problems, like starting in 1700 AD on the ancient age start. I deleted Accurate Earth and this fixed the issue with YAEMP but I'll validate the game files just to be sure.
 
hi

can it handle 4 GB of RAM? it crashes after turn 1?

I just downloaded
SMAN's The World at War Scenarion - The War to End All Wars2018-11-26
Fight the First World War, 1914 - 1918 A.D
 
Four GB sounds low for Civ5 - which isn't not exactly elegant in how it handles memory. The Scenario you downloaded is on a very large map and adds a lot of units - which makes the issue even bigger.

How does your computer work on Huge maps in the normal game?
 
I'm sure the more memory the computer has, the better Civ5 runs.

I think you should clear the game cache then try to run the new mod alone to see if it works any better.
 
Back
Top Bottom