[REL] Tv Plugin

Discussion in 'Other' started by Gerald Jacobson, May 12, 2014.

  1. Ozy LDDT

    Ozy LDDT Registered

    Joined:
    Jun 5, 2011
    Messages:
    25
    Likes Received:
    0
    Thx great iam happy!!! respect for all job!!!

    thx.
     
  2. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    You need to put in the vehicleName file, sections named exactly what rF2 send to the plugin in the mVehicleName field. Don't know if it is a field of the VEH or a concat of several fields.
     
  3. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,517
    Likes Received:
    186
    Would it be possible for your plugin to perhaps output what it gets from the API to a log file by request ?

    Then users (we) with less knowledge about that stuff could easier 'sort' them into needed class files ?

    Then you just run a full test field of cars and copy/paste/edit what you need.

    Just a thought...
     
  4. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,827
    Likes Received:
    611
    You need to quit the game each time you change a TV plugin file. The plugin data are not reloaded when the game have launch the plugin once.
     
  5. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,827
    Likes Received:
    611
    Perhaps a better way is that the guys that improve these kind of files, join these files here when complete and Gerald will include them as standard on a future release. Same for the UI developped, join them on the forum, the plugin is free, a thanks from users could be to give back their improvements addition here too ;)
     
  6. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,517
    Likes Received:
    186
    Absolutely, but we need to start somewhere, and if those currently trying to make 'styles' get stuck because they lack some info... :)
     
  7. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    No problem, i will add a debug file tonight (disabled by default)
     
  8. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,517
    Likes Received:
    186
    Great, Gerald, I'm sure it will be helpful :)
     
  9. Valbuena72

    Valbuena72 Registered

    Joined:
    Dec 23, 2011
    Messages:
    194
    Likes Received:
    0
    Oh thank you Mad !
     
  10. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,827
    Likes Received:
    611
    Yes, but I think all is in the Wiki in the first post, and we are here to help if needed. On my side I passed 20 hours to be able to make all the widgets for the gt-series UI starting from the Wiki and Blancpain Video to extract images. So I think all is in the Wiki.
     
  11. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    When you encourter Remote Console crash what is your test case ?
    If the remote console run on the same PC thant rF2 client ?
    If yes how did you force rF2 to still "run" when another application have the focus ?
    Any other info that will help me to reproduce crash and then fix them ?

    Thanks
     
  12. Noel Hibbard

    Noel Hibbard Registered

    Joined:
    Oct 5, 2010
    Messages:
    2,744
    Likes Received:
    40
    Is there any chance we could get a hotkey that reloads all the config files? This would make it easier to test out changes. The new driver lookup is working perfect. Thanks so much for this. You've done a great job with this tool. Very impressed.

    I am still trying to get everything configured the way we want it. When I have that all set I will focus on getting some more detailed bug reports for the remote tool.
     
  13. Ricardo F. Edelmann

    Ricardo F. Edelmann Registered

    Joined:
    Jun 5, 2014
    Messages:
    39
    Likes Received:
    0

    I run rFactor in Windowed mode. it runs on if it loses the focus. PC is the same.

    It gives out an error in german. it's like value x isn't okay for this thing.

    Hope i can help you with that.

    And i'm still struggling with the plugin:D

    I completely reinstalled the plugin but it still has the same configuration as i had it before the reinstall even though nothing of the old install istall is left.

    I'm not the best in such things... so for me it's pretty difficult to sort out those problems...

    Cheers
    Rcio
     
  14. Noel Hibbard

    Noel Hibbard Registered

    Joined:
    Oct 5, 2010
    Messages:
    2,744
    Likes Received:
    40
    Hahahaha.. The more I play with this the more wishes I have. It would be cool if we could get a driver logo (avatar) which is looked up in the drivers.ini.
     
  15. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    V1.0.25 Available
    - Add debugMode (can be activate throw the GRTvPlugin.ini)
    Code:
    [UI]
    [B]// set to 1, to create a "GRTvPlugin.log" file in the <rF2 profile>/GRTvPlugin directory
    debugMode=0[/B]
    
    - Add reloadUI fonction (default is Right Alt + UP)
    Code:
    [Keyboard]
    // RAlt + UP
    reloadUI.modifier.virtualCode=165
    reloadUI.key.virtualCode=38
    
     
  16. Noel Hibbard

    Noel Hibbard Registered

    Joined:
    Oct 5, 2010
    Messages:
    2,744
    Likes Received:
    40
    Where is the donate link Gerald? You are so responsive! You deserve some compensation.
     
  17. Noel Hibbard

    Noel Hibbard Registered

    Joined:
    Oct 5, 2010
    Messages:
    2,744
    Likes Received:
    40
    WOW!! This reload hotkey is a huge timesaver.
     
  18. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Never thought about that. I don't even know how to make that :)

    V1.0.26 Available
    - Add avatar sprite for drivers
    New [Avatar List] in the UI.ini
    Code:
    [Avatar List]
    // count : number of sprite (max=200)
    count=2
    // src is a relative path from "GRPluginTv" directory
    avatar.1.src=Images/logo/unknown.png
    avatar.2.src=Images/avatar/amphiprion.png
    
    Define the avatar.id to use in the drivers mapping file
    Code:
    [Gerald JACOBSON]
    number=25
    name=Amphi
    team=Paddock TV
    avatar.id=2
    
    Finally you can activate the avatar image in the DriverPanel widget ini in the [Driver Panel.Name] section
    Code:
    [Driver Panel.Name]
    // use the [Mapping]->driver.ini value from "GRTvPlugin.ini" file to retreive the displayed name of the driver (if a mapping does not exist for a driver, the rF2 account name will be used instead)
    // left, right, top, bottom are relative to [Driver Panel] left and top
    available=1
    text.font.id=1
    text.font.color.id=1
    text.left=8
    text.top=20
    text.right=157
    text.bottom=33
    
    // default avatar.id (can be overriden by the driver mapping ini file)
    avatar.id=1
    avatar.color.id=1
    avatar.left=240
    avatar.top=6
    avatar.width=50
    avatar.height=50
    
     
  19. Noel Hibbard

    Noel Hibbard Registered

    Joined:
    Oct 5, 2010
    Messages:
    2,744
    Likes Received:
    40
    I have a crash now when changing cars while the overlay is enabled. To be sure it wasn't something I messed up in the config files, I renamed my GRTvPlugin folder to GRTvPlugin.Back and then pulled a fresh copy out of the Zip file and it is still crashing.
     
  20. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    I have reuploaded the zip in case of. I have no bug on my side.
     

Share This Page