cxong / cdogs-sdl

Classic overhead run-and-gun game
https://cxong.github.io/cdogs-sdl/
GNU General Public License v2.0
895 stars 115 forks source link

Wolfenstein 2D campaign causes crash #710

Closed wildweasel486 closed 3 years ago

wildweasel486 commented 3 years ago

Hello! Just got the new version as soon as I heard about it, however, the one feature I was really interested in (Wolfenstein 2D) causes a crash when I try to run it. Here is what the game log shows: D:\Games\Action\C-Dogs.SDL-1.0.0-win32\bin>cdogs-sdl.exe C-Dogs SDL v1.0.0 SDL version 2.0.14 SDL_image version 2.0.5 SDL_mixer version 2.0.4 20210823-225819 INFO [MAIN ] [files.c:662] SetupConfigDir(): Creating config dir C:\Users\wildw\AppData\Roaming/C-Dogs SDL/... 20210823-225819 INFO [MAIN ] [files.c:669] SetupConfigDir(): Config dir already exists. 20210823-225819 INFO [MAIN ] [cdogs.c:154] SDL_main(): Command line (1 args): cdogs-sdl.exe 20210823-225820 INFO [MAIN ] [cdogs.c:183] SDL_main(): data dir(D:/Games/Action/C-Dogs.SDL-1.0.0-win32/) 20210823-225820 INFO [MAIN ] [cdogs.c:184] SDL_main(): config dir(C:\Users\wildw\AppData\Roaming/C-Dogs SDL/) 20210823-225821 INFO [INPUT] [joystick.c:60] JoyInit(): 0 controllers found 20210823-225821 INFO [GFX ] [grafx.c:121] GraphicsInitialize(): graphics mode(480x270 4x fullscreen) libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile 20210823-225822 ERROR [MAIN ] [player_template.c:111] PlayerTemplatesLoad(): loading player templates 'players.cnf' 20210823-225822 INFO [MAIN ] [campaigns.c:125] LoadAllCampaigns(): Load campaigns from dir D:/Games/Action/C-Dogs.SDL-1.0.0-win32/missions... 20210823-225822 INFO [MAIN ] [campaigns.c:129] LoadAllCampaigns(): Load campaigns from system... 20210823-225822 INFO [MAIN ] [campaigns.c:133] LoadAllCampaigns(): Load dogfights from dir D:/Games/Action/C-Dogs.SDL-1.0.0-win32/dogfights... 20210823-225822 INFO [MAIN ] [campaigns.c:137] LoadAllCampaigns(): Load quick play... 20210823-225822 INFO [MAIN ] [cdogs.c:277] SDL_main(): Starting game 20210823-225822 INFO [MAIN ] [campaigns.c:240] CampaignSeedRandom(): Seeding with 0 20210823-225822 INFO [MAIN ] [campaigns.c:240] CampaignSeedRandom(): Seeding with 0 20210823-225822 INFO [MAIN ] [player.c:64] PlayerDataAddOrUpdate(): add default player UID(0) local(true) 20210823-225822 INFO [MAIN ] [player.c:106] PlayerDataAddOrUpdate(): update player UID(0) maxHealth(200) 20210823-225825 ERROR [MAIN ] [gamedata.c:100] CampaignLoad(): failed to load campaign D:/d:/games/services/steam/steamapps/common/Wolfenstein 3D/base!

Wolfenstein 3D is installed via Steam, and is presently located in D:\Games\Services\Steam\steamapps\common\Wolfenstein 3D\base. I would try uninstalling it from Steam and copying the game files in myself, but I can't figure out which folder it belongs in.

Game is version 1.0.0-win32 downloaded from the Releases section on August 23rd at 10:30 PM (PDT); OS is Windows 10, 64-bit, version 20H2 (OS Build 19042.1165).

cxong commented 3 years ago

The missions folder will be D:\Games\Action\C-Dogs.SDL-1.0.0-win32\missions btw

wildweasel486 commented 3 years ago

Am I supposed to drop all the WL6 files into that folder as they are? Or is the game looking for them to be in a sub folder with a specific name?

cxong commented 3 years ago

drop the folder containing the WL6 files