LiEnby / chovy-gm

At long last. GameMaker 8.1 to PSP!
GNU Lesser General Public License v2.1
42 stars 4 forks source link

Failed due to unhandled exception #3

Open Smashman4 opened 4 years ago

Smashman4 commented 4 years ago

Trying to port this game maker 7 game to psp, but I get an unhandled exception error and it closes itself. Managed to get a screenshot before it closes. error

LiEnby commented 4 years ago

Seems like a GMAssetCompiler issue ... Try decompile the game and re-compile for GM81 :^

Smashman4 commented 4 years ago

Just tried that and I got the same error. :(

Smashman4 commented 4 years ago

Anything?

LiEnby commented 4 years ago

Nope! but looks like an issue with sprites/backgrounds

Smashman4 commented 4 years ago

Do you know the exact issue? Cause it runs fine in GM8.1

LiEnby commented 4 years ago

no idea, it seems to just be an "access violation" which can be very annoying to debug, its when it trys to marshal write outside of the application's own memory. .

Smashman4 commented 4 years ago

That's not good. Looks like I can't port it to psp then. :(

LiEnby commented 4 years ago

it might be some weird anti reversing / decompilation trick or something .

Smashman4 commented 4 years ago

That's odd. Maybe you can make the program read gmk files as well as exe files to prevent this? That way it does not need to decompile.

LiEnby commented 4 years ago

its yoyogame's themselves who made the EXE parser in the GMAssetCompiler. .

Smashman4 commented 4 years ago

oh. welp. I don't know what else to do.

Smashman4 commented 4 years ago

Hey again, just tried the new version and was able to make the ISO, but when I launch it on my psp or ppsspp, it crashes.

LiEnby commented 4 years ago

Look at the console output, on PPSSPP you can do this by using a snapshot build, on Vita use shiplog on PSP umm I don't know enough about PSP dev

Anyway I guess ur problem was the one tiny thing I changed ? Idk

Smashman4 commented 4 years ago
Screen Shot 2019-10-20 at 10 29 33 PM

There you go.

LiEnby commented 4 years ago

Weird it's like it's not even starting gamemaker, normally it prints the error messages in there like 'FATAL ERROR IN obj_whatever in create event' ya know ?

Does it show the "YoYoGames Presents" logo?

Smashman4 commented 4 years ago

On my psp go it does, but ppsspp automatically crashes.

LiEnby commented 4 years ago

Well it definitely normally works on PPSSPP- can you get console output from the console itself ?

The current error looks like it's missing PSP_GAME/USRDIR/Games/icon0.png (idk why that would cause problems tho um)

Smashman4 commented 4 years ago

How do I get the log from my psp go?

Smashman4 commented 4 years ago

I can try editing the ISO, think that would work?

Smashman4 commented 4 years ago

I think I found the issue. BOOT.BIN and OPENSSMP.BIN are zero bytes. I don't think that's normal.

LiEnby commented 4 years ago

Don't know can't find anything for on psp itself lol

Anyway that is pretty normal for it to be 0b BOOT.BIN is updates I think

Smashman4 commented 4 years ago

Hmmmm. The only other thing I can think of is I transfered Chovi from a mac to a windows, so those ghost files show up.

LiEnby commented 4 years ago

Idk maybe

Smashman4 commented 4 years ago

Sadly, It didn't work, but after checking the error and locating the files, it looks like gamemaker.hiscore file doesn't exist in the iso.

LiEnby commented 4 years ago

GameMaker.hiscore doesn't exist even in karoshi - is it some included files on the GM81 file?

(send me the iso I'll try it on my psvita and get the logs from there xD)

Smashman4 commented 4 years ago

lol alright, lemme upload it first.

Smashman4 commented 4 years ago

Ok here it is: https://drive.google.com/open?id=10BTXrJAP2xM8qOGDnAnLdHwRIeqjp9a-

LiEnby commented 4 years ago

just flashing back to retail fw because chovy-sign has no dex option (becaz i forgot

Smashman4 commented 4 years ago

lol it's fine. take your time.

LiEnby commented 4 years ago

Apparently psvita doesn't show logs in psp mode.. I even got someone with a developer kit to try but nop My PPSSPP does show logs tho and it seems the runner loads but then crashes after lseeking alot

Maybe you can try PspLink to get logs Davee suggested

Smashman4 commented 4 years ago

I tried setting up psplink, and I'm having serious trouble with it. While looking up my issue, I saw that psplink works on Vita, can you try using it.

LiEnby commented 4 years ago

from what i saw it seems to be an issue with loading the game.psp itself rather than crashing ingame somewhere.. hmm..

Smashman4 commented 4 years ago

Is there a way to fix the issue then?

Smashman4 commented 4 years ago

Any luck with a fix? I tested another game I want to convert for psp, and it gives me the same errors. I even compiled it on a different computer with the same results.

LiEnby commented 4 years ago

oh? so its not just one game having this issue? can you send the GM81 files for these games so i can try it ?

Smashman4 commented 4 years ago

Here you go: https://drive.google.com/open?id=1-qxVl8p1U8p8gMv0EM1vvU1Qv-w0cWzm And here are the GMK files: https://drive.google.com/open?id=1GgIde__FfoctPRQZeWCQxjiOLLbb9pzs

Smashman4 commented 4 years ago

Any updates in this issue?

LiEnby commented 4 years ago

I'll try it when I get home k

Smashman4 commented 4 years ago

Sure thing.

Smashman4 commented 4 years ago

Anything?

LiEnby commented 4 years ago

This executable is GM7 >_<

i opened & exported in GM8.1 and it compiles np however the resulting ISO doesnt run i have no idea why. but the compiler seems to be working. i dont get any exception.

Smashman4 commented 4 years ago

That's really weird. I have no idea why it acts like that.

LiEnby commented 4 years ago

Probably a GM7 thing, try exporting the EXE in GM8.1

Smashman4 commented 4 years ago

ok. I'll try it.

Smashman4 commented 4 years ago

Now I'm getting this error: error