Sonic and Sega Retro Message Board: Sonic Generations Hacking (and More!) - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Loading News Feed...
 

Sonic Generations Hacking (and More!) Generations Cracked wide open (Custom Levels are an ongoing event!

#1411 User is online JaxTH 

Posted 30 March 2012 - 10:13 PM

  • Pudding Deity
  • Posts: 5097
  • Joined: 29-March 10
  • Gender:Male
  • Location:Los Angeles
  • Project:Jack shit.
  • Wiki edits:2
How goes it on the teleport thing in Jungle Joyride?

#1412 User is offline Evil Hedgehog 

Posted 30 March 2012 - 10:23 PM

  • Posts: 32
  • Joined: 01-November 07
  • Gender:Male

View PostDario FF, on 30 March 2012 - 10:00 PM, said:

It seems I'm finally WAY more closer to cracking the actual vertex format Generations uses. This will allow for Dynamic shadows, normal mapping, and lots of other goodies to come!
(pic)

So yes... beware of actually good looking Unleashed stages in the near future. :v:


Posted Image

#1413 User is offline Chimera 

Posted 30 March 2012 - 10:30 PM

  • I'm not a furry.
  • Posts: 689
  • Joined: 04-October 10
  • Gender:Male
  • Project:TOO MANY. BUT ONE LESS.
  • Wiki edits:5

View PostDario FF, on 30 March 2012 - 10:00 PM, said:

It seems I'm finally WAY more closer to cracking the actual vertex format Generations uses. This will allow for Dynamic shadows, normal mapping, and lots of other goodies to come!
Posted Image

So yes... beware of actually good looking Unleashed stages in the near future. :v:


Look at the shit you do while I'm asleep :specialed: or maybe it's your new powers of tech membership letting you advance.

And finally, normal maps (probably) will work now! AFTER ALL 3 MONTHS OF WAITING ;-;


...I should open up crazybump :V (hint hint: Nintendo doesn't make normal maps for their Wii games it seems; need to make my own for Whomp's Fortress, that is if anyone gives a shit about my import ;-; ).
This post has been edited by Chimera: 30 March 2012 - 10:31 PM

#1414 User is offline Lanzer 

Posted 30 March 2012 - 11:06 PM

  • The saber calls for its master...
  • Posts: 4148
  • Joined: 27-February 09
  • Gender:Male
  • Location:California
  • Project:Doing Stuff.
  • Wiki edits:1
Dario finally your a tech member! congrats bro!!

All this hacking and modding right here in this thread was Sonic Team's true anniversary present. not Generations itself but a modern sonic engine that can be cracked open like an egg and modified beyond what we ever thought possible, things we dreamed of what to do with this engine when we first saw Unleashed in action back in 2007 are now very much within our grasp! its mindblowing!!

Thank you Sonic Team for releasing Generations to PC and Thank you Dario and everyone else for doing this beyond amazing work. you guys don't get enough credit so I just wanted to spend a post gushing over this amazing work.

#1415 User is offline Elratauru 

Posted 31 March 2012 - 07:34 AM

  • Oooh Shiny stuff! don't touch it >:(
  • Posts: 952
  • Joined: 13-April 08
  • Gender:Male
  • Location:Montevideo, Uruguay
  • Project:Web Developing Stuff! :P
  • Wiki edits:132
Ooooooh! *shiny pic*~~ I can't wait to see more videos of everything looking pretty good :O!

#1416 User is offline crystallize 

Posted 31 March 2012 - 09:48 AM

  • Posts: 48
  • Joined: 22-November 09
  • Gender:Male
  • Location:Novosibirsk

View PostDario FF, on 30 March 2012 - 10:00 PM, said:

It seems I'm finally WAY more closer to cracking the actual vertex format Generations uses. This will allow for Dynamic shadows, normal mapping, and lots of other goodies to come!
[HUGE PICTURE]

So yes... beware of actually good looking Unleashed stages in the near future. :v:

Why Sonic and clouds isn't shiny? You edited shaders, or what? o_O

#1417 User is offline DustArma 

Posted 31 March 2012 - 03:40 PM

  • Posts: 1095
  • Joined: 27-February 08
  • Gender:Male
  • Location:Santiago, Chile
  • Project:Learning Python.
Since it hasn't been mentioned before, you can transplant Unleashed's Sonic parameter file (Which handles much of Sonic's physics) into Generations, and the result is M.Sonic handling much like his Unleashed counterpart (Floatier jumping, wider drifting, easier water drifting, X-button HA), like-wise you can transplant Generation's parameter file into Unleashed, which results in Unleashed Sonic handling like Generations (including A-button HA). A side effect of doing this however is that both Crisis City and Planet Wisp are unbeatable, in Crisis City you glitch into a loop and in Planet Wisp the Rocket Wisp is useless (due to there not being any settings at all for it)

Interestingly, the sonic.prm.xml (the parameter file) for Unleashed is nearly empty, indicating that most of the values are hard-coded into the game and the parameter file acts as an override for them.

#1418 User is offline Lobotomy 

Posted 31 March 2012 - 03:50 PM

  • Every man who knows a thing knows he knows not a damn, damn thing at all.
  • Posts: 3602
  • Joined: 22-March 06
  • Gender:Male
  • Location:Traverse City
  • Project:Fixing Generations FOREVER, Project: In Silico, Unleashed PC Beautification.
  • Wiki edits:94

View PostDustArma, on 31 March 2012 - 03:40 PM, said:

Since it hasn't been mentioned before, you can transplant Unleashed's Sonic parameter file (Which handles much of Sonic's physics) into Generations, and the result is M.Sonic handling much like his Unleashed counterpart (Floatier jumping, wider drifting, easier water drifting, X-button HA), like-wise you can transplant Generation's parameter file into Unleashed, which results in Unleashed Sonic handling like Generations (including A-button HA). A side effect of doing this however is that both Crisis City and Planet Wisp are unbeatable, in Crisis City you glitch into a loop and in Planet Wisp the Rocket Wisp is useless (due to there not being any settings at all for it)

Interestingly, the sonic.prm.xml (the parameter file) for Unleashed is nearly empty, indicating that most of the values are hard-coded into the game and the parameter file acts as an override for them.


As I mentioned in the IRC, the Unleashed parameter file is almost empty. It does not include any parameters for Drift, yet the Drift acts like it does in Unleashed when it's used.

What this means is, in Generations, Sonic's physics default to hard-coded Unleashed definitions if it isn't specified in the XML. The XML merely overwrites the default.

You can completely comment out the parameter XML, and the game will still control like Unleashed.
This post has been edited by Lobotomy: 31 March 2012 - 03:51 PM

#1419 User is offline DustArma 

Posted 31 March 2012 - 04:11 PM

  • Posts: 1095
  • Joined: 27-February 08
  • Gender:Male
  • Location:Santiago, Chile
  • Project:Learning Python.
Forgot to mention, but interestingly using the Unleashed parameter file fixes Modern's walljumping in the PC version. This shows the bugged one:



As you can see Sonic gets stuck in the wall when he should slide down slowly, this doesn't happen if you use the Unleashed parameter file implying that one of the modifications Sonic Team did broke the walljump for PC users, now we have to find out which so it can be fixed.

#1420 User is offline Falk 

Posted 31 March 2012 - 05:09 PM

  • Posts: 744
  • Joined: 03-October 11
My theory on that is that Generations was designed to run at 30fps (as opposed to Unleashed's 60fps with w/e framedrops) and one of the side effects was the numerical tweaks they made didn't account for the PC version still being technically uncapped in comparison. A can't-happen happening, if you will.

edit: caught myself there, x360 Unleashed was capped? My point stands though!
This post has been edited by Falk: 31 March 2012 - 05:21 PM

#1421 User is offline DustArma 

Posted 31 March 2012 - 07:53 PM

  • Posts: 1095
  • Joined: 27-February 08
  • Gender:Male
  • Location:Santiago, Chile
  • Project:Learning Python.


Here's me playing through some levels with the Unleashed physics.

@Falk: the 360 version of Unleashed was capped at 30FPS, the PS3 version however was capped at 60 and would constantly range between those 2 marks in gameplay.

#1422 User is offline Falk 

Posted 31 March 2012 - 08:13 PM

  • Posts: 744
  • Joined: 03-October 11

View PostDustArma, on 31 March 2012 - 07:53 PM, said:

@Falk: the 360 version of Unleashed was capped at 30FPS, the PS3 version however was capped at 60 and would constantly range between those 2 marks in gameplay.


That's what I meant with the edit. As in, Unleashed might have physics files that worked on 60fps across both platforms (no point inventing two different wheels) despite x360 being capped, as opposed to Generations which ran at 30fps on both platforms (with PC being the forgotten outlier), hence they may have made tweaks for the game to be more responsive or whatever with 30fps physics calculations/input polling/whatever, which have unintended side effects when the game runs at 60fps.

Like I said, a shot in the dark, but it might well explain why it happens only on PC version. Completely unrelated, something similar happened with the id Tech 3 engine derivative in CoD2/CoD4/etc on PC where physics hilariously broke at 333fps. At 91fps (1000/11) you died falling 300 units. At 333fps, (1000/3) you took 97 damage falling 350 units.
This post has been edited by Falk: 31 March 2012 - 08:19 PM

#1423 User is offline KuroBit 

Posted 01 April 2012 - 02:01 PM

  • Posts: 38
  • Joined: 01-December 11
  • Gender:Not Telling
Oh no, wall jumping is something you guys where trying to fix? I had accidentally fixed it a long time ago by changing a few values, but I wasn't aware this was a big mystery or anything or else I would have saved what I had done.

I don't think it's anything unusual, I think it's just like tweaking some sort of special gravity value or something, but I can't quite remember. All I know is that it's just a slight bit too high or low, so just a minor change fixes it and you start sliding down.

Sorry I can't help more than that... (My computer is broken, so I can't try this out myself)

#1424 User is offline Dario FF 

Posted 02 April 2012 - 05:55 PM

  • Tech Support Hotline
  • Posts: 829
  • Joined: 03-April 10
  • Gender:Male
  • Location:Mar Del Plata
  • Project:SonicGLvl
WIP Screenshots and video of Dragon Road, now with the vertex format properly transformed into Generations' format.

Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image

And here's a video. Water isn't implemented yet because I gotta figure out the format for that. Also, this stage plays at 60 FPS constantly for me.
Audio is a bit unsynced with the video, it's just a recording problem.


Also as a sidenote, it has been brought up to my attention that the normals in that video and screens are flipped. I can fix that in my code since I was pretty much guessing where the binormals and tangents where. If I swap them it will work perfectly. I just did this vertex fix for Dragon Road at the moment.
This post has been edited by Dario FF: 02 April 2012 - 05:59 PM

#1425 User is offline Lobotomy 

Posted 02 April 2012 - 06:02 PM

  • Every man who knows a thing knows he knows not a damn, damn thing at all.
  • Posts: 3602
  • Joined: 22-March 06
  • Gender:Male
  • Location:Traverse City
  • Project:Fixing Generations FOREVER, Project: In Silico, Unleashed PC Beautification.
  • Wiki edits:94
Posted Image
This post has been edited by Lobotomy: 02 April 2012 - 06:02 PM

  • 243 Pages +
  • ◄ First
  • 93
  • 94
  • 95
  • 96
  • 97
  • Last ►
    Locked
    Locked Forum

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users