Skip to content

"System.ApplicationException: Media path not found: Art/Terrain/marsh.pcx" error when staring application #591

@mahaju

Description

@mahaju

I have original Civilization 3 base game installed in Windows 10 (v1.07f)

I downloaded C7 Carthage v0.2 (https://c7-game.github.io/#downloads) and after some tinkering around managed to get the game into loading screen (I had to create my own CIV3_HOME variable)

But I get an error when clicking new game (the error message is in game screen itself in game fonts, not a windows error alert box)

The contents of log.txt is given below, I think it also contains the exact error message from that screen. How do I get this game started?

[INF] 01:52:28 MainMenu: start game button pressed 
[INF] 01:52:28 C7GameData.GameData: Random seed is 711463314 
[INF] 01:52:28 C7Engine.TurnHandling: 
*** Beginning turn 0 *** 
[INF] 01:52:28 C7Engine.TurnHandling: Turn time took 0 milliseconds 
[ERR] 01:52:29 Game: Unexpected error in Game.cs _Ready 
System.ApplicationException: Media path not found: Art/Terrain/marsh.pcx
   at Util.Civ3MediaPath(String mediaPath) in /__w/Prototype/Prototype/C7/Util.cs:line 171
   at Util.LoadPCX(String relPath) in /__w/Prototype/Prototype/C7/Util.cs:line 239
   at Util.LoadTextureFromPCX(String relPath, Int32 leftStart, Int32 topStart, Int32 width, Int32 height, Boolean shadows) in /__w/Prototype/Prototype/C7/Util.cs:line 224
   at MarshLayer..ctor() in /__w/Prototype/Prototype/C7/MapView.cs:line 382
   at MapView..ctor(Game game, Int32 mapWidth, Int32 mapHeight, Boolean wrapHorizontally, Boolean wrapVertically) in /__w/Prototype/Prototype/C7/MapView.cs:line 623
   at Game._Ready() in /__w/Prototype/Prototype/C7/Game.cs:line 92
[INF] 01:52:29 Game: Starting player turn 
[INF] 01:52:43 MainMenu: start game button pressed 
[INF] 01:52:43 C7GameData.GameData: Random seed is 519383588 
[INF] 01:52:43 C7Engine.TurnHandling: 
*** Beginning turn 0 *** 
[INF] 01:52:43 C7Engine.TurnHandling: Turn time took 0 milliseconds 
[ERR] 01:52:43 Game: Unexpected error in Game.cs _Ready 
System.ApplicationException: Media path not found: Art/Terrain/marsh.pcx
   at Util.Civ3MediaPath(String mediaPath) in /__w/Prototype/Prototype/C7/Util.cs:line 171
   at Util.LoadPCX(String relPath) in /__w/Prototype/Prototype/C7/Util.cs:line 239
   at Util.LoadTextureFromPCX(String relPath, Int32 leftStart, Int32 topStart, Int32 width, Int32 height, Boolean shadows) in /__w/Prototype/Prototype/C7/Util.cs:line 224
   at MarshLayer..ctor() in /__w/Prototype/Prototype/C7/MapView.cs:line 382
   at MapView..ctor(Game game, Int32 mapWidth, Int32 mapHeight, Boolean wrapHorizontally, Boolean wrapVertically) in /__w/Prototype/Prototype/C7/MapView.cs:line 623
   at Game._Ready() in /__w/Prototype/Prototype/C7/Game.cs:line 92
[INF] 01:52:43 Game: Starting player turn 
[INF] 01:52:54 MainMenu: start game button pressed 
[INF] 01:52:54 C7GameData.GameData: Random seed is 768913390 
[INF] 01:52:54 C7Engine.TurnHandling: 
*** Beginning turn 0 *** 
[INF] 01:52:54 C7Engine.TurnHandling: Turn time took 0 milliseconds 
[ERR] 01:52:54 Game: Unexpected error in Game.cs _Ready 
System.ApplicationException: Media path not found: Art/Terrain/marsh.pcx
   at Util.Civ3MediaPath(String mediaPath) in /__w/Prototype/Prototype/C7/Util.cs:line 171
   at Util.LoadPCX(String relPath) in /__w/Prototype/Prototype/C7/Util.cs:line 239
   at Util.LoadTextureFromPCX(String relPath, Int32 leftStart, Int32 topStart, Int32 width, Int32 height, Boolean shadows) in /__w/Prototype/Prototype/C7/Util.cs:line 222
   at MarshLayer..ctor() in /__w/Prototype/Prototype/C7/MapView.cs:line 382
   at MapView..ctor(Game game, Int32 mapWidth, Int32 mapHeight, Boolean wrapHorizontally, Boolean wrapVertically) in /__w/Prototype/Prototype/C7/MapView.cs:line 623
   at Game._Ready() in /__w/Prototype/Prototype/C7/Game.cs:line 92
[INF] 01:52:54 Game: Starting player turn 
[INF] 01:53:00 MainMenu: credits button pressed 
[INF] 01:53:00 Credits: Now rolling the credits! 
[INF] 01:53:02 Credits: Returning to main menu 
[INF] 01:53:16 MainMenu: start game button pressed 
[INF] 01:53:16 C7GameData.GameData: Random seed is 1780873782 
[INF] 01:53:17 C7Engine.TurnHandling: 
*** Beginning turn 0 *** 
[INF] 01:53:17 C7Engine.TurnHandling: Turn time took 0 milliseconds 
[ERR] 01:53:17 Game: Unexpected error in Game.cs _Ready 
System.ApplicationException: Media path not found: Art/Terrain/marsh.pcx
   at Util.Civ3MediaPath(String mediaPath) in /__w/Prototype/Prototype/C7/Util.cs:line 171
   at Util.LoadPCX(String relPath) in /__w/Prototype/Prototype/C7/Util.cs:line 239
   at Util.LoadTextureFromPCX(String relPath, Int32 leftStart, Int32 topStart, Int32 width, Int32 height, Boolean shadows) in /__w/Prototype/Prototype/C7/Util.cs:line 224
   at MarshLayer..ctor() in /__w/Prototype/Prototype/C7/MapView.cs:line 382
   at MapView..ctor(Game game, Int32 mapWidth, Int32 mapHeight, Boolean wrapHorizontally, Boolean wrapVertically) in /__w/Prototype/Prototype/C7/MapView.cs:line 623
   at Game._Ready() in /__w/Prototype/Prototype/C7/Game.cs:line 92
[INF] 01:53:17 Game: Starting player turn 
[INF] 01:54:27 MainMenu: start game button pressed 
[INF] 01:54:28 C7GameData.GameData: Random seed is 1521523197 
[INF] 01:54:28 C7Engine.TurnHandling: 
*** Beginning turn 0 *** 
[INF] 01:54:28 C7Engine.TurnHandling: Turn time took 0 milliseconds 
[ERR] 01:54:28 Game: Unexpected error in Game.cs _Ready 
System.ApplicationException: Media path not found: Art/Terrain/marsh.pcx
   at Util.Civ3MediaPath(String mediaPath) in /__w/Prototype/Prototype/C7/Util.cs:line 171
   at Util.LoadPCX(String relPath) in /__w/Prototype/Prototype/C7/Util.cs:line 239
   at Util.LoadTextureFromPCX(String relPath, Int32 leftStart, Int32 topStart, Int32 width, Int32 height, Boolean shadows) in /__w/Prototype/Prototype/C7/Util.cs:line 224
   at MarshLayer..ctor() in /__w/Prototype/Prototype/C7/MapView.cs:line 382
   at MapView..ctor(Game game, Int32 mapWidth, Int32 mapHeight, Boolean wrapHorizontally, Boolean wrapVertically) in /__w/Prototype/Prototype/C7/MapView.cs:line 623
   at Game._Ready() in /__w/Prototype/Prototype/C7/Game.cs:line 92
[INF] 01:54:28 Game: Starting player turn 
[INF] 01:54:45 MainMenu: load game button pressed 
[INF] 01:54:50 MainMenu: load scenario button pressed 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions