Rinnegatamante / yoyoloader_vita

Loader/Wrapper for Android's YoYo Runner for PSVita.
MIT License
175 stars 28 forks source link

App crashes when starting a game via app params #5

Closed cy33hc closed 2 years ago

cy33hc commented 2 years ago

I have uploaded the AM2R 1.5.5 apk at the following path ux0:data/gms/AM2R/game.apk

Starting the game from YoYo Launcher GUI, the game starts up fine.

Created a VPK using the bubble builder and installed it. After starting the bubble for about 1-2 sec, the app crashes.

The debug yy.log file doesn't even get created.

cy33hc commented 2 years ago

Looking at the code, the name of the game should be written to the file launch.txt. But the launch.txt actually contains garbage characters in it.

cy33hc commented 2 years ago

@Rinnegatamante Is there a reason for removing the ability to launch app using BootParams? I would like the keep the apk in the ux0:data/gms folder so it can be shared with the YoYo Launcher app.

Rinnegatamante commented 2 years ago

Wasn't it not working? By the way, i guess i can re-add it if needed.

Rinnegatamante commented 2 years ago

I've added it back. Going to close this issue since now the old custom bubble builder is superseeded by the new one bundling the loader inside the produced vpk.

cy33hc commented 2 years ago

@Rinnegatamante Hi Rinnegatemante, can you reopen this bug. Thx for add this option back, but it is still broken. The app is not writing the game_name properly into the ux0:data/gms/launch.txt. It's always writing 4bytes of garbage chars into the file instead of the game name. Only happens when passing in boot_params. It looks like it's write a memory address instead of the game name.

Rinnegatamante commented 2 years ago

It's using same code of DaedalusX64, i can't see what's wrong...

cy33hc commented 2 years ago

Nevermind. I'll just use the current bubble builder.