安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
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)
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 :').
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
Can we license it as some open source license? I mean, there is a LOT of copy paste in there :')