1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Open Madness Track Tools

Discussion in 'Automobilista 2 - Modding, 3rd Party Apps & Tools' started by ohyeah2389, Aug 1, 2026.

  1. ohyeah2389

    ohyeah2389 It's The Little Things

    Joined:
    Feb 2, 2018
    Messages:
    79
    Likes Received:
    83
    On the last day of 2025, I released the world's first original third-party track model for Automobilista 2, G&J Kartway: G&J Kartway for AMS2

    Recently, I released the world's second original third-party track model for Automobilista 2, Mid-Ohio: Mid-Ohio for AMS2

    Before either of those releases, on June 27th, 2025, I began research into the possibility of creating original track models for Madness Engine games. Those two tracks (and many other internal testing examples) were the result of this research. However, they were not the goal of this project. The goal was always to provide this capability of original third-party track model authorship to the public.

    Today, I am happy to release v0.1.0 of Open Madness Track Tools: https://github.com/ohyeah2389/Open-Madness-Track-Tools
    omtt_project_icon.png
    ​
    This is the exact same set of software I used to author my G&J Kartway and Mid-Ohio models for AMS2. Its principal component, TrackCompiler, is a Blender extension that provides a way to author and export the specialized and proprietary Madness Engine formats required to get an original track model running. The release and repository also contains two command-line utilities, PhysicsMeshCooker and TrackPacker, which provide PhysX collision mesh cooking and BFF packaging support respectively.

    Each release, including this first one, will contain an example project, which is based on my Meadowdale Raceway model for Assetto Corsa, with added authoring data provided as an example and playground for learning the toolkit's features and functionality before you create your own tracks from scratch. The repository also contains documentation, including a tutorial, which are intended to walk you through how to properly author and export data using the toolkit.

    You can download the latest release here: https://github.com/ohyeah2389/Open-Madness-Track-Tools/releases

    Please understand that this is still early days for the toolkit, and things can and will be improved over time. If you would like to help out, please create detailed and appropriate issue items under the issues section of the repository. Advanced developers are welcome to fork the repo and open pull requests, provided that the contributing guidelines are respected.

    I humbly request that you do not use this toolkit to attempt conversion of track models to AMS2 or PC2 to which you lack the necessary rights to modify and/or redistribute.
     
    • Winner x 33
    • Like x 5
    • Friendly x 2
    • Informative x 1
    • Useful x 1
  2. ayrton2388

    ayrton2388 Active Member AMS2 Club Member

    Joined:
    May 10, 2022
    Messages:
    125
    Likes Received:
    70
    This is amazing, I really hope AMS 2 track modding gets some traction now!
     
    • Agree Agree x 3
    • Creative Creative x 1
  3. jota.191

    jota.191 Proton-Powered Sim Racer AMS2 Club Member

    Joined:
    Jul 3, 2022
    Messages:
    667
    Likes Received:
    410
    Thank you for this amazing job you have done.
     
    • Agree Agree x 2
  4. JavierZumaeta

    JavierZumaeta Active Member

    Joined:
    Aug 28, 2020
    Messages:
    399
    Likes Received:
    245
    a video demo would be fantastic
     
    • Like Like x 2
  5. ohyeah2389

    ohyeah2389 It's The Little Things

    Joined:
    Feb 2, 2018
    Messages:
    79
    Likes Received:
    83
    No, the toolkit does not offer an AIW import feature. The toolkit is intended for creation of content, not modification of existing content.
     
    • Like Like x 2
  6. immortalx

    immortalx Member

    Joined:
    Aug 9, 2026
    Messages:
    19
    Likes Received:
    34
    I just signed up here only to say a big thank you! I can't even begin to imagine the amount of research and reverse engineering it took you to come this far.
    Although I haven't experimented with it yet, the tutorial is so detailed and nicely written.
    Huge respect!
     
    Last edited: Aug 9, 2026
    • Like Like x 2
    • Friendly Friendly x 1
  7. immortalx

    immortalx Member

    Joined:
    Aug 9, 2026
    Messages:
    19
    Likes Received:
    34
    I proudly present my "The sky is the limit" track j/k
    Now seriously, I followed the tutorial but took many shortcuts by copying some elements (GUI, cameras) from the example project. I've meshed up the shaders and trigger objects so road and terrain seem alpha-blended and it drives backwards. But it's a start! Trying to convert an AC track of mine.
    Thank you so much, the tools are incredible!
     
    • Like Like x 7
  8. immortalx

    immortalx Member

    Joined:
    Aug 9, 2026
    Messages:
    19
    Likes Received:
    34
    It seems like I hijacked this thread but it's only to encourage others to give the tools a try and fire up a discussion of our findings (if I could do it, anyone can!). OP if you feel this isn't the right thread to post out experiments, please say so!
    Managed to sort out the invisible materials. Still, they don't look right and road markings are temporary so their UVs are messed up. What I found out is that no matter if the direction the triggers are pointing is right, if the indices of the AIWs are reversed the game will force the direction the other way. It's already mentioned in the docs but I haven't found a way to check the order in Blender.
    This track is a real road in Greece BTW.
     
    • Winner Winner x 3
    • Like Like x 1
    • Creative Creative x 1
  9. Despi Routo

    Despi Routo New Member

    Joined:
    Oct 6, 2025
    Messages:
    29
    Likes Received:
    22
    You could view the vertex indices by using the Spreadsheet mode (clicking on the top left Editor type icon).
    Or when in Edit mode, there is a Mesh edit icon on the top right and when you click on it, there's a Indices checkbox. Once checked, you'see see the IDs of the selected vertices
     

    Attached Files:

    • Like Like x 1
  10. immortalx

    immortalx Member

    Joined:
    Aug 9, 2026
    Messages:
    19
    Likes Received:
    34
    Thank you! I figured it out yesterday after scratching my head for a while. Knew it was there somewhere but I was in object mode while hunting for it :mad:
    For anyone wondering how it's done: Covert the AIW meshes back into curves, open each one in edit mode, select all vertices, right-click->switch direction, re-convert back into mesh.
     
    • Like Like x 1
  11. immortalx

    immortalx Member

    Joined:
    Aug 9, 2026
    Messages:
    19
    Likes Received:
    34
    @ohyeah2389 Am I right to believe that the engine doesn't like UVs out of the UV space?
    This is how I've setup the road line markings and they look fine in Blender (same way I'm doing them for AC tracks), but in-game they're all messed up. I suspect it might also be a shader specific issue. I'm using rz_basic with alpha blend.
     
    Last edited by a moderator: Aug 11, 2026
  12. ohyeah2389

    ohyeah2389 It's The Little Things

    Joined:
    Feb 2, 2018
    Messages:
    79
    Likes Received:
    83
    The engine applies UV compression to all meshes which do not have the name suffix `_no_uv_comp`. This compression will cause quantization artifacts at large distances away from 0,0 - 1,1. I put a UI checkbox in to append this name suffix to meshes which you do not want to apply this compression to, such as roads using a repetitive UV map that constantly increases in U or V, or in your case, line markings that do the same. Shaders shouldn't have anything to do with it, just the name of the object.
    upload_2026-8-11_2-11-29.png
     
    • Like Like x 1
    • Winner Winner x 1
  13. Ace

    Ace Well-Known Member

    Joined:
    Dec 4, 2024
    Messages:
    610
    Likes Received:
    819
    Just stumbled across this topic and have to leave a huge thank you for all work you are putting into this. People use this phrase quite fast, but this is definitely a real gamechanger giving us the first opportunity at real community made tracks.

    I tried to get into 3d modeling stuff many times but it never really clicked with me, but I will definitely check your tooling out in the future after I got other projects done
     
    • Agree Agree x 3
  14. immortalx

    immortalx Member

    Joined:
    Aug 9, 2026
    Messages:
    19
    Likes Received:
    34
    OK so I just found out that the GCL objects should NOT have any material! I was stuck for a day trying to figure out why my road had Z fighting polygons.
    So If you copy these objects from your actual physical road and put them into the GCL collection, make sure to delete their materials.


    NOT true, see post bellow
     
    Last edited: Aug 12, 2026
    • Informative Informative x 1
  15. ohyeah2389

    ohyeah2389 It's The Little Things

    Joined:
    Feb 2, 2018
    Messages:
    79
    Likes Received:
    83
    Whether or not the GCL objects have a material shouldn't actually matter because the GCL collection (or its "Madness Objects" collection parent) should be deactivated (unchecked) before you run a scene export. None of the "Madness Objects" collections need to be exported as part of the static scenegraph unless you explicitly want them to be, for debugging or other non-conventional reasons. The scenegraph exporter will ignore objects if they are inside an unchecked collection, or if the parent collection of that collection is unchecked, or so on.
     
    • Like Like x 2
  16. immortalx

    immortalx Member

    Joined:
    Aug 9, 2026
    Messages:
    19
    Likes Received:
    34
    Thanks for clearing this up! I'm making sure that I do deactivate non relevant collections during the various stages of exporting, so what seems to have happened is that it slipped on me one out of the hundred times I did an export!
    Great to know, I'll edit my previous post.
     
    • Like Like x 1
  17. immortalx

    immortalx Member

    Joined:
    Aug 9, 2026
    Messages:
    19
    Likes Received:
    34
    @ohyeah2389 Would it be possible to add a field in MEB export settings that would allow to manually set the culling sphere radius?
    I have a massive track and the terrain is split into multiple meshes. Those close to the roads have high poly density and due to madness engine vertex count restrictions, I've spitted it into much smaller chunks and the culling is more aggressive.
    I currently just add an extra poly far away from the mesh to trick it into producing a bigger sphere radius, but would be nice if we could do it through the toolset.
     
  18. ohyeah2389

    ohyeah2389 It's The Little Things

    Joined:
    Feb 2, 2018
    Messages:
    79
    Likes Received:
    83
    That should be possible. I'll look into implementing that.
     
    • Like Like x 2
    • Friendly Friendly x 1
  19. immortalx

    immortalx Member

    Joined:
    Aug 9, 2026
    Messages:
    19
    Likes Received:
    34
    The roads layout of the track I'm making. It's a trip around a lake and includes some fast sections, lots of winding roads, an imaginary bridge which crosses part of the lake, and a mountainous chunk.
    Doing the tedious thing of sculpting the terrain on the road sides :(

    Would love to see what everyone works on!
    Untitled-1.jpg
     
    • Like Like x 6
    • Winner Winner x 4
  20. jota.191

    jota.191 Proton-Powered Sim Racer AMS2 Club Member

    Joined:
    Jul 3, 2022
    Messages:
    667
    Likes Received:
    410
    Wooow!

    Personally I am not workig on anything (yet?), but in case someone has the skills and the time and donesn't know where to start.... We need more ovals :D
     
    • Like Like x 2
    • Friendly Friendly x 1

Share This Page