retro8 icon indicating copy to clipboard operation
retro8 copied to clipboard

Assertion failed! with Visual C++ Runtime Library

Open mikepruett3 opened this issue 4 years ago • 3 comments

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.

mikepruett3 avatar Feb 23 '21 13:02 mikepruett3

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.

Jakz avatar Feb 26 '21 12:02 Jakz

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).

mikepruett3 avatar Mar 05 '21 04:03 mikepruett3

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.

Jakz avatar Mar 28 '21 12:03 Jakz