• GMod Ultimate Mount Tool - because gm_mount is ded
    29 replies, posted
After gm_mount and it's second version became non-compatibile with GMod and we've got a new system that makes us able to mount any game with a simple one file change, life became easier. But then I've came up with an idea to make it even easier - with GMod Ultimate Mount Tool. That's a small app I've made with C# that makes the mount config file by itself, so you don't have to mess up with it. Right now it supports "some" of the Steam Games and Mods that I've own (and because I tested the app on them) and SourceMods directory. The process is simple: You download and put the app wherever you like (it looks for Steam folder in registry so it doesn't matter where you put it rly, but remember to put the steam_apps_list directory in the same place). You launch the app and click "scan for content" button. The app will now see how many steam games and mods you have installed (based on stuff found in steam_apps_list directory), and do the same with your SourceMods directory. After "scanning" is complete, the app will tell you with a message box. You may now check which games and mods you want to mount to GMod. After doing that, click "Apply Changes" button. The app rewrites the mount.cfg file in your GMod directory, and after it's done, it'll tell you with a message box. You may now close the app and launch GMod. All the stuff you mounted should be now in game. Just to be clear - the app searches through Windows Registry and that's always a risk. I do not take any responsibilities if it somehow brokes your system (tho it really shouldn't, cause it only searches for Steam directory and checks which games are installed :v). That's the first version of the app too, so it might have some bugs I'm not yet aware of, and the list of Steam Games and Mods is pretty small right now (because it has to be made manually, not like with SourceMods where it's automatic). Download link there. Any questions or feedback? Much welcome - just write here! https://files.facepunch.com/forum/upload/283242/ff0a3f73-f607-4f97-8388-a444fd640291/8cc60b7a397a9c6a7a3b6f5de66934ae.png
Holy moly Here, catch a diamond!
Quick update: Right now I'm in process of downloading every possible Steam Source mods and free games to add their support for the app. Thanks to this I'll also be able to see how much of the stuff works in Garry's Mod, and this will be turned into another feature of the app called "Support Level". Now each title will be in color, and that color will determine how much stuff from particular game works or not. Will keep you all posted, cheers, glad you like it so far!
As promised, updates: The second version of the app is almost finished, and it looks like this: https://files.facepunch.com/forum/upload/283242/8ae6ca0c-5cc3-46bc-a483-fcd3ce5a448d/153edf8d72dd114cbc454bbe6e944ef7.png As you can see, promised support level indicator is there, with some additional infos provided by me. There's also an early version of "additional content support". For example, when the app detects there's some additional content not always being in the game directory itself, it'll mount it to the config too. This can be used for some games DLCs, or when old Source games have it's content separated into multiple directories (like dark Messiah has for example). I also added some simple support for Workshop files. If app detects the game has a workshop support, it'll also mount the content from that game too. Sadly, during tests I've discovered that it sometimes works, and sometimes don't and I cannot yet find a solution to that problem (since it's more of how people upload that stuff, not that the app cannot read it). Here's a screen of a mount file generated by that new version of the app, so you can see what exactly am I talking about: https://files.facepunch.com/forum/upload/283242/3a713f21-bf85-4422-bd0b-ad12c9cceb56/ecsdee2.png I plan to release that new version after I'm sure it's as bug-free as possible, and after testing all Source games and mods (so I can provide at least some basic info on every mount there). Till the next time!
one small niggle, i keep my entire steam folder on an external drive, and the program doesn't work because it only scans c:.
So you scan and no games show up? Or are there some games, but they do not mount?
unhandled exception error pops up, here's the dump: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object.    at GMod_Ultimate_Mount_Tool.MainForm.SteamContent.ScanForGame()    at GMod_Ultimate_Mount_Tool.MainForm.FillSteamCheckBox(List`1 list)    at GMod_Ultimate_Mount_Tool.MainForm.ScanForContent()    at GMod_Ultimate_Mount_Tool.MainForm.ScanForContentButton_Click(Object sender, EventArgs e)    at System.Windows.Forms.Control.OnClick(EventArgs e)    at System.Windows.Forms.Button.OnClick(EventArgs e)    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)    at System.Windows.Forms.Control.WndProc(Message& m)    at System.Windows.Forms.ButtonBase.WndProc(Message& m)    at System.Windows.Forms.Button.WndProc(Message& m)    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib     Assembly Version: 4.0.0.0     Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C     CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- GMod Ultimate Mount Tool     Assembly Version: 1.0.0.0     Win32 Version: 1.0.0.0     CodeBase: file:///E:/Steam/steamapps/common/GarrysMod/GMod%20Ultimate%20Mount%20Tool.exe ---------------------------------------- System.Windows.Forms     Assembly Version: 4.0.0.0     Win32 Version: 4.7.2556.0 built by: NET471REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System     Assembly Version: 4.0.0.0     Win32 Version: 4.7.2556.0 built by: NET471REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing     Assembly Version: 4.0.0.0     Win32 Version: 4.7.2556.0 built by: NET471REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Configuration     Assembly Version: 4.0.0.0     Win32 Version: 4.7.2556.0 built by: NET471REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Core     Assembly Version: 4.0.0.0     Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Xml     Assembly Version: 4.0.0.0     Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration>     <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
Okay, so I released a quick patch which I want you to download and try to use. It won't work sadly, but it'll generate a file that should tell me all the stuff I need for further bug fixing. After downloading and launching the app, please copy there the content of FoundPathes.txt. Cheers!
i'm still getting a crash because the app is still looking for mount.cfg in the c: drive.
Can you post here what does the "FoundPathes.txt" file contains? It should generate after you click "Scan for Content" button.
Moved to the correct section. I have a few of the games whose structure you're looking for - I'll take a look and post their file tree for you.
Cool, thanks for both!
foundpaths has this: Steam Path: c:/program files (x86)/steam SourceMods Path: c:/program files (x86)/steam/steamapps/sourcemods/ Garry's Mod Path: c:/program files (x86)/steam/steamapps/common/GarrysMod/
It looks that you musted moved your Steam folder to the external drive then, not just installed Steam there as you should, because registry wouldn't find a path that didn't exist in the first place. My idea is that you should delete all Steam traces from the registry, restart it, and the app should rewrite the configs to the registry based on where it really is. I actually tested it and it works just fine, tho as usual - I do not take any risk, after all it's system registry after all. :P Simply close Steam, delete "HKEY_Current_User/Software/Valve/Steam" directory from registry, and launch Steam again. It might take some time during it's "first" launch, as the program will start to detect all sorts of stuff and rewrite it to registry. Also, Steam will not remember your password and username, so you'll need to log-in again, but after that - my app should work just fine.
As promised: Bloody Good Time SiN Episodes Emergence Vampire The Masquerade - Bloodlines
Great, gonna update database on these first thing in the morning. Thanks!
This looks absolutely amazing. Keep it up!
Hopefully we can get it working with alternate drives, would be nice to have games that are on A: or D: or B: or G: etc to be mounted.
I'll get you Day of Infamy and Hunt Down the Freeman ( don't judge me )
But for me, they are. D: I have my Steam with all the games on G:/ drive and it's working like a charm. Is this some kind of another bug? Please give me some more details on it! Much loves! <3 Also, I don't judge. What's more, I intend to buy it one day, more as a meme than actual game, but whatevs. :P
Okay, so the newest version has gone public, please welcome 1.2! Changelog: Added support for ALL remaining free Steam Source mods and games Added default support level infos for apps that don't have any (so if there's no infos, you get a hint that you can provide it by yourself for the sake of whole humanity!) Disabled "maximize button" in main app window Fixed a bug that caused the app to crash if it couldn't find any "mount.cfg" in the GMod directory Fixed some typos Some other stuff I did to the code in the meantime and probably forgot about :v The download link in the first post has been updated, go ahead and try it!
Aaaand another small update, version 1.2.1. This one will probably be the last one for some time, as I'll be going to work now that's outside of my town, for like 1-2 months, and I cannot take my computer with me. :c Not much of the changes, but I decided to release what I currently have, so the database is fully updated for now, and also because I think deciding about workshop mounting might be important in some cases. Changelog: Added checkbox for workshop content mounting Added support for: Zeno Clash (the game itself, not the models back), and while it sucks ballz hard, maybe someone will somehow need it :v Entropy: Zero (hopefully that was the last Steam mod I forgot about) Download link, as always, updated in the first post. Cheers!
I'm going to re-release my Dark Messiah map ports thanks to this. Awesome work. Dark Messiah of Might and Magic Multiplayer Map Ports
Hi there, just a small update on what I'm currently working on right now. Remember when I mentioned that if I could get a server to store the database I might think about an auto-update system? Yep, that's what I'm working on right now. Currently it's a separate app that updates both app and database when there's a new version. I might move it to the main program or not, we shall see - currently it does it's job mostly fine (a couple of bugs to fix and it should be good). Here's a sneak peek of what was done already: https://files.facepunch.com/forum/upload/283242/6159c596-d321-4321-8dc2-ce9e459a82d0/e732fa7d67ede285a842372179beac99.png Sadly, my current vacation job does not allow me to work much on the app, but an updater should be ready during this weekend, or somewhat early in the next week. Stay tuned and thanks for all the nice words and support so far, I'm glad that you find that app useful!
With a small delay, but it's here - 1.3! https://files.facepunch.com/forum/upload/283242/3bd8bc2f-4095-4697-a399-aaecaa6de416/gg.png While the app itself didn't really change that much, the biggest thingy here is the updater - a new tool that I wrote with connection to my own server. It allows to update the app without downloading files manually - the app does it all by itself. You simply launch it, some magic happens to see if you have the newest version, and you can decide to update it or now. If something goes wrong - there's also this "Clean Instalation" button, which deletes all the app-related stuff from hard drive, and downloads it all again. The new updater app updates the app itself, the database (which I guess is gonna be used for mostly), and even the updater, if I find any reason to update it (bugs or improvements). So here ya go, the last dropbox download link - here. Let me know what ya think, or if you have any issues. Cheers!
Instalation is supposed to be spelled Installation :^)
Fixed, thanks. I'm a simple polak, we don't speak proper english. :P
As long as we are on the subject (and I hope that I do not come across as nitpicking) perhaps the phrase "biggest thingy here" could be "biggest new feature" or something similiar. Seems more professional. Anyway, this is a fantastic tool! Great work.
Fixed that too. <3 Thanks for the love. :3
Small update has been released, so you can use updater to download it. Nothing special really - just small fixes. If you encounter any problems with using updater - let me know, it's the first time an update is released with it. :P
Sorry, you need to Log In to post a reply to this thread.