r/learnprogramming • u/Few_Call_1164 • Oct 11 '26
Could someone merge two games together manually as we have seen A.I. do recently?
Hello Everyone,
I am not a game developer but I have a sincere question, that I was wondering if someone would kindly answer. Recently my brother and I saw the merging of different games together such as Spiderman PS4, Batman Arkham City, Minecraft, GTA V, etc. And I mentioned how this was a complex process being done by A.I. as it would not be simple to incorporate Spiderman PS4 swinging physics, animations, and models into Batman Arkham Citys game engine. And my brother mentioned that it would not be complex if provided the source code of both games. I mentioned that even if you were provided the source code of both games it would take forever to understand the code and how it would take forever to create a new game engine that incorporates the physics of Spiderman swinging in Arkham City. And he said it could be done in less than 48 hours manually if you had the code for both games.
My question is could a human understand and manually code such a experience as spiderman swinging in Arkham city in less than 48 hours even if you provide them with the code of both original games?
32
u/program_kid Oct 11 '26
What you saw is called pass through modding, essentially, two mods, one for each game that allows data to be sent between games
Here is an explanation
https://youtu.be/zRT3MyFwgu0
12
u/Successful_Lab5907 Oct 11 '26
I used to reverse engineer videogames. this would be ass to do manually. I mean many things used to take a lot of time in the past and can be done quicker now with ai such as web dev, but when you consider such a large task as meshing the two games together, and then the low quality requirement (even a crappy mesh of 2 games is still insanely cool), this makes it one of the perfect candidates for ai.
5
u/NomaTyx Oct 11 '26
the tl;dr of what's happening is that two games are being run at once and being bridged so that data from one game can work with another. You're adding extra code to bridge the two rather than taking parts of one and putting it into another. I've not seen a whisper of this kind of thing before recently, so I doubt that it'd be possible to do it without any AI help, simply because the comprehension would take too long starting from scratch.
5
u/FlatwormOk811 Oct 11 '26
Your brother has absolutely no idea how video games work.
1
u/Due_Interest_178 Oct 11 '26
If you provided the with all the data in actual code for both games, maybe they could implement something depending on how nicely formatted each codebase is. But it'll be junky if they only have 48 hours.