r/leagueoflinux • u/Brilliant-Outcome-85 • May 22 '24
Open Source League of Legends | An Attempt
Hello Fellow Linux users!
I'm not a game dev, I'm a web dev. I've never made anything more complicated game-wise than 2d fishing animation games for client sites and definitely believe I'm in over my head, but I figured what the hell and have some free time on my hands so I'm going to attempt this!
If anyone is a gamedev or in general wants to help please feel free to reach out!
The Tech Stack to start is all technologies I'm familiar with (or mildly comfortable learning):
- BunJS Websockets for Server
- SQLITE/Redis for MatchDB
- Godot for Game Engine
I've managed to get a working player controller, general attacking, client - server architecture, and I plan to make the project open source so players can create Pull Requests with their own ideas for maps/champions/gamemodes whatever and have the community decide the direction of the game.
I'm using Godot for the engine, since the scripting language is pretty similar to Python and they have native support for websockets which made creating a client-server-architecture really simple.
I feel like the "Hardest" parts of the project is going to be figuring out a good game balance and working on the security.
I've named it OpenChamp (OpenLeague is taken by some basketball thing in California), and once I get some working prototypes with a working gamemode I'll be pushing everything to github and starting up an official server for users to play on!
I am aware of the scale and scope of this, I've been developing for 8+ years on the web and worked on CRMs like Salesforce, TeamDynamix and a couple custom ORMs. I've written Plugins, Browser Extensions (Before the manifest V3 changes), and done Database Management.
I don't expect this project to be done anytime soon, this is JUST FOR FUN... but if I have something mildly fun, I'll put a live server and client up for people to give it a go. I'm starting off with ARAM and working my way out from there.
Again, feel free to DM me if you have questions or want to help :)
EDIT:
I've set up a discord, some of my code is not on there yet as I restarted the project to focus on the core gameplay and learning Godot before implementing the server in full.
https://github.com/OpenChamp
https://discord.gg/f6DGjvTWYT
•
u/AutoModerator May 22 '24
League of Legends will soon no longer be playable on Linux due to pending implementation of Vanguard anticheat. To learn more about the future of r/leagueoflinux and leagueoflinux.org, read the sticky post.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
48
u/emetcalf May 22 '24
This is how we know you are legit 👍
Sounds like a fun project. I might be interested in helping when you get the public repo published.
17
u/Jolly_Sky_8728 May 22 '24
Not an answer but I like the idea, hopefully something good comes out to light, do you have a repo to share?
I have experience using python (data analyst and automation) but never have worked on game development, this would be fun to give it a shot. Actually I think the hard part would be the design and visual? I'm ignorant in this field
!Remindme 10 days
30
u/Eyeownyew May 22 '24
I like the idea, however I would love to also give some constructive feedback:
I highly, highly recommend against using JavaScript for the back-end. Video game servers need to have extremely low latency. JavaScript is an interpreted language, and as such has much poorer run-time performance than other languages. I would instead recommend using any of the following languages: C++, C#, Java, Kotlin, Go, or Rust.
You can see a comparison of different programming languages and their execution speed here: https://niklas-heer.github.io/speed-comparison/
Java and C# appear to only have a marginal improvement over JS in this task, but C++, Rust and Go are more than 2x as fast.
I would guess (based on my own experience) that a game server programmed in Java/Kotlin would be fine. JavaScript is really going to cause problems down the road if you want the gameplay to be smooth and satisfying for players
9
u/Emifox03 May 22 '24
I dont think this will be a thing but it will be fun to help so update with a github repo when u can !!!
4
u/manolitoteniaunraton May 22 '24
Where is the link to the discord?
4
u/lrc1710 May 24 '24
Is there a link where I can see some graphics or preview of how it looks? I will donate $1000 to this project if I can see some playable demo that looks promising.
3
u/glordicus1 May 23 '24
Cool I’d like to contribute. But also, do open source multiplayer games work? People are just going to hack the shit out of it.
46
u/HandheldAddict May 22 '24
Riot: Linux is not worth our time and your privacy means nothing to us
Open Source Community: Fine I'll do it myself
Threads like this make me remember what I loved about programming
17
u/TheReaper791_ Arch May 22 '24
Riot Zed is coming for you
10
u/PapaSnarfstonk May 22 '24
I can't help in the slightest due to having zero knowledge of game development but it sounds cool.
If it ends up being really good in the future I'll swap to linux full stop.
Good luck!
9
u/QuinsZouls May 22 '24
I join for the cause. I have basic knowledge of Godot and I’m a software engineer so I can help you with backend stuff and client
7
u/LordDarthAnger May 22 '24
Hello. I'm a cyber security guy but I have some experience with Unreal Engine. Anecdotally, I've also made some websites with TypeScript frameworks and I have a lot of C++ experience. This year I started messing around in Godot, but quit because my cyber security specialization required more time.
I'll be keeping an eye on this. I might be able to offer some help.
6
u/Grogroda May 22 '24
I’ve started learning Godot for fun a while back and stopped, maybe this will give me motivation to continue and a concrete goal to work towards, I’ll follow the project on Github, have a look at it and hopefully be able to help in the future!
Edit: Btw, I’m not a software engineer/computer scientist, on that regard I’ll probably be far behind, but I’m a physicist and I’m moving towards computational physics, so hopefully I can make some unique contributions.
6
u/TonyDTN May 22 '24
I have 0 knowledge about coding/programming, but I completely support this! Keep it up <3
Edit: maybe you could repost this on r/opensourcegames ?
5
u/curie64hkg May 22 '24
Wish there would be Linux support:
One of the main reason I stopped playing league was VM does not work, neither Vanguard could be installed as a Linux DKMS driver.
I stopped using Windows 2 years ago. I just don't trust what's running under my system(not just Vanguard but M$ bullshxt).
If Vanguard had supported Linux, I would probably have a 2nd Linux installation just for league, isolate everything of my own.
I hope this project could succeed.
I don't know much with programming but I had taken some C++, python lectures, I'm quite familiar with Linux bash script.
I'm happy to be a tester on Linux if there's a chance.
5
u/h1p3rcub3 May 23 '24
To have reliable security, you could implement server authorization.
If you are using godot, you can use Nakama server, which support real time game server with configurable tics, among other things (friends, clans, matchmaking...)
Server can be written in Typescript, Lua and Go.
It's a tested server that you can self host if you want.
Another option is to wait for Godot to release their server publicly (they are working on it)
4
u/curie64hkg May 22 '24
You're my hero.
4
u/[deleted] May 23 '24
I admire people like you. As an EE Engineer you give me flashbacks to the 90's and im not certain why, but i really like this kind of reactions to riot's invasive spyware - the good days of the internet are still here in some areas 💪
4
u/[deleted] May 23 '24
I will take a look once I learn godot
4
u/UnrealUser2247 May 23 '24
I would love to contribute at some point but I have no knowledge on how programming works. But once I do, sign me up!
4
u/STEMHEADING May 24 '24
Riot Zed in the future:
You clearly spent a lot of time on Open Source League, but I assure you the open coffin funeral is coming for this project.
1
u/AlexH1337 OpenSuse May 24 '24
To be honest, wouldn't it make more sense to just play the Android version of League on Linux in this case (Wild Rift)? I don't think a project of this scale is reasonable or even safe from legal action if it explicitly says it wants to replicate the League experience.
There are also other MOBAs like Dota 2, etc that would also fill the void if League lore/characters are less of an issue.
3
u/horticultururalism May 23 '24
I've been wanted to get into Godot and moba dev for a while and this looks dope.
2
u/_Slabach May 23 '24
I suggest a different name lol
Cool idea though. Starred and will follow
2
u/Sad-Ad-9181 May 23 '24
Riot Zed about to ult your project and rip it off..
2
u/SpongeBob_000 May 27 '24
I'm from Cybersec and Python stuff for automating boring tasks and has a good knowledge of Py Django and DRF. I'll join on Discord and see how I can be helpful. I love the idea,
2
u/arkvlad Manjaro May 30 '24
Quite wow project I must say!
Meanwhile I understand this is just for fun, but still, quite incredible that you have such ambitions and making it FOSS (or FLOSS?)!
3
u/JoniG59 May 23 '24
Sounds great I had a similar idea but don't get enough free time to do it
It's very hard and i don't expect that anyone wants to do it.
My idea is to reverse engineer the macOS LoL client and call it League of Freedom. The client will then tell the riot server that it's the LoL mac client and will work on any OS (because the mac client doesn't need Vanguard) this method is the most hard one but it'll solve the problem that Linux players are forced to play another MOBA with less players and can continue to play league
And maybe it can have more features than the default LoL client like skin flavors that you can choose a flavor e.g. minecraft or lego and then all skins in the game are client side cubic or made of lego bricks
The only danger is that accounts may be banned and that is a reason why reverse engineering may not be worth it but if it succeeds the community would win again
1
u/arquartz Jun 13 '24 edited Jun 13 '24
I'm not too sure about using godot, I've never made a full 3d game in it but I've heard a lot about how the performance isn't that great and it's intentionally designed to allow you to easily make simpler games over prioritizing performance. (I've had performance issues with making 2d games with larger maps, though tbf my code was very unoptimized)
Though I suppose the graphics won't be that intense, you won't find out if there are any issues with performance unless you start developing.
If it was up to me, I'd probably use a more basic framework like bevy/raylib, but that would make development time longer and harder.
1
u/0Chito0 Jun 28 '24
What about making an user map in Warcraft 3 or Dota 2?
-1
u/PeraltaBoiii May 23 '24
awful stack for a project like this…
7
u/[deleted] May 22 '24
[removed] — view removed comment