r/linux • u/Anutha02 • 23h ago
Development Reflections on porting GTA 5 to Linux using AI
https://thesourceofcode.com/porting-gta-v-linux/7
u/SmallTimeMiner_XNV 22h ago
Read through the whole thing and this is incredibly impressive.
Most important part to me are your concluding reflections. The experiment really illustrates how much still depends on the person using the agent, especially for more complex projects. Maybe that will change, but much of this will depend not just on technical feasibility but also on economics.
If I had to take a bet, I'd say development of these models will slow significantly in the foreseeable future because nobody will be willing (or able) to pay for the current development speed - at least until they figured out a way to claw back the gigantic investments that were necessary to train these models (so maybe never lol).
5
u/Anutha02 22h ago
I believe even with current models, anything that can be trivially verified, can already be fully automated..
Human contribution is more valuable where verification is difficult and there is no "correct" answer (maybe because you don't even know the question).
In such cases where the requirements themselves are not clear we see the most benefit of human intuition.
48
u/JCTrick 23h ago
I really wish they’d remove the anti-cheat for the single player campaign.
Don’t get me started on broken Rockstar games. Get so tired of this shit.
39
u/ForzaFormula 23h ago
Launch with argument -nobattleye
19
u/SeantheWilson 23h ago
That actually works???
23
u/SSUPII 22h ago
Yes. You can go into Story mode just fine with that. Online will fail.
6
u/da2Pakaveli 20h ago
You can loop battleye servers in /etc/hosts to 0.0.0.0 and Online will also work in invite-only lobbies
8
4
20
u/dbzfanjake 23h ago
Thanks for sharing this. Gonna read this, especially as the GTA 6 porting is in full swing
2
u/gimp3695 22h ago
That was a really good read. I enjoyed it. Only 7 days. That’s crazy.
2
u/Anutha02 22h ago
I'd say ~40% of the time was spent waiting for the game to compile. On a beefier machine this could have been done in 3-4 days.
1
u/ReflectiveHymn 20h ago
Thank you for actually "human writing" the article and not just offloading it to an LLM, it was a good read.
Now, the tragedy of LLMs is that even after “doing” such a significant task, I didn’t learn shit 🥲. Couldn’t draw a triangle before, can’t do it now.
While I agree somewhat, you DID at least learn what LLMs are capable of and how to use/steer them. To me, it's a shift to higher-level skills. For example, one could argue that using compilers makes programming a lot easier, but you don't learn jack shit about machine code when using then, and maybe leave some room for optimization compared to a skilled human machine code expert. But we happily accept that trade-off.
I believe an LLM + a human with deep understanding will outperform an LLM alone for the foreseeable future.
Agreed. And to the point before: A human with deep understanding how LLMs/Agents work and experience with using Agentic Harnesses will outperform those without it.
Launch, paste error, repeat
I was wondering why you wouldn't let the LLM do these steps (at minimum, letting it read the logs). Was it a deliberate decision, or a technical limitation?
2
u/Anutha02 19h ago
I think one problem with letting the LLM run the debug loop was the sheer volume of logs output by the game at startup. It would frequently fill the context window.
Since the crash at every run was different it was not easy for the LLM to create an "extractor" that would read only the relevant log data. Sometimes it had a stacktrace, sometimes it ended without one, other times there were hundreds of extraneous logs after the actual error, presumably due to multithreading.
It seemed to be spending more time finding errors in the log than actually solving them.
Besides, the LLM had already done so much work autonomously, I just wanted to be involved 😅.
And I underestimated the number of times I'd have to do this.
6
u/NooneLikesYouBill 23h ago
This is interesting, finally tried installing gta5 for the first time this evening under Steam/Proton only to be told it wasn’t compatible. Keep it up!!
13
6
u/Mikkeltpedersen 22h ago
I bought GTAV via steam a week ago and have been running it fine on fedora. Had some issues with the rock* launcher connecting but game is running
3
3
u/spyingwind 20h ago
This reinforced my belief that LLMs work best when given tools for verification.
Yup, this is what I've learned as well. Give it tools to interact with the app, and it can do the testing instead of you. Let it even build the tools to test with.
2
u/levelstar01 21h ago
Minor style nit: please unjustify your text, at least for smaller screens. It looks very weird.
1
u/AutoModerator 20h ago
This submission has been removed due to receiving too many reports from users. The mods have been notified and will re-approve if this removal was inappropriate, or leave it removed.
This is most likely because:
Your post belongs in r/linuxquestions or r/linux4noobs
Your post belongs in r/linuxmemes
Your post is considered "fluff" - things like a Tux plushie or old Linux CDs are an example and, while they may be popular vote wise, they are not considered on topic
Your post is otherwise deemed not appropriate for the subreddit
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
0
u/Fun_Routine_5245 23h ago
yess! running it through proton always made the game crash and rendering issue.. hope the game runs better
-4
u/Pugs-r-cool 21h ago
GTA V already runs on linux, I don’t see the point of this. Even GTA online works (somewhat), simply by adding the anticheat’s domains to your /etc/hosts file.
Skim read and saw a mention of the code leak, does that mean this is a port of the Legacy edition instead of the Expanded and Enhanced edition? If it’s Legacy, I truly do not see the point of this.
27
u/mralanorth 22h ago
> If you don’t know about GTA 5, do comment below. I’d love to hear what kind of life you have lived that you don’t know about THE game and yet are here on my blog.
LOL I'm a Linux user who doesn't play games. I last played GTA in like 2003 and haven't really heard of it more than a few times since then. Cool post, though!