calmevening Posted May 8 Share Posted May 8 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. classes.dex_Decompiler.com.zip Link to comment Share on other sites More sharing options...
Engineer shak-otay Posted June 14 Engineer Share Posted June 14 (edited) 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 June 14 by shak-otay Link to comment Share on other sites More sharing options...
Engineer Durik256 Posted July 21 Engineer Share Posted July 21 (edited) broken preview I don’t know what these levels are for, but it’s just a flat “corridor”. I would advise you "Madoka Magica: The Battle Pentagram" on PS Vita plugin on my github: fmt_Madoka_PSVita.py old topic on xentax: Madoka Magica: The Battle Pentagram[PS Vita][.mdl][.anm] Edited July 21 by Durik256 1 Link to comment Share on other sites More sharing options...
calmevening Posted August 7 Author Share Posted August 7 On 6/15/2024 at 6:08 AM, shak-otay said: firstly, sorry for the late reply. 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 wow thank you! yeah, I wanted to view the level as a mesh like that. I will take a look at hex2obj soon On 7/21/2024 at 5:11 PM, Durik256 said: broken preview I don’t know what these levels are for, but it’s just a flat “corridor”. I would advise you "Madoka Magica: The Battle Pentagram" on PS Vita plugin on my github: fmt_Madoka_PSVita.py old topic on xentax: Madoka Magica: The Battle Pentagram[PS Vita][.mdl][.anm] these are for the mobile madoka tps games, thanks for the plugin, I will look at that soon. yes it is supposed to be a flat corridor, the textures are images in the app's image folder loaded by the game sorry for the late replies I was busy Link to comment Share on other sites More sharing options...
calmevening Posted August 16 Author Share Posted August 16 On 7/21/2024 at 5:11 PM, Durik256 said: broken preview I don’t know what these levels are for, but it’s just a flat “corridor”. I would advise you "Madoka Magica: The Battle Pentagram" on PS Vita plugin on my github: fmt_Madoka_PSVita.py old topic on xentax: Madoka Magica: The Battle Pentagram[PS Vita][.mdl][.anm] How did you get that preview? I tried the .py linked but it didn't work since it was for battle pentagram Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now