From: Speed D. <no...@so...> - 2013-10-23 05:48:28
|
#692: Replay, Ghost Cars and Flashback -------------------------+-------------------------------------------------- Reporter: mungewell | Owner: somebody Type: enhancement | Status: new Priority: major | Milestone: to be defined Component: Whole game | Version: 2.0.0 Keywords: | -------------------------+-------------------------------------------------- Comment(by mungewell): I've been revisiting the replay patch and got some 'nice features' brewing.... I found out why the SegFault is happening, but don't know how to solve it. It appears that 'model_dir' and 'texture_dir' are used but I can't find out where they are controlled. [http://sourceforge.net/apps/trac/speed- dreams/browser/trunk/src/tools/trackgen/objects.cpp#L66] I've added some debugging which shows that the first run through there are correct, but not on the 2nd. {{{ ssgLoadAC: opening 'data/objects/background-sky.ac' (background-sky.ac) for reading ssgLoadAC: opening 'tracks/speedway/e-track-5/e-track-5.ac' (e-track-5.ac) for reading ssgLoadAC: opening 'cars/models/trb1-sector-rb1/trb1-sector-rb1.acc' (trb1 -sector-rb1.acc) for reading ... ssgLoadAC: opening 'data/objects/background-sky.ac' (background-sky.ac) for reading ssgLoadAC: opening 'tracks/speedway/e-track-5/e-track-5.ac' (e-track-5.ac) for reading ssgLoadAC: opening 'data/textures/trb1-sector-rb1.acc' (trb1-sector- rb1.acc) for reading WARNING: ssgLoadAC: Failed to open 'data/textures/trb1-sector-rb1.acc' for reading <---- WRONG DIR Error: No such file or directory Segmentation fault (core dumped) }}} Anyone got suggestions? -- Ticket URL: <http://sourceforge.net/apps/trac/speed-dreams/ticket/692#comment:31> Speed Dreams <http://sourceforge.net/projects/speed-dreams> An Open Motor-sport Simulator featuring high-quality 3D graphics and an accurate physics engine, all targeting maximum realism as well as exciting new features, cars, tracks and AI opponents to make a more enjoyable game for the player. |