Assetto Corsa PC Mods General DiscussionPC 

  • Thread starter Thread starter daan
  • 152,698 comments
  • 47,341,729 views
@sab001 and @ninezeroniner

here's an example script to force the wastegate/turboboost at optimal value for a Porsche 935 AI. It looks like this , so you can edit it for different cars.

This is just some lines explained from the script (he script itself is available as a zip down there)

if car.index == 0 then return end -- car#0 being the player's one, let's avoid it

ac.setTurboWastegate(0, 0.85, false) -- 0 being the turbo index (first one), 0.85 being the wastegate value, same as in engine.ini, and "false" being the adjustable activation.

ac.setTurboWastegate(1, 0.85, false) -- same idea, for the second turbo.

ac.debug("turbo_script", "ACTIVE car#" .. car.index) -- a debug that would appear in luadebug to check the script is active
ac.debug("turbo_boost", car.turboBoost) -- the debug to show the turbo boost value.
ac.debug("engine_life", car.engineLifeLeft) --a debug to make sure the Ai isn't destroying the engine

Now, i got those values from the engine.ini file :

Capture d'écran 2026-02-16 132610.webp

Having the wastegate @0.85 and 2 turbos, IF i understand this correctly, we end up with a turboboost of 1.7. The engine would take damage @ a turboboost of 1.75, so with these values in the script the AI should be safe.


You could experiment and see if the AI can handle some engine damage thru the race and adapt the ac.setTurboWastegate depending on your needs, see if it goes faster with higher values.

Using this technique you can also copy the script to different cars and adapt it depending on their respective engine and turbo values.


To activate it and see if it works : select the Porsche 935, unpack its data using Content Manager, copy the script into the data folder, and pack the data again. I read somewhere you could delete the acd and edit real time but i haven't tried yet. (EDIT : tested, it works, so you can edit the wastegate value real time if you unpack the data and delete the acd).

Ingame, opening the luadebug, each car should have the script running, showing the amount of turbo boost real time, the engine life left and if the script is active :

Capture d'écran 2026-02-16 133424.webp



I don't know if adding a script in the car data would create an error online, so either use AC Car Tuner to create a car copy first or remember to delete the script if it creates online rejections.

I'll dig into this at some point and see if you could create specific setups for the AI using the same technique.

Edit : cached the read values so it doesn't leak memory. I added all the damages so it's easy to see in the debug to spot pace issues.
 

Attachments

Last edited:
@Tetri: What do I name the script that I put in the data folder?
"script.lua" 😅 (although i wonder if you could name it whatever you want Nope!you can't. The documentation says to use "script", so i'd stick with it). I uploaded a better version, the first one was leaking memory. Not enough to crash your gpu, but let's keep things
super light.


Capture d'écran 2026-02-16 143734.webp
 
Last edited:
Anyone had this - can’t make a shot in CM showroom - get this error - cant remember when it started and what changed. Tried with different CSP versions but no difference.View attachment 1513490
Hi, can't help you on the subject due to lack of sufficient knowlegde on this. But I see the RSS GT-MX, right? Is it good (compared to F302 and/or Ceky's)? Worth the purchase (Or do I know the answer already since this one originates from RSS)?
 
I've set it up. But everyone else keeps driving at full throttle, even though I've set it to 30%. Most of the time, the AI doesn't even pull into the pit lane, it just keeps going. Only when I'm actually in my spot are they all suddenly there. Is this a CSP bug?
Could be. I'm on 0.3.0p212. The ai do perform the cool down lap, but not at the throttle % I've chosen...seemed to be way faster, but they do enter their pit box and stop, then wait for me to enter your pit box before the race results display instantly at that point.
 
Last edited:
Damn, wish I had some of these videos sooner. I got things way off. I see Lesmo and Ascari have wider kerbs with no carpet\concrete runoff area (whatever they are called) anymore. The sand goes right up against the kerbs now.

I'm not sure I have it in me to try and fix things. It's such a frustrating process because I don't know what i'm doing. I'll spend an hour or more in Blender doing what I think is right only to find out I screwed up something once I load it in the game and have to start over.
I'm glad they were helpful; Monza in winter is truly depressing. 😅
You're already doing a great job for the community. If you enjoy it and it doesn't stress you out, don't give up. Sooner or later, everything will become easier. And I'm telling you this as someone who modding other games for many years, even destroying a marriage (but maybe that was a good thing 🫢), so now my rule is "if it stresses you out, forget it, do something else, think about having fun, your time is precious." If, on the other hand, you don't have to give up anything else in your life, keep at it and don't give up. You're talented,boy! 💪😉

