MUGEN 1.1 unleashed, source code reconstruction.

Started by Romhack, Yesterday at 06:29:20 AM

Previous topic - Next topic

Romhack

mugen-unleashed: the M.U.G.E.N 1.1 engine, reconstructed in C

For as long as I can remember, someone in this community has asked "what if we had the MUGEN source code?" Elecbyte never released it, and the engine has been frozen at 1.1 Beta 1 since 2013. Today I'm releasing a full reconstruction of that engine in C:

https://github.com/zxmarcos/mugen-unleashed

What it is
The whole of mugen.exe (1.1 Beta 1, the 2013 build) has been rebuilt as readable source code: state controllers, triggers, the character, stage and screenpack loaders, rounds, the camera, the AI, the menus, music, all of it. It compiles into a new mugen.exe that you drop into your MUGEN 1.1 folder and run.

It behaves like the original
This is not a new engine "inspired by" MUGEN. The goal was to reproduce the original exactly, bugs and quirks included, and it was tested extensively against the original exe to make sure of that. Your characters, stages and screenpacks should behave exactly as they do today.

What it is not
  • It is not Elecbyte's original source. It was rebuilt from the program itself, with names and comments written along the way.
  • It does not include any game files. You need your own MUGEN 1.1 Beta 1, since the new exe uses its data and libraries.
  • It does not fix anything yet. This first release is a faithful starting point on purpose.

Getting it
A ready-to-use exe is attached to the v1.1b1 release on GitHub. If you prefer to build it yourself, the README explains how.

Why this matters
With a faithful starting point in hand, a lot becomes possible:
  • Fixing the engine's long-standing bugs.
  • Lifting old limits.
  • Bringing it to other platforms.
  • Finally answering "how does MUGEN really handle X?" by reading the code instead of guessing.
If you have ever been puzzled by an obscure trigger, a HitDef parameter or a camera behaviour, the answer is now there to read.

Legal
M.U.G.E.N belongs to Elecbyte. This project is for preservation and study, is not affiliated with Elecbyte, and ships none of their files.

Feedback, bug reports (anything that behaves differently from the original exe counts as a bug) and contributions are very welcome. Thanks to Elecbyte for the engine, and to this community for keeping it alive all these years.

PotS

I was just saying earlier that this would happen for sure, haha.

Maybe you'll want to change the executable's name and the versioning.
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.