Title: OpenArena on Haiku Operating System Post by: Barrett on June 19, 2009, 10:38:26 AM Last night i compiled OpenArena on Haiku, after some headers problems and little hack the code finally compiled on Haiku, but when i try to load the game, it run in a black screen and then i need to kill the program.
I created a page to describe the procedure : http://www.bluetechnoids.org/wiki/doku.php?id=openarena What can cause this problem? 3D acceleration? ~/Desktop/openarena-0.8.1> ./openarena.i386 codered +set r_gldriver libGL.so +se t r_allowSoftwareGL 1 ioq3+oa 1.35 Haiku-i386 Jun 19 2009 ----- FS_Startup ----- Current search path: /boot/home/.openarena/baseoa ./baseoa ---------------------- 0 files in pk3 files execing default.cfg couldn't exec q3config.cfg couldn't exec autoexec.cfg Hunk_Clear: reset the hunk ok ----- Client Initialization ----- Couldn't read q3history. ----- Initializing Renderer ---- ------------------------------- QKEY found. ----- Client Initialization Complete ----- ----- R_Init ----- SDL using driver "bwindow" Initializing OpenGL display Estimated display aspect: 1.333 ...setting mode 3: 640 480 Kill Thread I have another question, when compiling gcc says to me an error about this struct contained in renderer/tr_image_pcx.h : typedef struct { char manufacturer; char version; char encoding; char bits_per_pixel; unsigned short xmin,ymin,xmax,ymax; unsigned short hres,vres; unsigned char palette[48]; char reserved; char color_planes; unsigned short bytes_per_line; unsigned short palette_type; unsigned short hscreensize, vscreensize; char filler[54]; unsigned char data[]; } pcx_t; the error was related the last member (data[]) : CC code/renderer/tr_image_pcx.c /boot/home/Desktop/openarena-engine-0.8.1-haiku/code/renderer/tr_image_pcx.c:48: field `data' has incomplete type I setted an arbitrary value to the array, what is the exact value? or how can i solve this problem? thanks for the help! Title: Re: OpenArena on Haiku Operating System Post by: sago007 on June 19, 2009, 10:46:06 AM ----- FS_Startup ----- You need the pk3 files.Current search path: /boot/home/.openarena/baseoa ./baseoa ---------------------- 0 files in pk3 files Title: Re: OpenArena on Haiku Operating System Post by: Barrett on June 19, 2009, 10:50:18 AM I have the pk3 files, i downloaded the package :
http://download.tuxfamily.org/openarena/rel/081/oa081.zip and then i replaced the binaries contained in the package with my Haiku binaries and i extracted all pk3 files in baseoa directory. Title: Re: OpenArena on Haiku Operating System Post by: sago007 on June 19, 2009, 10:58:07 AM You shouldn't extract the pk3 files.
You can try to add "+set sv_pure 0" on the command line to allow the game to load files not in pk3 files but it might not work for certain files. Title: Re: OpenArena on Haiku Operating System Post by: Barrett on June 19, 2009, 11:06:19 AM i removed the files extracted from the pk3 files, and openarena show me this error :
/boot/apps/openarena> ./openarena.i386 ioq3+oa 1.35 Haiku-i386 Jun 19 2009 ----- FS_Startup ----- Current search path: /boot/home/.openarena/baseoa ./baseoa ---------------------- 0 files in pk3 files Couldn't load default.cfg /boot/apps/openarena> also with +set sv_pure 0 any ideas? Title: Re: OpenArena on Haiku Operating System Post by: schlorri on June 19, 2009, 11:08:19 AM And the pk3 files are in the baseoa directory?
Edit:Ah...sorry, must lern to read. Title: Re: OpenArena on Haiku Operating System Post by: sago007 on June 19, 2009, 11:16:55 AM any ideas? The binary does still not find the files. Or maybe it cannot open them.Try placing the pk3 files in: /boot/home/.openarena/baseoa/ (the full path that is mentioned in the output) Title: Re: OpenArena on Haiku Operating System Post by: Barrett on June 19, 2009, 12:11:19 PM i tried to copy the pk3 files to /boot/home/.openarena/baseoa
but i get the same error, where are configured these dirs in the source? or where are managed? anyway thanks for the help Title: Re: OpenArena on Haiku Operating System Post by: Jondice on July 25, 2009, 11:23:29 PM I recently had a similar problem on solaris - it turned out to be a permission problem - files in the game directory weren't readable by the user who was running the openarena executable.
Title: Re: OpenArena on Haiku Operating System Post by: BlankBruno on December 24, 2010, 03:40:15 PM Just as an FYI, if anyone is interested in trying to get OA running on Haiku, the rumor mill has it that OpenGL 3D is now working on Haiku. If anyone tries this and has any positive results, please let me know. I'm an old BeOS die-hard and would love to see Haiku eventually flourish, but it can't do that unless it can handle OpenArena. :)
|