Necroing about safety from a couple of post ago! Here something about safety copy/paste, from X4fab Patreonsite, how small it looks who knows it can be helpfully:

Sadly, it looks like we’re starting to see some bad-faith modders in the community. So, I thought I’d make a small post with a few recommendations, and work on making CSP a bit safer.

First of all, please keep an eye on the type of content you’re installing, and if you’re not using Content Manager to install a mod (or if it’s being installed as a generic mod), glance through the files to see what actually is being added. If it’s something like a new car, or something else contained within the “content” folder, it’s perfectly safe. But if a mod adds anything to “apps”, “extension”, “launcher”, “plugins”, “server” or “system”, or if it includes any DLL (or EXE for you to run), such a mod can, potentially, do anything it wants on your system, so please check those mods thoroughly. Especially if it’s a stolen mod: those are sometimes repacked by third parties, so some of the files might be edited.

With the original Assetto Corsa, there are plenty of ways a mod could add its own logic. Apart from obvious stuff like including its own version of Reshade DLL or adding a new Python app, they could also alter launcher logic, add a new AC plugin, adjust one of JS files loaded by the original launcher, swap Python libraries (either standard or AC ones). And, to be clear, the original Python apps of Assetto Corsa can do anything they want. If anything, they can do a whole lot more compared to Lua apps, but those also have pretty much no limits. And when it comes to this type of thing, if a script can as much as simply save a file somewhere within the Assetto Corsa folder, that’s already more than enough to compromise data files.

Now, Custom Shaders Patch adds a lot of other types of scripts for all sorts of tasks. Ever since adding script support to Content Manager (which allowed us to have much nicer, if static, weather conditions back in the day), I was always fascinated by how much flexibility can be achieved with a simple Lua script. But, the way the whole thing is currently set, those scripts aren’t a weaker alternative to Lua apps. If anything, Lua apps are the weak ones, with delayed loading, and sometimes loading skipped altogether. A specialized script — such as Pure (a great WeatherFX style by Peter Boese) — loads first, and has full access to your file system and other processes! So, all the scripts you’re installing explicitly (with CM warning you about potential dangers), and going to CSP settings to enable explicitly — including post-processing scripts, GamepadFX scripts and more — all can do pretty much anything. That’s how Pure can edit configs and load extensions, how Curved Monitor filter can export settings, it allows for Mobile GamepadFX script to exchange data with the phone, or for Wooting keyboard script to read analog values from those keyboards. It also allows for traffic mode to load missing assets, and more.

There are only three exceptions: car scripts (both regular and physics), track scripts and, of course, online scripts. Those are the scripts you might not be aware of installing, and they are fully sandboxed and can’t really do anything like saving files.

In the next update, I’ll add something for CSP to ask each time before starting a new script with full files access, and something for scripts to opt-out of that access. But even with that addition, I ask you to still be cautious — a malicious mod could always find a way to circumvent some of these protections, like replacing a config of another mod changing its behavior in a potentially threatening way. Using Content Manager to install mods and keeping an eye on its warnings should be enough though.

For extra safety, I’m also going to add some settings for blocking out scripts entirely, and maybe something that would prevent sandboxed scripts from accessing the internet (although, that might break some things like Android Auto or online scripts).

If it is illegal to post this, let me know then I will delete it! Please moderators do not ban me, think it's safety first?
Being anxious about these things, I checked all the .dll files present in the indicated folders, the only suspects are the ones below, do you have them too?

dll.webp


Instead, as far as .exe files are concerned, these are the ones I found, even here if anyone notices something suspicious, I think it could be useful for everyone to share this information:

exe1.webp

exe2.webp

exe3.webp
 
Stats from Steam today:

Most played racing sims (simultaneous users).

1. Assetto Corsa 18.959
2. F1 25: 9704
3. Le Mans Ultimate: 8540
4. Assetto Corsa Competizione: 4816
5. Assetto Corsa EVO: 3146
6. Automobilista 2: 1922
7. Assetto Corsa Rally: 991
8,. iRacing: 940
9. F1 24: 759
10. EA Sports WRC: 694

AC1 is on top of this list, every single day with a huge margin.

Of course sims can't compete against titles like GTA but on the pure sim list AC is on top and doesn't seem to be going anywhere.

 
Stats from Steam today:

Most played racing sims (simultaneous users).

1. Assetto Corsa 18.959
2. F1 25: 9704
3. Le Mans Ultimate: 8540
4. Assetto Corsa Competizione: 4816
5. Assetto Corsa EVO: 3146
6. Automobilista 2: 1922
7. Assetto Corsa Rally: 991
8,. iRacing: 940
9. F1 24: 759
10. EA Sports WRC: 694

