Sonic and Sega Retro Message Board: Sonic the Hedgehog 1 No-Name - Sonic and Sega Retro Message Board

Jump to content

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

Sonic the Hedgehog 1 No-Name Presented by: Ritz Crackers and Team No-Name - Now with GEMS inside

#61 User is offline theocas 

Posted 11 September 2010 - 01:25 AM

  • Battery not included. Each set sold separately. Assembly required.
  • Posts: 343
  • Joined: 10-February 10
  • Gender:Male
  • Location:Austin, TX
  • Project:Mega CD PCM Sound Driver
  • Wiki edits:50
QUOTE (Mercury @ Sep 9 2010, 05:48 PM)
QUOTE (theocas @ Sep 8 2010, 11:55 PM)
QUOTE (Mercury @ Sep 8 2010, 11:40 AM)
Also, if Sonic Spindashes at Level Start or respawning at a Lamp Post, he can screw up the camera. To fix this, open "_inc\LevelSizeLoad & BgScrollSpeed (JP1).asm" and "_inc\LevelSizeLoad & BgScrollSpeed.asm" and add these lines after the label "LevSz_SkipStartPos:" in both of them.

Syntax Highlighted Code: ASM
 
clr.w (v_trackpos).w ; reset Sonic's position tracking index
lea (v_tracksonic).w,a2 ; load the tracking array into a2
moveq #63,d2 ; begin a 64-step loop
@looppoint:
move.w d1,(a2)+ ; fill in X
move.w d0,(a2)+ ; fill in Y
dbf d2,@looppoint ; loop
 


That fix seems like it removes the need for the fix with "Sonic_Death:" but I want to have both to be sure.

I can't seem to find it anywhere in the 2007 disasm, but I'll keep looking. What does the surrounding code look like, so I can search for that code?


Here it is:

Syntax Highlighted Code: ASM
 
LevSz_SonicPos:
moveq #0,d1
move.w (a1)+,d1
move.w d1,(v_player+obX).w ; set Sonic's position on x-axis
moveq #0,d0
move.w (a1),d0
move.w d0,(v_player+obY).w ; set Sonic's position on y-axis
 
SetScreen:
LevSz_SkipStartPos:
subi.w #160,d1 ; is Sonic more than 160px from left edge?
bcc.s SetScr_WithinLeft ; if yes, branch
moveq #0,d1
 
SetScr_WithinLeft:
move.w (v_limitright2).w,d2
cmp.w d2,d1 ; is Sonic inside the right edge?
bcs.s SetScr_WithinRight ; if yes, branch
move.w d2,d1
 


You can check out the whole file here on the SVN.

Thanks, I'll go ahead and implement it when I get my computer back from the Apple store tomorrow, hard drive died, and I needed the keyboard replaced anyways, so I sent it in. Thank god I keep backups.

Well, the Collision Chaos Port is coming along quite nicely, but I have no idea why I can't do it as fast as I did with the Tidal Tempest one. Hopefully I can release something on Sunday. I'll make this weekend a hack fest :P

#62 User is offline Animemaster 

Posted 11 September 2010 - 06:44 AM

  • Prison bitch!
  • Posts: 338
  • Joined: 13-August 08
  • Gender:Male
  • Location:UK
  • Project:Sonic 1 Revelation
  • Wiki edits:35
Question: this is more of a favour.... do you have to port collision chaos zone? I've already done past present and future for sonic 1 revelations.

#63 User is offline theocas 

Posted 11 September 2010 - 08:02 AM

  • Battery not included. Each set sold separately. Assembly required.
  • Posts: 343
  • Joined: 10-February 10
  • Gender:Male
  • Location:Austin, TX
  • Project:Mega CD PCM Sound Driver
  • Wiki edits:50
QUOTE (Animemaster @ Sep 11 2010, 04:44 AM)
Question: this is more of a favour.... do you have to port collision chaos zone? I've already done past present and future for sonic 1 revelations.

No, we needed to re-do collision from scratch since I can't figure out the format of Sonic CD's collision array. But I'll get it done eventually. Right now I just want to get Bonus Stage 2 to load.
This post has been edited by theocas: 11 September 2010 - 09:15 AM

#64 User is offline Animemaster 

Posted 11 September 2010 - 08:24 AM

  • Prison bitch!
  • Posts: 338
  • Joined: 13-August 08
  • Gender:Male
  • Location:UK
  • Project:Sonic 1 Revelation
  • Wiki edits:35
