Sonic Mania

Sonic Mania

View Stats:
Ikagura Jun 29, 2023 @ 12:36pm
Is this possible to port Origins' Amy Rose there?
Since those two games shares code.
< >
Showing 1-6 of 6 comments
Axanery Jun 29, 2023 @ 2:58pm 
Saying "those two games share code" is ignorant. They're completely different codebases besides the underlying engine.
The code would have to be decompiled for *direct* porting, but that would be manual, it would not just be a matter of copy/pasting (neither of the games are open source).
It would be a mod for the decompiled version of Sonic Mania rather than Steam since that is much simpler to do. It would also be easier to port from Sonic 1/2/CD from Origins since those use script files for their objects rather than built-in code.
So yes, it would be possible to "port" it, but it would require a lot of work. I believe a friend of mine is manually doing it by eyeballing a general idea of the code, but it's not exact.
Ikagura Jun 29, 2023 @ 4:09pm 
Originally posted by Axanery:
Saying "those two games share code" is ignorant. They're completely different codebases besides the underlying engine.
The code would have to be decompiled for *direct* porting, but that would be manual, it would not just be a matter of copy/pasting (neither of the games are open source).
It would be a mod for the decompiled version of Sonic Mania rather than Steam since that is much simpler to do. It would also be easier to port from Sonic 1/2/CD from Origins since those use script files for their objects rather than built-in code.
So yes, it would be possible to "port" it, but it would require a lot of work. I believe a friend of mine is manually doing it by eyeballing a general idea of the code, but it's not exact.
Wait, Origins doesn't use the mobile remaster's engine that is also used in Mania?
Axanery Jun 29, 2023 @ 4:33pm 
Sonic CD uses Retro Engine v3.
Sonic 1/2 use Retro Engine v4.
Sonic Mania uses Retro Engine v5.
Sonic 3K in Origins uses Retro Engine v5.
Sonic Origins itself uses RSDKv5U for compatibility with all 3 of those engine versions.

However, just because they use the same engine doesn’t mean you can just “magically” port stuff. The code isn’t even open source so we’d have no idea where to put it unless you’re taking guesses or decompiling code first, which takes time.

What you’re asking is basically asking “why can’t I port Crossy Road into Cuphead? They both use Unity!”
MrBananaGrabber Jun 29, 2023 @ 6:22pm 
Knuckles is the best character. But ALWAYS pronounce the K, it ISN'T silent!
Mez Koo Jul 1, 2023 @ 2:08am 
They clearly don't share that much considering hedgemod manager doesn't work on Mania.
Axanery Jul 1, 2023 @ 6:04am 
The only reason HedgeModManager is used for Origins is because the main menu is built in Hedgehog Engine 2 and that engine also serves as a wrapper for the games. The Retro Engine is still used for the games themselves.
< >
Showing 1-6 of 6 comments
Per page: 1530 50