AC1 is on top of this list, every single day with a huge margin.

Of course sims can't compete against titles like GTA but on the pure sim list AC is on top and doesn't seem to be going anywhere.

Checking the full list, it surprised me that RFactor 2's all-time peak wouldn't even make it top5 in this list. I see it recommended so often that I thought it'd be a lot more popular.
 
I was learning about [CustomEmissive] and decided to fix (and share) the light bulbs not glowing on Indianapolis Motor Speedway 2.0 by damone13x.
Install the track
Install Indianapolis GP facelift extension 0.96 by BoBaHK
Install Indianapolis (damone13x) shader overhaul and night lights 4.3 by Rainmaker

Replace the ext_config.ini (remove ".txt")

NOTE: the code I've added at the end of Rainmaker's ext_config.ini is from CrisT86. I only added a couple of [CustomEmissive] sections and some other little twicks.

All credits go to damone13x, BoBaHK, Rainmaker and CrisT86
 

Attachments

Stats from Steam today:

Most played racing sims (simultaneous users).

1. Assetto Corsa 18.959
2. F1 25: 9704
3. Le Mans Ultimate: 8540
4. Assetto Corsa Competizione: 4816
5. Assetto Corsa EVO: 3146
6. Automobilista 2: 1922
7. Assetto Corsa Rally: 991
8,. iRacing: 940
9. F1 24: 759
10. EA Sports WRC: 694

AC1 is on top of this list, every single day with a huge margin.

Of course sims can't compete against titles like GTA but on the pure sim list AC is on top and doesn't seem to be going anywhere.

iRacing is much more than that, as this is only the one who start the game thru Steam and not the iRacing launcher
 
I've saved everything. It's doable, my neanderthal mind can. Phew.
Now I need the sartori, the moment of clarity and the decisional power, to go through that.

I'm amazed @Tetri a wonderful excuse to take the Capri Zakspeed on track again.
 
Checking the full list, it surprised me that RFactor 2's all-time peak wouldn't even make it top5 in this list. I see it recommended so often that I thought it'd be a lot more popular.

I also find AC Rally numbers crazy low, considering how much hype there has been. It's a decent rally game and will hopefully get even better as time goes on.

F125 numbers aren't flattering, either... considering how popular F1 as a sport is. And F1 25 is a decent game. Nowhere near as good as F1 2020 but I played two full seasons of 25 and quite enjoyed it. Absolutely superior AI to any other racing game, not even close. Of course the huge majority of the F1 series players are in the console so the number is not really comparable.

Le Mans Ultimate has taken over from ACC obviously, although ACC is solid and still going strong. I prefer the LMU for GT3 cars though. Never really liked how ACC drove. There's something unnatural about the driving feel just like on EVO... other than that it's a superbly made sim and I think I have 200 hours on ACC/Steam.

The reason why I'm critical about ACC is that we have so many truly amazing racing simulation games. We're completely spoiled and AC1 is still the benchmark.

Just think how bad FIFA (or FC whatever they call it now) and PES are. Biggest sport in the world and their major games are pure arcade garbage. You can play 15 min halfs and get ZERO fouls in the whole simulated 90 minutes. How's that for realism, huh? And only two crap games to choose from. EA ruined Madden and NHL too.

If you look at the sim numbers overall, they are very low. Sim racing is relatively small thing in the gaming genre for obvious reasons... you need proper wheel and rig, etc. Considering that, it's even crazier how many great sims we actually have.
 
I also find AC Rally numbers crazy low, considering how much hype there has been. It's a decent rally game and will hopefully get even better as time goes on.

Le Mans Ultimate has taken over from ACC obviously, although ACC is solid and still going strong. I prefer the LMU for GT3 cars though. Never really liked how ACC drove. There's something unnatural about the driving feel just like on EVO... other than that it's a superbly made sim and I think I have 200 hours on ACC/Steam.

The reason why I'm critical about ACC is that we have so many truly amazing racing simulation games. We're completely spoiled and AC1 is still the benchmark.

Just think how bad FIFA (or FC whatever they call it now) and PES are. Biggest sport in the world and their major games are pure arcade garbage. You can play 15 min halfs and get ZERO fouls in the whole simulated 90 minutes. How's that for realism, huh? And only two crap games to choose from. EA ruined Madden and NHL too.

If you look at the sim numbers overall, they are very low. Sim racing is relatively small thing in the gaming genre for obvious reasons... you need proper wheel and rig, etc. Considering that, it's even crazier how many great sims we actually have.
AC Rally is low right now cos the system specs are relatively high and also content is small. But their roadmap is super impressive so I think numbers are going to start climbing as they release updates. LMU was the same, small numbers to begin with but now has regular higher numbers as the content has increased.

LMU has good physics, but honestly their attitude towards their customers on discord is shocking and they don't care about anything but coining the multiplayer, so its just another iRacing.

AMS2 is my personal favourite now, has been for a while, but this 2005 update just got so much right it was amazing. Can't wait for their stuff to come out this year. Unfortunately it'll never shake the stigma of its original physics, so the numbers will never get as high as they deserve to be.

AC1 will remain king as long as there is no successor that allows modding as freely and easily as it does.
 
AMS2 is great but man why can't I choose the content I wanna install ? Cuz 127gb is a pretty hefty size for a game in which I probably race, like, the same 5 series and couldn't care less about the rest.
 
AC1 will remain king as long as there is no successor that allows modding as freely and easily as it does.

It is. Just think about EVO approach.

1. You already have the best sim racing physics ever made (just ask Max Verstappen)
2. You have unlimited modding which made AC1 the eternal legend that it is now

They take two things that made AC a legend. And instead building around their new game around that legendary foundation (and fix the issues like AI, lack of flying starts, lack of blue flag AI, lack of modern F1 rules, lack of good oval AI, bouncy/slippery kerbs etc), they decided to throw it all away and start from the scratch. They probably never heard the old saying "Don't fix what ain't broken".

Even vanilla AC is magnificent. My brother has only a console and he's hotlapping the vanilla AC with his 12y son. It drives 100% same as the PC version. Sure it's only good for hotlapping and drifting but it's still great fun... and the actual driving is still from the other planet compared to any other driving sim. Yes including iRacing and LMU. And you can buy the Ultimate AC1 version for just a few euros. People who say that "AC1 is only good with the mods" are braindead. It's the best racing sim even without the mods.

Sim racing isn't really going anywhere. Many new titles come but they haven't got the driving feel as good as AC1. That's crazy. But then again we already have so much so no complaints from me. I just find it weird.
 
Last edited:
I've saved everything. It's doable, my neanderthal mind can. Phew.
Now I need the sartori, the moment of clarity and the decisional power, to go through that.

I'm amazed @Tetri a wonderful excuse to take the Capri Zakspeed on track again.
To make it simple (i swear i'll try to make it clearer):
My guess is you would use the DRM Aero (that's the zakspeed i've been using).

Unpack the car data, open the engine.ini. Spot the maxboost and the damage turbo boost threshold.

Capture d'écran 2026-02-17 100205.webp


You can now apply those values to your script.

ac.setTurboWastegate(0, 1.49, false) is the highest you can go with no engine damage for the AI.
the script would look like this (available for download in the linked file)

Capture d'écran 2026-02-17 100739.webp



If you were playing without damages and wanted the AI to have max power, you could set the wastegate to 1.58.


Is it easier this way?

It's been a quick attempt for me to force the Ai to use full turbo rather than its stupid 80% limit, but the main goal would be to have access to ALL setup values. I've seen numerous players there and there who would enjoy to make setups for the AI to use. It's not on my todo list rn but if anyone is interrested or want to have a test script, hey, let me know.
 

Attachments

Last edited:
Just let you know I did made a small writing on security to detect the naughty mods. It’s something real simplistic all based on my experience and my adventures on computers. Keep in your mind I’m not pretending to be the scientist on what has intrude your computer. It’s more of an simple manual for noobs
It’s not being perfect as I realizes that :banghead::
  • I must write down in a more general approach and not specific in Virus, malware, trojan or whatever it’s named.
  • While on mods now everyone will thinks it’s only the track & cars mods and not apps, lua, python scripts, skins, PPfilters etc etc. I must be clearer on this.
  • Did find a great Reddit wiki with a perfect overview that I will include.
So I will change that. Changed by V2.
Other remarks like a spell faults, not working links, wrongly stuff, please let me know by pm.
One request: It would also be great that couple of members would ask to the moderators for pinning my topic, (link below) as I think it’s also a good warning for other members to be vigilant on what they download for AC.

 
Last edited:
help Mills Metropark 1.2:I have always used this circuit without problems, with csp v0.3.0 it crashes, how can I fix it?
It's working with CSP 0.2.11. It stopped working after 0.3.xx. Anybody with understanding of CSP crash dump reports?

Screenshot 2026-02-17 160703.webp
 
Last edited:
Sharing a mod? Host it on GTPlanet Downloads. Free, public hosting for files up to 10GB in size.
Back