STEAM-GRUPPE
Soure Mult-Tool SourceMT
STEAM-GRUPPE
Soure Mult-Tool SourceMT
47
I SPIL
211
ONLINE
Grundlagt:
23. november 2013
Alle diskussioner > Help > Trådoplysninger
SlightlyTango 11. sep. 2018 kl. 0:46
Source for the tool? :)
Hi!

I was starting to work on a tool to set up my rather complicated gmod setup automatically. Then I remembered this tool.
Would you be willing to release the source for your tool? :)
It feels stupid for me to reinvent the wheel just to add a few features.
< >
Viser 1-10 af 10 kommentarer
Wazanator 11. sep. 2018 kl. 20:54 
Sadly I lost the source code for it the same year from a hard drive failure before I was using GitHub.

It's rather simple, it just makes a fake source mod and modifies the gameinfo.txt to load assets. For figuring out what games they had available I just looked through everything in their steam directory for known source games. The code was also really really poorly made. 80% of it was just a giant switch statement.

This is the rewrite I started on a few months ago https://github.com/Jesse-Culver/SourceMultiTool_CSharp/blob/master/SourceMultiToolCSharp/mainMenuForm.cs
I didn't get very far with it before I had to stop to focus on some other stuff.

For Gmod though I later found out you can just change the mount.cfg (garrysmod/cfg/) and it mounts whatever you put in there which is probably what you want. It also will mount any files found in the addons folder as long as it is setup properly (e.g. addons/myassets/models/house/myhouse01.mdl)
SlightlyTango 12. sep. 2018 kl. 11:17 
You won't mind if I take a peek at the disassembled sources? :)
dotnetpeek is pretty much spot on for this stuff. Mostly just interested in the creating of a fake source mod tbh.

My plan is to make a tool that creates an enviroment like the one I have had before, where I host hammer in a sourcemod area, so it can see all of the custom textures and whatnot, and then just copy and run gmod. I have a tool that automatically bakes in all the textures and generates cubemaps, so it's pretty much just the setup that is needed. Sorry, ranting along :').
Wazanator 12. sep. 2018 kl. 18:31 
Yeah that's fine!

But really all I did was take what I wrote in this guide and automated it a bit, keep in mind the tool has a fairly bad bug on my part for finding what you have installed. I assumed at the time the registry entry for Steams install location would be the only place players would have games installed since I never considered people having multiple hard drives. https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=187235526
SlightlyTango 13. sep. 2018 kl. 8:18 
Yeah, took a peek, and then took a little walk along the steam configs. Turns out there are two files with all the paths to the different steam stores (I have two on my computer, so, yay.). So just need to parse that out (or, heh, just do a filthy filllthy regex). Then again, that's just for finding defaults I guess ;).
Wazanator 13. sep. 2018 kl. 17:54 
Yeah, my newer one just looks at libraryfolders.vdf which is a much better way of handling it. Best of luck with your tool!
SlightlyTango 18. sep. 2018 kl. 6:41 
Yo. I have started to cobble together something with a mix of my code, your code for v1 and v2, at https://github.com/magnusjjj/TuxieLaunch .

Can we license it as some open source license? I mean, there is a LOT of copy paste in there :')
Wazanator 18. sep. 2018 kl. 18:41 
Sure if you want to throw a GPL license on it that's fine.
Cook13s 16. okt. 2019 kl. 4:34 
Any updates on this? I was trying to see if I can get this going, I can't find the installer for the updated tool
ljcool2006 11. jan. 2021 kl. 20:37 
Do you still have the hard drive? Would a recovery option be possible?
Wazanator 11. jan. 2021 kl. 22:21 
The drive physically failed. It's not a complicated tool and most of what it does is in the link above.
< >
Viser 1-10 af 10 kommentarer
Per side: 1530 50

Alle diskussioner > Help > Trådoplysninger