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

Assertion failed! with Visual C++ Runtime Library #27

Open
mikepruett3 opened this issue Feb 23, 2021 · 3 comments
Open

Assertion failed! with Visual C++ Runtime Library #27

mikepruett3 opened this issue Feb 23, 2021 · 3 comments

Comments

@mikepruett3
Copy link

Whenever I try to load a cart that I downloaded from Lexaloffle BBS site (.PNG files, not .P8 files), I get the following error..

Microsoft Visual C++ Runtime Library

Assertion failed!
Program: retroarch.exe
File: src/io/stegano.cpp
Line: 63

Expression: magic == expected

.P8 files work just fine though. Not sure if I should open the issue with RetroArch or not. Please let me know if that is the case, and I will close this one.

@Jakz
Copy link
Owner

Jakz commented Feb 26, 2021

Which is the cart so that I can check it directly? Maybe some internal format is changed and that leads to an assertion I placed to avoid problems.

@mikepruett3
Copy link
Author

I was trying to run the "Masters of the Universe" cart from https://www.lexaloffle.com/bbs/?pid=81037#p. If I left the file name as it is downloaded .PNG, RetroArch opens, but just shows the Picture... and the game does not run. When I rename the file to a .P8 extension, I get the error.

This same file works for me in other Pico-8 emulators (like tac08 on my RG350).

@Jakz
Copy link
Owner

Jakz commented Mar 28, 2021

This is caused by a change of p8.png format. I added the code to make this new version work but there are still quirks which prevent the game from loading. I'm going into the right direction though.

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

2 participants