Unification of similar right/left code
Removed duplicated code
Looks like I've bugged this branch and mixed with the MR #2. I think you should cherry-pick 848fcb and bf05b1
Looks like 2 years ago I didn't know how was working the git branches... but you can cherry-pick the pit indicator / green delta as long the fix has been committed in master.
Refactoring of RtTrackLocal2Global
Yes, you are correct. Thanks.
Beware, this are not lods, this is the model with different textures applied, see examples from trb1 wheels (rotation blur)
Hi. The following procedure works for me: Make the directory wheels/s2000-wheel/ Put the acc lods inside it: wheel0.acc, wheel1.acc, wheel2.acc and wheel3.acc ('wheel' is for simplicity purposes only; you can give it whatever name you want, as long as that name appears in the car's XML.). Also put the PNG texture there. In "car name".xml: <attstr name="3d wheel basename" val="wheel"> <attstr name="3d wheel directory" val="s2000-wheel"></attstr></attstr>
Refactoring of RtTrackLocal2Global
Got rid of atan2
I cannot remember the code, but I guess it has to be in the wheels directory. You can leave out the "in" part, for TRB1 this just limits the selection of wheels for cars of this class.
Iirc, then a code for a custom wheel (let's say "s2000-wheel.acc" should look like this: <attstr name="3d wheel basename" val="wheel"/> <attstr name="3d wheel directory" in="s2000-wheel" val="s2000-wheel"/> Should I put .acc file in the car directory along with the car or should it be separately put in wheels directory?
Little refactoring of RtTrackHeightL for readability
Adopted Giulietta Spider for tire temperature model
Adopted Ghibli for tire temperature model
Adopted Dino 246 GT for tire temperature model
Brilliant model! Thanks for this,
Adopted AM DBS for tire temperature model
Adopted AM DB4 GT Zagato for tire temperature model
Look at e.g. car4-trb1.xml as example: <section name="Graphic Objects"> ... <attstr name="3d wheel basename" val="wheel"/> <attstr name="3d wheel directory" in="trb1-1,trb1-2,trb1-3,trb1-4,trb1-5,trb1-6" val="trb1-1"/>
Has anyone tried to add custom 3d wheels? If so, how can I implement it? In car files I only see different wheel textures.
Adopted F365 Gtb4 Daytona for tire temperature model
Adopted T-Top for tire temperature model
Adopted GT Conrero for tire temperature model
Adopted Cobra DS for tire temperature model
Adopted AH 3000 Mk II and Cobra 427 for tire temperature model
Adopted TZ2 for tire temperature model
Adopted 5300 GT and A110 for tire temperature model
Adopted 2000 GT for tire temperature model
Improved configuration of axis which are also buttons
Updated OpenAL dll to openal-soft-1.23.1
Reduced engine volume a bit, cleanup
cleanup
I'm also interested in these old tracks. Do you have a link?
A model is made by me completely from scratch. Car features working brakelights, exhausts, hood cam, interior cam. Textures have been reused from pexels.com Performance is a mix of information from Ferrari 599XX EVO from Assetto Corsa and car1-trb1 from TORCS. Pictures: Installation: Open your TORCS directory, drag the "599xx-evo" folder into "cars" folder in TORCS directory. Car will be present in "free" cathegory". Credits: NikolaiVChr - Blender-AC3D (AC3D File format import/export within blender)...
- Smooth surface transitions regarding sound
Merge branch 'r1-3-1' of ssh://git.code.sf.net/p/torcs/code into r1-3-1
Curb sound including lateral surface blending
Curb sound including lateral surface blending
I found another issue. It has nothing to do with the above, but I have noticed that when I want to modify the number of laps in a quickrace, if I have the numeric keypad active it is not possible to do it, but I can do it by deactivating it.
Good to hear it's coming back ! In my merge request I included a fix for it.
I have a different issue, such as a building with 21 errors. When I tried to build it, the error occurred. I was in Windows 11. This is exactly why I built the game with errors similar to other racing games like "Speed Dreams" which I've played for a long time, when I compiled, the build just broke. For example, the "tgf.lib", "client.lib" and "robottools.lib" entry files were unable to open. There are errors I posted below: L'opération de génération a démarré... 1>------ Début de la génération :...
Fixed offset which caused joystick and mouse calibration to fail
Reverting the linking of inner segments with rside, lside, alternative implementation for surface blending
- Added more common screen resolutions for fallback
Hello I have seen that @berniw has recently returned to activity on TORCS in the branch r1-3-1 . I have downloaded the code and tried to build it, but without success, finding some errors when doing it on Ubuntu 24.04. A couple of friends of mine @shadow72 and @xavi92, proposed me solutions to these, and I post them here in case they are useful to someone or the dev wants to include them. The first error is: OpenALMusicPlayer.cpp: In member function ‘virtual bool OpenALMusicPlayer::streamBuffer(ALuint)’:...
Hi. Yes, I am currently wrapping up some stuff, I plan to bring back the Linux build at a later time (at least for my distro).
Hello I have seen that @berniw has recently returned to activity on TORCS in the branch r1-3-1 . I have downloaded the code and tried to build it, but without success, finding some errors when doing it on Ubuntu 24.04. A couple of friends of mine @shadow72 and @xavi92, proposed me solutions to these, and I post them here in case they are useful to someone or the dev wants to include them. The first error is: OpenALMusicPlayer.cpp: In member function ‘virtual bool OpenALMusicPlayer::streamBuffer(ALuint)’:...
I managed to fix the problem already - TORCS uses .rbg textures for cars and I provided a .png textjre. @leillo1975 to answer your question - I didn't model the car, the model was taken from CSR2. Currently I didn't model any car from scrath yet, unless complete retopogy counts, then I made a Nissan GTR R35 Gr.4, might share it in the upcoming days.
I don't have an answer to your problem, but I would like to know if you modelled the Jesko yourself or if you got it from somewhere
Added runtimed to git ignore (Windows)
Reverted borked color handling introduced right before. Needs more work.
Added surface property blending for tires, side surfaces now back-reference the surfaces towards the center of the track
Brake balance adjustable during ride
I recently started working porting cars from other games to TORCS. For some reason, the game doesn't open at all. The console pops up then it's immediately gone and the game doesn't open. It cannot be a problem with amount of polygons because I also tried to port an other, low-poly model to TORCS and same situation happens. In Speed Dreams the cars show up and run without any problems, without changing anything in the files.
Ignore runtime on windows
Hi, Unfortunately this project is almost dead (thought I hope that it will be revived someday), so having help from users is hard. But you could still try to send a mail on the mailing lists (see the tab). For the clutch / steering settings, I suppose you play like me on the keyboard. That settings are mainly for steering wheel/pedals setups. As a manual, you can eventually look at the doc/ directory in the repo. Note that the up-to-date branch is r1-3-1. Another option might be to look in @berniw's...
I'm new to this game. I want to know how to disable automatic gear shifting, and also disable automatic reverse when holding the brake button. How do I go about doing this? Do I edit a file? Thanks
Sorry, I just saw the option for manual transmission
I'm new to this game. I've been figuring things by myself but I still need documentation for many other things I don't quite understand such as the steering and clutch settings. Is there some kind of manual describing the different options of TORCS? Thanks
Hello! Sorry for not noticing your reply. I have gotten farther but I still cannot build another robot module. Right now it's just all stuffed into the main .cpp file because I'm stupid and can't it working with driver.h and driver.cpp. I'm currently stuck on calculating aerodynamics and I have been able to have 10 robots working. if you want to contact me a bit more directly you can do so on Discord if you add me Orja#2004 here's a link for the robot tutorial http://www.berniw.org/tutorials/rob...
try to use vjoy to control torcs, seems not working, wondering if anyone tried
try to use vjoy to control torcs, seems not working, wondering if anyone tried?
Hello to all. For some time now I have been creating tracks for Speed Dreams, which as you know is a fork of TORCS. The thing is that I'm a GNU/Linux user (Ubuntu in my case), and to convert them to .acc I need the stripe program, but I can't find it built anywhere and I have to use a virtual machine with Windows 10 to be able to use the .exe that I found in Vicente Martí's website. The source code is very old and I get a lot of errors, plus building programs is not exactly my forte. Does anyone...
Hi. Good that you finally found the track. I'm interested, so what is the link or something else to access your repository ?
AI braking after overtaked
Goodnight. I am the MASLA user who created the tracks I would like copies of the files. I can send them to you to put them in your collection.
Hello, I got the missing tracks from a former TORCS user, that still had them in his collection. If somebody need a track, make a request that I can see if I have to share. Thank you all.
Hi, first I didn't know those tracks and when I searched that on internet I got no relevant results, maybe you have additional info on that author ?
Hi, I'm intending do build a repository museum for TORCS, and I need such tracks: MASLA-Oval (01 to 09, aka, all of them) MASLA-Track 02 and 08 to 15 Street-2 (From the same author of MASLA Tracks) I tried to find them, even in Web Archive, bit the links didn't have the files saved. Just found MASLA-Track 01 and 03 to 07 If somebody help me, I (And the TORCS community) will be very grateful.
I noticed a bug (you can see it with commits list above), due to my personnal dev branch I used also for the precedent merge request. If @berniw you could fix that if you merge it (I mean, merging only this one will solve the problem because there are also the commits from precedent mr), it will be nice (I tried rebasing but failed).
Fix speed limit not working on reverse
I told berniw by email my merge request, normally he will look at it in few days. Else, idk.
the question is: Is there anybody who actively watching merge requests? I believe anyone of @berniw, @rcoulom, @torcs, @guions, @olethros should be able to review and approve it
Important fixes, boards additions
Pit informations + some minor corrections
Because I'm a bit of dreamer (sorry for the non-fluidity of the message at the time), I also slightly modified the driver board by putting in green when the delta of the best lap is negative. I take this opportunity to tell you three things: I think a side-scrolling ranking as a third leader board option would be a good idea I also think that we could apply a refresh of the interface, with for example to begin with rounded corners and less saturated colours. And finally I take this opportunity to...
Because I'm a bit of dreamer (sorry for the non-fluidity of the message at the time), I also slightly modified the driver board by putting in green when the delta of the best lap is negative. I take this opportunity to tell you three things: * I think a side-scrolling ranking as a third leader board option would be a good idea * I also think that we could apply a refresh of the interface, with for example to begin with rounded corners and less saturated colours. * And finally I take this opportunity...
Pit informations + some minor corrections
Hi I haven't jumped into this project yet so I don't know much. But I'm definitely interested in helping. What do you mean by the robot tutorial. I'll get a chance to check out the code later this week!
I'm using Torcs 1.3.8 test build on Ubuntu 20.04 and I get a segmentation fault when creating a second robot module or when I have more than 1 car on the existing robot module. i'm new to coding and the robot tutorial doesn't always work. edit: Some time has passed and I've figured some stuff out. Game works fine with my robot having 10 robots and I've added a few of the robots from the torcs website but I still haven't made another robot module successfully. any help is very much appriciated!
I'm using Torcs 1.3.8 test build on Ubuntu 20.04 and I get a segmentation fault when creating a second robot module or when I have more than 1 car on the existing robot module. i'm new to coding and the robot tutorial doesn't always work. edit: Some time has passed and I've figured some stuff out. Game works fine with my robot having 10 robots and I've added a few of the robots from the torcs website but I still haven't made a nother robot module successfully. any help is very much appriciated!
Hello, what you are looking for, I think, is the variable "RCM_MAX_DT_ROBOTS" in "src/interfaces/raceman.h"
Hello, I have a pretty obscure issue. A lot of racing simulators and games that I like are older, so I picked up a Windows 98 compatible laptop to run them on. I would like to run TORCS on this machine as well, and found that version 1.3.1 seems to be the latest version that will run on Windows 98. I installed TORCS and am able to start races, but will frequently experience a freeze or stutter in the game during parts of any race. When trying to narrow the problem down, I've done all of the following:...
Hey! I am pretty experienced with programming at this point, I've been doing it for around 4-5 years, and I really want to tackle creating a 3D Race-Sim - based around endurance racing. I was looking around for engines to use, and I found TORCS. Having played the game, and actually liking it, I am pretty keen on trying to use the base to create a "fork" which is solely based on Endurance racing, perhaps online - in the future. My trouble is, Open Source has always confused me, it seems a bit daunting...
Hello everyone, I have installed gym_torcs on my ubuntu16.04 according to the requirements, and modified the resolution to 64x64, but after testing, when vision=True, each pixel of the image obtained by ob.img is 0, the picture is completely black, I don’t know why, I hope to get your help My cpu is r5-3600 graphics card is gtx1660s, will it be related to cpu and graphics card
I'm using Torcs 1.3.8 test build on Ubuntu 20.04 and I get a segmentation fault when creating a second robot module or when I have more than 1 car on the existing robot module. i'm new to coding and the robot tutorial doesn't always work. any help is very much appriciated!
Sorry, I forgot to mention that I'm using version 1.3.7+dfsg-5.
Ubuntu 21.10 TORCS RAM usage
Hi, I think you should check if the NVIDIA graphics driver of your computer is installed. Best wishes, Tk ------------------ Original ------------------ From: "Kity Hitol "<kity@users.sourceforge.net>; Date: Thu, Mar 11, 2021 10:44 AM To: "[torcs:support-requests] "<15@support-requests.torcs.p.re.sourceforge.net>; Subject: [torcs:support-requests] Re: #15 I cannot extract the img in trocs Hi, My window is visible. You can refer to this: https://github.com/yanpanlau/DDPG-Keras-Torcs. However, only...
Hi, My window is visible. You can refer to this: https://github.com/yanpanlau/DDPG-Keras-Torcs. However, only 64*64 images are supported. I want to ask you, do you know the "quick race" mode of torcs? How to modify the speed of the added vehicle in the configuration file? I don't know much about C++, but now I need to control the speed of other vehicles and how to add them to multiple lanes at a specific time. Best, Tk ------------------ Original ------------------ From: "Bernhard Wymann"<berniw@users.sourceforge.net>;...
Was you window visible or in the background? Some graphics drivers do not draw the obscured part of the framebuffer, which makes sense. How did you obtain the image, was the OpenGL buffer already flushed (otherwise it might not have been drawn yet).
Hi, it may be that your computer's graphics card driver is not installed properly. I encountered this problem and it has been resolved.
Hi You are right, I have this on my list too. The properties are taken from a single point, so there are very sudden changes. I think I will change that to a "linear blending over the tire with" at some point for the lateral direction (lateral to the track the movment per simulation time step is usually very little, longitudinal it makes no sense though, because the movment is too far in one time step).
There's a fair bit of noise coming from the pebbles being kicked from the tyres up into the underground in my road car when I go over filthy areas of a road. If we could have an audible sign of when we are running in the dirt, that would be great I read it at dirtbikeadvisor. If you crash into gravel and then on bitumen, this effect is noticeably absent now; the sound effect is entirely digital, i.e. it's there one second, it's gone the next as soon as you reach the clear field. IRL will advise you...
There's a fair bit of noise coming from the pebbles being kicked from the tyres up into the underground in my road car when I go over filthy areas of a road. If we could have an audible sign of when we are running in the dirt, that would be great. If you crash into gravel and then on bitumen, this effect is noticeably absent now; the sound effect is entirely digital, i.e. it's there one second, it's gone the next as soon as you reach the clear field. IRL will advise you to hear the pebbles for at...
I cannot extract the img in trocs
i am reassigning to Christophe Guionneau , since i haven't received any response from Eric.
Regarding TORCS compatibility with MathWorks
i am reassigning to Eric , since i haven't received any response from one week.