Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - Splitting up SMAS?
  
User name:
Password:
Reply:
 

UserPost
d4s
Posts: 65/325
Originally posted by Keikonium
Originally posted by HyperHacker
Well, say you wanted to do an SMB3 hack, but prefer the updates music and graphics from SMAS. You don't, however, want to do SMB1 or SMB2 hacks, which means they would remain untouched. They may as well be removed, to make extra space.


This is exactly what I want to do. I would love to do a SMB3 hack, but not have all the other stuff there. And getting rid of the other stuff would also free up ALOT of space for bigger levels and more graphics.


free up space?
mario allstars is no nes game, you know.
adding some mbits to the game is no problem and even if you removed unused data and stayed within the 16mbits range, youd still have to work on repointing some stuff, so this wont save you work, either.

having a menu with only one game to choose isnt the optimal thing, i presume,
although its the easiest way to implement.
$218 in ram selects wich game to boot.
00=mario bros
01=lost levels
etc
04 selects mario world IIRC

you have to do autoscrolling with $216 and $217 (for left and right) and scroll until the game you wanna boot is in the middle of the screen, cause if you dont, you wont see the sram selection screen.

if i wanted to do a hack that contains only on of these games, i'd dig deeper into jumping to a specific game after that coin thingie, but i wont, so i will leave it the way it is.


[edit]

oh, and one last thing.
dont place something stupid like a permanent

STZ $0218

in the nmi routine.
i know thats the easiest way, but $218 is also used by the individual games so you cant leave it on all the time.

the game selection routine is here, so you better hack that one.

$00:A202 is the scrolling routine.
the main menu routine is in front of it.

note:
all offsets are from the snes cpus point of view, not direct rom offsets.
rom used is mario allstars + mario world, ntsc

Keikonium
Posts: 609/-2459
Originally posted by HyperHacker
Well, say you wanted to do an SMB3 hack, but prefer the updates music and graphics from SMAS. You don't, however, want to do SMB1 or SMB2 hacks, which means they would remain untouched. They may as well be removed, to make extra space.


This is exactly what I want to do. I would love to do a SMB3 hack, but not have all the other stuff there. And getting rid of the other stuff would also free up ALOT of space for bigger levels and more graphics.
Shadic
Posts: 102/304
That would be fun to do really...


I'd love to make a copy of my SMB rom onto the SMAS version, even if the physics are a little whacked...
HyperLamer
Posts: 1510/8210
Well, say you wanted to do an SMB3 hack, but prefer the updates music and graphics from SMAS. You don't, however, want to do SMB1 or SMB2 hacks, which means they would remain untouched. They may as well be removed, to make extra space.
Gavin
Posts: 156/799
i just fail to see the point really in splitting up these remade games into separate remade games.. seems like a lot of work for nothing
HyperLamer
Posts: 1508/8210
Right, so copy the bootcode and everything except the actual menu, then just make it boot the specified game. Hell, maybe you could just copy everything, hack the menu to only allow one game to be selected, then delete the other 3 games.
d4s
Posts: 56/325
i had a quick look at it yesterday, seperating the games is not so simple as it may seem.

first, they arent selfcontained, they dont have individual bootup routines(clearing vram, setting regs, uploading music routine to the spc), thats all done before the menu starts.

knowing that, i checked into the startup process more closely and modified the game to do a long jump directly to super mario bros 1 after that coin thingie fades, when the game usually jumps to the menu.

but that didnt work out either and im relatively sure that i didnt make any stupid mistake/typo.

conclusion is that the game needs some variables to be set up while the menu is running before it can start (like what sram slot you want to use, maybe more).

this, however, requires more work than im willing to do.
i just wasted some minutes on it to see how feasible it would be.


BMF98567
Posts: 302/1261
Originally posted by calcwatch
I know there's a rom out there which is already split into four pieces, but I'm not sure exactly how they were split. (As it is, they aren't self-contained, and you need all four pieces to get anything to run, so you'd still have to do some ASM hacking.) It's a version of SMAS without Super Mario World, and each file is 524,800 bytes. (The files are named ALLSTAR.1, ALLSTAR.2, ALLSTAR.3, and ALLSTAR.4, and you start it by loading ALLSTAR.1).
Umm...lots of ROMs are (or were) in that format. It's nothing special. It's used by copiers in order to load games in pieces via floppy disks, since most SNES games are too large to fit on a single disk.
calcwatch
Posts: 2/4
Originally posted by Keikonium
I was think. How great would it be to hack the Snes version of SMB, SMB2, and SMB3 Seperatly*?

I was wondering if it would be possible to split up the Rom and make each of these games a seperate ROM.

I know there's a rom out there which is already split into four pieces, but I'm not sure exactly how they were split. (As it is, they aren't self-contained, and you need all four pieces to get anything to run, so you'd still have to do some ASM hacking.) It's a version of SMAS without Super Mario World, and each file is 524,800 bytes. (The files are named ALLSTAR.1, ALLSTAR.2, ALLSTAR.3, and ALLSTAR.4, and you start it by loading ALLSTAR.1).

Also, you could try playing around with the BS versions of Super Mario Bros 2 and 3, since their code is already separated out. Of course, the gameplay rules on those were changed a bit, but hacking them could be interesting... I don't know if anyone has tried hacking those before.
Aioria
Posts: 664/1567
KT also made a smb3 hack, using the smb3 rom. Its not very good, though
Keikonium
Posts: 461/-2459
Yes I know it has already been hacked. I did the first level of SMB3 using MI3, but it got to hard to do. I really don't like Dos...
X-Grade
Posts: 4/8
Actually Super Mario All-Star has already been hacked. Emuz hacked world 1 in SMB3 (I think he also hacked SMB1), and I once hacked the two first screens of SMB2. By the way, Lunar Magic support Super Mario All-Star + World.

As for splitting it up, even if it's sounds pretty much useless, it's quite possible that someone has enough time to lose and do it.
Keikonium
Posts: 458/-2459
Originally posted by MathOnNapkins
The ease with which the rom could be "separated" depends on how it was put together as a binary. If the different regions of code for SMB1, 2, 3 are interlaced throughout the rom, then there would be little hope of completing it quickly. On the other hand, if each ran in one or more separate banks, the task becomes much easier.


This is exactly what Im worried about. When you open the rom to view in YY-chr or TLP, it shows the graphics from (SMW), SMB, SMB2, SMBJ2, SMB3 in that order. Then it gets all messed up. It reshows graphics from SMB2 and SMB3. Then it shows random sprites. Then it shows the pictures of the games you see to chose what you want to play. I don't really know if this matters or not, but if the coding is anything like the graphics then splitting/ re-making a rom would be a Very long and hard process.
MathOnNapkins
Posts: 377/2189
The ease with which the rom could be "separated" depends on how it was put together as a binary. If the different regions of code for SMB1, 2, 3 are interlaced throughout the rom, then there would be little hope of completing it quickly. On the other hand, if each ran in one or more separate banks, the task becomes much easier.
Squash Monster
Posts: 245/677
If it's easier to just re-convert the ROMs, then wouldn't the easiest method be to locate the graphics and sound stuff in the SMAS version and recode that to fit with the freshly re-converted ROMs?

That sounds easier than rewriting those parts from scratch to me. However, if you did rewrite them yourself, you'd easily have the ability to plan ahead and code things like the ExGFX hack from LM right into the game. Then again, if you spent that much time working with the SMAS version, you'd be so familiar with it that it wouldn't be all that hard anyway.
Smallhacker
Posts: 386/2273
I think that converting the NES games to SNES format would be easier. The NES and SNES processors are compatible, but not the sound chip and PPU. That means that it's possible as long as you rewrite the graphics and sound stuff.
windwaker
Posts: 70/1797
Well, technically it is possible, but it would require redoing a lot of the code. One couldn't merely split up the physical ROM without rewriting the code accordingly. However, if it is rewritten, then one could merely rip the levels, TSA, etc and use it in a new ROM.
Keikonium
Posts: 453/-2459
I was think. How great would it be to hack the Snes version of SMB, SMB2, and SMB3 Seperatly*?

I was wondering if it would be possible to split up the Rom and make each of these games a seperate ROM. Now I have no idea how the pointers are set up in this game, which may make it impossible to do this, but if anyone knows of a way how, that would be amazing. So is this possible?

*added in 'seperatly' to make this sould like it should.
Acmlm's Board - I2 Archive - Rom Hacking - Splitting up SMAS?


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.003 seconds.