View Single Post
Posts: 249 | Thanked: 277 times | Joined on May 2010 @ Brighton, UK
#6
Incidentally, all the assets required are present in the downloadable version on the project homepage, as I'm able to run the Win32 version fine from that. I've copied them across to my MyDocs and symlinked the assets and blank_maps dirs, and copied the .map and .txt files across to my /usr/local/bin dir.

Code:
(gdb) r
Starting program: /usr/local/bin/zod -l map_list.txt -n zlover -t red -r 800x484 -b blue
Welcome to the Zod Engine
start bot for team blue
NextInMapList::returning 0 'level_orig1.map'
socket connected:127.0.0.1
socket connected:127.0.0.1
socket connected:127.0.0.1
ServerSocket::CheckConnects:client connected:127.0.0.1
map_data_size:14934
socket connected:127.0.0.1
ServerSocket::CheckConnects:client connected:127.0.0.1
could not load:assets/sounds/ABATTLE.mp3
could not load:assets/sounds/music_desert.ogg
could not load:assets/sounds/music_volcanic.ogg
could not load:assets/sounds/music_arctic.ogg
could not load:assets/sounds/music_jungle.ogg
could not load:assets/sounds/music_city.ogg
ZTeam::Could not load palette for the null team:'assets/teams/null_palette.bmp'

Program received signal SIGSEGV, Segmentation fault.
0x0008bda8 in ZTeam_Palette::LoadSurfacePalette (this=0x2b9490, src=0x0)
    at zteam.cpp:10
10      zteam.cpp: No such file or directory.
        in zteam.cpp
(gdb) bt
#0  0x0008bda8 in ZTeam_Palette::LoadSurfacePalette (this=0x2b9490, src=0x0)
    at zteam.cpp:10
#1  0x0008c0c8 in ZTeam::LoadPalette (team=2) at zteam.cpp:239
#2  0x0008c13c in ZTeam::Init () at zteam.cpp:156
#3  0x000e9768 in ZPlayer::Setup (this=0xbed18f30) at zplayer.cpp:262
#4  0x000103e0 in run_player_thread () at main.cpp:165
#5  0x00010ae0 in main (argc=11, argv=0xbed1c5d4) at main.cpp:79
...and here's the same for the Win32 version:
Code:
zod_engine.exe -l map_list.txt -n zlover -t red -r 800x484 -b blue

Welcome to the Zod Engine
start bot for team blue
NextInMapList::returning 0 'level_orig1.map'
socket connected:127.0.0.1
socket connected:127.0.0.1
socket connected:127.0.0.1
ServerSocket::CheckConnects:client connected:127.0.0.1
socket connected:127.0.0.1
ServerSocket::CheckConnects:client connected:127.0.0.1
map_data_size:14934
could not load:assets/sounds/music_arctic.ogg
could not load:assets/sounds/music_city.ogg
ZTeam::Could not load palette for the null team:'assets/teams/null_palette.bmp'
map_data_size:14934
graphics loaded
...and the Win32 version then loads correctly. I've pulled all the assets from the Win32 version across, and the null_palette.bmp file is missing there too, but it works. I get the loading screen up fine though
 

The Following User Says Thank You to mr_jrt For This Useful Post: