DonnerTechRacing ECUs

DonnerTechRacing ECUs 1.5.7

Login or Register an account to download this content
Here it is.
Fuel injection for the satsuma + other additions.

This is a big change. Multiple parts of the game itself have been replaced with new mod parts.
Although I tested alot it is still possible that this update includes many bugs and not working as it they should features.
Adding to that... I basicly rewrote the entire code basis (Im guessing ~90%)


!!!IMPORTANT:
Screw positions and folders have changed. I recommend removing all save files.
YOU HAVE TO DELETE THE screwable_part.txt file. If not done... some screws will be at the wrong positon.

Main changes of interest and more detailed information;
  1. Fuel injection
    • Several parts have to be bought and old parts have to be replaced (namely fuel pump, electrics, distributor, racing carb)
    • You also need to buy programmer.
    • You then insert one chip (you can buy multiple of them) and open the programmer ui.
    • You will then see an interface with 14x17 input fields where you have to put in a value
    • It works like so: y axis is your throttle position (on joystick this is how far you press the switch)
    • x axis is the rpm of your car.
    • When the engine is running both values will be used to select the correct value.
    • This value is then used for the air/fuel ratio.
    • WARNING: values in the input fields are not the same as the values displayed on the af gauge.
    • They will be color coded (blue means lean, red means rich
    • With this you are able to absolutely fine tune your engine.
    • Info: to get the most out of this feature. I recommend using a controller
      Incase you don't want to/can't use one there is also an optional (EXPERIMENTAL) checkbox in the settings that will allow the same functionality as a controller when using a keyboard.
      Warning: this checkbox can sometimes be a bit buggy.
    • In the interface you can also set the spark timing and enable a start assist (this will prevent the engine from dying in first or reverse gear when trying to start moving.
    • There is also a reset button that will set all values to 10.0 and Errors are shown in a field below the table.
    • After programming the chip and inserting it into the smart engine module (and having all fuel system parts installed) the system will start working.
  2. Bug reporter
    • This is a new tool
    • Inside Mod Settings of the mod you can find a section called "Bug reporter" (at the bottom)
    • There is a "Generate" button that will create a .zip file on your desktop will all the information i need of your installation.
    • This includes: output_log.txt, full my summer car save game, all files inside the config folder for the mod.
    • The archive will be password protected and an id is generated.
    • The password is only known to you and only displayed after sucessful creation of the archive.
    • I now require AND expect this file (and the password) from you if you have a problem.
    • Send me the file (upload it to something like gdrive) and the password in a private message.
    • Above the "Generate" button is also an optional checkbox called "Agree to upload to server"
    • This is optional. If ticked you will be able to press the "Yes" button after creation of the bug report.
    • When you press yes. The file will be uploaded to my server. You then only have to send me the id and password shown in a private message.
    • Info: Every sunday (7days) file upload dates will be checked all files older than 7 days will the be deleted)
      So if you upload a file on saturday... the file will be deleted the following week on sunday (so longer than 7days until deletion).
    • Info2: files are uploaded !!!!WITHOUT SSL!!!! This is unfortunately a limitation of the outdated unity engine version where a bug prevents ssl communication.
      No sensitive data is included in my bug report generated!
    • Info3: Your ip used to upload the file is beeing stored in a database. This ip is used to ONLY prevent spam!
      After an upload for a mod. Your ip will be banned for 10minutes from uploading more reports (generating to local is not affected).
      The time until unbanned is displayed when trying to upload another one.
      report can be downloaded from the server by going to this website: MSC Bug report requester (you need the report id and mod id (found in Mod Settings)
  3. Reverse camera
    • I made a reverse camera as an optional addon for the info panel
    • When you have it installed and you put the car in reverse. The screen of the info panel will change to the view of the camera at the back
    • It also includes a light that will turn on too for usage in the dark.
  4. Rain & Light sensor + logic
    • When the rain sensor is enabled the wipers will turn on as soon as it rains.
    • When the light sensor is enabled the light will turn on as soon as it is dark (time based)
  5. Shift light
    • I added a shift light (the bar above the screen)
    • It will turn from green to orange to red based on the rpm (gradient)
    • When close the redline (where the redline on the display starts) it will start to blink
    • Green line and redline values (rpm) can be changed (gradient based)
    • Info: There is currently no text on the page (the 3rd value is greenline, the 4th value is redline)
  6. Logger
    • I also added a basic logger that will save more important information about your game incase there is a problem (the file is saved unter "Mods\Config\Mod Settings\DonnerTech_ECU_Mod\ecu_mod_logs.txt"
  7. Old file renamer
    • I changed most file names to for example remove the "ecu_mod_" prefix.
    • The old file renamer tool will rename all files automatically before the mod loads.
    • When the mod/game has loaded a message box will apear letting you now what file hase been changed to what
Full changelog (v1.4):
  • Code optimization
  • Added missing override for turbo page
  • Added missing screw reset for info panel
  • Added model for reverse camera
  • Added model for rain & light sensorboard
  • Added logic for rain sensor
  • Added logic for reverse camera
  • Added reverse light to camera
  • Changed resolution of reverse camera to 720p
  • Added settings change prevention for 2step rev limiter rpm value (you can now only change the value if you are on the page for it
  • Fixed RPM needle OVERRIDE replacing lowBeam image.
  • Fixed carb not beeing adjusted when using racing carb.
  • Added product images for reverse camera and rain&light sensorboard
  • Full code reworked
  • Added logic for light sensor
  • Added shift indicator
  • Added ability to set shift indicator green line and red line (it's a gradient. so ex. 6500 won't mean it will instantly switch to green at 6500)
  • Added logger
  • Added bug reporter that compresses all needed files for a complete bug report into a .zip file, password protects it and saves it on the desktop.
  • Added ability to upload bug report to my server (files are deleted after 7days), (ip will be logged in a database to prevent spam (only allows a new report for a mod every 10 minutes))
  • Removed "Reset All" button from settings.
  • Remade all product images in blender.
    • Changed image override file names:
    • OVERRIDE_ECU-Mod-Panel-Page0.png => OVERRIDE_main_page.png
    • OVERRIDE_ECU-Mod-Panel_Modules-Page1.png => OVERRIDE_modules_page.png
    • OVERRIDE_ECU-Mod-Panel_Faults-Page2.png => OVERRIDE_faults_page.png
    • OVERRIDE_ECU-Mod-Panel_Faults-Page3.png => OVERRIDE_faults2_page.png
    • OVERRIDE_ECU-Mod-Panel_Tuner-Page4.png => OVERRIDE_tuner_page.png
    • OVERRIDE_ECU-Mod-Panel-Turbocharger-Page5.png => OVERRIDE_turbocharger_page.png
    • OVERRIDE_ECU-Mod-Panel-Assistance-Page6.png => OVERRIDE_assistance_page.png
    • OVERRIDE_ECU-Mod-Panel-Airride-Page7.png => OVERRIDE_airride_page.png
    • OVERRIDE_Handbrake-Icon.png => OVERRIDE_handbrake_icon.png
    • OVERRIDE_Indicator-Left-Icon.png => OVERRIDE_blinker_left_icon.png
    • OVERRIDE_Indicator-Right-Icon.png => OVERRIDE_blinker_right_icon.png
    • OVERRIDE_LowBeam-Icon.png => OVERRIDE_low_beam_icon.png
    • OVERRIDE_HighBeam-Icon.png => OVERRIDE_high_beam_icon.png
    • OVERRIDE_Rpm-Needle.png => OVERRIDE_needle_icon.png
    • OVERRIDE_TurbineWheel.png => OVERRIDE_turbine_icon.png
  • Changed names of save files.
    • ecu_mod_ABSModule_partSave.txt => abs_module_saveFile.txt
    • ecu_mod_ESPModule_partSave.txt => esp_module_saveFile.txt
    • ecu_mod_TCSModule_partSave.txt => tcs_module_saveFile.txt
    • ecu_mod_CableHarness_partSave.txt => cable_harness_saveFile.txt
    • ecu_mod_MountingPlate_partSave.txt => mounting_plate_saveFile.txt
    • ecu_mod_ModShop_SaveFile.txt => mod_shop_saveFile.txt
    • ecu_mod_SmartEngineModule_partSave.txt => smart_engine_module_saveFile.txt
    • ecu_mod_CruiseControlPanel_partSave.txt => cruise_control_panel_saveFile.txt
    • ecu_InfoPanel_partSave.txt => info_panel_saveFile.txt
    • ecu_reverseCamera_saveFile.txt => reverse_camera_saveFile.txt
    • ecu_rainLightSensorboard_saveFile.txt => rain_light_sensor_board_saveFile.txt
    • ecu_mod_screwable_save.txt => screwable_saveFile.txt
  • Added auto renamer for old file names. The auto renamer will automaticly rename all files to their new name (only if a file with the new name doesnt exist)
    A Message box is also displayed when files have been renamed showing each file that got renamed ex.: old name.xyz => new name.xyz
  • Made some values on ecu panel only update after x seconds (clock for example is updated each (realtime) second).
  • Fixed Clock on info panel not working "jumping around"


  • !!!Screw/Part positions have changed. Recommend deleting the file Mods\Config\Mod Settings\DonnerTech_ECU_Mod\screwable_saveFile.txt

Its possible to install the normal or twin carb and the fuel injection parts (currently only racing carb install is prevented) -> will be fixed in a later update.
fuel strainer is still needed -> cause of this is that the fuel strainer does not work like most of the other parts.
Injector wires, electric fuel pumps, fuel lines, spark plug wires done now too
Teaser.png
I have a small update to get out.

I was planning on finishing the new fuel injection update this weekend.
That is not gonna happen.

The main logic is already working quite good and makes getting your car dialed in wayyyyy harder as you now have to set 14x17 values ( 238 total)
from 10.0 up to 22.0 (with 0.1 steps).

So there is that.

The reason is simple...
I added other features :D

One is gonna be a Logger which will make getting the values I as the maker actually care when somebody wants to report a bug.


The other one is a bit more interesting...
I've made an auto bug reporter
It compresses all needed files to a zip.
For my mod this includes:
  • The games save files
  • Files inside the Mod Settings folder (mod save files)
  • And the output_log.txt file from ModLoader
The Bug reporter will compress all files to a .zip file and place it on your desktop.
The archive is also password protected and only you get the password displayed on creation.

Not so special yet huh?
but...

After the creation of a bug report you have the option to upload the archive to my server.

You then only have to send me a private message telling me:
  • whats wrong
  • an id displayed after creation
  • and the password to access the archive.
And for security reasons the file will be automatically deleted from my server after 7days.


Interesting for other mod makers

Adding to that I want to allow other people to use this "service".
So (after it's fully done) I wan't to allow other mod makers to have them upload there reports to my server and make them accessible to them.

If you are interested in this as a mod creator.
You can then message me here or on nexus and I will show you/tell you how to implement it.


-> But be warned if I get notified of you including sensitive data in the report/abusing the system or using it for anything else, your mod will be banned from accessing the service.
I have been working hard on the new update bringing fixes, improvements ...
and Fuel Injection.

Here are two teaser images of my current work.
(subject to change)


Fuel Injectors, Fuel Rail, Throttle bodies and new texture (used the one from the game itself).
Screenshot_4.jpg


How you will have to programm it (is supposed to work like in reallife though not yet done):
(values set are an example and not how you will have to set them)
(bigger value = rich/more fuel, smaller value = leaner/less fuel).
Screenshot_3.jpg
Hello,

I have started working on the mod again and even have added some new features to the mod.

For the last two weeks (weekends) I have worked on a complete code rework.

Most of the code is rewritten to make it easier to implement features now.

(Around 2000 lines of code have been removed). Though some of them obviously have been replaced with new lines so im guessing ~ 1000 lines total.

I also added featues like an auto renamer for old file names (if the save file name changed, it will auto change the file name on load).

The last review of the mod has made me think about some features I had thought of a while ago myself.

Namely: More modern engine management (getting rid of the carburator and replacing them with injectors)

The most work is propably needed for the 3D models.


Not sure if I will ever be able to implement that feature in a way I can accept it.

We will see.
First off: I have nothing against you sharing your savegames that have my mods in them (save files - not mod files)

I also have nothing against people making videos about my mods (I usually enjoy them, atleast if there are in a language I understand :D)

The following text was also added to the top of the Overview, please read it:

I have seen several people uploading videos of my mods without linking to the original source
or even giving versions of my mods out without asking if the are allowed to.

Please keep in mind that I as the creator own the copyright to those mods and assets.
Which means I'm also able to for example on youtube: get your video taken down.

I don't think this is necessary in any way so I ask you very nice to please link to my original work either to this site racedepartent or nexus (or both).

I will usually try and ask you to add links to my mod or remove files that include my mods.

You are not allowed to earn money with my mods -> not even ****** or crap like that!
If not allowed by me (which usually won't happen).

Do not share files that have my mods in them (like savegames).


This is not to prevent you from sharing your save game like
for example advertized as "... turbo ... savegame" or anything
but to prevent outdated files roaming around and in return causing people to come to me and ask why there version of the mod won't work and ask for a fix (usually without supplying any useful information).

*Sharing config files found under Mod Settings is fine and obviously needed for a savegame

Just please link to them, If a person is interested they can get it from the original source with the latest updates and fixes.
Thanks to the bug report on nexus:

This prevents the 2step setting from beeing able to go below 2k rpm or above 10k rpm.

Changelog v1.3.1:
Added limits for 2step revlimiter setting (max 10k, min 2k)
Here comes the info panel. It displays alot of information.
It can be bought at Fleetari's repair shop

Information about the ecu-panel:
Page can be switched with either the arrow keys on the panel using left mouse or "USE" key
or by using the ModLoader keybinds that can be changed in the Mod Settings.

Some values can be pressed on (touchscreen style).
if a value says "Select xyz" it means you can adjust it. When you press on it the value should turn green and you can adjust them using either pressing + or - on the panel or using the keybinds.

The images used can be changed by naming them like this:
Page 1: OVERRIDE_ECU-Mod-Panel-Page0.png
Page 2: OVERRIDE_ECU-Mod-Panel_Modules-Page1.png
Page 3: OVERRIDE_ECU-Mod-Panel_Faults-Page2.png
Page 4: OVERRIDE_ECU-Mod-Panel_Faults-Page3.png
Page 5: OVERRIDE_ECU-Mod-Panel_Tuner-Page4.png

Handbrake Icon: OVERRIDE_Handbrake-Icon.png
Handbrake Icon: OVERRIDE_Indicator-Left-Icon.png
Handbrake Icon: OVERRIDE_Indicator-Right-Icon.png
Lowbeam Icon: OVERRIDE_LowBeam-Icon.png
Rpm needle: OVERRIDE_Rpm-Needle.png
Turbinewheel: OVERRIDE_TurbineWheel.png

and then placing them into the assets folder of the ecu mod

Gimp files are included in the archive


The original ecu control panel was also removed and is no longer in the mod.
Changelog v1.3
-- Added --
  • Added ECU-Panel
  • Added Animation to ECU-Panel
  • Added information to display to ECU-Panel
  • Added pages logic to display different values changeable with arrows
  • Added TouchScreen logic
  • Added control for modules.
  • Added Faults to Panel displaying wear status
  • Added Faults to panel displaying conditions of some parts (more to come)
  • Added logic for disabling the airFuel calculation -> will make A/F stay fixed without fluctuation thanks to @Rodrigz for this suggestion
  • Added Mod communication for values of turbocharger-mod
  • Added ECU-Panel page for turbocharger-mod
  • Added stage2Rev rpm to ecu-panel. This value can be adjusted by pressing on it and then using + - buttons
  • Added screws to info panel

-- Changed --
  • Changed cruise control throttle calculation to be more simple. This also fixes the problem with "car not reaching set speed"
  • Changed set cruise control logic. Now everytime if you are driving above 20km/h the cruise control speed will be set to the current speed driven.
  • Changed debug information position
  • Changed ALS logic to mimic Antilag on Deceleration instead of by using a "button"
  • Changed ProductImages of all parts
  • Changed max rpm to 8500 as 9000 would blow up the engine most of the time
  • Changed stage2 to 2step
  • Changed ALS logic to only have an affect if the turbocharger mod is installed (to create flames and backfire). This is now 100% for showoff and does not have an effect on driving

-- Fixed --
  • Fixed Cruise Control not applying throttle (this is a workaround as the previous way for some reason no longer works. This might cause an unpleasent throttle sound now)
  • Fixed Mod Communication between ecu and turbo
  • Fixed ALS not disabling for Turbo when control panel was removed
  • Fixed maxRPM not beeing increased when smart engine module is installed

-- Other --
  • Removed the original control panel including all of the code for it
  • Updated to ScrewablePartAPI v1.3
  • ALS is now more for showoff
  • Complete Code rework
  • Improved performance ALOT
For people already using the turbocharger mod running on v2.x :

In the v2 of the turbocharger mod the screwablepart api changed.
The version supplied with the ecu-mod is outdated as it is missing the new functions.

Please don't copy the ScrewablePartApI.dll inside the ecu mods archive into your mods folder.

Or after doing so paste the files of the turbocharger mod into your Mods folder again.

In The next update the ecu-mod will also have the latest version and all files can be pasted back in again.

Sorry for errors. Writing quick on phone and have not time.
Another Teaser for the Display.

Not sure yet what should be displayed on it when finished.
l/100km and km left are calculated and only accurate when not on throttle.


1.jpg
i fixed some problems with clutch not getting detected like it should.

I also added 2 new functions as you can see in the changelog.

If you have problems with the cruise control not working. Please check your cars condition with MSCEditor.
You might have a damaged/not installed part.



Changelog (v1.2.2)
  • If cruise control is off and you press the RES button again it will reset the cruise control to 0 km/h
  • If cruise control is on and you press the SET button again it will set the cruise control speed to the speed you are currently driving (ex. 121km/h = 120km/h, 120km/h = 120/kmh)
  • some small optimization
  • changed the way clutch is detected. Now if your clutch is ****ed it won't prevent the cruise control from not working
  • changed the way brake is detected. Same as clutch, should not be needed but just to be sure.
  • added current speed to DEBUG information
I have fixed a bug i noticed just now with a quick bug fix (nothing to do with cruise control)

I also added DEBUG information for the cruise control logic.
This can be toggled in Mod Settings of the ECU mod.
It will tell you all important values that are needed for the cruise control to work.
Any value that is false is not correct!

Everything should be true and your set speed above 20 km/h.



Changelog (v1.2.1)
small bug fix.
added cruise control debug information -> button is in Mod Setting. Everything that if false HAS TO BE TRUE!
Hey, I just updated some of the information on the Overview.
I updated the images on the page to show the latest parts.

I have also published the mod on nexus too.
(I can't post a link to it.
You now have to screw in most of the parts to be able to use them

THIS MOD NEEDS ScrewablePart API!!. This is included in the archive!

ScrewablePartAPI Github page

***
For the cruise control to work:
mounting plate has to be installed and screwed in
cable harness has to be installed.
smart engine module has to be installed and screwed in
cruise control panel has to be installed
electricity has to be on

You need to set a speed equal or above 20km/h
You also have to drive atleast 20km/h or it won't enable.
If you press the brake, clutch or handbrake it will be disabled.
***

Most important changes:
Cruise control.
most parts have to be screwed in.

WARNING:
There is a problem with optimization. This will have an impact on fps even if using MOP.
Im working on fixing this but that might take a while.
- If there are problems with errors FIRST!!!! BEFORE POSTING ABOUT MOD NOT WORK FIX!!1q2523523523
DELETE SAVE FILES IN <Mods installLocation>/Mods/Config/<Mod>

Changelog (v1.2)
  • Added Mods communication with DonnerTechRacing Turbocharger mod
  • Changed ALS to be more realistic. You have to enable it now and when you want to use it press the "USE" key (will only work when not on throttle to prevent abuse)
  • Added screws to mounting plate and all modules
  • Module has to be screwed in fully to have effect (mounting plate has to be screwed in too)
  • Fixed name of control panel (removed double l in control)
  • Added CruiseControl panel
  • Added cruise control logic (smartEngineModule has to be installed otherwise it won't work)
  • added cruise control panel product image
  • fixed smart engine module product image again
  • EDIT: location of shop was changed to repair shop instead of Teimo's shop.

I hope i have tested most stuff but I'm not sure. Please let me know about bugs you have found or if you have suggestions.
I forgot to remove spysi's Supercharger mod from the ModLoader metadata conflict list. This should be fixed now and you can load ECUs mod, my Turbocharger mod and spysi's Supercharger mod without ModLoader conflicts.

I can't guarantee them working together great, both turbocharger and supercharger mod change the same values to archive more power so that might cause trouble.

I can't do anything against about that
I'm getting really annoyed by the idiots that still ask for pirated version even though i clearly state I don't support that.

I don't want them in BOTH DISCUSSION and REVIEWS!

The next update will be without SteamCheck. Pirates won't get any support from me and I will report anything mentioning pirated copy of the game .
I will also report your comment when you post your output_log.txt and I find out you are using a cracked version (WHICH IS EASY SO DON'T EVEN TRY).

If I'll keep getting annoyed by those people
I will either:
  • Move completly to nexus (+add PiracyProtection back and remove it from here) (because i can remove/ban those people myself and don't need to wait for the report to get resolved)
OR
  • Completly remove the mod both from nexus and racedepartment forever
I don't really want to completly move to nexus as I like racedepartment more (and most of the people commenting here on the modpage).

So you decide: annoy me and I'll be gone
Changelog (v1.1.4)
  • fixed problem with TV-Mode or camera changing mods
  • fixed stage2RevLimiter/Launch controll can always be enabled
  • fixed stage2RevLimiter/Launch controll won't disable when smart engine controller module is removed
  • added ModConsole output when Mod starts loading
  • fixed some als module bugs
  • fixed some stage2 bugs
  • when als is enabled and is backfiring. Air fuel ratio will be richer (more fuel -> backfire)
  • some optimization
  • added SixGears and AWD
  • also fixed AWD (awd can now always be toggled) (won't set it on startup you have to toggle the checkbox once after game is loaded)
  • SixGears sets itself on startup based on the last Mod Settings checkbox ticked
  • fixed Smart Engine Controll Module product image
I hope I din't forget something.

If you have suggestions or found bugs let me know.
(remember output_log.txt)
fixed bug with OnLoad
  • Like
Reactions: DoingBits

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top