• [Beta] Garry's Mod Optimizer
    28 replies, posted
Hello, I've made an application, which can help you with optimizing gmod, I know a lot of people have troubles with fps on gamemodes like CityRP / DarkRP. How does it works? You need to mark what do you want to disable in gmod using my app, then you need to click "Save" and enjoy, config will be saved in your gmod location, It will be loaded from register [URL="https://github.com/orzel1244/GmOptimizer/tree/master"]Github[/URL] // Made in C++ using QtQuick [URL="https://PayPal.Me/MaciekRosiak/"]Donate[/URL] // Give me some coffee using paypal [URL="https://drive.google.com/file/d/0B00ImuQe6vATak1YemtOanprNWM/view"]Download here[/URL] // Updated [URL="https://www.virustotal.com/en/file/3b7082474ab87dd6578c8e154ced645c3b005badc184b35c34 31c538706d1f48/analysis/1471766078/"]Scan[/URL] [video=youtube;ol3zJYC7Oiw]https://www.youtube.com/watch?v=ol3zJYC7Oiw[/video] Sorry for my simple english, I'm 17 years old, I'm trying to learn english. I hope you will understand.
[url=https://github.com/orzel1244/Garry-s-Mod-Optimizer/blob/master/SourceGamesOptimizer/class/saver.cpp#L9]just as i thought[/url], you should probably find the installed path in some other way, not everyone uses the default folder at least it looks decent
[QUOTE=Giraffen93;50893932][url=https://github.com/orzel1244/Garry-s-Mod-Optimizer/blob/master/SourceGamesOptimizer/class/saver.cpp#L9]just as i thought[/url], you should probably find the installed path in some other way, not everyone uses the default folder at least it looks decent[/QUOTE] Yeah bro, I will give ability to select your path, thanks :D
[QUOTE=orzel1244;50893952]Yeah bro, I will give ability to select your path, thanks :D[/QUOTE] This is how you find the path to Garry's Mod on Windows (code in C#, but might give you an idea): [CODE]RegistryKey regKey = Registry.CurrentUser; regKey = regKey.OpenSubKey(@"Software\Valve\Steam"); regKey.GetValue("SteamPath").ToString() + @"\steamapps\common\garrysmod\garrysmod\"[/CODE] Additionally, if you want to make sure you also take into account external Steam Libraries, there is a file named config.vdf at the following location with references to the paths of all external libraries: [CODE]regKey.GetValue("SteamPath").ToString() + @"config\config.vdf"[/CODE] The keys you are looking for on the VDF are: BaseInstallFolder_1, BaseInstallFolder_2, etc.
Yeah, I said I will do it, also I need to remake this app (I want to make material design), At this moment I'm busy, but later I will upgrade it, thanks for feedback :D
[QUOTE=aftokinito;50900255]This is how you find the path to Garry's Mod on Windows (code in C#, but might give you an idea): [CODE]RegistryKey regKey = Registry.CurrentUser; regKey = regKey.OpenSubKey(@"Software\Valve\Steam"); regKey.GetValue("SteamPath").ToString() + @"\steamapps\common\garrysmod\garrysmod\"[/CODE] Additionally, if you want to make sure you also take into account external Steam Libraries, there is a file named config.vdf at the following location with references to the paths of all external libraries: [CODE]regKey.GetValue("SteamPath").ToString() + @"config\config.vdf"[/CODE] The keys you are looking for on the VDF are: BaseInstallFolder_1, BaseInstallFolder_2, etc.[/QUOTE] And what of those of us that lack that reg key? My Steam folder, GMod with it, have been on this hard drive through three versions of windows and have been copypasted across two harddrives over the years. I'm fairly certain the key isnt there on my machine.
[QUOTE=TestECull;50901482]And what of those of us that lack that reg key? My Steam folder, GMod with it, have been on this hard drive through three versions of windows and have been copypasted across two harddrives over the years. I'm fairly certain the key isnt there on my machine.[/QUOTE] Pretty sure for Steam to work it needs to be in your registry. It probably adds itself when it launches.
[QUOTE=YourStalker;50901636]Pretty sure for Steam to work it needs to be in your registry. It probably adds itself when it launches.[/QUOTE] This is the correct answer, it will add it as soon as it tries to update (that small window with a progress bar that shows sometimes before Steam starts). The first time you start Steam on a new system without going through the installer, it will trigger this state, so TestECull certainly has that reg key.
[QUOTE=aftokinito;50900255]This is how you find the path to Garry's Mod on Windows (code in C#, but might give you an idea): [CODE]RegistryKey regKey = Registry.CurrentUser; regKey = regKey.OpenSubKey(@"Software\Valve\Steam"); regKey.GetValue("SteamPath").ToString() + @"\steamapps\common\garrysmod\garrysmod\"[/CODE] Additionally, if you want to make sure you also take into account external Steam Libraries, there is a file named config.vdf at the following location with references to the paths of all external libraries: [CODE]regKey.GetValue("SteamPath").ToString() + @"config\config.vdf"[/CODE] The keys you are looking for on the VDF are: BaseInstallFolder_1, BaseInstallFolder_2, etc.[/QUOTE] Won't work if I have the game installed somewhere that isn't my steam folder.
Is this VAC Approved by Valve?
[QUOTE=Dan41550;50904113]Is this VAC Approved by Valve?[/QUOTE] Yes! This man would most certainly release a "cheat" in the official Garry's Mod forum. You're very smart, maybe too smart for these forums :D
You should probably add a presets menu, which lets you select different quality options like low, medium and high. I made a concept for it, with some more options that i think would be good if you added. Sorry if it seems rough, it's just a mock-up. [img]http://i.imgur.com/7iYBF7j.png[/img] [QUOTE=Dan41550;50904113]Is this VAC Approved by Valve?[/QUOTE] It adds lines to your autoexec.cfg file, which anyone can do. It is not a bannable offense as it is not hacking as is a part of source.
[QUOTE=gmadador;50905431] It adds lines to your autoexec.cfg file, which anyone can do. It is not a bannable offense as it is not hacking as is a part of source.[/QUOTE] So it's not VAC Approved?
[QUOTE=Dan41550;50906284]So it's not VAC Approved?[/QUOTE] It's just simple config editing for technologically impaired and/or lazy, such as you as for what I get from your post. You can do all of it in-game if you want to.
[QUOTE=Dan41550;50906284]So it's not VAC Approved?[/QUOTE] No, but there is no need for it to be. This program is just a visual interface for commands you can put in the game that are already part of the game. Simply put, it is not VAC secured but doesn't need to be. This is just a program that tells the game to run commands at tstartup. And either way, it couldn't be VAC secured anyway. [editline] or what he said [/editline] Or what he said
[QUOTE=StonedPenguin;50903195]Won't work if I have the game installed somewhere that isn't my steam folder.[/QUOTE] The only case I can think of that wouldn't work with my method is if you had a pirated version of gmod outside Steam's boundaries. Otherwise, your gmod installation will always be inside a Steam Library, be it on the default one (%ProgramFiles(x86)%\Steam\steamapps) or any of your custom Steam Libraries (ex: D:\SteamLibrary\steamapps).
[QUOTE=Dan41550;50906284]So it's not VAC Approved?[/QUOTE] "will i get banned for editing my config using notepad??"
[QUOTE=aftokinito;50907485]The only case I can think of that wouldn't work with my method is if you had a pirated version of gmod outside Steam's boundaries. Otherwise, your gmod installation will always be inside a Steam Library, be it on the default one (%ProgramFiles(x86)%\Steam\steamapps) or any of your custom Steam Libraries (ex: D:\SteamLibrary\steamapps).[/QUOTE] -snip- [editline]rip[/editline] I somehow totally missed the last line of your first post, nevermind.
[QUOTE=StonedPenguin;50917210]It won't work if you have more then one steam library, usiing the exact code you posted it points to my c drive while I have garrysmod installed on another drive. [t]https://fi1.es/2FE[/t][/QUOTE] To combat this, you can query [i]$steampath[/i]/steamapps/libraryfolders.vdf for alternative directories. [code]"LibraryFolders" { "TimeNextStatsReport" "1471785033" "ContentStatsID" "-7185833543422658887" "1" "G:\\Steam Library" } [/code]
I will do it using register, remake here: [url]https://github.com/orzel1244/GmOptimizer[/url] [WiP, you can't download bin]
It's almost done, I hope I will post it today :D
Really neat dude
Ref
ref?
ref
[QUOTE=orzel1244;51004713]ref[/QUOTE] Does ref mean something in Polish?
[QUOTE=code_gs;51006139]Does ref mean something in Polish?[/QUOTE] I think he posts that when he makes a commit.
Thanks! Will use it when I need to use my potato laptop again.
Bump [editline]26th September 2016[/editline] btw. "ref" mean refresh xD
Sorry, you need to Log In to post a reply to this thread.