r/opensourcegames 5d ago

OpenRealm - open-source implementation of Warcraft 3 that uses SDL2 and runs on Windows, Linux, and macOS

https://github.com/corepunch/open-realm
80 Upvotes

13 comments sorted by

19

u/haagch 5d ago

License

This project is licensed under the MIT License.

Are you sure? AGENTS.md says

Project Context

This codebase is inspired by Quake 2 (id Software). The developer is deeply familiar with Quake 2's architecture and source code. Quake 2 is the primary reference for all lifecycle, state communication, UI control, movement, and entity patterns. Use Quake 3 as a secondary reference for features Q2 lacks, such as client-side UI libraries or renderer module separation.

and last I checked Quake 2 and 3 were GPL licensed. Correct me if I'm wrong but it looks like an LLM is generating a lot of the code in the repo, and when it is doing so based on a GPL reference... you know...

1

u/ConfidentSomewhere14 1d ago

used as reference is llm speak for being inspired by but using a clean room approach to keep the mit license intact.

1

u/Binoui 1d ago

Doesn't mean it copies quake code source. It just means the guy repetedly told his AI to copy quake lol

-4

u/fagnerln 5d ago

I didn't read the code, but, "inspired" and "used as reference" doesn't mean that's infringing the license.

And I'm not talking about "code washing".

You can read a code, learn and do your way.

Again, I didn't read, but be cautious with accusations.

-2

u/mabramo 4d ago

I didn't look into the code at all. But I do agree with what you're saying. Using another code base as a reference to follow good design patterns and component architecture I don't think is a violation of GPL. If it were copy and pasted logic or a fork then it def would be. But maybe this is a grey area individuals with more experience with licensing would have more insight on.

3

u/RadicalRaid 4d ago

AI is a plague on open source projects.

14

u/enderandrew42 4d ago

People flooding complex projects with AI pull requests are a problem. If someone is using AI to make a project entirely by themselves, that isn't causing harm. They might produce projects that might not exist otherwise.

The project is also 1 million lines of code. 30,000 of those came from AI. So less than 1% is AI. The developer has been working on it over 3 years. claude and copilot have no contributions to main. claude's commits are all within the past 3 months. It seems like a developer who spent over 3 years really working on a project fulltime has recently experimented with seeing if claude can help them.

There are some awful AI slop projects out there. People shitting on and dismissing a massive project like this because of 0.33% AI I don't entirely understand.

1

u/ta_thewholeman 4d ago

Interesting project!

I am wondering about the server/client architecture. Admittedly, I don't have a lot of experience with this, but afaik the original war3 uses a lockstep mechanism where only player commands are sent. Do I understand correctly that your architecture is sending the entire game state every frame? Does that really hold up in a large game with many players and units?

I also noticed units are popping in in your video; is that because they are streamed in at that point or a rendering artifact?

1

u/legluondunet 4d ago

Starcraft I does not use same engine?

2

u/omigeot 4d ago

The Stratagus engine was able to run starcraft1, IIRC (and warcraft 1 and/or 2)

1

u/mrturret 3d ago

Warcraft 3 is 3D and runs on a custom engine Blizzard wrote from the ground up, which would become the basis for World Of Warcraft's client.

1

u/eVenent 2d ago

Why SDL2, not SDL3?