xerpi / vita2hos

[WIP] PlayStation Vita to Horizon OS (Nintendo Switch OS) translation layer
https://discord.gg/Z9kAsBqkbx
GNU General Public License v2.0
1.11k stars 33 forks source link

[alpha v0.3] Error 2000-20000 does not find /vita2hos/test.elf #33

Open andaioso opened 2 years ago

andaioso commented 2 years ago

I put everything where it belongs and it still wont find it. I think its because the file size is to big.

TSRBerry commented 2 years ago

Could you explain this a bit more in depth? What size was your file? Does the error message tell you a bit more?

andaioso commented 2 years ago

My file is 293kb big. I renamed it to test.elf but my switch says: Error loading PlayStation Vita executable Make sure to place it to /vita2hos/test.elf. The error code says 2000-0000 (0x00000000). But the file is in the right folder. When i swap my file with the cube example file it detects it.

TSRBerry commented 2 years ago

Your file is one of the supported formats tho, right?

andaioso commented 2 years ago

my file is an eboot.bin

TSRBerry commented 2 years ago

I see, thank you for reporting this!

andaioso commented 2 years ago

np

xerpi commented 2 years ago

My file is 293kb big. I renamed it to test.elf but my switch says: Error loading PlayStation Vita executable Make sure to place it to /vita2hos/test.elf. The error code says 2000-0000 (0x00000000). But the file is in the right folder. When i swap my file with the cube example file it detects it.

I think you can click on the Details button on the error report to show more info

kkongkko commented 2 years ago

I'm the same as andaioso.

zmboni commented 2 years ago

I am running "Plants vs zombies" for the ps vita and am running into the same issue. heres a log from the program i got.

Starting vita2hos at: 2021-12-31 23:43:2
vita2hos 0.3.0-89dfdc3 (Nov  7 2022 20:35:18)
Opening '/vita2hos/test.elf' for reading.
Found a SELF, loading.
Loading SELF: ELF type: 0xfe00, header_type: 0x1, self_filesize: 0x5858a0, self_offset: 0x4
Only ET_SCE_RELEXEC files are supported.
Check header failed.
Cannot load SELF.
Error loading PlayStation Vita executable. Make sure to place it to '/vita2hos/test.elf'

it seems that vita2hos does not support my game from the "Only ET_SCE_RELEXEC files are supported." line

Nyabsi commented 2 years ago

I am running "Plants vs zombies" for the ps vita and am running into the same issue. heres a log from the program i got.

Starting vita2hos at: 2021-12-31 23:43:2
vita2hos 0.3.0-89dfdc3 (Nov  7 2022 20:35:18)
Opening '/vita2hos/test.elf' for reading.
Found a SELF, loading.
Loading SELF: ELF type: 0xfe00, header_type: 0x1, self_filesize: 0x5858a0, self_offset: 0x4
Only ET_SCE_RELEXEC files are supported.
Check header failed.
Cannot load SELF.
Error loading PlayStation Vita executable. Make sure to place it to '/vita2hos/test.elf'

it seems that vita2hos does not support my game from the "Only ET_SCE_RELEXEC files are supported." line

Currently vita2hos does not support any retail game it's a PoC even if it could start a retail game .bin file it would not be able to run it because most of the modules are not even resolved.