1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Installing ModBuddy extensions

Discussion in 'Civ5 - Modding Tutorials & Reference' started by CommanderZ, Oct 3, 2010.

  1. CommanderZ

    CommanderZ Chieftain

    Joined:
    Nov 24, 2007
    Messages:
    182
    Location:
    Prague, Czech. Rep.
    There are no ModBuddy extensions yet, but I'm working on some, so you folks would better be prepared :)

    These are fixes to Firaxis' laziness and I hope these steps won't be necessary after some future patch.

    THIS NEEDS TO BE DONE ONLY ONCE

    1) Go to the ModBuddy directory ( <Steam directory>\steamapps\common\sid meier's civilization v sdk\ModBuddy)
    2) Execute registry file "ModBuddy.reg" (double click on the file and click OK, administrator privilege is required)
    3) Open file "ModBuddy.pkgdef" in a text editor (Notepad should do)
    4) Add these two lines to the end of the file:
    Code:
    "ProductVersion"				= "1.0"
    "AppName"				= "ModBuddy"
    5) Save
    6) Go to ModBuddy directory and start ModBuddy directly by running the ModBuddy.exe file (starting it through shortcuts won't work)
    7) New windows pops up telling you that the ModBuddy was registered as VS Isolated Shell application (which is what we wanted). Click OK.
    8) You can now execute ModBuddy-compatible VSIX files :)
     
  2. Kyoss

    Kyoss Chieftain

    Joined:
    Jun 21, 2008
    Messages:
    50
    Location:
    Germany
    Nice, looking forward to your extensions. :)
     
  3. civ5crazy

    civ5crazy Chieftain

    Joined:
    Sep 21, 2010
    Messages:
    33
    Location:
    Edmond, OK
    thank you for the info just loaded my first vsix awesome i must say thanks again.
     
  4. primem0ver

    primem0ver Chieftain

    Joined:
    Jun 16, 2006
    Messages:
    1,091
    Location:
    Mesa, AZ
    I cannot get this to work. I followed the instructions and I don't get the message that ModBuddy was registered at all. I still get an error message when I try to run a VSIX file (your Vanilla Asset Browser). Just to make sure I copied your text from here straight into the file and it still didn't work.
     
  5. ArgentumStudios

    ArgentumStudios Chieftain

    Joined:
    Sep 18, 2010
    Messages:
    122
    Location:
    Utah, US
    When I did it, I had to actually double click on the .exe sitting next to the pkgdef file, running it through Steam or any of the shortcuts didn't read it for some reason.
     
  6. primem0ver

    primem0ver Chieftain

    Joined:
    Jun 16, 2006
    Messages:
    1,091
    Location:
    Mesa, AZ
    Ok, thanks. That seems to have worked.
     
  7. MikieCGY

    MikieCGY Chieftain

    Joined:
    Oct 10, 2010
    Messages:
    3
    Where does one Download ModBuddy? tons of references on how to use it.. but nowhere states where to download it?
     
  8. ArgentumStudios

    ArgentumStudios Chieftain

    Joined:
    Sep 18, 2010
    Messages:
    122
    Location:
    Utah, US
    It is part of the SDK. In steam go to Library -> Tools and install Sid Meier's Civilization V SDK from the list. Then 'play' it using steam or the start menu shortcut and select ModBuddy from the list of SDK apps in the main menu. :)
     
  9. VRBones

    VRBones Chieftain

    Joined:
    Dec 3, 2001
    Messages:
    8
    Location:
    Brisbane, Australia
    Thanks for that, worked for me too. Could the install instructions add that step?
     
  10. Zogar

    Zogar Chieftain

    Joined:
    Sep 29, 2010
    Messages:
    117
    I'm completely struggling to make this work. First I spent two hours before finding I must download the sdk from steam (was said nowhere, I assume everyone knew this ...).

    Then modbuddy crashes (requires dll). After some research, I understand I must install Visual Studio Express 2010. So I go to mic. site, and find I need WPI to install VWD. It takes forever to install, needs to reboot, finishes installation. But I don't find Visual Web Developper anywhere on my computer, when on the link it said it's automatically installed ... I click on DL VWD on microsoft site, I get the message (wpi protocol not assigned to any program )

    OMG I'm getting crazy !! But now when I start modbuddy I don't get the dll error but 'one or more components miss'. I guess I'm progressing ...

    EDIT : Ok, it's really a mess, first I need to click on DL from IE and not firefox. Now I get the lovely message your win version is not ok. I need to dl and install SP2. OK. I jump through the window ...
     
  11. lemmy101

    lemmy101 Chieftain

    Joined:
    Apr 10, 2006
    Messages:
    1,064
    Grr this doesn't work for me at all. :( Ran it from the exe directly, nothing happened and VSIX still won't work.
     
  12. DrEvil

    DrEvil Chieftain

    Joined:
    Jan 19, 2002
    Messages:
    18
    Location:
    Ottawa Canada
    I tried this and now Modbuddy doesn't work at all.
     
  13. DrEvil

    DrEvil Chieftain

    Joined:
    Jan 19, 2002
    Messages:
    18
    Location:
    Ottawa Canada
    Sorry, I'm running win7-64. My guess is the reg file is referencing Program Files as opposed to "Program Files (x86)"
     
  14. DrEvil

    DrEvil Chieftain

    Joined:
    Jan 19, 2002
    Messages:
    18
    Location:
    Ottawa Canada
    Resolved the problem by modifying the registry file (find and replace) all calls for:

    "$RootFolder$\\ModBuddy.exe"

    to:

    "C:\Program Files (x86)\Steam\SteamApps\common\sid meier's civilization v sdk\ModBuddy.exe
     
  15. maqabee

    maqabee Chieftain

    Joined:
    Nov 18, 2001
    Messages:
    27
    Does anyone know the PATH to put in visual studio for Modbuddy.. Thx in advance for an answer
     
  16. wolf5370

    wolf5370 Chieftain

    Joined:
    Aug 29, 2003
    Messages:
    2
    Location:
    UK
    Great - this had the affect that now I can't open ModBuddy at all (run directly or via steam icon etc - nothing runs) - world builder/nexus etc all still OK. Re-registered backed up keys and backed out above, but nothing fixes. Guess I'll reinstall from steam then!

    Win 7 32 bit - Steam Digital (genuine) Civ V

    ---------------------------------------------------

    OK - more info (this is a post edit)

    Firstly, uninstalling and reinstalling did not return ModBuddy. This was because reg keys were still there and it is them that cause the issue.
    So, dleted again (using Steam/Games/Tools [right click] Dlete Local Content). Using RegEdit.exe (ad the reg file as a guide) I delete all the keys mentioned - fully delete them as follows:

    HKEY_CLASSES_ROOT\CLSID\{f65cecd0-f2fa-4e17-9603-9a311d6b0af9} --- Prune whole key from below CLSID.
    HKEY_CLASSES_ROOT\CLSID\{3d77f32d-c2ac-4721-bab1-092090487c4f} --- Prune whole key from below CLSID.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppEnv\10.0\Apps\ModBuddy_1.0 --- Prune whole key from below Apps.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ModBuddy.exe --- Prune whole key from below "App Paths".
    (I left the other keys in HKEY_CLASSES_ROOT)

    Then reinstalled from Steam (Right click Install from same Steam panel as above).

    That got MoBuddy back to working again. Then just run the app directly from [Program Files Directory]\Steam\steamapps\common\sid meier's civilization v sdk\ModBuddy - double click ModBuddy.exe.
    This brought up the update panel - i.e. do you want to register ModBuddy as VS Isolated Shell application - Click Yes and all set.

    I guess there has been an SDK fix that makes most of the OP mute, and just a manual (i.e. not via desktop link or Steam) run activates the VSIS update panel - note that, for me at least (twice I might add!), doing the other stuff (reg keys etc) caused it not run, so beware!

    //Edit ends//
     
  17. PrimoXanthous

    PrimoXanthous ~ knightmare13 ~

    Joined:
    Feb 19, 2012
    Messages:
    633
    Location:
    Sa Puso mo
    what is VSIX files ?
     

Share This Page