Sonic Background Scrolling Screensaver

Discussion in 'Engineering & Reverse Engineering' started by MainMemory, May 16, 2015.

  1. MainMemory

    MainMemory

    Have no fear...Amy Rose is here! Tech Member
    4,425
    72
    28
    SonLVL
    Getting back to porting backgrounds, starting with Chemical Plant Zone. I had considered adding water, but decided against it for now, because unlike Labyrinth Zone, CPZ's water doesn't affect scrolling.

    I've also updated several levels to make them run faster, and added some new API stuff to the screensaver (which CPZ uses), so you may want to redownload everything.

    @Blivsey: does it still happen after the update? If so, where exactly?

    Edit: fixed bug with tall screens in CPZ.
     
  2. Blivsey

    Blivsey

    Charismatic Sonicaholic Member
    It's fixed now.
     
  3. Overlord

    Overlord

    Aros gartref, diogelu'r GIG, achub bywydau Moderator
    17,823
    136
    43
    Berkshire, England
    Learning Cymraeg
    Been meaning to ask this, but can you make one zip with everything in as well as the existant ones, so that we don't have to keep redownloading and extracting 10 ZIPs every time? At the very least an option for every level in one zip with the main program seperate would be useful.
     
  4. MainMemory

    MainMemory

    Have no fear...Amy Rose is here! Tech Member
    4,425
    72
    28
    SonLVL
  5. Overlord

    Overlord

    Aros gartref, diogelu'r GIG, achub bywydau Moderator
    17,823
    136
    43
    Berkshire, England
    Learning Cymraeg
    Much obliged. Thanks again for all your work on this!
     
  6. VectorCNC

    VectorCNC

    Member
    510
    0
    16
    CNC Sculpture/Artwork
    Seeing as how nothing ever seems to run on OS X, I ask... Does this run on OS X?
     
  7. MainMemory

    MainMemory

    Have no fear...Amy Rose is here! Tech Member
    4,425
    72
    28
    SonLVL
    Unless Mono on OS X has different bugs or missing features compared to Mono on Linux, it should run just fine.
     
  8. Lostgame

    Lostgame

    resident geek girl + record label manager Oldbie
    4,050
    4
    18
    Toronto, ON
    The O.I.C.
    Must say, I don't use Windows, so I can't test, but from the video Scrap Brain looks absolutely gorgeous. Had this idea for a custom Dust Hill-themed wallpaper one time and this would be perfect to get a result like I was looking for.
     
  9. MainMemory

    MainMemory

    Have no fear...Amy Rose is here! Tech Member
    4,425
    72
    28
    SonLVL
    You might be able to run it anyway, if you install Mono.
     
  10. MainMemory

    MainMemory

    Have no fear...Amy Rose is here! Tech Member
    4,425
    72
    28
    SonLVL
    [​IMG]
    I've managed to add scaling to GHZ, EHZ and S2CNZ in a way that doesn't hurt the framerate too much. You can change the scale setting in the level's setup.ini, the default is "Auto", which uses the largest integer that will fit on your screen vertically, or you can enter an integer greater than 0 for a constant scaling factor.
     
  11. Tets

    Tets

    one rude dude Oldbie
    805
    4
    18
    Thanks for putting the work into that! I set EHZ to 2x scale and it looks perfect on my dual monitor setup.
     
  12. MainMemory

    MainMemory

    Have no fear...Amy Rose is here! Tech Member
    4,425
    72
    28
    SonLVL
  13. Tets

    Tets

    one rude dude Oldbie
    805
    4
    18
    Definitely one of the slower ones, even at 1x I get 49 fps at max. Scaling it up doesn't impact the framerate that much though, which is nice.
     
  14. Woofmute

    Woofmute

    Y and -Y and XYZ-X-Y-Z. Member
    184
    0
    16
    Hacking and researching Rez.
    I'm currently having an issue with Marble Zone, where some of the rows of clouds are at the bottom of the screen...
     
  15. Techokami

    Techokami

    For use only on NTSC Genesis systems Researcher
    1,316
    3
    18
    HoleNet!
    Sonic Edge
    I'm having this too. Blame my 1080p display?
     
  16. Woofmute

    Woofmute

    Y and -Y and XYZ-X-Y-Z. Member
    184
    0
    16
    Hacking and researching Rez.
    If it helps, I'm running a 1080p display too.
     
  17. MainMemory

    MainMemory

    Have no fear...Amy Rose is here! Tech Member
    4,425
    72
    28
    SonLVL
    Yeah, now I've updated it to extend the sky vertically on screens taller than 1024 pixels.
     
  18. Skidd

    Skidd

    Member
    16
    0
    0
    so.... I know this is supposed to be an easy thing to work with... but how/where to put the level files? I have no idea where they go... so I can't see any levels. also, I got this error:

    ( I also have no idea who mike is, there is no user by that name on my PC)

    Code (Text):
    1. ************** Exception Text **************
    2. System.NullReferenceException: Object reference not set to an instance of an object.
    3.    at SonicBGScrollSaver.MainForm.StopDrawing() in c:\Users\Mike\Documents\GitHub\SonicBGScrollSaver\SonicBGScrollSaver\MainForm.cs:line 193
    4.    at System.Windows.Forms.Form.WmClose(Message& m)
    5.    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    6.    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    7.  
    8.  
    9. ************** Loaded Assemblies **************
    10. mscorlib
    11.     Assembly Version: 2.0.0.0
    12.     Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    13.     CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    14. ----------------------------------------
    15. SonicBGScrollSaver
    16.     Assembly Version: 1.0.0.0
    17.     Win32 Version: 1.0.0.0
    18.     CodeBase: file:///C:/Users/Chris/Desktop/Sonic%20background%20screensaver/SonicBGScrollSaver/SonicBGScrollSaver.scr
    19. ----------------------------------------
    20. System.Windows.Forms
    21.     Assembly Version: 2.0.0.0
    22.     Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
    23.     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    24. ----------------------------------------
    25. System
    26.     Assembly Version: 2.0.0.0
    27.     Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    28.     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    29. ----------------------------------------
    30. System.Drawing
    31.     Assembly Version: 2.0.0.0
    32.     Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
    33.     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    34. ----------------------------------------
    35. ManagedWinapi
    36.     Assembly Version: 0.3.0.0
    37.     Win32 Version: 0.3
    38.     CodeBase: file:///C:/Users/Chris/Desktop/Sonic%20background%20screensaver/SonicBGScrollSaver/ManagedWinapi.DLL
    39. ----------------------------------------
    40. SonLVLAPI
    41.     Assembly Version: 1.0.0.0
    42.     Win32 Version: 1.0.0.0
    43.     CodeBase: file:///C:/Users/Chris/Desktop/Sonic%20background%20screensaver/SonicBGScrollSaver/SonLVLAPI.DLL
    44. ----------------------------------------
    45. System.Core
    46.     Assembly Version: 3.5.0.0
    47.     Win32 Version: 3.5.30729.5420 built by: Win7SP1
    48.     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
    49. ----------------------------------------
    50.  
     
  19. MainMemory

    MainMemory

    Have no fear...Amy Rose is here! Tech Member
    4,425
    72
    28
    SonLVL
    You extract the 7z files into the folder with the screensaver file, so that they all end up in subfolders (the archives include the folders).
     
  20. Skidd

    Skidd

    Member
    16
    0
    0
    Okay, now that I've seen this actually in action, this is awesome! :eng101:/>/>/> I think I'm gonna let a couple of my buddies know about this screen saver, and how awesome it is! good job MM!

    and to be honest... I totally want this on my phone now. :v: