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

AMS2 Content Manager

Discussion in 'Automobilista 2 - General Discussion' started by john Ellis, May 16, 2023.

  1. Racinglegend1234

    Racinglegend1234 AMS2 wiki founder AMS2 Club Member

    Joined:
    Jul 28, 2022
    Messages:
    5,882
    Likes Received:
    2,048
    Edit: found the solution to my problem
     
    Last edited: May 21, 2023
  2. TronLi

    TronLi Well-Known Member AMS2 Club Member

    Joined:
    Dec 19, 2020
    Messages:
    506
    Likes Received:
    352
    I was investigating an issue running custom liveries with the "NAMeS+AI for Thunderflash AMS2 Mods v0.5" pack and realized there's something else in CM that would be a nice-to-have.

    Currently CM will create an .orig file if it finds a conflict with a CustomAIDrivers XML file (which is an awesome feature and helped me identify some issues I was having). What if CM was able to append additional entries to an XML file to add support for additional liveries? Or if it could spot discrepancies between the livery names in the UserData and Vehicle folders?

    For example, "NAMeS+AI for Thunderflash AMS2 Mods v0.5" works perfect with default liveries but if you have changed the liveries, the names in the XML no longer match. This can be done manually of course but to automate it would be a huge help. You'd need to scan the CustomAIDrivers .xml files, in addition to the Overrides .xml files for all mods being enabled in a given class and generate new .xml files which are compatible with each other (one AI file per class and one for each vehicle within the class).

    But then how do you match the names? I guess you could look in the livery name for a number and match on that but I don't know how reliable that would be...
     
    • Agree Agree x 1
  3. john Ellis

    john Ellis The Rectifier of Names AMS2 Club Member

    Joined:
    Mar 18, 2020
    Messages:
    863
    Likes Received:
    1,036
    I’m working on alternative thunderflash files that work with various mods out there. Any particular ones you want first?
     
    • Winner Winner x 1
  4. TronLi

    TronLi Well-Known Member AMS2 Club Member

    Joined:
    Dec 19, 2020
    Messages:
    506
    Likes Received:
    352
    NAMeS Expansion Pack 2 and NAMeS Expansion Pack 3 have some overlap in the GT1, GT4 and GTE classes.
     
    • Agree Agree x 1
  5. john Ellis

    john Ellis The Rectifier of Names AMS2 Club Member

    Joined:
    Mar 18, 2020
    Messages:
    863
    Likes Received:
    1,036
    I updated the Thunderflash AI files to include variants that match MrBraindown & Emà!!!'s skins for GT1, GTE & GT4.
     
    Last edited: May 22, 2023
    • Winner Winner x 1
  6. TronLi

    TronLi Well-Known Member AMS2 Club Member

    Joined:
    Dec 19, 2020
    Messages:
    506
    Likes Received:
    352
    I know there's already another project in development with regard to custom AI and grids, etc. but I think this feature should ultimately live in a future version of CM. To me, CM's ability to keep track of what is installed is a prerequisite to make things user friendly (maybe a collaboration opportunity?).

    Objective: provide an interface to manage custom AI/grids
    1. Choose whether to open an existing file (current, default or a previously created/saved file), open an external file, create a new file or load a file (for installation to UserData)
    2. Choose a class
    3. Load existing data from .xml files in UserData and Vehicles (to get available livery names)
    4. Perform integrity check (specifically for livery name discrepancies, highlight those to the user)
    5. Choose number of opponents/slots (you might want different grid files based on single or multi-class, etc.)
    6. Select models/liveries/drivers (livery previews would be cool)
    7. Edit AI traits
    8. Save .xml with descriptive title (e.g. GT4_mixed_8cars, GT4_32cars, etc.), file information would ideally save locally in CM
    9. Select file to compile/load (e.g. GT4_mixed_8cars would become GT4.xml in UserData) -- ("load a file" from Step 1)
    The reason I think CM is perfect for this is because when mods get disabled, their UserData and Vehicle folder entries are removed as well, which keeps things clean. If the files from Step 8 are local to CM, the last known .xml per class could be saved during deactivation so when mods are re-enabled, their last known .xml files would load with them by default (using the default/supplied .xml upon re-enabling could be an option to keep things flexible).
     
    • Like Like x 5
    • Agree Agree x 2
    • Winner Winner x 1
  7. JavierZumaeta

    JavierZumaeta Active Member

    Joined:
    Aug 28, 2020
    Messages:
    289
    Likes Received:
    152
    before using Content Manager, do we need to uninstall all the liveries and AI files that are currently installed?

    Or is Content Manager just for cars and tracks?
     
  8. john Ellis

    john Ellis The Rectifier of Names AMS2 Club Member

    Joined:
    Mar 18, 2020
    Messages:
    863
    Likes Received:
    1,036
    I use AMS2CM for everything. Yes, it is best to remove all your current mods. After that, you basically dump every zip or 7z file you want activated (livery set, Ai file, car mod, track mod, whatever) in the Enabled folder and run AMSCM. It will automatically install them. Like JSGME, the order of installation matters, so if you want a jusk ai file installed after a F1 carset, make sure the separate AI file is named so that it installs after the set. Paola has already improved some of the issues I pointed out earlier in this thread, but I cannot confirm that EVERY mod will install correctly (due to the varying folder structure that different modders use), but the app already seems to recognize some of the differences out there and installs things the right way. I have taken the time on my end to compile mods exactly how I want them into 7z files (like a livery set with jusk’s latest AI file), and everything works flawlessly, mods and all … a bit of time well spent to hand the workload over to the app forevermore.
     
    Last edited: May 31, 2023
    • Informative Informative x 2
  9. Scar666

    Scar666 Zum Glück bin ich verrückt

    Joined:
    Jul 1, 2020
    Messages:
    1,232
    Likes Received:
    1,378
    Gave this a try for the first time tonight for the RC...

    Pretty handy for those installing mods... Great work...

    Some suggestions to make it more useful for modders...

    1. Allow unpacked mods to be picked up in the enabled folder, as repackaging via winrar or another program for each edit is tedious...

    2. Have an option to unpack the bootfiles into the enabled folder for modders... These files are necessary when building a new mod...

    Otherwise I'd continue to use it as it's very handy... But with those 2 limitations the JSGME method is easier for modders whilst they work on their mods...
     
    • Like Like x 1
    • Agree Agree x 1
  10. WoodyLizard

    WoodyLizard Member

    Joined:
    Jul 18, 2022
    Messages:
    35
    Likes Received:
    3
    Since installing Content Manager I have found that the custom livery file path has changed and you can’t install liveries as before if they don’t actually work via CM.
    Luckily we had someone in our league that fixed the 2002 livery pack for the Formula V10 gen.2 cars so they will install using CM.
    You could still manually install before CM by dropping the folder into Vehicles folder browsing game files via Steam.
    All the xml files have changed to crd files, don’t think this is a big issue.
    So is there a way to manually install liveries with the changed game file paths without using CM if needed due to the packs not compatible?
     
  11. remi89

    remi89 New Member

    Joined:
    Apr 9, 2022
    Messages:
    9
    Likes Received:
    0
    Hello,
    My CM Manager just open and close 1 second later for the last days.
    Software is up to date an it's the first time since I use it (Probably for 2 years now) that I have a problem.
    I already tried to uninstal and reinstal it wwithout any change.
    Any idea where to search ?
     
  12. 2ndLastJedi

    2ndLastJedi Free speech matters AMS2 Club Member

    Joined:
    Sep 7, 2016
    Messages:
    4,934
    Likes Received:
    2,160
    Hello, how can i get CM to work on the AMS2 beta version? I tried but it cant find it, i think maybe because it looks for AMS2 not AMS2 Beta.
     
  13. 2ndLastJedi

    2ndLastJedi Free speech matters AMS2 Club Member

    Joined:
    Sep 7, 2016
    Messages:
    4,934
    Likes Received:
    2,160
    So i realised that CM has an option to add the beta, so all good there but now the mods just wony work!
    They are ingame, I can select them and even view them in the showroom but halfway through loading to the track the game CTD!

    What's causing the crash? Are mods not working in the beta?

    I only have the beta installed and just can't keep waiting for Reiza to add Group 5 cars so that is why I got into adding these cars. That's all I want, Group 5. Please help get it working folks.
     
  14. Inkta

    Inkta Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2016
    Messages:
    802
    Likes Received:
    316
    Usually mods have to be updated every time there's an Reiza update, you'll have to wait for the modders to update their mods
     
    • Agree Agree x 1
    • Informative Informative x 1
  15. WelshAL

    WelshAL New Member

    Joined:
    Nov 24, 2023
    Messages:
    1
    Likes Received:
    0
    Is there anywhere to download AMS2CM other than Overtake?
     
  16. Yerffej

    Yerffej Active Member

    Joined:
    Aug 30, 2020
    Messages:
    136
    Likes Received:
    129
    Check your PM
     
  17. AllocDK

    AllocDK Active Member

    Joined:
    Jun 22, 2024
    Messages:
    360
    Likes Received:
    158

Share This Page