Jump to content

Madoka Magica TPS .mgm files


Recommended Posts

Hi! I've been having trouble for some time now trying to figure out and view a .mgm file from the game Puella Magi Madoka Magica: TPS Featuring Tomoe Mami (Madoka TPS for short).

The .mgm file is a level file for the game. I've been looking through the classes.dex file and still couldn't figure out how the file is loaded. From what I've worked out, it declares the textures to be used at the top, and the rest of the file seems to be OpenGL data.

The sceenshot shows the mgm file loaded in the game.

madoka magica tps level.PNG

classes.dex_Decompiler.com.zip

Link to comment
Share on other sites

  • 1 month later...

firstly, sorry for the late reply.

On 5/8/2024 at 3:04 PM, calmevening said:

The .mgm file is a level file for the game. I've been looking through the classes.dex file and still couldn't figure out how the file is loaded.

2ndly, I don't know what you mean exactly with "how"? That's a matter of the (java) code, isn't it?

Some code fragments:

GameScene.java
GlHelper.bindBitmapToTexture(gl, 37, CommonHelper.loadResImage("en" + currentStage + "a"), true);

this.gameField.create(gl, currentStage, difficulty);

SceneBase.java
public static void sceneInit()

----------

Anyways, here's stage0.mgm as obj file (maybe a part only):

stage mgm

Meshes which may vary dependent on your choice of parameters in hex2obj

Edited by shak-otay
Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...