Welcome Guest ( Log In | Register ) Rules · Search

 
Reply to this topicStart new topic
Port the MZ boss to GHZ
Split from: Basic Questions and Answers Thread
nicogearX
post Sunday 7th March 2010, 8:02 pm
Post #1
* 

Group: Member
Posts: 24
Joined: 7th March 2010
Member No.: 1,086




hello, this is a really simple question but i'm still not very familiar with ASM hacking, i want to add the MZ boss to a certain spot on GHZ without removing the original GHZ boss, which code should i add or change?
Go to the top of the page
 
+Quote Post
Animemaster
post Monday 8th March 2010, 9:13 am
Post #2


Its over 9000!!!

* * * * 

Group: Member
Posts: 434
Joined: 20th March 2009
From: UK
Member No.: 708
Points: 10




QUOTE (nicogearX @ Sunday 7th March 2010, 8:02 pm) *
hello, this is a really simple question but i'm still not very familiar with ASM hacking, i want to add the MZ boss to a certain spot on GHZ without removing the original GHZ boss, which code should i add or change?

You came to the right place wink.gif . Actually the only reason why I'm able to reply to this is because I'm using my computer at work. Plus what you say isn't eactly that 'simple', well IMO anyways. You were partly right when you found the resize routine for mz, in the youtube pm you sent me. If you haven't figured it yet, thats where the camera's are set, and where the boss gets loaded for each level. So if you look at the other resize routine like ghz, you will see it loads the ghz boss in act 3. And it will show you some numbers. These numbers are the position of the boss.(or location) Cool Tip: Use the numbers in debug mode to choose where you want to position your boss. In short depends on which act this is gonna be, actually what act do you want this to be? Then I can discuss it further. If I'm still using this computer laugh.gif

This post has been edited by Animemaster: Monday 8th March 2010, 9:18 am


--------------------
Unique is outa the question.... but making a classic look awsome, its worth wating for =P.
Not recruiting until revelations is back and ready. my email jaib123@hotmail.co.uk,. My youtube account name is animemaster222. Skype is animemasterjai Happy hacking!
Check out the GamebustersUK channel. Me and my friends do playthroughs such as sonic 1, and we comment while playing, so check it out.
Go to the top of the page
 
+Quote Post
nicogearX
post Monday 8th March 2010, 6:25 pm
Post #3
* 

Group: Member
Posts: 24
Joined: 7th March 2010
Member No.: 1,086




uh, i'm trying to find these numbers but i can't....can you copy and paste where the code is and wich it is?
Go to the top of the page
 
+Quote Post
Qjimbo
post Monday 8th March 2010, 6:40 pm
Post #4


SSRG Maintainer

* * * * * * 

Group: Administrator
Posts: 754
Joined: 27th February 2008
From: Vancouver, BC
Member No.: 321
Points: 3




I've split this out since I don't believe it's really a Basic Question.


--------------------
If you wish to contact me use PM, AIM or MSN. Let me know if you want to add to our growing list of SSRG projects on the homepage.
Give me a shout if you're having any problems; I'll try my very best to help!
Go to the top of the page
 
+Quote Post
CarrascoZX0
post Tuesday 9th March 2010, 7:43 am
Post #5


"Which Groove, Do You Like?"

* * * * 

Group: Member
Posts: 305
Joined: 13th December 2008
From: Winnetka, California
Member No.: 598
Points: 1




QUOTE (nicogearX @ Monday 8th March 2010, 10:25 am) *
uh, i'm trying to find these numbers but i can't....can you copy and paste where the code is and wich it is?

Um, what do you mean you can't see it?
Just go to debug mode and look at the HUD... You should see all these numbers and letters... That's what your looking for.
If you didn't know, those "numbers and letters" tell you Sonic's current position (where he is) in the level.
In your case, you want to put the MZ Boss in a certain place right? So go to the place where you want the boss to be at with Sonic. In Debug Mode that is... =P
And look a the "numbers and letters", and write it down or something.

As for actually putting it in your dissem. I know the answer to that, but I'm on my iTouch and I can't look at mine at the moment. Sorry

But note, even if you did this part your still not done... There's a lot of ASM code to change in order to pull this off. And, it's not simple... But meh... It's a start. =P
Go to the top of the page
 
+Quote Post
Irixion
post Tuesday 9th March 2010, 8:18 am
Post #6


* * * * 

Group: Member
Posts: 336
Joined: 11th August 2007
Member No.: 45
Points: 8




Don't go into debug. Go into SonED 2 and place your object.


Basically what you'll wanna do is.

Has sonic reached this point? (What you need the coodinates for)
Load MZ's boss art
Load MZ's boss
Has boss been defeated?
If yes, unload MZ art
Load GHZ art


--------------------

Your #1 Source For SMPS Music!
Go to the top of the page
 
+Quote Post
nicogearX
post Tuesday 9th March 2010, 4:14 pm
Post #7
* 

Group: Member
Posts: 24
Joined: 7th March 2010
Member No.: 1,086




QUOTE (CarrascoZX0 @ Tuesday 9th March 2010, 4:43 am) *
QUOTE (nicogearX @ Monday 8th March 2010, 10:25 am) *
uh, i'm trying to find these numbers but i can't....can you copy and paste where the code is and wich it is?

Um, what do you mean you can't see it?
Just go to debug mode and look at the HUD... You should see all these numbers and letters... That's what your looking for.
If you didn't know, those "numbers and letters" tell you Sonic's current position (where he is) in the level.
In your case, you want to put the MZ Boss in a certain place right? So go to the place where you want the boss to be at with Sonic. In Debug Mode that is... =P
And look a the "numbers and letters", and write it down or something.

As for actually putting it in your dissem. I know the answer to that, but I'm on my iTouch and I can't look at mine at the moment. Sorry

But note, even if you did this part your still not done... There's a lot of ASM code to change in order to pull this off. And, it's not simple... But meh... It's a start. =P
Go to the top of the page
 
+Quote Post
nicogearX
post Tuesday 9th March 2010, 4:16 pm
Post #8
* 

Group: Member
Posts: 24
Joined: 7th March 2010
Member No.: 1,086




uh sorry, i meant i can't find the numbers i need to change in ASM, so if you could tell me what are the numbers i must change it would be great. oh and i don't use SonEd 2...
Go to the top of the page
 
+Quote Post
Animemaster
post Tuesday 9th March 2010, 5:36 pm
Post #9


Its over 9000!!!

* * * * 

Group: Member
Posts: 434
Joined: 20th March 2009
From: UK
Member No.: 708
Points: 10




QUOTE (nicogearX @ Tuesday 9th March 2010, 4:16 pm) *
uh sorry, i meant i can't find the numbers i need to change in ASM, so if you could tell me what are the numbers i must change it would be great. oh and i don't use SonEd 2...

Find the comment that has something like load boss in the resize mz routine, and look carefully in there. I won't tell you becasue the numbers are so close in the routine you shew me, all you have to do is look carefully. Think, numbers.. to do with the boss position... after the boss is loaded in the resize mz routine...=P.

This post has been edited by Animemaster: Tuesday 9th March 2010, 5:39 pm


--------------------
Unique is outa the question.... but making a classic look awsome, its worth wating for =P.
Not recruiting until revelations is back and ready. my email jaib123@hotmail.co.uk,. My youtube account name is animemaster222. Skype is animemasterjai Happy hacking!
Check out the GamebustersUK channel. Me and my friends do playthroughs such as sonic 1, and we comment while playing, so check it out.
Go to the top of the page
 
+Quote Post
nicogearX
post Tuesday 9th March 2010, 5:41 pm
Post #10
* 

Group: Member
Posts: 24
Joined: 7th March 2010
Member No.: 1,086




ok, i'll try, but the numbers that i must change appear like the ones in debug mode?
Go to the top of the page
 
+Quote Post
nicogearX
post Tuesday 9th March 2010, 6:28 pm
Post #11
* 

Group: Member
Posts: 24
Joined: 7th March 2010
Member No.: 1,086




sigh......i can't figure out what to change......there's nothing in common between the resize routine of both bosses........i usually do it like that, comparing, but now i'm totally lost.......
Go to the top of the page
 
+Quote Post
MarkeyJester
post Tuesday 9th March 2010, 6:57 pm
Post #12


Random Ren & Stimpy Generator

* * * * 

Group: Staff
Posts: 446
Joined: 27th June 2009
Member No.: 801
Points: 13




Could I just ask, why would you want to port the MZ boss to GHZ?
What's the goal here (Apart from archiving the port)?

It just seems a little wasteful, the only use I can think of is to see if you can do it, but even then, you're asking us for alot of help which tells me you're not used to assembly programming, so that idea moves more towards the drain.

When it comes to porting the actuall boss it's self, firstly:

Dynamic Resizing

The routines for Dynamic Screen Resizing are the same routines which load the boss objects in game. They check the X and/or Y position of the character/screen, or the status of the game, and if the results are true, it'll load the boss object(s) and lock the screen if neccesary.

What you'll need to do is look in the MZ 3 resize routine, and search for the boss object loading part, then practically, copy/paste (althought I don't recommend) to the GHZ 3 section, this takes a bit of thought, and you'll need to do this carefully to make sure the boss loads at the correct position of the act.

VDP Video Ram Fixes

Next, you'll need to fix the VRam issues (making sure you have the correct art loaded in the correct position of VRam, and without tampering with other art which may be vital to the game during the boss), now alot of people seem to have a problem with understanding VDP (let alone altering and working with it), so don't panic if you don't get it right, you'll just have to keep trying and do more research with it until you understand, or give up.

Final Bug Fixes

Now you are bound to end up with general bugs somewhere along the line, again like the VRam fixes, you'll just need to research the bugs until you fully understand how to fix them.

I would suggest for you to maybe try an archive something not so difficult for you, otherwise you'll be tearing your hair out constantly because you don't understand. Try not to aim so high, try to archive something a little smaller and work your way up to something more complexe when you understand more, that's just my suggestion anyway, you don't have to listen to me obviously =P


--------------------

"So, you love Super Sonic aye? Allow Fleetway to remind you of your wrongful thinking"
Go to the top of the page
 
+Quote Post
nicogearX
post Tuesday 9th March 2010, 7:10 pm
Post #13
* 

Group: Member
Posts: 24
Joined: 7th March 2010
Member No.: 1,086




ok, thanks for the tips, also what i want is somewhat complicated to explain, but basically it's like a boss mixup, so i'll try doing that for now and keep studying ASM until i'm ready.
Go to the top of the page
 
+Quote Post
Qjimbo
post Tuesday 9th March 2010, 8:19 pm
Post #14


SSRG Maintainer

* * * * * * 

Group: Administrator
Posts: 754
Joined: 27th February 2008
From: Vancouver, BC
Member No.: 321
Points: 3




Imaginative ideas are good, but with assembly programming you really do have to start with extremely simple things first, then slightly less simple things and then the kind of things everyone else has done. Until you're comfortable with Assembly can you really go about creating what you want to achieve here, genuinely anyway. You might be able to find someone to do some of the work but it will be a lot more satisfying should you manage to do it yourself.


--------------------
If you wish to contact me use PM, AIM or MSN. Let me know if you want to add to our growing list of SSRG projects on the homepage.
Give me a shout if you're having any problems; I'll try my very best to help!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 9th September 2010 - 11:51 am