【Hacker News搬运】Valve发布《军团要塞2》游戏代码
-
Title: Valve releases Team Fortress 2 game code
Valve发布《军团要塞2》游戏代码
Text:
Url: https://github.com/ValveSoftware/source-sdk-2013/commit/0759e2e8e179d5352d81d0d4aaded72c1704b7a9
很抱歉,我无法直接访问外部链接,包括GitHub上的代码提交页面。不过,我可以根据你提供的提交哈希值 `0759e2e8e179d5352d81d0d4aaded72c1704b7a9` 来描述通常如何分析一个代码提交,并说明如果内容不是中文,如何进行翻译。 1. **访问GitHub提交页面**: 你可以通过访问以下链接来查看具体的提交信息:
https://github.com/ValveSoftware/source-sdk-2013/commit/0759e2e8e179d5352d81d0d4aaded72c1704b7a9
2. **分析提交内容**: 在提交页面,你可以看到以下信息: - **提交者**:提交代码的用户名。 - **提交日期**:代码提交的日期和时间。 - **提交信息**:简短的描述,说明了这次提交的目的。 - **变更文件**:这次提交影响的文件列表。 - **详细差异**:具体的代码变更。 3. **使用JinaReader抓取分析**: 如果使用JinaReader这样的工具来分析这个提交,你可能会执行以下步骤: - **抓取页面**:使用JinaReader的爬虫功能抓取提交页面。 - **解析数据**:解析出提交者、日期、提交信息、变更文件和详细差异。 - **分析内容**:分析提交信息,理解代码变更的目的和影响。 4. **翻译非中文内容**: 如果提交内容不是中文,你可以使用以下方法进行翻译: - **使用在线翻译工具**:如Google翻译、DeepL等,将提交信息、变更文件描述等非中文内容翻译成中文。 - **人工翻译**:如果内容很重要,可能需要人工翻译以确保准确性。 以下是一个假设的翻译过程示例: - **提交信息**:原本是 "Fixed issue with player movement in multiplayer." - **翻译**:修复了多人游戏中玩家移动的问题。 请注意,上述步骤是基于一般情况下的代码提交分析流程,具体操作可能会根据实际使用的工具和需求有所不同。
Post by: davikr
Comments:
jsheard: This is good for modding but don't be misled, this is the TF2-specific code which sits on top of the still-closed-source Source engine. For example you couldn't port TF2 to a new platform with this, at least not without reimplementing Source or wrangling it into working with one of the leaked Source codebases and dealing with the legal fallout of that.
jsheard: 这有利于修改,但不要;不要被误导,这是位于仍然关闭的源代码引擎之上的TF2特定代码。例如,您可以;t使用此功能将TF2移植到新平台,至少在不重新实现Source或将其与泄露的Source代码库之一进行争论并处理其法律后果的情况下是这样。
sevenf0ur: As someone who used mod TF2 on the server side, this is fantastic. I've spent countless hours analyzing the binaries in IDA and now you can just open github. This will definitely accelerate new features and bugfixes from the community.<p>It's about damn time, really. The TF2 source code has already leaked twice. And a group even made a cloned version of the game in an earlier version of the engine. The community support this game still has is massive.
sevenf0ur: 作为在服务器端使用mod TF2的人,这太棒了。我;我花了无数个小时分析IDA中的二进制文件,现在你可以打开github了。这肯定会加速社区的新功能和错误修复<p> 它;真是该死的时候了。TF2源代码已泄漏两次。一个团队甚至在早期版本的引擎中制作了游戏的克隆版本。这个游戏的社区支持仍然是巨大的。
Lammy: I hope this is good news for TF2 Classic.<p>edit: here's the announcement from the TF2C Discord:<p>==============<p>@everyone We'll have more to say later, but you might not be able to launch TF2 Classic for a little bit due to the massive SDK update and public release of Team Fortress 2's code.<p>We're already preparing for the porting efforts and a potential Steam release now that we've been legally enabled to pursue that, but in the meantime, you will have to shift Source SDK Base 2013 Multiplayer to the "previous2021" beta branch that still has the previous revision of the SDK files to continue playing. See the screenshot for an example.<p>Thank you, and we'll have more news soon!
Lammy: 我希望这对TF2 Classic来说是个好消息<p> 编辑:在这里;这是TF2C Discord的公告:@everyone We;稍后我们将有更多内容,但由于Team Fortress 2的大规模SDK更新和公开发布,您可能暂时无法启动TF2 Classic;s代码<p> 我们;我们已经在为移植工作和潜在的Steam版本做准备,因为我们;我在法律上有权追求这一点,但与此同时,你必须将Source SDK Base 2013多人游戏转移到";2021年以前";测试版分支仍然有以前版本的SDK文件可以继续播放。请查看屏幕截图以获取示例<p> 谢谢,我们;我很快就会有更多消息!
pie_flavor: The game appears to have been renamed "Frog Fortress 2".<p><a href="https://github.com/ValveSoftware/source-sdk-2013/blob/0759e2e8e179d5352d81d0d4aaded72c1704b7a9/game/mod_tf/gameinfo.txt#L3">https://github.com/ValveSoftware/source-sdk-2013/blob/0759e2...</a>
pie_flavor: 该游戏似乎已被重新命名为";青蛙要塞2"<p> <a href=“https:"Ś)ɿœgithub.comŜValveSoftware"; source-sdk-2013"/;github.com;ValveSoftware
;source-sdk-2013;blob;0759e2</a>
pityJuke: The official blog post: <a href="https://www.teamfortress.com/post.php?id=238809" rel="nofollow">https://www.teamfortress.com/post.php?id=238809</a><p>(Also includes links to recent updates for other Source engine titles)
pityJuke: 官方博客文章:<a href=“https:/;www.teamfortress.com/:post.php?id=238809”rel=“nofollow”>https:/;www.teamfortast.com;post.php?id=238809</a><p>(还包括其他源代码引擎标题的最新更新链接)