SonicMastr / godot-vita

Godot Engine Vita Port based off of Stary2001 and EIREXE Contributions utilizing PVR_PSP2
https://godotengine.org
MIT License
244 stars 17 forks source link

Opening game gives error C2-12828-1 on boot #12

Closed L1ghtingBolt closed 2 years ago

L1ghtingBolt commented 2 years ago

Godot version: 3.rc5 OS/device including version: Windows 11/Vita HENkaku enso 3.65 Issue description: After compiling, both with or without "Export with debug" gives that error. Also random build are impossible to install because the param.sfo is corrupted and gives error about INVALID_TITLEID: 0xF0030000, fixes recompiling. Steps to reproduce: Happens in my project, but works fine for every other platform, so I guess it's the PS Vita exporter Minimal reproduction project: I don't know the cause so I will send the project I have the error with: https://www.mediafire.com/file/hvk0w0tmamjcb30/project.zip/file

SonicMastr commented 2 years ago

I don't need the project for this. I need to see the vpk. More accurately the param.sfo

L1ghtingBolt commented 2 years ago

Happens every time I try to build the project even when I think param.sfo is not corrupted but I'll send it tho https://www.mediafire.com/file/uk9b8ssmzeckjgr/SpacePlanters.vpk/file VPK https://www.mediafire.com/file/p38wpi9yqkkroyx/param.sfo/file param.sfo Did it work when you built the project?

L1ghtingBolt commented 2 years ago

I don't think it's a param.sfo problem at all, I tried exporting the godot pkg and putting it on a older version that was working and gave the same error, so I think the problem is in the project, maybe some feature being used that is not supported in the PS Vita

SonicMastr commented 2 years ago

I checked the logs, the application runs out of memory on initialization. I'll see if modifying memory split helps

L1ghtingBolt commented 2 years ago

I checked the logs, the application runs out of memory on initialization. I'll see if modifying memory split helps

Thanks! How to check the logs, tho?

SonicMastr commented 2 years ago

I checked the logs, the application runs out of memory on initialization. I'll see if modifying memory split helps

Thanks! How to check the logs, tho?

I would recommend using PrincessLog here: https://github.com/CelesteBlue-dev/PSVita-RE-tools/tree/master/PrincessLog/build

SonicMastr commented 2 years ago

I have actually confirmed that it is indeed just too little memory allocated for the normal memory. The game only had 100MB of RAM to work with while Graphics had the other 265 + VRAM. Adjusting it so it had 221MB of RAM allowed it to boot. This wasn't anything on your end, simply an oversight PZbwbLn7u9

SonicMastr commented 2 years ago

Fixed (for this at least) in 2da61d0

It'll be a short while before I actually update the template though

L1ghtingBolt commented 2 years ago

I compiled the latest commit and still does not work. What changes do the template need?

SonicMastr commented 2 years ago

Nothing. A normal build of the template fixes the issue. All I had to do was drag the finished eboot

L1ghtingBolt commented 2 years ago

Then why is it not working for me...?