rFactor 2 Online Tools by Chris “redapg”

Discussion in 'Modding' started by Slow Motion, Oct 11, 2016.

  1. philrob

    philrob Registered

    Joined:
    Jan 12, 2012
    Messages:
    622
    Likes Received:
    1,286
    Graet post Chris, i have PM'd you.
     
  2. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,428
    Likes Received:
    2,687
    all ok here
     
  3. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    It's still there.
    Do you get any "Error" Page shown?
     
  4. ThomasJohansen

    ThomasJohansen Registered

    Joined:
    Dec 27, 2019
    Messages:
    978
    Likes Received:
    2,302
    it's there now so all is fine, will check it out tonight. Don't know why it wasn't here earlier.
     
    redapg likes this.
  5. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    Just as an Information: @Nicola59 did report a Problem with the Sound SFX -> JSON Converter Tool (thank you for reporting :)), where the JSON File doesn't get written and the Message, that the File can not be found on the Server, gets shown.

    Because it does not seem to happen with all SFX Files, i'll have to investigate what the Problem is and that probably will last some Time.
    Until that Problem is fixed, the Sound SFX -> JSON Converter Tool is deactivated and will show the Message that it's under Construction.

    And just to repeat myself: PLEASE always report all Problems that you have with my Online Tools, that i can try to fix them.
    Thank you. :)
     
    Nicola59, Emery, Corti and 1 other person like this.
  6. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    Just a short Interrim Report, that also shall show, how important it is, that you report Problems.
    As we all know, Files are not always made in the same Way.
    In Case of the SFX Files, there can be Sounds being missing that don't get used for a Car or they can have not properly formatted Entries...
    The List is almost endless and it is impossible to add Routines to a Script, that can detect all possible potentionally Problems automatically.

    I've found and fixed a Problem already, but want to make some more Tests, to maybe find some more.
    But i of course can not test every possible File Configuration that potentionally can cause Problems.

    That makes it so important, that you report Problems.
    Because when i'm not aware of Problems, i, of course, can not try to fix them. :)
     
    Corti likes this.
  7. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    Just as an Information the SFX -> JSON Converter Tool is online again.

    The Problem was, that some Entries, for that i search in the Tool, have been missing in the uploaded SFX File.
    And if they are not there, the Script gives 0 as the Result.
    But because i have to calculate with these Values, there a Divisions by 0, that are not valid and the Script stops to run, so that the new JSON Sound File doesn't get written and you see the Error, that the File can not be found on the Server, if you want to download it.

    That Problem for this Case is fixed now, but there, of course, can be more, that didn't appear yet.
    So please report if you encounter one. :)
     
    Last edited: Aug 29, 2024
    Emery, philrob and Corti like this.
  8. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    Just as an Information: I've modified the Tool "Generate a basic set of rFactor2 Files (HDV, flex Chassis.ini, TBC, TGM(s)), converting from a rFactor1 mod" in that Way, that you can also upload tbc Files, that use ALL: and not Front: and Rear: for the Tires within a Compound.
     
    philrob likes this.
  9. philrob

    philrob Registered

    Joined:
    Jan 12, 2012
    Messages:
    622
    Likes Received:
    1,286
    Thanks Chris
     
    redapg likes this.
  10. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    I'm really getting old.... :(
    I have to Apologize, because i forgot something, when i did this:

    The Converter Tool has 2 Sites and on the 2nd Site, i exctract more Data from the tbc File, that i need for the further Calculations.
    But i forgot to adapt them to the tbc Scheme that uses All: for all Tires instead of the "usual" Scheme with Front: and Rear:.

    Unfortunately that is a lot of Code that has to be changed and so it will last a While to adapt it...
     
    Gilles Benoit likes this.
  11. philrob

    philrob Registered

    Joined:
    Jan 12, 2012
    Messages:
    622
    Likes Received:
    1,286
    Ok Chris, these things happen. I forgot our Wedding anniversary last Month. That went down well.
     
    Corti and redapg like this.
  12. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    Such Things can quickly end fatal. :D
     
    Gilles Benoit, Corti and philrob like this.
  13. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,428
    Likes Received:
    2,687
    I'm starting....I'm a little younger than you and my wife has no experience yet. :D
     
    philrob and redapg like this.
  14. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    The modified Tool "Generate a basic set of rFactor2 Files (HDV, flex Chassis.ini, TBC, TGM(s)), converting from a rFactor1 mod" is online now and i hope, it works without Problems with tbc Files that use All: for the Tires, now.

    I have the Advantage, that my Girlfriend and i never got married. :D
     
    philrob and Corti like this.
  15. philrob

    philrob Registered

    Joined:
    Jan 12, 2012
    Messages:
    622
    Likes Received:
    1,286
    Chris, very wise hahaha
     
    Corti and redapg like this.
  16. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    Just as an Information: I've got a Report (@ling thank you for reporting :)) about a Problem with the Sound SFX -> JSON Converter Tool, where the Car crashed the DevMode, when it was driven and the JSON Sound File was used.
    The Reason was, that some Sounds have been missing in the SFX File, so that there have been some empty Events in the JSON File.
    What is a bit strange, is, that this was the first Report about that Problem.
    SFX Files very often have some Sounds missing and that Problem should have appeared sooner already.
    I will try to add a senseful Routine to avoid that Problem.

    As a Workaround, if your converted Sound File also crashes the DevMode, search for "events": [ ] Entries, that have nothing between the [ ] Brackets, that it looks like this:
    "events": [

    ]

    and if you find some, remove the whole "Section", that uses the empty Events, like:

    {
    "random": {
    "name": "shiftDown",
    "volume": 0.5,
    "value": "gear",
    "position": [0,0.2,-0.42],
    "direction": [120,0,0],
    "events": [

    ]
    }
    },
     
    buzz hornet and Corti like this.
  17. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    I've modified the Sound SFX - > JSON Converter Script now.
    Normally, no empty Event Sections should appear anymore.
    But there are probably X other Problems left, that can appear. :)
    So, as always, please report them, that i can try to fix them.
    Thank you.
     
    buzz hornet and Corti like this.
  18. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    Due to a Request from a User, i just did upload a new Video, that shows my Method, to transfer the animated Driver from one Car to another Car.
     
    Corti likes this.
  19. Kenshin

    Kenshin Registered

    Joined:
    Jul 18, 2024
    Messages:
    4
    Likes Received:
    1
    Hello @redapg ,
    I use this tool often because it is useful. Thank you.
    It seems that the TGM Tiresize Editor in this mod tool is not working properly.
    When I press “Next” after entering the size, the screen just turns gray and the download does not start.
    When I used it about a month ago, it downloaded fine.
    Is there any way to solve this problem?
     
  20. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,376
    Likes Received:
    3,234
    I can check it Tomorrow.
    Which one exactly is it (Link or Screenshot), because there a 3 different Tire Size Editors?
     

Share This Page