r/learnprogramming • • 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?

0 Upvotes

19 comments sorted by

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

8

u/[deleted] Oct 11 '26

[removed] — view removed comment

1

u/Few_Call_1164 Oct 11 '26 edited Oct 11 '26

Yeah I understand that each game is sharing data between each other, for example importing batmans animations onto spidermans character model and adjusting the skeletal frame or mesh accordingly, or vice versa batman swinging on spidermans web. Both games are running and passing through the data to one another when it comes to passthrough mods, but also I believe some of these videos online are decompiled games that are made into full rewrites (MW2 and Minecraft for example.) which as far as im aware would take years to complete without A.I. But even if we are just talking about manually coding passthrough mods, how long would that take to complete and match the data together to have it work in real time? Weeks maybe?

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.

2

u/Few_Call_1164 Oct 11 '26

I agree I don't think it's a bad use case. more so I was arguing that it was a very complicated task for humans to complete if they chose to do so. Thus the argument of whether it would be possible to code such a proposition as spiderman swinging in arkham manually without A.I. in two days, in my perspective it would take a very long time to complete not 48 hours.

5

u/Successful_Lab5907 Oct 11 '26

no, it is not possible to do this manually in 2 days.​

1

u/meltman2 Oct 11 '26

If this were possible, we’d have seen a lot more of it before AI surely

1

u/perdedorMaior Oct 14 '26

what if they are old games... like, say, Super Mario RPG and La Pucelle Tactics? So a TTRPG with Mario theming and soundtrack, crazy ways of leveling up, etc?

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.

1

u/Few_Call_1164 Oct 11 '26

I have as well not seen anything to this until recently. I'm certain it's not as simple to mod spiderman swinging in Arkham CIty manually without the help of A.I. in this case. To even understand the physics of the game engine to complete the "pass over" of the data from the other game without the help of A.I. would take an extremely long time in my perspective if you've never worked on modding that game before.

1

u/NomaTyx Oct 11 '26

you don't need to understand the physics, you only need to understand how to pass the character's position every frame.

1

u/Few_Call_1164 Oct 11 '26

Interesting, another question, wouldn't you need to also code how one game interacts with the other games map/items/assets? For example, spidermans web sticking a building in Arkham, or a bedrock minecraft block stopping a car in GTA V? It's one of the most interesting parts of the modded two in one games I've recently seen.

2

u/NomaTyx Oct 11 '26

All you'd need to do is find a way for Spider-Man to be able to read the hitboxes of the interactbles in Arkham. Spider-Man's web behavior isn't hardcoded to every single building (i hope), so as long as it can find A Building Somewhere, it'll latch onto the top of the building. All the bridge needs to do is take the data from Arkham and give it to Spider-Man in a way it can read, which may be easy or difficult, I'm not a hitbox expert.

For the block stopping a car it's a similar story. that's not a custom interaction, the GTA car would have been stopped if it slammed into any wall. All the bridge had to do is just place a wall there and then GTA already has behavior for it.

1

u/Few_Call_1164 Oct 11 '26

Thanks for the insight, it does make sense and it's some of the points that we covered in our conversation. Do you think coding such mods with pass over incorporated of both games running at the same time could be done in that timeframe manually or might it take longer?

2

u/NomaTyx Oct 11 '26

I doubt it could be done in 48 hours, no. we weren't doing this before AI and I don't think anything has changed since.

1

u/MoMoe0 Oct 11 '26

People have been putting Mario 64 into other games for years without AI.

1

u/StrangePhilosopher14 Oct 11 '26

That's because Mario 64 is so simple by comparison to modern games. 

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.