Hacking [RELEASE] Sonic the Hedgehog 1 and 2

Xeeynamo

Member
OP
Newcomer
Joined
Aug 18, 2011
Messages
17
Trophies
0
XP
282
Country
Italy
Following my previous Sonic CD port, I am releasing Sonic the Hedgehog 1 and Sonic the Hedgehog 2 for PS Vita as well!

I heard your feedback about the Sonic CD port and the annoying black bar at the bottom. With this release I pumped up the internal resolution from 416x240 to 480x272, achieving one more time a pixel perfect output without leaving out any unused pixel. You will find a screenshot in this post to give you an idea of the game visual.

Once again, this is just a port. All the hard work for the source code has been made by the amazing developer and reverse engineer Rubberduckcooly. Without him, this release would not have been possible. All I did was to adjust the source code, make it running on PS Vita and ensure that the level of quality is the one that every used should expect from a game.

Have fun ✌

DOWNLOAD VPK
 

Attachments

  • sonic2-xeeynamo-vita.png
    sonic2-xeeynamo-vita.png
    14.7 KB · Views: 434

PZT

Well-Known Member
Newcomer
Joined
Nov 23, 2017
Messages
92
Trophies
0
Age
122
XP
323
Country
United States
wow, thank you so much for your hard work!
It's a thing of beauty, Small error in your documentation, the Data.rsdk.xmf files need to be renamed to Data.rsdk for the game to boot, but after you do that it works excellent
I hope your tease of Sonic 3 AIR comes true, I really hope Eukaryot trusts you guys with the source code because I can picture in my head just how beautiful that game would look on Vita (and Switch)
As we all know Sonic 3 is the best one lol
2021 is a great time to be a Vita owner!
 
Last edited by PZT,
  • Like
Reactions: nowhereman87

Xeeynamo

Member
OP
Newcomer
Joined
Aug 18, 2011
Messages
17
Trophies
0
XP
282
Country
Italy
How can compile manually?
I published the latest commits that allows you to build it by yourself. Just go to Sonic1.Vita or Sonic2.Vita and run the script build.sh. If you are on Windows, I recommend you to run it from WSL2 and to have Docker Desktop installed.

wow, thank you so much for your hard work!
It's a thing of beauty, Small error in your documentation, the Data.rsdk.xmf files need to be renamed to Data.rsdk for the game to boot, but after you do that it works excellent
I hope your tease of Sonic 3 AIR comes true, I really hope Eukaryot trusts you guys with the source code because I can picture in my head just how beautiful that game would look on Vita (and Switch)
As we all know Sonic 3 is the best one lol
2021 is a great time to be a Vita owner!

Thank you for the precious feedback! I tweaked the README with the change you suggested. Sonic 3 & Knuckles is indeed the best in the series and I would love to see it running on other platforms other than PC. I tweeted to Eukaryot already. I hope that some magic will happen in a near future :)
 

PZT

Well-Known Member
Newcomer
Joined
Nov 23, 2017
Messages
92
Trophies
0
Age
122
XP
323
Country
United States
Every time it's crashed for me in Sonic 1 it was because I picked up the speed shoes, it looks like
Sonic 2 crashed for me once when getting to the boss of Chemical Plant Zone? It doesn't look like either of these things crash 100% of the time, but with the speed shoes it almost feels like 60% of the time it crashes.
Based off those two things, and the slight pause that happens when you pick up the speed shoes or get to a boss, it feels like crashes are coming from loading in new files, like music or graphics, into memory, and when that loading fails, it gets a crash
I don't know much about this sort of thing, I'm not a programmer so I'm purely speculating, but that's my guess
 

PZT

Well-Known Member
Newcomer
Joined
Nov 23, 2017
Messages
92
Trophies
0
Age
122
XP
323
Country
United States
https://gamebanana.com/gamefiles/7011
Have you considered adding Mania-style smooth rotation to Sonic CD/1/2, like in this PC version of CD? considering it's all the same engine and the capability is built into the engine, just disabled by default for reasons of looking more accurate to the originals, I can't imagine it would be too hard
but it's up to you, I'm just bringing up the idea because I think it would be a really cool feature
Bug report: if you let the attract mode demos play out and go back to the title screen, sometimes the palette will load in glitched in a way that carries through to the rest of the game (although this is easily avoidable by just not watching the attract mode)
edit 2: more crashes in Sonic 2, one when getting a Chaos Emerald right at the moment it loads in the victory jingle music, and one in Chemical Plant Zone 2 when you get low enough on air to start drowning, i.e. when it loads in the drowning music
this furthers my suspicion it has to be something with how the game is loading in music and/or sound effects
 
Last edited by PZT,

Graxer

