News:

11 March 2016 - Forum Rules

Main Menu

I'm Exceptionally Confused (MMX3)

Started by justin3009, February 06, 2011, 01:42:10 PM

Previous topic - Next topic

justin3009

I was figuring out the last piece of graphical issues for Mega Man X3 and I stumbled upon the code and such.  I didn't post that because..well I'm not sure if that's extremely relevant to what's going on here.

- Take a look at this.  Notice it says 00 80 and then the graphics are at 8000.  That leads me to believe 00 80 is reversed.  This SAME THING happened with Zero's Buster shot.  The graphics were in the exact spot just reversed order.  Now check this out.

- How the heck does this work?  BFE0 being the pointer yet the graphics are at 4000  (Note: These are all in Bank 18).

What would cause it to do this?  It doesn't make any sense to me D:  The code didn't seem to help either as it says it's loading BFE0 as well.

Also, look at 30 and 31.  Those from what I saw are the banks (Strangely.. maybe it's chunks but that wouldn't make any sense either).
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'

Vanya

I can only suggest testing different values and looking at the 'pointers' for all the graphics and do a compare and contrast.

Ryusui

Good call, looking at the 00 80 and figuring it must be a little-endian pointer - but personally, I'd take the inconsistency as a hint that maybe your assumption is wrong. At the very least, you should do some tracing to see what the game actually does with the value.

One trick you can use is to set a read breakpoint for the beginning of the graphics in the ROM and working backwards from there to find the pointer. IIRC, Geiger's SNES9X will still break on a DMA transfer.
In the event of a firestorm, the salad bar will remain open.

Lenophis

Quote from: justin3009 on February 06, 2011, 01:42:10 PMThat leads me to believe 00 80 is reversed.
Well, yeah. Everything NES and SNES are going to be reversed cause it's all little-endian.


https://ff6randomizer.codeplex.com/ - Randomize your FF6 experience!

justin3009

I sounded like an absolute idiot with no experience babbling up there.

They do appear to be little-endian pointers for the most part.  I'm not sure why a few cases are different but it seems fairly rare from what I'm noticing.
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'

Nightcrawler

Quote from: Lenophis on February 08, 2011, 10:54:20 AM
Quote from: justin3009 on February 06, 2011, 01:42:10 PMThat leads me to believe 00 80 is reversed.
Well, yeah. Everything NES and SNES are going to be reversed cause it's all little-endian.

Remember, they can also ready by byte and construct a pointer regardless of endian. Therefore, pointers are not guaranteed to be stored reversed.
TransCorp - Over 20 years of community dedication.
Dual Orb 2, Wozz, Emerald Dragon, Tenshi No Uta, Glory of Heracles IV SFC/SNES Translations

justin3009

Though I'm still confused in regard on how it picks these weird values up when they're not directly from ROM, I've managed to complete a new animation with custom sprites.  The topic can be closed if one wants but I may end up posting in here why once I look further into the code.
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'

Hayden

Sounds stupid, but try just putting 8 0 0 0 or whatever it was, maybe that might work, but I think its stupid, well if you decide to try it, you do that, good luck
CT:Citsym Currently being worked on, if you would like to help meh that would be nice, either find my Topic or just PM me, Well If you help me Thank you,*Cough* Probaly you wont *Cough* You better anyway, i am doing this for CT fans and the only person working on it is me Well Me At The Moment!