don't click here

Sonic X-treme STI Engines, Saturn, PC, Win95-PC+NV1, +V37 Level Editor

Discussion in 'General Sonic Discussion' started by Andrew75, Feb 24, 2015.

  1. Andrew75


    Technical Artist Member
    Project AXSX(Sonic Xtreme) + Misc Projects
    Related threads:
    POV Saturn Build thread:
    Version 001 STI Build:

    == V037 Engine release 4 ==
    == Jollyroger's FISHEYE MOD for V037! ==

    Back in 2015 Jollyroger had backported the fisheye code from V040 to V037. At the time we decided not to release this build believing that it could possibly cause confusion for future generations. In that, some people mistake this modification as being an "as IS" official STI build, When in fact it's basically a mod using the original source code from the 2 build's source.
    We're not really sure exactly when the fisheye was introduced into Xtreme, perhaps between V038 and V040.

    Anyhow Here it is!
    We hope a lot of you diehard Xtreme fans and level modder guys out there will really enjoy this one.


    F key to enable fisheye ( Please guys read the Readme file)

    Some levels may have the camera distance either too close or too far from sonic,
    This is because many of the levels were designed before fisheye was implemented.

    (if you want to have some fun, Please check out the .def files using a text editor, and experiment around with some of the setings)
    Also most RSRC19 folder levels are pre adjusted.

    I left notes in the .def file named Test.def
    // CAM0003
    NEW_CAMERA "CAM0003"
    Value 003,426 //Scale Z Range: 0 -> 256*16
    Value 004,10 //Skew Y Range: -512 -> 512

    //Custom function coded by Jollyroger to move the camera closer or further away from Sonic.
    Value 005,245760 //Camera offset Z default value is 81920
    //notes by Andrew75
    //ideal multiples: 5120, 10240, 20480, 40960, 81920, 163840, 327680, 655360
    //* 81920+20480=102400
    // * 163840+40960=204800+20480=225280+20480=245760

    Please be mindful the following is not a bug.
    Back when the original engine was written, the camera pipeline did not include a Z-Buffer, so you may experience some geometry sorting issues when the fisheye is enabled.

    == V037 Engine release 3 ==
    == With all 037 levels + More levels ==

    Hey guys this is the Biggest release yet! This Mega release includes over 150 levels!
    Many of which were never seen by the public before !

    For the latest release of Jollyroger's modern Windows port for Ofer's V037 NV1 engine, This release breaks away from the "AS IS" state of our last release by adding:
    *the ability to play music.
    *Incorporates A camera distance Function which can be tweaked in each .def file to counterbalance level depth scaling differences vs Sonic's distance to camera.
    *The engine now has a Global configuration file for Sonic's main physics attributes among other engine settings. (like V038 and above)
    *Over 150 playable original STI experimental test levels are now included in the release, however many are duplicate files which
    have different adjusted attributes like texture physics settings to help slow or speed sonic up in specific situations. Or are snapshots in time showing a level's development history from start to finish.

    Each and every Level.def file that is playable with the release engine had to be edited like so:
    *Sonic's main Physics were stripped out.
    *Player parameter changed from Static to player.
    *New Camera parameters set up and adjusted, to match camera distance between levels that had different depth scaling.
    * Some color pallet links corrected.
    *Replace all Ring and Enemy Blocks with Actors so that Sonic could pass threw them, and possibly interact with them in a future release.
    *Attempted to tweak physics in the new Global file to make the game feel a little more playable.

    Besides the modified levels, All of the original Level files and assets are also included in this leak in an unmodified form,
    including levels that do not work with our engine since the levels are from older engine builds that we do not have.
    There are also partial levels for other builds of the game as well.


    == V037 SONICBOOM Sonic X-Treme Level Editor ==

    kudos to JollyRoger on another fine release!
    This is another "AS IS Release" so there are lot of bugs and issues as how it was found.


    If you are missing a DLL, you may need to download the C++ x86 Redistributable.
    The readme file has a little more information on how to work the editor.
    We had initially planned to do a PDF guide with illustrations, but seriously lack the time to do something like that these days.
    Hoping we can get someone to write up an instruction guide and also someone to do some bug reports. ( there are a lot of issues that need to be documented)

    SonicBoom "Sonic X-treme" Level editor for v037 levels. Release 001:


    == V40 Engine for PC And SEGA SATURN ==

    K guys !
    2 new simultaneous releases for Engine v040! The First Release is for the PC. And YES SEGA SATURN TOO!!!! (Again lets thank JollyRoger for his hard work)
    Both releases Support Fisheye ! YES I said it Fisheye and SEGA SATURN together! Did I say Fisheye with good FPS! ? !
    The PC release generally looks better with more frames of animation for Sonic, enemies and the rings. The PC ver Also sports higher res with better color than the Saturn version which looks a bit washed out, but that is to be expected. Improvements for both 040 versions are planned including frame rate improvements and more frames of animation for sprites like rings for the Saturn build among too many other improvement to list.

    Here is the video for 040 running on Sega Saturn!

    The video shows the engine essentially unmodified from the way it was found.
    As you can see, this is a very early build of the Saturn version. The v40 engine is very different from v37: many features had been removed or simplified to streamline portions of the code and data structures to increase the performance, so that it could run on Saturn at an acceptable speed.
    The engine was clearly in the middle of heavy refactoring and basic functionality such as player control and collisions were disabled. The code for those features had not been ported to use the new data structures and functions, and was completely commented out, so it had to be partially rewritten/ported.
    The engine was also prone to constantly crashing due to several bugs, so the code has been altered further, but only to make it more stable, no other changes were made to its appearance or functionality.
    The level displayed is a test level that was used to debug the engine, and it is the only level that was found with this particular version of the engine. The engine only loads and displays one animation frame every eight, this explains the mostly non-existent animation.

    Please keep in mind that there are visual differences between Saturn and PC build of v040 so try them both if you can.
    PC Ver. 040 Release 001:

    SEGA SATURN Ver. 040 Release 001:
    (Recompiled from source code with fixes for a timing issue causing crashes)

    SEGA SATURN Ver. 040 Release 002:
    (Faster FPS But more Bug Prone version)
    This is the original raw Binary compiled by STI.

    Note: Hold Y until the blue level loads up or you instant crash on a real Saturn.
    but, You will eventually crash out no mater what.


    I used ImgBurn for burning the iso.
    If attempting the swap trick or installing a Mod chip , please be careful not to bust your Saturn, all parties involved with this release are not to be held accountable.

    ==== V37 Engine for PC: ====

    After you get the game, Please people, read the included Readme file for additional info and how to set up the alternate level with un-modified physics)

    First Release Trailer :
    for JollyRoger's port of STI's V037 engine.

    Mini Documentary about this port of v037.
    Credits to Borman.

    Before we continue I'd like to give my appreciation and display credits to all who were involved.
    Thanks to JollyRoger putting in massive amounts of Blood Sweat And tears to port the original assets over to modern windows making this release and future releases possible for us to experience.
    Thanks to Tichua for contributing the source materials.
    Thx for Bormon for taking the time to do a mini documentary video in regards to the release.
    Also Thanks to Sonic Retro and for hosting the leak.
    And myself for other miscellaneous tasks.

    I Don't know about you guys but for me personally, the past 19 years has been a very long wait to be able to play This game, Sure its not finished and only a very early build, and yes that aspect really shows!
    However, I believe that if X-treme were finished, It may have been a whole other game than what this early beta portrays. (who knows)

    Now for the description:
    Sonic X-treme's Version 037 engine has been painstakingly ported to Modern Windows and Open GL by JollyRoger, from Windows 95 that also required the NV1 Graphic's card hardware..
    This is the real Sonic X-treme, as JollyRoger had acquired it. ( Not some a Fan game) This is a restoration project meant for preserving historical accuracy as closely to how it was found as possible. However If released in the original state the game basically would have been beyond unplayable as code had to be massaged back into a working state.
    Basicly this is an almost as is port of the engine (Almost as how the original developers had left it, A snapshot in time "if you will".

    And Guess what ?!
    This port of X-treme is out there right now! Ready for YOU to download and enjoy!

    However, We'd like to point out that this is a single level release.
    This first public release consists of a Jungle level, which I like to refer to as "The E3 Jade Gully level" since it was shown in one of the E3 96 Promo videos.
    Other levels are playable and all , but they are not featured in this teaser release. Rest assured they will be released in the final release that also addresses some bugs.

    Fun Facts:
    *The next port to be done will be of version 040 which has the fisheye lens effect. V040 can also run on Sega Saturn hardware. ( with a good FPS mind you) There is also a mysterious build by the now defunct Point of View studios. POV's build version is for Sega Saturn as well and uses 100% original code separate from the STI's code.

    *JollyRoger had to massage much of the code back into place to restore functionality since some code had been commented out due to being in mid engine re-wright by STI or POV.

    *The game ran on the NV1 GPU by Nvidia, supported true Quad polygons (Like Sega Saturn) instead of quads made up of 2 triangles.

    *Currently this port of v037 lacks true quad polygon rendering, *check out the sides of slopes where the textures look distorted*
    Future releases may or may not incorporate true quad like rendering to fix the issue.

    *The level data file itself had to be edited to improve physics to the point of playability, As well as remove ring collisions so the level could be explored properly. ( rings would push sonic off ledges if he walked near them)

    *The Bouncing ball effect when sonic Lands can be disabled. Which allows for better playability, but in this case it was kept to better match the E3 Videos.

    *You guys can tweak physics quite easily by opening the .def files in your text editor of your choice.

    *I had attempted to fix up the Sonic Magnetic effect so as to help Sonic better when rotating the level in ball mode. This was tried so that it wouldn't sling shot sonic over the edge of sharp angles when rotating the levels.
    I did have it fixed so that the slingshot no longer happened, but it caused other issues with Gravity, and gravity relative to jumping (causing low jump heights), Jumping near walls and celling would cause sonic to stick to objects incorrectly.
    Many of these could be remedied by counter balancing with other tweaks, however after 3 days worth of trying, I just could not find a sweet spot that replicated the feel of the E3 video gameplay clips without the rotation sling shot flying issue.
    (so we had to give up fixing the Magnetic level rotations in favor of better play Mechanics. ( perhaps one of you may be able to find that sweet spot)

    * More Builds and levels to come !

    PC Ver. 037 Release 002:
    •Fixed palette management
    •Initial implementation of scrolling backgrounds (no quadratic distortion)
    •Fixed foreground objects transparency issues (For when Sonic moves behind objects like rocks)
    •Gamepad Support Added
    •Windowed mode EXE added

    PC Ver. 037 Release 001:

    NV1/Win95 (The Original) 037 Release 001:
    *Old Win95 computer with NV1 Diamond Edge 3D graphics card required.
    *The archive needs to be unzipped directly on C:\, so that it decompresses into a folder called "SONCBOOM".

    Edit: Updated links to include unmodified level files that will work with the original engine.
    Last edited: Jan 9, 2022
  2. This is huge... nice work! Can't wait to give this a try!
  3. Dark Sonic

    Dark Sonic

    Working on my art!
    Well it's incredible that after all these years I got the chance to play a demo of Sonic Xtreme, but good jebus is this game confusing as hell, just as I thought.

    Controls surprisingly ok though, didn't expect that.
  4. Arique


    SHUWATCH! Member
    Holy shit.
  5. Shadow Hog

    Shadow Hog

    "I'm a superdog!" Member
    Can somebody mirror the thing? I'm not interested in signing up for an Assembler Games forum account.
  6. Andrew75


    Technical Artist Member
    Project AXSX(Sonic Xtreme) + Misc Projects
    I posted links above. Hope its okay with retro!
  7. Jaseman


    The programmer has a nap! Hold out! Programmer! Member
    Wow, holy heck good work guys! This is incredible

    @Shadow Hog, yeah, I had to register for an Assembler account to get the links, but the thread has a Mega link

    EDIT: Ninja'd on my first post in like a year.
  8. Lilly


    United States
    Shang Mu Architect
    Same here, although it's tempting to register anyway on the chance it disappears before I can download it. I've been wanting to play around with the real Sonic Xtreme prototypes, not just the Nights engine adaption, since I was a kid. The wait is killing me.

    Second Edit : Wow that was fast! Got it from the Mediafire link, hope it likes my notebook.
  9. Falk


    Man, Andrew, it's been one helluva journey for you lol
  10. Shadow Hog

    Shadow Hog

    "I'm a superdog!" Member
  11. *squeals*

    Wow. Just wow. Great work guys. This is wonderful. To have this brought back after all these years is astounding.
  12. Andrew75


    Technical Artist Member
    Project AXSX(Sonic Xtreme) + Misc Projects
    Hell yeah, its been one hell of a Journey, not just for me , but for everyone else waiting for another build! Now we just need the other Boss engines ( Besides the green hill like level that leaked a few years back(Project condor) and Offer's later build, I think after that point we can almost close the door on X-treme.
    And yeah JollyRoger has a lot more engine versions to get working and out the door. I'm actually excited about the POV build now that we've seen some screens of it.
    Sonic sprites display 8 run directions instead of just 4 as seen in build 037, Rings are also collectable from my understanding.

    Anyhow Modding the .def file is very easy and simple. I'm sure someone will figure out all the ins and outs just as I have threw modifying some parameters.
    You can Cancel Sonic's Landing bounce effect for example which really helps playability of the level. If you guys get a good physics setup going, please do share here. I'm very interested to see what some of you come up with.
  13. Lilly


    United States
    Shang Mu Architect
    Heads up for anybody with a modern Intel GPU hoping for playable speeds, considering the age of the engine : Nope, just nope, you better try this on a machine with something that wouldn't break a sweat over Half-Life 2.

    Lag aside, it was mind-blowing to finally see for myself how the game handled in those old captured videos of the prototype on YouTube, and playing with world rotation. What really struck me as strange was that none of the quarter-angle sprites are present in this build, so it felt more slippery than it should have with only the compass direction angles in there.

    JollyRoger, Andrew, and everyone else involved, thanks for making this happen. It felt good playing around with an example of STI's work. I can't wait to see what else comes of the restoration project.
  14. Adamis


    Gimme waffles! Oldbie
    Lammy and "Fafnir"
    Amazing work, this is a dream come true, thank you so much guys.
  15. Jollyroger


    Thanks for the comments :-)

    As for the performance, the engine as-is makes rendering with a modern card quite challenging (slow), and I am using some very old OpenGL features that may not work properly on Intel GPUs, so the driver may well be resorting to use software rendering, which is extremely slow.

    I will work on fixing inevitable bugs and having greater compatibility with a larger variety of GPUs, right now the priority was to get SOMETHING out there... I just need some more time to tweak the rendering and it will be plenty fast enough on Intel GPUs too, one way or another.

  16. Aberdorf


    Oh man, this is amazing. Thank you JollyRoger, from a guy who wished to play Sonic X-Treme for almost two decades.

    Just one question: On the promo video, they showed this same stage with the fish eyes effects. Is there another build with this same stage but with that effect on? Or was that a POV Saturn build?
  17. Jollyroger


    Later versions of the STI engine had the fisheye effect.

    We have a very rough (in the middle of a large code refactoring) version of the engine that has the fisheye effect (v40), which I am also in the process of porting.
    The issues with it are much more serious than the version we just released, v40 is much more "broken" in the state we have it.
    The fisheye effect also requires sorting the polygons in depth order, which neither v37 or v40 do, and the format of the level files is substantially different (simpler, fewer features), so most of the data will have to change for it to work.

    Stay tuned, it will take a lot of work.

  18. Blades



    Can't wait to see the other levels with the music and everything else you've found. I'm still not sure if this is actually happening.
  19. Jollyroger


    The archives we recovered contained no music, but over time we will release multiple fixes to the engine (graphics emulation), more levels, ports of the newer version of the engine we found (v40), a variant of the v40 running on Saturn, and the Saturn engine POV had been working on.

    Eventually we may improve the engine to reproduce some of the actual gameplay, but this will happen only after the code we already have is brought to a state where it works properly and is well understood.

    It will take quite a long time, but we hope to release everything, besides the source code itself.
  20. LordOfSquad


    bobs over baghdad Member
    Winnipeg, MB
    making cool music no one gives a shit about
    Incredible, I've been having a great day and this is the cherry on the sundae. Thanks so much everyone involved for your hard work bringing this to us lucky folks, it's beyond appreciated. Gonna take this for a spin tomorrow at work.