SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Bug Reports (2.1.X)

 
 
Thread Tools Search this Thread
Old 03-28-2017   #1
Steel Titanium
 
Steel Titanium's Avatar
Default [2.1.18] SRB2 will try to use : after 9999 screenshots.

After 9999 screenshots, if you attempt to create a new screenshot, an error showing "couldn't create screen shot srb2:000.png" will appear on console, easist way to do this is to create dummy files in a folder that goes from srb20000.png to srb29999.png

Last edited by Monster Iestyn; 03-30-2017 at 04:13 PM.
Steel Titanium is online now  
Old 03-29-2017   #2
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

https://github.com/STJr/SRB2/blob/ne.../m_misc.c#L588

Curiously enough it seems the game DOES try to detect going past # 9999, but it looks like it checks the wrong variable. So that's probably the goofup here.

If it worked it'd give the error message here:

https://github.com/STJr/SRB2/blob/ne...m_misc.c#L1467

EDIT: Btw, the reason the game can't make a "srb2:000.png" screenshot file is probably because : is not allowed in filenames, so I've just reminded myself. =V

Last edited by Monster Iestyn; 03-29-2017 at 02:25 AM.
Monster Iestyn is offline  
Old 03-29-2017   #4
AlamGBC
WOO! GO ME! YAHOO!
Administrator
 
AlamGBC's Avatar
Default

Quote:
Originally Posted by Monster Iestyn View Post
Mirrored Merge https://github.com/STJr/SRB2/pull/172

Linux x86 build

Windows x86 SDL2 build
__________________
"remember, hacking SRB2 is a good thing, cracking it's save games is not" - Alam and Logan Arias

3DS FC: 0473-7778-0919
AlamGBC is offline  
Old 03-30-2017   #5
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

My fix has been merged to master, so this bug should be fixed for the next release/patch of SRB2.
Monster Iestyn is offline  
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:22 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.