Suspension Car Editor

Discussion in 'Car Modding' started by Leonardo1962, Mar 23, 2014.

  1. Tommy78

    Tommy78 Registered

    Joined:
    Apr 3, 2012
    Messages:
    630
    Likes Received:
    725
    Very nice work Leonardo!! Amazing!
     
  2. Leonardo1962

    Leonardo1962 Registered

    Joined:
    Feb 12, 2012
    Messages:
    247
    Likes Received:
    69
    Hi Folks,

    I decided to release a first preview to this tool and for those of you, that are interested to test this tool. By using the tools, you may give a feedback and help to improve it.

    you can download the last version here

    Please keep in mind, that is only a unfinished BETA Preview and may contain lots of bugs!
    Please backup all your files of your mod, before you use this tool, because some files will be overwritten, without any notation.

    Many things still have to be improved. The generated mod still have some bugs. F.e. the suspension parameter files only works as PM file. (Haven't identified the bugs in the suspension ini file). For now some suspensions are very bad to drive, so am thinking to integrate a rating system, to make improving hints. The tool becomes more and more like a swiss knife for rfactor2 car modding


    Setup procedure:
    Important to consider before you start
    1) It is necessary to install the rFaktor2 SDK first (if you haven't done it yet)
    2) Go to rFactor2\ModDev\Vehicles\rTrainer path
    3) Create a new folder rFactor2\ModDev\Vehicles\rTrainer\maps\
    4) start gmotor2 mas file Utility (rFactor2\Support\Tools\MAS2.exe)
    5) unpack all files of rtrainer.mas to rFactor2\ModDev\Vehicles\rTrainer\maps\ (using MAS2.exe)
    6) After that, you should start this tool for the first time.

    At first time use, a template file structure in the tool home- folder is generated. Some files from rTrainer car are copied to the template path. The rims for example in Templates\Tires need a path "RIM_00" with a (rear right) " XXX_RIM_MAX.GMT" and all .dds textures. This rear right rim is rescaled and repositioned fitting to the desired position and tire (Tires.tgm) every time you push the "generate suspension button". Feel free to replace this XXX_RIM_MAX.GMT template by your content and copy your textures in this path. To make this tool working in DEV mode and game, i decided to give standard names for all files. This names may differ from your naming.

    You have to name your mod. Each time you rename your mod, a new mod is generated and the tool asks for driver and team names, for icons and some individual parameters etc. of your mod. You can add additional driver to your mod. Each driver can be named and combined to icons.

    This tools changes INI and HDV - Parameters by searching the parameters by name in the file and replace the line of this parameter. With this, upcoming parameters are compatible and are not changed. Not every HDV - Parameter is changed (yet). Therefore the tool needs existing files (HDV, INI, PM ect.) and it works best with a complete working mod. Some of the needed files are generated from scratch, some are copied from rTrainer from ModDev. Therefore it is necessary to install the rFaktor2 SDK and unpacking the rtrainer files.
    If you don't want to overwrite your content, pleace put only copies in the modDev mod folder.


    The user interface still needs some improvements.
    I recommend to use additional tools like 3DSmax or simed3d to edit missing GMT files etc.
    Please do not expect everything done perfectly. My time is very limited. :cool:
    If you don't like it, just delete it.


    Hope you can use it.
    Leonardo :)
     
    Last edited by a moderator: Mar 14, 2015
  3. alpha-bravo

    alpha-bravo Registered

    Joined:
    Dec 22, 2012
    Messages:
    1,374
    Likes Received:
    31
    First :) Many thanks Leonardo ! !
     
  4. alpha-bravo

    alpha-bravo Registered

    Joined:
    Dec 22, 2012
    Messages:
    1,374
    Likes Received:
    31
    Wow what a great tool.:cool: Now I need "some" time to explore your tool. Thank you.
     
  5. LeStrat

    LeStrat Registered

    Joined:
    Mar 17, 2013
    Messages:
    281
    Likes Received:
    145
    Thank you very much, Leonardo.

    This utility is amazing.
     
  6. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,517
    Likes Received:
    186
    Great! Can't wait to get home from work to download and investigate, this might be the Swiss Knife that can actually be used for other than cutting apples and opening beers :D
     
  7. Tommy78

    Tommy78 Registered

    Joined:
    Apr 3, 2012
    Messages:
    630
    Likes Received:
    725
    Thanks Leonardo! I will try today!
     
  8. Butters

    Butters Registered

    Joined:
    May 20, 2011
    Messages:
    134
    Likes Received:
    0
  9. smbrm

    smbrm Registered

    Joined:
    Nov 11, 2010
    Messages:
    440
    Likes Received:
    50
    I think this will be a fantastic tool. Anything that helps modders to develop more realistic suspension geometries has to be a good thing!
     
  10. Emery

    Emery Registered

    Joined:
    Oct 24, 2010
    Messages:
    3,035
    Likes Received:
    1,654
    Wow, I drop off the net for a couple months and look what turns up!

    Many thanks for releasing!
     
  11. Leonardo1962

    Leonardo1962 Registered

    Joined:
    Feb 12, 2012
    Messages:
    247
    Likes Received:
    69
    Hi folks

    my suspension and car editor tool did some further improvements.
    (now the game doesn't ctd and cars are driveable, even with suspension pm and chassis ini files)

    View attachment 15678 View attachment 15679 View attachment 15680
    Screen pictures

    I decided to release a second preview to this tool and for those of you, that are interested to test this tool.
    By using the tools, you may give a feedback and help to improve it.

    In Version V1.5 the changing of suspension with Trackbars doesn't work, sorry, this is fixed now, with version 1.51:

    you can download this tool here:

    Please keep in mind, that this is only a further unfinished BETA Preview and may contain lots of bugs!

    What is done in this Version V1.51b:
    ----------------------------------
    ■ setting rfactor2 main folder now working
    ■ startup now possible even without templates

    What is done in this Version V1.51:
    ----------------------------------
    ■ fixed Trackbar suspension editing (will become more user friendly in future)

    What is done in this Version V1.50:
    ----------------------------------
    ■ Edit parameter for of center of gravity has got a visualisation as black circle
    ■ tab sheets for rwing and front wing (can save but not visualize and edit yet)
    ■ tab sheets for files and weights (not all are finished or even started)
    ■ tab sheets for engine torque and power (can save read and visualize not edit yet)
    ■ load vehicle dimension out of a rf2 GMT per popupmenu
    ■ improved editing of rideheight and many other geometry data
    ■ bugfix of renaming, updating filenames after changing the modname
    ■ comfortable adding a new driver inkl. reading a template .veh file
    ■ Update tire dimension from template TGM before it is tire constructed as gmt
    ■ Now editable: distance from Wheel to carosse
    ■ Springrate is now calculated and visualised in tabsheet springs
    ■ suspension movement visualised be mouse movement in tabsheet springs
    ■ force of spring vs suspenson travel calculated and visualised
    ■ Added some popup menus (left mouse)
    ■ Organized tabsheeds with improoved bitmaps and groupboxes
    ■ popupmenus organized and added more save optimisation and save menu items
    ■ Calculation of pushrod set relative to spindle and calculation improoved
    ■ improoved generation of mod_tire.TBC (better default values)
    ■ Added some optimisation routines (calculation of recommended values)
    ■ Calculation if PM and INI files organized and bugfixed
    ■ Now you can read and visualize the engine data
    ■ engine data entry in hdv file integrated (inserting lines)
    ■ visualisation of bouncing the suspension with undertray
    ■ reading suspension PM and INI and hdv files optimized with upper toolbuttons
    ■ generating the gmt for suspensuion tires and rims files optimized
    ■ right button Toolbuttons reorganized
    ■ improved bitmaps and Menu symbols
    ■ added some tools in Menu for converting dds and TGAs using nvdias DDS tools
    ■ added demo button in main menu for generating a rtrainer suspension
    ■ Calculation and GMT creation of driveshafts and visualisation (fe. rear or front shafts)
    ■ generating of Light GMTS with Halo Effect and light beam at editable positions
    ■ generating of backfire and heat fx effects GMTs at editable positions
    ■ generating GEN file from scratch
    ■ generating Gears.INI files from scratch (with nearly all most possible gears)
    ■ editable steering / lock parameters and steering pivot point
    ■ editable brake pressure parameters
    ■ editable left or right side driver positions
    ■ editable cockpitinfo tachometers textures and analog gauges needle positions
    ■ detailed weight / mass overview (not finished yet)
    ■ copy arm geometry to clipboard


    next steps will be:

    - recommending physical good suspension arms
    - visualisation of driving resistance and calculating physical wings behaviour
    - detailed suspension .GMT geometry calculation (suspension arms for max lod)
    - calculating mcpherson suspension and GMT geometry and PM/INI files
    - geometry ratings (recommendations for improvements)
    - tire, rim shape and textur- generator (this might com lately)



    May be I will release some video tutorials for using it ..
    (Haven't got time to use it for myself :confused:)

    This tool still needs some more improvements, there is endless much to do.
    I recommend to use additional tools like 3DSmax or simed3d to edit missing GMT files etc.
    Please do not expect everything is perfect, there might be many BUGS.

    If you use this work for your mods, please include add a credit to "Leonardo1962" in your mod's readme document. Thanks.

    If you don't like it, just delete it.


    Hope you find it useful.

    Leonardo1962 :)
     
    Last edited by a moderator: Mar 14, 2015
  12. gagipro

    gagipro Registered

    Joined:
    Feb 26, 2013
    Messages:
    473
    Likes Received:
    7
    I didn't mod for a long time ago!

    A virud crypted all my files :)

    But your tool man... I think it will make me mod again !!!

    Thanks a lot for rF2 community !!!
     
  13. Raintyre

    Raintyre Registered

    Joined:
    Jul 28, 2013
    Messages:
    228
    Likes Received:
    187
    Great work!
     
  14. Rik

    Rik Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,174
    Likes Received:
    9
    Thanks Leonardo :D
     
  15. smbrm

    smbrm Registered

    Joined:
    Nov 11, 2010
    Messages:
    440
    Likes Received:
    50
    Hello Leonardo. Interesting tool. Thanks very much. I am wondering however, there appears to be nothing in the documentation that suggests where the tool should be located so that it can connect to the trainer files requested. When you open the exe there is request for maps files for the trainer etc.?
     
  16. Leonardo1962

    Leonardo1962 Registered

    Joined:
    Feb 12, 2012
    Messages:
    247
    Likes Received:
    69
    Thanks for the question, smbrm,

    You can install it anywhere.
    The tool gets rfactor2 main folder from registry, but it needs some gmt and textures files from rtrainer.mas file, that is shipped with the dev mode.
    I packed some necessary template files with the zip file, so it does work even without having the rtrainer.mas expanded.

    The question at programstart will vanish, if you expand rtrainer.mas to the map folder.

    good moding success

    Leonardo (Peter) :)
     
    Last edited by a moderator: Feb 8, 2015
  17. smbrm

    smbrm Registered

    Joined:
    Nov 11, 2010
    Messages:
    440
    Likes Received:
    50
    Thanks, I understand your reply. Question though, would there be value in allowing the user to point to a user chosen rfactor2 main folder as some may have more than one? Or maybe I am missing something about rfactor2 structure?
     
  18. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,517
    Likes Received:
    186
    It would be helpfull to be able to manually point to rf2 install, personally I have several on my PC
     
  19. Leonardo1962

    Leonardo1962 Registered

    Joined:
    Feb 12, 2012
    Messages:
    247
    Likes Received:
    69
    You're right, normaly you can easy input the rFactor2 main folder and it should work.
    But I noticed that this entry is ignored. I will fixed it in version 1.51b and put in the downloadlink.

    to help you:
    You can edit the "Reifen_Editor.ini" file in the folder of "Reifen_Editor.exe".
    Search the label rFactor2_Pfad : String = 'F:\rFactor2\'; and change it to the folder you like.
    Restart the tool and it should give you the wished chosen rfactor2 main folder.

    Hope this helps.

    Leonardo (Peter) :)
     
    Last edited by a moderator: Feb 9, 2015
  20. alpha-bravo

    alpha-bravo Registered

    Joined:
    Dec 22, 2012
    Messages:
    1,374
    Likes Received:
    31
    Peter many thanks for your great community contribution and your effort :)

    So don't be afraid no feature request from my side but since there are more than one versions out there (and hopefully some more in the future) I think it would be useful to edit and update
    the first post in this thread with the current version and download infos.

    thx alex
     

Share This Page