PSVita Home
What's New
Homebrew
Plugins

Sonic 1&2 v1.1.0 by Xeeynamo
Last Release: Jan 20, 2021
Downloads: 1391

A Full Decompilation of Sonic 1 & 2 (2013)

SUPPORT THE OFFICIAL RELEASE OF SONIC 1 & SONIC 2
Without assets from the official releases this decompilation will not run.

Video tutorial on how to find your legally obtained data.rsdk file: https://www.youtube.com/watch?v=gzIfRW91IxE

You can get the official release of sonic 1 & sonic 2 from:

Sonic 1 (iOS, Via the App Store)
Sonic 2 (iOS, Via the App Store)
Sonic 1 (Android, Via Google Play)
Sonic 2 (Android, Via Google Play)
Sonic 1 (Android, Via Amazon)
Sonic 2 (Android, Via Amazon)
Even if your platform isn't supported by the official releases, buy it for the assets (you don't need to run the official release, you just need the game assets)

If you want to transfer your save from the Android pre-forever versions, you can go to Android/data/com.sega.sonic1 or 2/SGame.bin and copy it to the SData.bin in the EXE folder.

Additional Tweaks
added a built in script compiler, similar to CD, but tweaked up to match the new syntax for the scripts used in RSDKv4
There is now a settings.ini file that the game uses to load all settings, similar to Sonic Mania
Dev menu can now be accessed from anywhere by pressing the ESC key if enabled in the config
The f12 pause, f11 step over & fast forward debug features from sonic mania have all be ported and are enabled if devMenu is enabled in the config
If devMenu is enabled in the config, pressing f10 will activate a palette overlay that shows the game's 8 internal palettes in real time
TODOs:
the "native object" system has been implimented, but the objects (aside from RetroGameLoop and a temporary pause menu) and the proper HW rendering system have yet to be added
probably some more bug fixes, because there always are a few stragglers
create a cmakelists.txt file for windows compiling so builds can be added automatically via git actions
S2 networking code, we attempted to write code to handle the 2PVS mode in S2 but we couldn't finish for many reasons, we did leave our WIP code in the game, so if you think you could do it by all means give it a shot!
How to build:
Windows:
Clone the repo, then follow the instructions in the depencencies readme for windows to setup dependencies, then build via the visual studio solution
or grab a prebuilt executable from the releases section
Mac:
Clone the repo, then follow the instructions in the depencencies readme for mac to setup dependencies, then build via the xcode project
a mac build of v1.0.0 by sappharad can be found here
Switch:
head on over to heyjoeway's fork and follow the installation instructions in the readme
Other platforms:
Currently the only supported platforms are the ones listed above, however the backend uses libogg, libvorbis & SDL2 to power it, so the codebase is very multiplatform. if you've cloned this repo and ported it to a platform not on the list or made some changes you'd like to see added to this repo, submit a pull request and it'll most likely be added
Name Version Released Hits DL Link QR
Sonic1-xeeynamo-v110.vpk v1.1.0 01/20/21 487 Download QR
Sonic2-xeeynamo-v110.vpk v1.1.0 01/20/21 420 Download QR
I am proud to present a new version of Sonic the Hedgehog 1 and Sonic the Hedgehog 2 ports on PS Vita!

No worries, I heard your feedback through Internet, therefore I added a new section in the main menu:
![image](https://user-images.githubusercontent.com/6128729/105212491-717fbd00-5b45-11eb-95f7-795ac882c4a3.png)

You will be now able to change resolution between three different options: 320x240 for the original Genesis experience, 426x240 to enjoy the game as intended on the mobile versions, 480x240 to stretch the horizontal resolution to fill the entire PS Vita screen and 480x272 to use every single pixel of that gorgeous OLED screen. For the fan of pixels I introduced three scaling modes: Stretched, Fit and Centered. So now the choice if you want the black borders or not is entirely yours.

Also this release comes with a bunch of performance and fixes:
* Improve performance on string management
* Improve performance on game scripts
* Improve performance by using the hardware screen scaling
* Fix a bug where the 1up music was cut
* Fix a bug where some sprites in Aquatic Run Zone were corrupted
* Fix zone selection for Sky Chase Zone and Death Egg Zone
* More attempts to fix a crash when a new music is played
Name Version Released Hits DL Link QR
Sonic1-xeeynamo-v2.vpk v2 01/18/21 139 Download QR
Sonic2-xeeynamo-v2.vpk v2 01/18/21 122 Download QR
Sonic1-xeeynamo.vpk v1 01/18/21 122 Download QR
Sonic2-xeeynamo.vpk v1 01/18/21 101 Download QR