So is that a yes your not doing it? or a yes but we need to fix the collision. Sorry if I read it wrong heh.
Edit: Also thats what I did I did it from scratch, thats why it took awhile to fix.
This post has been edited by Animemaster: 11 September 2010 - 08:25 AM

#65 User is offline theocas 

Posted 12 September 2010 - 05:11 PM

  • Battery not included. Each set sold separately. Assembly required.
  • Posts: 343
  • Joined: 10-February 10
  • Gender:Male
  • Location:Austin, TX
  • Project:Mega CD PCM Sound Driver
  • Wiki edits:50
Since I'm lazy today and can't be arsed to copy the entire article on my site over, click here to see the article and make my lazyness happy. Oh yeah new release's on there too.

#66 User is offline theocas 

Posted 12 September 2010 - 08:49 PM

  • Battery not included. Each set sold separately. Assembly required.
  • Posts: 343
  • Joined: 10-February 10
  • Gender:Male
  • Location:Austin, TX
  • Project:Mega CD PCM Sound Driver
  • Wiki edits:50
Sorry for the double post, but I just got GEMS to work correctly and I would like you guys to see it. Download Here.
Right now, it is only used for the OCAS and SEGA Screen, Title Screen, Options Menu, and of course Special Stage. It switches between the drivers when needed, as it can be heard when the "TEAM NO-NAME PRESENTS" message plays it's Sonic 3 ring sound effect, which is different from the Sonic Spinball ring sound effect.

Enjoy smile.png

#67 User is offline theocas 

Posted 16 September 2010 - 10:02 PM

  • Battery not included. Each set sold separately. Assembly required.
  • Posts: 343
  • Joined: 10-February 10
  • Gender:Male
  • Location:Austin, TX
  • Project:Mega CD PCM Sound Driver
  • Wiki edits:50
I kinda wanna let you guys know what's being done and since I'm bored (The first time since school started) I might as well.

First of all, since Jaseman wants a "Press right to win" kind of level, He's gonna be getting Jaseman Jungle as his zone where he can go completely wild. Yaaay!

Also, I've gone ahead and fixed a few bugs with GEMS here and there, but mostly minor.

I've gone ahead and added a new demo for PPZ 2, but 6-button support that was added sometime fucked it up, so I will restore. No idea who added that though.

And last of all, I might be implementing a replay feature for a level, since the way I recorded demos was by outputting them to SRAM, and this is a very reliable way to do that. A good way to use the unused demo recording routine. Now I just need to figure out a way to actually play that back, but that should be just about trivial with the correctly formatted demo data.

Maybe I just need the end of level tally to happen on a seperate screen mode, so I can add a little thing at the bottom being like "Next Level" and "Watch Replay."
But I just need some decent BG data for that screen, I don't want to use the same, old, boring, "SONIC MILES" text. Any suggestions?

And since I forgot once more, a two-player mode may or may not be coming soon, but since I don't know how the split-screen thing works in Sonic 2, it'll likely be where both characters are tied together with a kind of band than one can only stretch so far. Suggestions appreciated, again.

And thanks for all your criticism with this hack. Much appreciated.
This post has been edited by theocas: 16 September 2010 - 10:06 PM

#68 User is offline theocas 

Posted 28 September 2010 - 09:02 AM

  • Battery not included. Each set sold separately. Assembly required.
  • Posts: 343
  • Joined: 10-February 10
  • Gender:Male
  • Location:Austin, TX
  • Project:Mega CD PCM Sound Driver
  • Wiki edits:50
Sorry for the lack of updates, but first of all, I've been real busy with school stuffs recently, and during a PE accident, I broke my middle finger on my right hand, and now I can practically not use that hand, it hurts that bad. I'm hoping it gets better soon, but I might not post any updates for a few weeks.

#69 User is offline Master3k 

Posted 01 November 2010 - 10:38 AM

  • Yeah, bye.
  • Posts: 278
  • Joined: 25-July 07
  • Gender:Male
  • Wiki edits:27
QUOTE
"Press right to win"


Thanks for the idea :o!

Anyways, I'll surely download it when my internet stops being gay with downloads. These screens are surely gorgeous, though. :O

  • 5 Pages +
  • ◄ First
  • 3
  • 4
  • 5
    Locked
    Locked Forum

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