Stunt Coureur Screenshot Multiplayer stunt racing

Stunt Coureur is a Bullet Physics based racing game loosely inspired by Stunts. Pure client-server multiplayer is supported.

License: free
Requirements: SDL SDL_net SDL_image gcc 4.5+ freetype2 boost filesystem 1.43+ libusb

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

Comments

Your hard-coded font /usr/share/fonts/TTF/DejaVuSans.ttf in./src/gui/textprinter.cpp didn't work for me, mine is located at /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf (Debian GNU/Linux). Also, starting the game and pressing F5 (I guess thats what you have to do to start driving?) just leads to a segmentation fault:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb393ab70 (LWP 8960)]
0xb7faca49 in glPushClientAttrib () from /usr/lib/libGL.so.1
(gdb) bt
#0  0xb7faca49 in glPushClientAttrib () from /usr/lib/libGL.so.1
#1  0x08158d66 in FTTextureGlyphImpl (this=0x85831d0, glyph=0x8372d48, id=1, xOffset=295, yOffset=3, width=8192, height=512)
    at FTGlyph/FTTextureGlyph.cpp:90
#2  0x081591cd in FTTextureGlyph (this=0x82fd598, glyph=0x8372d48, id=1, xOffset=295, yOffset=3, width=8192, height=512)
    at FTGlyph/FTTextureGlyph.cpp:44
#3  0x081567d1 in FTTextureFontImpl::MakeGlyphImpl (this=0x8367558, ftGlyph=0x8372d48) at FTFont/FTTextureFont.cpp:162
#4  0x08156f43 in FTTextureFont::MakeGlyph (this=0x83674c0, ftGlyph=0x8372d48) at FTFont/FTTextureFont.cpp:68
#5  0x08159980 in FTFontImpl::CheckGlyph (this=0x8367558, characterCode=106) at FTFont/FTFont.cpp:537
#6  0x0815b11f in BBoxI (this=0x8367558, string=0x84fa49c "player 0 joined", len=-1, position=..., spacing=...)
    at FTFont/FTFont.cpp:405
#7  FTFontImpl::BBox (this=0x8367558, string=0x84fa49c "player 0 joined", len=-1, position=..., spacing=...) at FTFont/FTFont.cpp:427
#8  0x081597fe in FTFont::BBox (this=0x83674c0, string=0x84fa49c "player 0 joined", len=-1, position=..., spacing=...)
    at FTFont/FTFont.cpp:193
#9  0x0815204d in Textprinter::getWidth (this=0x818bc40, str=...) at textprinter.cpp:71
#10 0x08096bcf in Logbuffer::add (this=0x818a8e0, streamptr=...) at logbuffer.cpp:28
#11 0x080647ae in World::parseIncomingMessages (this=0x839ce28, playerid=0) at world.cpp:546
#12 0x08066d1f in procT (ptr=0x839ce28) at world.cpp:238
#13 0xb7b09955 in start_thread (arg=0xb393ab70) at pthread_create.c:300
#14 0xb7be910e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

And I wonder what happeend to that build process, it took ages to compile the game :).

Re: fonts and segfault posted by B0bke on Aug 26 2010 11:18 PM
Thank for the output, I have committed the fix to svn.
The font obviously also needs to be looked at.
It does take a while to compile yes.. it includes the Bullet Physics engine and FTGL :)
Looks fun, but i can't play it very long before it crashed (v0.2 from svn)

#0 0x001cd546 in glBegin () from /usr/lib/nvidia-current/libGL.so.1 #1 0x0809fa82 in GLDebugDrawer::drawLine (this=0x83c3ef4, from=..., to=..., color=...) at gldebugdrawer.cpp:29 #2 0x0815f917 in btConvexTriangleCallback::processTriangle (this=0xb763e01c, triangle=0xb70c3d90, partId=0, triangleIndex=1052) at BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.cpp:100 #3 0x080cd6ac in processNode (this=0xb70c3d84, nodeSubPart=0, nodeTriangleIndex=1052) at BulletCollision/CollisionShapes/btBvhTriangleMeshShape.cpp:315 #4 0x0813dec0 in btQuantizedBvh::walkStacklessQuantizedTree (this=0x8599440, nodeCallback=0xb70c3d84, quantizedQueryAabbMin=0xb70c3d5a, quantizedQueryAabbMax=0xb70c3d54, startNodeIndex=0, endNodeIndex=25335) at BulletCollision/BroadphaseCollision/btQuantizedBvh.cpp:712 #5 0x08140b89 in btQuantizedBvh::reportAabbOverlappingNodex (this=0xb70c3d90, nodeCallback=0xb70c3d84, aabbMin=..., aabbMax=...) at BulletCollision/BroadphaseCollision/btQuantizedBvh.cpp:328 #6 0x080cdcbd in btBvhTriangleMeshShape::processAllTriangles (this=0x85993d0, callback=0xb763e01c, aabbMin=..., aabbMax=...) at BulletCollision/CollisionShapes/btBvhTriangleMeshShape.cpp:323 #7 0x08160171 in btConvexConcaveCollisionAlgorithm::processCollision (this=0xb763e010, body0=0x85995d0, body1=0x88314c0, dispatchInfo=..., resultOut=0xb70c3e50) at BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.cpp:197 #8 0x080cc2c7 in btCollisionDispatcher::defaultNearCallback (collisionPair=..., dispatcher=..., dispatchInfo=...) at BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp:268 #9 0x080cc873 in btCollisionPairCallback::processOverlap (this=0xb70c3f84, pair=...) at BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp:224 #10 0x080bb61b in btHashedOverlappingPairCache::processAllOverlappingPairs (this=0x83c4430, callback=0xb70c3f84, dispatcher=0x83c7420) at BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp:387 #11 0x080cbd73 in btCollisionDispatcher::dispatchAllCollisionPairs (this=0x83c7420, pairCache=0x83c4430, dispatchInfo=..., dispatcher=0x83c7420) at BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp:238 #12 0x080d62f4 in btCollisionWorld::performDiscreteCollisionDetection (this=0x83c4678) at BulletCollision/CollisionDispatch/btCollisionWorld.cpp:214 #13 0x0810a744 in btDiscreteDynamicsWorld::internalSingleStepSimulation (this=0x83c4678, timeStep=0.00999999978) at BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp:318 #14 0x08107786 in btSoftRigidDynamicsWorld::internalSingleStepSimulation (this=0x83c4678, timeStep=0.00999999978) at BulletSoftBody/btSoftRigidDynamicsWorld.cpp:61 #15 0x0810ac4a in btDiscreteDynamicsWorld::stepSimulation (this=0x83c4678, timeStep=0.0320000015, maxSubSteps=100, fixedTimeStep=0.00999999978) at BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp:281 #16 0x080722ac in procT (ptr=0x83c3bf0) at world.cpp:99 #17 0x005d096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #18 0x0053ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

0.2 looks promising, with textures and everything.

Re: v0.2 posted by B0bke on Aug 28 2010 4:09 PM
You sir, have discovered a bug in Bullet Physics.
apparantly it is calling debugdrawer functions while debugging isn't even enabled.

I have committed the workaround to svn.
Thank you for testing svn!

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