Closed lina-bh closed 3 months ago
Building my own MechaPwn.elf commenting out the logo stuff in drawLogoFrame()
allowed me to get past the USB wait screen. (By the way, is the build usually non-working? I had to fix the bin2s
stuff and some of the -l
flags to get it to build and I ended up with a 5mb executable instead of a 700kb one.)
My working branch on this console is at lina-bh/MechaPwn@noimg. Just realised I was working on master instead of LangPwn but oh well
commenting out the logo stuff in
drawLogoFrame()
doh, you just disabled the USB support totally. This sounds like very weird issue, ill take a look at it later.
not MassCheck, I only put that on a button for testing. It's the graphics calls for drawing the map that I think is where it crashes.
@lina-bh can you check LangPwn branch instead ?
@lina-bh can you test this build ?
@lina-bh I checked on my side and didnt face any issues, last build should be ok.
Hey, sorry for the delay, I was away for a bit. Same deal as before on my console, I just pulled LangPwn and built it and had the same black screen. Commented out the map screen drawing lines, it runs properly.
diff --git a/main.c b/main.c
index 15eca25..0e90365 100644
--- a/main.c
+++ b/main.c
@@ -521,7 +521,7 @@ void drawLogoFrame(uint8_t frame, char *text2)
{
gsKit_clear(gsGlobal, Black);
- struct GSTEXTURE_holder *logoTextures = drawImage((gsGlobal->Width - 480) / 2, (gsGlobal->Height - 270) / 2, 480, 270, frames[frame]);
+ /* struct GSTEXTURE_holder *logoTextures = drawImage((gsGlobal->Width - 480) / 2, (gsGlobal->Height - 270) / 2, 480, 270, frames[frame]); */
char text[] = "MechaPwn";
int x, y;
@@ -538,7 +538,7 @@ void drawLogoFrame(uint8_t frame, char *text2)
freeGSTEXTURE_holder(text2Textures);
freeGSTEXTURE_holder(textTextures);
- freeGSTEXTURE_holder(logoTextures);
+ /* freeGSTEXTURE_holder(logoTextures); */
}
void drawLogo()
I won't be able to test on this console anymore since I'm going to return it to the place I got it from
Checks
Console model
SCPH-90004
Describe the issue
I ran MechaPwn commit 303a7e7 and got an NVM backup, the next time I ran it I backed out of the options to patch for DEX and I reset the console. Now the executable hangs at waiting for USB drive, with whatever drive I try. PAL PS2 discs still boot. I dumped the NVRAM again with PS2Ident and I can see the MechaPwn payload in the hexdump
Ideally I'd like to ask if there is just a quick way to write the NVRAM backup back to the flash so I can get back to a known good state if possible. nvm_6.12_8630988.bin.zip