this post was submitted on 14 Oct 2026
256 points (95.4% liked)

Games

51432 readers
863 users here now

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Rules

1. Submissions have to be related to games

Video games, tabletop, or otherwise. Posts not related to games will be deleted.

This community is focused on games, of all kinds. Any news item or discussion should be related to gaming in some way.

2. No bigotry or harassment, be civil

No bigotry, hardline stance. Try not to get too heated when entering into a discussion or debate.

We are here to talk and discuss about one of our passions, not fight or be exposed to hate. Posts or responses that are hateful will be deleted to keep the atmosphere good. If repeatedly violated, not only will the comment be deleted but a ban will be handed out as well. We judge each case individually.

3. No excessive self-promotion

Try to keep it to 10% self-promotion / 90% other stuff in your post history.

This is to prevent people from posting for the sole purpose of promoting their own website or social media account.

4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

This community is mostly for discussion and news. Remember to search for the thing you're submitting before posting to see if it's already been posted.

We want to keep the quality of posts high. Therefore, memes, funny videos, low-effort posts and reposts are not allowed. We prohibit giveaways because we cannot be sure that the person holding the giveaway will actually do what they promise.

5. Mark Spoilers and NSFW

Make sure to mark your stuff or it may be removed.

No one wants to be spoiled. Therefore, always mark spoilers. Similarly mark NSFW, in case anyone is browsing in a public space or at work.

6. No linking to piracy

Don't share it here, there are other places to find it. Discussion of piracy is fine.

We don't want us moderators or the admins of lemmy.world to get in trouble for linking to piracy. Therefore, any link to piracy will be removed. Discussion of it is of course allowed.

Authorized Regular Threads

Related communities

PM a mod to add your own

Video games

Generic

Help and suggestions

By platform

By type

By games

Language specific

founded 3 years ago
MODERATORS
 

I wrote a blog post on the current trend of game decompilations using AI and where we're going with this. It's all very promising but oh boy are the implications scary.

you are viewing a single comment's thread
view the rest of the comments
[–] ChrysanthemumIndica@discuss.tchncs.de 10 points 2 weeks ago (1 children)

I've been thinking about this a lot too, because of seeing all these decompilations (with all the implications that comes with, as you point out some of them), but also because my own "learning LLM tooling" project was reverse engineering Civ IV, and rereleasing in a 64 bit engine with more accessible controls at the expense of 3d (sort of like Unciv).

I did not do a decompilation, especially because the core of the game has restrictive-licensed source released, but i was able to build clean specs from that source, and then with as clean of context of possible, stage the production and testing of features. I honestly don't know how you'd prove a classic clean room implementation with LLMs (and definitely not in a one shot), and i can't really prove my implementation is clean either.

I really hate the direction of all this stuff (so so much), and i hate that my disabled ass feels compelled to learn such tools so I am able to feed myself. But I did try to have some good come out of it (generic reverse engineered specs, basic accessibility framework, game automation framework, and i definitely learned a lot, plus it does work pretty ok)

I haven't been able to figure out a way to release in a way that fits my ethical framework, without also resulting in people insulting me (which I don't have a lot of room for in my life right now). I'll happily take suggestions though!

I'd love for this to not be wasted effort, especially because of the accessibility enhancements for a beloved but proprietary game.

[–] sem@lemmy.blahaj.zone 3 points 1 week ago (1 children)

This is all very new to me, but I think I get what you're saying. Could I ask you to check my understanding of this part?

but i was able to build clean specs from that source, and then with as clean of context of possible, stage the production and testing of features.

Does this mean that Civ 4 has its source available -- and you fed it into the LLM and asked it for a human -readable design spec for what the source code does.

Then you took that spec sheet and asked a new LLM to generate source code that matches the spec sheet, with some modifications you desired (e.g. 64 bit and different controls).

I guess i have a follow up question which is, is it possible that the Civ IV source code was included in the training data of the LLM, and would there be any way to know?

Thanks for considering

Could I ask you to check my understanding of this part?

I think your understanding is basically correct, but i just want to clarify what i did with the specs:

I found the source code, which doesn't include the rendering engine, is composed of Python and C++ and contains the game logic.

I then fed the LLM the source code I had available to turn them in to a set of specs for that specific codebase, for important APIs and the logic that connects then.

I then took those specs and made the LLM genericize them, and in particular creating a structured, human readable description of all game rules.

With those new generic specs, i was able to creat a development plan and architecture (with heavy aid of LLM), the new engine is written in Godot with json data store.

Project was bootstrapped like normal, start with the smallest core functionality, especially including debug infrastructure. Get it stable and then keep adding features and testing until everything seems okay.

I guess i have a follow up question which is, is it possible that the Civ IV source code was included in the training data of the LLM, and would there be any way to know?

Agreed, that's actually part of why I said I don't think i can prove it's fully clean room!

But I did try my best to make it unlikely, and even if it did, I imagine it was closer to broken bits and pieces.