[REL] TrackMapPlugin V0.95 32bit & 64bit

Discussion in 'Other' started by fazerbox, Sep 23, 2014.

  1. FuNK!

    FuNK! Registered

    Joined:
    May 26, 2013
    Messages:
    490
    Likes Received:
    294
    That's what I've done already and why I asked :D
    Biggest current problem is the placement of the texture and the possibility to select different textures from the menu. It works with the LCD object, so I had a look there but didn't found any hint on how to set up an other object to work similar...
     
  2. Slow Motion

    Slow Motion Registered

    Joined:
    Aug 14, 2012
    Messages:
    2,153
    Likes Received:
    3,940
    Ops... Adding new widgets of different "type" (I mean widgets that perform different functionality) is not possible, because depending of the code. On the contrary you are free to create any new widget that looks different by the ones we have supplied.

    I hope this time to have understood your request.
     
  3. pedrocant

    pedrocant Registered

    Joined:
    Nov 17, 2012
    Messages:
    22
    Likes Received:
    0
    It would be possible to make a widget for F1 without Kers icon ?, because it is no longer used , it would only modify and add it there without deleting existing
     
  4. FuNK!

    FuNK! Registered

    Joined:
    May 26, 2013
    Messages:
    490
    Likes Received:
    294
    Yepp, you did :D So finally I will need to search for a different way to build a widget like that. Maybe building my own plugin...hm...we'll see :) Anyway thank you for your support!
     
  5. Led566

    Led566 Registered

    Joined:
    Jan 25, 2012
    Messages:
    358
    Likes Received:
    24
    After build 880 I started to have a lot of CTD and even a pair of BSOD (latest version, 64bit).
    Reading the log file it seems I have a problem with d3d9.dll or/and the widget loading.
    I disinstalled the plugin and CTDs disappeared.
    I really need Trackmap for the next races...
    Any idea?


    Edit: nevermind...issue solved :eek:
     
    Last edited by a moderator: Nov 19, 2014
  6. McFlex

    McFlex Registered

    Joined:
    Feb 23, 2012
    Messages:
    742
    Likes Received:
    179
    So let us know what solved your problem.
     
  7. Led566

    Led566 Registered

    Joined:
    Jan 25, 2012
    Messages:
    358
    Likes Received:
    24
    The use of the alternate d3d9.dll (in the first post of this thread...didn't see it before: mea culpa) and the suggestion by SlowMotion in post #134.
     
  8. Flex

    Flex Registered

    Joined:
    Dec 28, 2011
    Messages:
    41
    Likes Received:
    0
    ;) Thanks,it solved my CTD problem,tips to put on the first post in my opinion.
     
  9. hexagramme

    hexagramme Member

    Joined:
    May 25, 2013
    Messages:
    4,245
    Likes Received:
    194
    I am having a pretty strange problem with the track map itself. This began very recently.

    When in "rotation mode" there is map displayed. Only two blinking dots on top of each other.
    When I switch to "fixed" I can see the whole map.
    This is the case for all the tracks I've tried.

    Any ideas?
     
  10. jerrymcc

    jerrymcc Registered

    Joined:
    Oct 5, 2010
    Messages:
    160
    Likes Received:
    35
    Not sure, but in the past, sometimes the trackmap would shrink to a point, and seem to disappear. Don't remember how I fixed it exactly, but you might check the map dimensions in the config file, or reinstall it so it loads the default config.
     
  11. hexagramme

    hexagramme Member

    Joined:
    May 25, 2013
    Messages:
    4,245
    Likes Received:
    194
    Thanks.

    In the "trackmapconf" which values should I look at to see if the dimensions are right?
    And what should they be set to, so I can see the map again?
     
  12. snail

    snail Registered

    Joined:
    Jan 15, 2012
    Messages:
    16
    Likes Received:
    0
    Just started using rFactor2 64bit again so a very big THANK YOU to fazerbox for updating this plugin to work with 64bit. :D
     
  13. jerrymcc

    jerrymcc Registered

    Joined:
    Oct 5, 2010
    Messages:
    160
    Likes Received:
    35
    Sorry, I'm not really sure. The numbers that I think matter are these: This what mine are set at:

    /ModeMap = [ OFF | FIX | ROTATION ]
    ModeMap =FIX


    // pixels:meters. Default 100:200, 100 Pixels = 200 Meters
    ZOOM =100:111

    Easiest, I think, would be to delete the trackmap install, and reinstall it ... then you would get the default values.
     
  14. hexagramme

    hexagramme Member

    Joined:
    May 25, 2013
    Messages:
    4,245
    Likes Received:
    194
    Thanks for your reply, man.
    Yeah a reinstall might be a good idea...
    But then I'd have to start over with placing the widgets where I want them on screen, right?
     
  15. Deadpedal

    Deadpedal Registered

    Joined:
    Nov 5, 2011
    Messages:
    249
    Likes Received:
    6
    To re-install would be fool-proof method, but if you don't consider yourself a fool, then editing the trackmapconf.txt as indicated is the easiest method to restore the map, otherwise, yes, you'll be faced with reconfiguring your widget layout and preferences. The leading comment line gives you your default upon installation of the plugin, "Default 100:200". (It's within the first 20 lines of the file.)
    The Line "ZOOM =100:nnn", when corrupted, usually is a ridiculous negative number. Change it to "ZOOM =100:200" making sure there is no minus sign preceding the second number.
    Depending on your Windows configuration, i.e., active user account control, Windows may resist you re-saving the config file once you've edited it, even if you are a system administrator, because it's located within the Program Files (x86) folder structure. If this is the case for you, simply save it to you desktop and then drag it back to the Trackmap folder and authorize the replacement as administrator.
     
  16. hexagramme

    hexagramme Member

    Joined:
    May 25, 2013
    Messages:
    4,245
    Likes Received:
    194
    You're a life saver. Thank you for the detailed explanation. I will give it a go tomorrow. :)
     
  17. hexagramme

    hexagramme Member

    Joined:
    May 25, 2013
    Messages:
    4,245
    Likes Received:
    194
    That did the trick! Thank you so much. :)
     
  18. Rapala

    Rapala Registered

    Joined:
    Jan 26, 2015
    Messages:
    138
    Likes Received:
    55
    All the objects are flickering on the new Mountain Peak track, anyone else finding this or know how can i stop it doing this?

    edit: oops posted in wrong version thread - ignore
     
    Last edited by a moderator: Feb 3, 2015
  19. scalino

    scalino Registered

    Joined:
    Oct 21, 2013
    Messages:
    48
    Likes Received:
    2
    hi fb, great plugin, been a fan for sometime now..
    I'm using it in 32 bit mode for longtime, in conjunction with SoftTH on 3 screens setup. Works like a charm.
    I only recently discovered SoftTH had been released in 64 bits, so dl-ed it and had a go to see if I could get them to work together as they do in 32bits.

    (you see where I'm going now, hmm...? ;)

    ok, here are the full results (got a Win7 Pro 64bits system):
    - TrackMap works perfectly with its d3d9.dll file (alone in \Bin64)
    - SoftTH works perfectly with its d3d9.dll file (alone in Bin64)
    - now, when putting both together, doing the same setup than in 32 bits version, that is: d3d9.dll of TrackMap and d3d9_softth.dll for softTH's one, with TrackMapPlugin.ini saying: OriginalD3D9Dll=d3d9_softth.dll (which works ok in 32 bits), then the game is starting, splash screen, then the 3 screens began to "react" as they do in 32 bits, but then, windows goes back to desktop, with no messages at all. Here's the content of d3d9.log.txt after this kind of attempt:
    rFactor2rootFolder: F:\rF2
    INI FILE: F:\rF2\plugins\TRACKMAP\TrackMapPlugin.ini
    DLL_PROCESS_ATTACH
    IN Direct3DCreate9
    ModuleFileName: F:\rF2\Bin64\rFactor2.exe
    Configuration File: F:\rF2\Plugins\TRACKMAP\TRACKMAPconf.txt
    Proxy d3d9.dll
    OUT Direct3DCreate9
    IN myIDirect3D9::CreateDevice

    , and it stops there, when usually, after that last line above (when all is ok), I get these supplemental lines:
    IN myIDirect3DDevice9::Init
    IN CRenderPlugin::CRenderPlugin
    Plugin TRACKMAP Loaded
    TeamMembers: $$$SPECTATOR_MODE$$,Fazerbox
    HUD.Zoom = 1.000000
    OUT CRenderPlugin::CRenderPlugin
    OUT myIDirect3DDevice9::Init
    OUT myIDirect3D9::CreateDevice

    mTrackName = <name of the track I load>

    Would you have any advice for me or more info needed from me? It's quite frustrating to feel that you're very close to happiness (16GB are waiting...), but... nah! not really quite guys... nope! :)

    (I also tried the other way around, with tm's dll renamed and softTH config file saying dllPathD3D9=path+name of tm's dll, but still doesn't work... and it seemed a bit worst)

    Any help will be appreciated ;)
     
  20. fazerbox

    fazerbox Registered

    Joined:
    Oct 6, 2010
    Messages:
    187
    Likes Received:
    8
    Hi Scalino,

    I remember that many times ago, I made some test with SoftTH 64 bit version, but I was unable to make Trackmap Plugin 64bit and SofTH dll 64bit work together.
    Actually I don't know if problem is Trackmap side or not. About My plugin I have only recompiled it in 64bit, with really small changes not related to DirectX.

    When Trackmap works with other d3d9.dll, it calls exported functions from that dll instead call functions in d3d9.dll (microsoft).
    Maybe softTH 64bit export less functions of SoftTH 32bit.... But I'm not sure, I should check it.

    Cheers.
     

Share This Page