Internals Plugin V6. VS 2013 Project.

Discussion in 'Plugins' started by abdielja, Mar 12, 2015.

  1. abdielja

    abdielja Registered

    Joined:
    Jan 15, 2011
    Messages:
    19
    Likes Received:
    0
    After a lot of research in the forum and struggling for three or four days trying to compile and install the "Internals Plugin" project for VS, I finally got it to work correctly.

    So, now I have a Visual Studio 2013 Solution with this project that works right out of the box.


    What it does:

    - Configurations for Debug and Release for both _Win32, _x64.
    - Separate and organized directories for each Platform/Configuration.
    - 64 bit version automatically adds _x64 at the end of the dll name (InternalsPlugin_x64.dll).
    - Class ExampleInternalsPlugin inherits from InternalsPluginV06 instead of InternalsPluginV01.

    I've only tried it on my computer. I have Windows 7.

    If you want to try it download it here:

    http://abdielja.wix.com/pma-aj#!blog/c3z0

    * Remember that this plugin writes info to different files, so you might have to give permissions to all users in the RFactor2 installation directory or run the program as administrator.

    UPDATE: Noel Hibbard enhanced the VS Solution. Basically, when you rename the solution and project, the generated files are named accordingly. Thanks Noel !
    The link is in post #7 of this thread.
     
    Last edited by a moderator: Mar 14, 2015
  2. Ralffan

    Ralffan Registered

    Joined:
    Jan 30, 2014
    Messages:
    90
    Likes Received:
    25
    Thank you! :D
     
  3. Jeferson Richart

    Jeferson Richart Registered

    Joined:
    Oct 23, 2013
    Messages:
    174
    Likes Received:
    34
  4. Noel Hibbard

    Noel Hibbard Registered

    Joined:
    Oct 5, 2010
    Messages:
    2,744
    Likes Received:
    40
    Great idea abdielja! I was just thinking about doing this the other day. In the past I have been going through all these steps each time I started a plugin. I wanted to take the default plugin and fix it all up (including switching it to v6) and then put it aside as a template. But you beat me to it.

    ISI should take this as a base going forward.
     
  5. Noel Hibbard

    Noel Hibbard Registered

    Joined:
    Oct 5, 2010
    Messages:
    2,744
    Likes Received:
    40
    The only other thing I like to do is replace all references to InternalsPlugin with $(ProjectName). That way you can copy the whole folder, open up sln file, then rename the solution and project name and then when you compile it builds a bunch of files that match your project name.
     
  6. abdielja

    abdielja Registered

    Joined:
    Jan 15, 2011
    Messages:
    19
    Likes Received:
    0
    Yes. That is the next step. I'll try to do it over the weekend.
     
  7. Noel Hibbard

    Noel Hibbard Registered

    Joined:
    Oct 5, 2010
    Messages:
    2,744
    Likes Received:
    40
  8. tafkams

    tafkams Registered

    Joined:
    Jan 13, 2015
    Messages:
    44
    Likes Received:
    8

Share This Page