"Rally Pacenote Plugin" for rFactor2

Discussion in 'Plugins' started by Zephyr RU, Apr 15, 2012.

  1. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    Concept
    "Rally Pacenote Plugin" for rFactor2.
     during 8years. we have waited for "Next" Rally simulator.
     after releaseing Richard Burns Rally.
     then, we have to make it. this is so. we respect RBR so much.

    Download, Manuals adn detail of plugin.

    "Rally Pacenote Plugin" Release note and Download.
      http://simlab.wp-x.jp/?p=1241

     "Rally Pacenote Plugin" Manual of Convert Language Pack
      http://simlab.wp-x.jp/?p=1242

    features

    •  -compatible with RBR unzipped "audio.dat" folders.
       -compatible with RBR speech folder's file names. importing would be easy.
       -making pacenotes. it will be easy. like a CSV files. dont need special tools.
       -switchable multiple language like a RBR.(not yet)

    Concept Video
    this video is my driving on rFactor2. with "Rally Pacenote Plugin" concept edition.


    I need your help!

    I cant make track file and car. I hope, some guys will make rally car and rally track.
    I need copy "left" voice file. if somebody can help me, you can be voice actor for this plugin.


    History

    May 8th 2012 Language Pack English-Artificial voice Ver 1.0 - first release
    May 6th 2012 Plugin Concept Ver 0.1 - first release
     
    Last edited by a moderator: Sep 7, 2014
  2. Fergy

    Fergy Registered

    Joined:
    Jan 12, 2012
    Messages:
    597
    Likes Received:
    26
    Nice one, looking forward to watching it develop.
     
  3. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    danke! Fergy!
    Hilfe! "today", I cant make it. may be.
    cause, our japanese hero, Kobayashi is 2nd row in F1 Chinese GP today!
    you too, Fergy! German heros, Nico and Michael are front row! AMG team is first! :)
    well, watch that. Bitte!
    Auf Wiedersehen!;)

    P.S. of course, I will try to develop as well as I can too!
     
  4. blakboks

    blakboks Registered

    Joined:
    Oct 20, 2010
    Messages:
    843
    Likes Received:
    30
    Out of curiosity, how do you plan to trigger when and which audio file to play at a particular moment? Is it working off the AIW centerline? Is it defined in meters along the path? Percentage?

    Looking forward to this development!
     
  5. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    Hi, blackboks :D

    good asking. thats most important thing for me.

    indeed, rFactor2.exe doesen't give us information of centerline.
    I'm still considering way to get information centerline , meters, and others.

    yesterday, I made up test code to get car position. and logging that.
    and I drove at Monaco.I mean "Recce". this is tracking log of that.
    View attachment 2021

    and I plotted scatter gram on Excel. now I see that we can get only car global position and car vector for Navigation.
    View attachment 2022
    - totaly Monaco. :cool: -

    well, I will think for a while. anyway, now I have one way at least. that is making line when we are on "Recce".
    may be I will get some other option. I hope ;)
     
  6. blakboks

    blakboks Registered

    Joined:
    Oct 20, 2010
    Messages:
    843
    Likes Received:
    30
    Do you know if it's possible for track designers to setup invisible collision objects (similar to the xStart, xFinish, xSector1, xSector2, etc.) that could trigger the pacenotes? For example, for the above-mentioned x-objects we set the Actor to 'Vehicle' (which would remain) and the Response to 'Timing'. I think the Response can be just about anything, so long as the hook is being used. So, in theory, we could set the Response to something as simple as 'Pacenotes', and we could name the object itself "xSixRight01" or something along those lines. IDK...maybe this is how ISI is planning to do it if/when they implement it themselves.
     
  7. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    Hi blakboks!

    cooool information!:D
    I will try to consider that.
    may be I have to learn about track more. I will read official PDF again.

    really, thanks., man!
     
  8. lordpantsington

    lordpantsington Registered

    Joined:
    Oct 5, 2010
    Messages:
    849
    Likes Received:
    79
    Recce is how this should be handled. Note generation should be based on inertia. Inertia is how Jemba notes are built. Certainly Jemba notes aren't as good as 2-pass recce, but will give something very quickly that allows you to build on it, and will work for any track.

    Collision based systems with Xobjects aren't going to suit everyone. Not everyone uses the same system of notation. Ascending/Descending? 1-10 1-6? If you use objects, you are going to be stuck in a particular system.

    The hooks/responses available are the ones given to us by ISI. The exe needs to understand what part of code to activate, and if there is no coded bit for the referenced response then nothing is going to happen. There is no rudimentary script we can create to drive the response.

    This is how the pacenotes worked for rf:
    The XYZ range was user-defined.

    That system worked but placing notes was very tedious. 1 stage could take a good 20 hours. Most stages were pretty short in rf. I can't imagine the time it would take to note a 40 miler.

    The biggest problem with rally and rfactor was the lack of stages of length, and the lack of pacenotes for the stages we had. Of the rallies I've helped with, the main guy organizing would be nice and create pacenotes to hand out to everyone. But during the process he would memorize the stages, giving him an advantage. A good rally stage takes a fair amount of time to build for rf. Putting the responsibility of pace note creation on the shoulders of the stage creators is too much. Not everyone can work with 3d objects. Anyone can open up a list of coordinates to edit in notepad, if only the plugin system allows for it.

    At the very least we only need the plugin for rf moved over to rf2. There is certainly room to improve on it. At the very least instead of a fixed range, I'd like to see something that compares current velocity to (a target speed, severity of turning/braking...) and adjusts the read ahead accordingly.
    Thanks
     
  9. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    To: lordpantsington
    thanks. thats good information.
    but unfortunately I still dont know how I can get that information from rFactor2.exe.
    in this weekend, I will debug and get some logs. then, may be, "How to Stop Worrying and Start Living ":)
     
  10. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    Where on earth are my eyes?
    I found struct "ScoringInfoV01" on sample source. :eek:

    guys. I am really sorry. I can get information.

    so that struct have distance
    ------------------------------------------------------------
    double mLapDist; // distance around track
    ------------------------------------------------------------
     
  11. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    guys. done!
    I can get information for rFactor2.exe.
    View attachment 2044

    next mile stone is just speaching pacenote on every corner.
    I will make sample pacenote plugin soon for "Monte Carlo".

    of course I will upload.
    next step is not difficult for me. so. just wait.
     
    Last edited by a moderator: Apr 18, 2012
  12. lordpantsington

    lordpantsington Registered

    Joined:
    Oct 5, 2010
    Messages:
    849
    Likes Received:
    79
    EPIC! Thanks for the work you are putting into this.
     
  13. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    To: lordpantsington
    technicaly, this is not epic. but thanks. ;)
    I need other guys help. for example. pacenote audio files. I cant release with pacenote audio files.
    cause official audio files are included in RBR product.

    Today's Developing news
    I made up first config file. but that dose'nt work yet.
    View attachment 2055

    "temp" pacenote. I will make reader for CSV pacenote files.
    View attachment 2056

    well. latest movie.
    this is runninng with that temp pacenote. and Plugin know about "start line".
    when, your car is near start line. co-driver would say "Go!"
    and he will keep speaching pacenotes.

    - update first post too. -

    and my pacenote in 1966 Monte Carlo ;)
    I will make csv of "pacenote " from this. yeah. today, I did "Recce".
    View attachment 2057
     
    Last edited by a moderator: Apr 19, 2012
  14. GauchoRS

    GauchoRS Registered

    Joined:
    Nov 23, 2011
    Messages:
    471
    Likes Received:
    9
    hey, I would like to encourage you to bring this amazing plugin to rFactor2. Well appreciated !

    I wish to be able to write code for a plugin to enhanve the "virtuel race engeneer" with event depending actions ....

    can you point me to an easy to learn programmer platform to start with?
     
  15. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    To GauchoRS
    hiya!
    there are 4 type of plugins. but there are only one type. that is "Internal Plugin".
    when you make internal plugin, you can get only status of cars and Telemetry.

    so. if your "virtuel race engeneer" mean "radio man", you can make that.
    but if that is pit crews, you cant.

    for example. you can make like this.
    1. you can get drivers name behind player.
    2. if next car's driver is Fernando.
    3. you can play voice "Fernando is faster than you ":cool:



    and technically, you need to use programing language C++, you have to know Win32API little bit.
    thats all.
    you dont have to need DirectX to develop simple plugin.

    can you use C++?

    first step is downlaod "rF2 Example Plugin 2.7z "
    http://isiforums.net/f/showthread.php/1573-Tutorials

    and get Visual Studio 2010 Express edition(thats free!)
     
    Last edited by a moderator: Apr 22, 2012
  16. GauchoRS

    GauchoRS Registered

    Joined:
    Nov 23, 2011
    Messages:
    471
    Likes Received:
    9
    Thank you so much, Zephyr - that´s exatly what I wanna do (the radio man) as you show in youtube examples ...

    I started with a simple voice recognition program (GlovePIE) and liked it very much
    http://isiforums.net/f/showthread.php/4221-Virtual-race-engeneer-is-working-now?p=50681#post50681

    but getting information from the game about (position, timing, lap etc.) would increase immersion.
    this was done for rFactor1 with the spotter plugin, but seems that they are not working on a rf2 version.

    ISI has announced to include a spotter, but I think this is "typical plugin stuff" and they allready stated that plugins will be left to the modder community.

    So, dear community, I would like to invite you to join the project, because I am a nooby at C++

    Would be great, if a C++ freak wanna be interested here !
     
  17. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    Update "top of thread"!. now we can use CSV file of pacenote. I made up video of driving with this pacenote, finally.:cool:
    -----------------------
    Pacenote
    this is pacenote file.
    speaching point No. , trip meter, VOICE NO., VOICE file.
    View attachment 2089

    Concept Video
    this video is my driving on rFactor2. with "Rally Pacenote Plugin" concept edition.

    -----------------------
     
    Last edited by a moderator: Apr 22, 2012
  18. GauchoRS

    GauchoRS Registered

    Joined:
    Nov 23, 2011
    Messages:
    471
    Likes Received:
    9
    impressive! glad to have this in rFactor .... so rallye tracks may come soon!

    btw most of the source code can be used fot a "radio man". What do you think about opening a radio man project as well?
     
  19. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    "Rally Pacenote Plugin"(RPP) for rFactor2
    this is announcement.

    1. Release
    I will release Concept edition next week.
    but you need Richard Burns Rally. cause I cant distribute "copy rights" files.
    - and, also, we lose most famous RBR mod site "Blackhole Motorsports", sigh -
    I will post manual of "way to convert audio files for RPP". thats easy anyway.

    2. we need help.
    we need kind of "copy LEFT" audio files for Rally Pacenote Plugin.
    but I dont have enough time. and I am not native english speaker.
    can somebody record audio files in english and post here?
    if you are British, American, Aussie, Canadian or others. you can help this project.
    these are list of file name. compatible with RBR speach files.
    - some MOD for RBR is not compatible. "Real Reid" is so. but Moya is compatible. -

    of course, that audio files would be your copyrights. not copyleft. only we need is "free for distribute".
    I will not include your files. but I will link for that.
    that is solution. I think.
    -----------------------------------------------------------
    for count

    Three.wav
    Two.wav
    One.wav
    Go.wav

    -----------------------------------------------------------
    for pacenote

    30.wav
    50.wav
    70.wav
    90_LEFT1.wav
    90_LEFT2.wav
    90_LEFT3.wav
    90_RIGHT1.wav
    90_RIGHT2.wav
    90_RIGHT3.wav
    100.wav
    150.wav
    200.wav
    300.wav
    400.wav
    500.wav
    600.wav
    700.wav
    800.wav
    900.wav
    1000.wav
    AND1.wav
    AND2.wav
    BRIDGE.wav
    BUMP1.wav
    BUMP2.wav
    CARE.wav
    CAUTION.wav
    CAUTION_WATER.wav
    CUT1.wav
    CUT2.wav
    DONTCUT1.wav
    DONTCUT2.wav
    CUT1.wav
    CUT2.wav
    EASY_LEFT.wav
    EASY_LEFT1.wav
    EASY_LEFT2.wav
    EASY_LEFT3.wav
    EASY_RIGHT.wav
    EASY_RIGHT1.wav
    EASY_RIGHT2.wav
    EASY_RIGHT3.wav
    FAST_LEFT.wav
    FAST_LEFT1.wav
    FAST_LEFT2.wav
    FAST_LEFT3.wav
    FAST_RIGHT.wav
    FAST_RIGHT1.wav
    FAST_RIGHT2.wav
    FAST_RIGHT3.wav
    FINISH.wav
    FLAT_LEFT.wav
    FLAT_RIGHT.wav
    FORD.wav
    GO_STRAIGHT.wav
    HAIRPIN_LEFT1.wav
    HAIRPIN_LEFT2.wav
    HAIRPIN_LEFT3.wav
    HAIRPIN_RIGHT1.wav
    HAIRPIN_RIGHT2.wav
    HAIRPIN_RIGHT3.wav
    INTO1.wav
    INTO2.wav
    JUMP1.wav
    JUMP2.wav
    K_LEFT1.wav
    K_LEFT2.wav
    K_LEFT3.wav
    K_RIGHT1.wav
    K_RIGHT2.wav
    K_RIGHT3.wav
    KEEP_LEFT.wav
    KEEP_MIDDLE.wav
    KEEP_RIGHT.wav
    LONG1.wav
    LONG2.wav
    MAYBE1.wav
    MAYBE2.wav
    MEDIUM_LEFT.wav
    MEDIUM_LEFT1.wav
    MEDIUM_LEFT2.wav
    MEDIUM_LEFT3.wav
    MEDIUM_RIGHT.wav
    MEDIUM_RIGHT1.wav
    MEDIUM_RIGHT2.wav
    MEDIUM_RIGHT3.wav
    NARROWS1.wav
    NARROWS2.wav
    ONE.wav
    ONTO.wav
    OVERCREST1.wav
    OVERCREST2.wav
    three.wav
    TIGHTENS_bad1.wav
    TIGHTENS_bad2.wav
    TIGHTENS1.wav
    TIGHTENS2.wav
    TWISTY.wav
    TWO.wav
    WIDEOUT1.wav
    WIDEOUT2.wav
    -----------------------------------------------------------

    3. Spanish test.
    this is test of "Moya". Spanish test on latest edition.
     
    Last edited by a moderator: Apr 29, 2012
  20. Zephyr RU

    Zephyr RU Registered

    Joined:
    Apr 2, 2012
    Messages:
    85
    Likes Received:
    9
    Everyone
    Concept Edition Ver 0.1 Released.
     
    Last edited by a moderator: May 6, 2012

Share This Page