Well-Known Member
Newcomer
Joined
May 23, 2016
Messages
75
Trophies
0
Age
32
XP
1,021
Country
This is awesome as Sega really messed up by abandoning these remakes on Android! However, in Sonic 1, no matter which act end signpost I hit in Spring Yard Zone Act II, Sonic dies just after running off screen and I am returned to the last checkpoint.

Also, the vertical metal supports in Chemical Plant Zone appear out of nowhere when you are running through the Zone. They don't seem to draw until they are within a range that is after they should appear onscreen,

Also, sound doesn't resume when restarting from sleep mode.

Saying that, assuming they are not just me (I am using the versions of the game I bought before the "Sega Forever" releases if that makes a difference) these are fairly obvious bugs so it is probably not worth mentioning them.

Would it be possible to add black borders at the top and bottom of the screen to hide the glitched artefacts that appear at the bottom of the screen?
 
Last edited by Graxer,

koffieleut

Well-Known Member
Member
Joined
Jan 22, 2009
Messages
627
Trophies
0
Age
37
Location
probably at home
XP
1,435
Country
Netherlands
Hello everyone and thank you for your feedback! I released a new version that addresses most of the bugs, crashes and feature requested you asked for.

I am really looking forward to add features such as the smooth rotation that you already suggested here. Let me work on that as soon as I can :)
Thank you for the hard work to get this running :D
 

ToruTheRedFox

Member
Newcomer
Joined
Nov 2, 2018
Messages
9
Trophies
0
Age
17
XP
54
Country
Ireland
https://gamebanana.com/gamefiles/7011
Have you considered adding Mania-style smooth rotation to Sonic CD/1/2, like in this PC version of CD? considering it's all the same engine and the capability is built into the engine, just disabled by default for reasons of looking more accurate to the originals, I can't imagine it would be too hard
but it's up to you, I'm just bringing up the idea because I think it would be a really cool feature
Bug report: if you let the attract mode demos play out and go back to the title screen, sometimes the palette will load in glitched in a way that carries through to the rest of the game (although this is easily avoidable by just not watching the attract mode)
edit 2: more crashes in Sonic 2, one when getting a Chaos Emerald right at the moment it loads in the victory jingle music, and one in Chemical Plant Zone 2 when you get low enough on air to start drowning, i.e. when it loads in the drowning music
this furthers my suspicion it has to be something with how the game is loading in music and/or sound effects
that's not up to the executable, that's up to the animation files, mod them, and you'll have it
 

niuus

Well-Known Member
Member
Joined
Mar 4, 2016
Messages
1,596
Trophies
1
XP
2,811
Country
Venezuela
Hello everyone and thank you for your feedback! I released a new version that addresses most of the bugs, crashes and feature requested you asked for.

I am really looking forward to add features such as the smooth rotation that you already suggested here. Let me work on that as soon as I can :)
Funny, i've just discovered your port yesterday at night and started playing it early in the morning today, after finishing the original on the real hardware a couple of days ago.
I've had lots of crashes on Sonic 1 & 2, so i just gave up, came here to read the thread, discovered your new update. :grog:

Played a good deal of the Sonic CD port too, it never crashed for me, sadly that one is not exactly my favorite Sonic sequel.

The resolution and scaling options you introduced are simply marvelous. That should settle it for all Sonic players on a Vita or a PSTV.

Had some minutes playing with 1.1.0, it crashes less often, though it still does. Last time it triggered right after the invincibility power-up finished.

Not sure if you are aware, but there is also another port (this was the first one i used when i read the news on Reddit)
https://github.com/SonicMastr/Sonic-1-2-Vita/
https://github.com/SonicMastr/Sonic-CD-Vita/

Compared to your port. It seems to fix the minor graphic bugs you have on the SEGA logo, the lower portion of the screen on the title, and the solid blue color strip on the background that shows whenever you get too high on a stage.

A bug i detected on version 1.1.0, the Game Options (spin dash, etc.) seem to have disappeared in favor of the resolution settings.

Thanks for your port. :yayps3:
 
Last edited by niuus,

evertonstz

Well-Known Member
Member
Joined
Jan 5, 2019
Messages
209
Trophies
0
Age
27
XP
535
Country
Brazil
Hello everyone and thank you for your feedback! I released a new version that addresses most of the bugs, crashes and feature requested you asked for.

I am really looking forward to add features such as the smooth rotation that you already suggested here. Let me work on that as soon as I can :)

Will these new changes ever arrive into your CD port, or they're incompatible?
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,093
Trophies
1
Age
40
XP
2,630
Country
United States
Not sure how easy it is but cutting the sharp resolution of the halfpipe in half to shore up performance would be more than acceptable. Still would be far less chunky than the original.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    Dark_Phoras @ Dark_Phoras: Have you tried Dragon Ball Fighters? It's surprisingly fun