Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cen64 fails to load pifdata.bin on Windows #227

Open
Adamillo opened this issue May 27, 2022 · 8 comments
Open

Cen64 fails to load pifdata.bin on Windows #227

Adamillo opened this issue May 27, 2022 · 8 comments

Comments

@Adamillo
Copy link

Adamillo commented May 27, 2022

I recently decided to try out Cen64 today but it seems that Cen64 is having trouble in loading the pif file for whatever reason. I debugged this issue with gdb and this is all I get
Bild_2022-05-27_185642109

@hcs64
Copy link
Member

hcs64 commented May 27, 2022

Besides what other issues you may be having, in gdb run takes the arguments to the program, not including the name of the program itself. So it should be run pifdata.bin ROM.z64.

@Adamillo
Copy link
Author

Ah, I see. I'll see if that changes anything. But I can't do that right now, so I gotta do it later

@Adamillo
Copy link
Author

Bild_2022-05-29_131239882

@Adamillo
Copy link
Author

Adamillo commented May 30, 2022

@hcs64 what could be the issue that I'm having with?

@parasyte
Copy link
Contributor

parasyte commented Jun 7, 2022

Just dropping in to say it looks like you've built cen64 without debug symbols, so debugging is going to be quite a challenge.

Pass -DCMAKE_BUILD_TYPE=Debug to cmake for all the debug symbols and few optimizations. That will help you diagnose the issue.

@Adamillo
Copy link
Author

Adamillo commented Jun 7, 2022

Just dropping in to say it looks like you've built cen64 without debug symbols, so debugging is going to be quite a challenge.

Pass -DCMAKE_BUILD_TYPE=Debug to cmake for all the debug symbols and few optimizations. That will help you diagnose the issue.

It seems that I forgot to mention that building Cen64 from source solved the illegal instruction. The errors only seem to happen with pre compiled versions downloaded

@sp1187
Copy link
Member

sp1187 commented Jun 7, 2022

What processor does your computer have? And what is the name of the binary you're trying to run? It sounds like you're trying to run binaries compiled for newer processors.

@Adamillo
Copy link
Author

@sp1187 The CPU is an intel i5-7360U, and the binary I downloaded was from EmuCR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants