retrogamer01 Posted January 30, 2021 Share Posted January 30, 2021 Running into this issue after upgrading from 4.7X. Crashes on launch with this in the logs. 19:29:01.42 1/29/2021: Error. Exiting 19:29:01.42 1/29/2021: 19:29:01.42 1/29/2021: File signature incorrect. 19:29:01.42 1/29/2021: at LibAPNG.APNG..ctor(Byte[] fileBytes, Boolean CreateFrameForSimplePng, Device Dev) 19:29:01.42 1/29/2021: at Direct2d.Surface.LoadSurfaceWIC(String Filename, Device Dev, MemoryStream ms) 19:29:01.42 1/29/2021: at Direct2d.Surface..ctor(String Filename, Device Device) 19:29:01.42 1/29/2021: at PinballX.FrmMain.RestoreSurfaces() 19:29:01.42 1/29/2021: at PinballX.FrmMain.InitDisplay(Boolean FullScreebWindowed, Boolean InitialLoad, Boolean IsIngame, Boolean WasLost, Boolean NoLog, Boolean CalledFromSelf, Boolean DontDisposeBlackForm) 19:29:01.42 1/29/2021: at PinballX.FrmMain..ctor() Link to comment Share on other sites More sharing options...
Draco1962 Posted January 30, 2021 Share Posted January 30, 2021 Please download the file again and install over the top. If errors again, please attach copies of your complete log.txt and pinballx.ini files (no copy and paste please). Thanks. Link to comment Share on other sites More sharing options...
retrogamer01 Posted January 30, 2021 Author Share Posted January 30, 2021 Thanks for the quick reply. Redownloaded and installed with the same issue. log.txt and pinballx.ini attached. log.txt PinballX.ini Link to comment Share on other sites More sharing options...
scutters Posted January 30, 2021 Share Posted January 30, 2021 For a test can you install to a new location / folder and see if you still get the error with just the default databases / media that come with the installer? Might be a corrupt media file (animated png?) somewhere in your setup, this might help prove that. Link to comment Share on other sites More sharing options...
retrogamer01 Posted January 30, 2021 Author Share Posted January 30, 2021 It works as expected when installed to a different directory with my config.ini file and the default media. When I move my media folder over to the new installation it exibhits the same behavior. I don't have any apng files on my system. I have ~700 tables worth of media though, so it's going to take a while to figure out what is corrupt. I'll start putting directories back one at a time until I find it. Link to comment Share on other sites More sharing options...
Tom Speirs Posted January 30, 2021 Share Posted January 30, 2021 Its probably a jpeg/gif/bmp file masquerading as a png file. Looks like its one of the core theme files, such as a logo rather a table image. Link to comment Share on other sites More sharing options...
Tom Speirs Posted January 30, 2021 Share Posted January 30, 2021 Im moving to only supporting apng when files have the apng extension so should be fixed for the next release. Link to comment Share on other sites More sharing options...
retrogamer01 Posted January 30, 2021 Author Share Posted January 30, 2021 Thanks @Tom Speirs, it's proving elusive but I'll keep looking for it. Thanks for addressing this in the code. Link to comment Share on other sites More sharing options...
retrogamer01 Posted January 31, 2021 Author Share Posted January 31, 2021 Spot on, @Tom Speirs. I was able to isolate the issue to one of my Systems Logos that I added for Pinball Arcade. Without that file in there it works as expected. Thanks everyone for helping me resolve this. I suspect the next release will fix this also, but in the meantime I'm up and playing again! Link to comment Share on other sites More sharing options...
Recommended Posts