Road Fighter remake Screenshot Remake of the Konami classic

In the Road Fighter remake you have to drive street races in a top-down view with limited fuel and obstacles that can slow you down like other vehicles, water, oil and rocks on the street, try to avoid them and stay on the street. The pink hearts should be collected to refuel your car.

License: free

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesyesnoyesnonoyes
Suggest an update

Comments

When I try to compile, I get the following error
james@doomtrain:~/src/misc/roadfighter$ make
gcc -c -O3 main.cpp -o main.o `sdl-config --cflags` -I/usr/local/include/SDL
/usr/include/SDL/sge_collision.h:49: warning: type attributes are honored only at type definition
/usr/include/SDL/sge_shape.h:38: warning: type attributes are honored only at type definition
CGame.h:31: error: extra qualification ‘CGame::’ on member ‘CGame’
make: *** [main.o] Error 1
I am using gcc 4.1.3 on Ubuntu
Re: doesn't compile posted by anonymous on Feb 25 2008 7:07 PM
try to remove the CGame:: from the constructor
Re: doesn't compile posted by mablanco on Feb 25 2008 7:09 PM
As the error message states, you have to edit line 31 in CGame.h file and remove the ‘CGame::’ extra qualification. I did so and the game compiled like a breeze, at least in ASLinux Desktop 4.0 (a Debian Etch derivative).
Re: doesn't compile posted by Bob the Hamster on Feb 25 2008 7:28 PM
I edited that line of CGame.h, and now it compiles, although now it segfaults when I run it :(
james@doomtrain:~/src/misc/roadfighter$ ./rf
Initializing SDL video subsystem.
SDL driver used: x11
SDL video subsystem initialized.
Initializing SDL_mixer.
    opened alsa at 44100 Hz 16 bit stereo, 2048 bytes audio buffer
    compiled with SDL_mixer version: 1.2.6
    running with SDL_mixer version: 1.2.6
Set the video resolution to: 512x384x32
Segmentation fault
My desktop resolution is 1280x1024x24, but I have never had to change it to run any other SDL game :P
Re: doesn't compile posted by anonymous on Feb 25 2008 7:35 PM
Wow, ubuntu 'rox'... It looks like a corrupted sdl installation/configuration/something.
Re: doesn't compile posted by Bob the Hamster on Feb 25 2008 7:49 PM
I seriously doubt this is anything ubuntu-specific. I run (and develop) SDL apps on ubuntu all the time.

taking this problem to the Road Fighter forums, rather than pursuing it further here.

foreheadslap posted by Bob the Hamster on Feb 25 2008 9:30 PM
The only problem was the source zip doesn't have any of the data files. I can't believe I didn't notice that sooner! I had to manually copy them over from the Windows version, and then it ran fine.
I've managed to compile it on FreeBSD (fixing that extra qualification error), but it segfaults after creating a window:

#0  0x28197ab1 in TTF_SizeUNICODE (font=0x0, text=0xbfbfe790, w=0xbfbfe728, h=0x0) at SDL_ttf.c:864
#1  0x2819907d in TTF_RenderUNICODE_Blended (font=0x0, text=0xbfbfe790, fg={r = 128 '\200', g = 128 '\200', b = 128 '\200', unused = 40 '('}) at SDL_ttf.c:1557
#2  0x28198f74 in TTF_RenderText_Blended (font=0x0, 
    text=0x8065dec "        Game created for"..., fg={r = 128 '\200', g = 128 '\200', b = 128 '\200', unused = 40 '('}) at SDL_ttf.c:1503
#3  0x0805a60e in CRoadFighter (this=0x28906c00) at CRoadFighter.cpp:89
#4  0x0804a131 in main (argc=1, argv=0xbfbfeb18) at main.cpp:162

I'll post more info on braingames forum tomorrow.

Re: Road Fighter remake posted by AMDmi3 on Feb 26 2008 1:10 AM
As stated in a thread just below, it segfaults because there's no data in the source archive. Adding data from windows .zip solves the problem. But there are more segfaults due to null pointer references. Btw, feel free to use my website as a faster mirror:

http://www.amdmi3.ru/distfiles/RF-sources.zip 5bfceb23925b659206e111987836f10f
http://www.amdmi3.ru/distfiles/RoadFighter.zip 32bd3ab12d70ee6699b26399fe46b0ac
Re: Road Fighter remake posted by michaelvoliveira on Nov 2 2009 7:01 AM
Where are the sources?
do u know Trophy?

Log in or register to rate this game or post a comment.