News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: [SMK] Is it possible to have more than 4 cups through rom hacking?  (Read 1303 times)

trajecasual

  • Newbie
  • *
  • Posts: 1
    • View Profile
I want to make a Super Mario Kart (SMK) hack ROM with 8 cups.
Is it possible?
If you know it, can you explain how to?


Thank you all in advance!

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 7124
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: [SMK] Is it possible to have more than 4 cups through rom hacking?
« Reply #1 on: March 23, 2021, 12:13:11 pm »
You'll need to learn SNES ASM programming and figure out how the game manages the cup data.

If it was something someone knew how to do, they'd do it themselves.
"My watch says 30 chickens" Google, 2018

FAST6191

  • Hero Member
  • *****
  • Posts: 3126
    • View Profile
Re: [SMK] Is it possible to have more than 4 cups through rom hacking?
« Reply #2 on: March 23, 2021, 03:27:00 pm »
As above unless you are going to contrive a way with a savestate (finish 4 races, grab savestate) and maybe some cheats (mostly to keep placement options and maybe AI settings whilst resetting what needs resetting) before swapping the ROM over to a secondary one then yeah that is firmly in assembly territory.

As well as any track, placement, graphics and AI changes you need to do as part of that (which is likely possible if SMK is as well understood as the rest of the mario kart series, had it not been mario kart and instead been a forgotten game like Street Racer* then you would also be learning how that works). Of course being able to make good tracks is also a thing in this and Mario Kart track making is often a lot harder than many realise.

*granted I am one of the heretics that likes the megadrive version more than the SNES one.

You will want to make sure the overall cup placement mechanic does not overflow (I don't know how many points it does on the SNES one offhand) if someone wins every race, and that the game knows how to handle that as well (I can think of several ways that would work with a fixed track count and be quicker for the program than playing sorting/ordering).

If you are intending to add a bunch more tracks you will need to find a way to have enough space. For the SNES that might be a tall order, which is to say I would place reasonable money on it having to be one of those fancy new exotic cart types various flash cart and emulator authors are playing with to get enough space and definitely if you need to add some new graphics types to it all should the base ones not encompass your artistic vision.

You would then also need to get the menu to have it available and speaking to the presumably expanded ROM. Most likely I would do another screen rather than trying to cram more into the basic one but that is likely one of those 6 of one, half a dozen of the other situations.

If not handled as part of the above then also need the game's logic to add a few more iterations on the tracks done/up next queue.

Some of this might be reduced if you did some kind of mirror mode or track replay option. I don't think this will be like later versions with easy mode and hard mode versions of the same track but if there is that then you might have some fun with that too.

Jorpho

  • Hero Member
  • *****
  • Posts: 4824
  • The cat screams with the voice of a man.
    • View Profile
Re: [SMK] Is it possible to have more than 4 cups through rom hacking?
« Reply #3 on: March 23, 2021, 06:51:12 pm »
Googling around, I am surprised to see that apparently no one has done a disassembly of SMK yet. But it is probably only a matter of time.  Looks like there wasn't anything in the recent leaks, either.
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!

DragonAtma

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: [SMK] Is it possible to have more than 4 cups through rom hacking?
« Reply #4 on: March 24, 2021, 02:40:06 pm »
I'm sure the easiest way would be to create two mods; mod 1 contains cups 1-4, while mod 2 contains cups 5-8.
In memory of my beloved cats, Anastasia (9/30/06-9/18/17, illness) and Josephine (1/19/06-9/23/17, cancer).
My mods: Romance of the Three Kingdoms II, Gemfire, 7th Saga, and more

FAST6191

  • Hero Member
  • *****
  • Posts: 3126
    • View Profile
Re: [SMK] Is it possible to have more than 4 cups through rom hacking?
« Reply #5 on: March 24, 2021, 05:58:34 pm »
Googling around, I am surprised to see that apparently no one has done a disassembly of SMK yet. But it is probably only a matter of time.  Looks like there wasn't anything in the recent leaks, either.
While I would not be surprised to see one having already been made at the same time the non 3d efforts (so SNES and GBA) are often relegated to afterthoughts among most of the mario kart hacking scene from what I can tell.

Everything else gets tracks ported every which way, mods, beta code restorations, tracks imported from other 3d kart racers* and generally everything drilled down into and understood to occasionally having nice point and click 3d modeller track editors (or at least plugins for full bore 3d modelling programs). For the SNES effort at least (nobody at all really seems to care about the GBA stuff) then I would probably place the money on the tool assisted speedrun set knowing more about the game than the likes of http://wiki.tockdom.com/wiki/Main_Page and similar communities.

*indeed if you did want to look at the Crash Bandicoot kart racers, lego and other things from a time when Mario Kart had competitors worth speaking of rather than people trying to clone it badly then I would probably consider starting from those doing import work there.

niuus

  • Full Member
  • ***
  • Posts: 221
    • View Profile
Re: [SMK] Is it possible to have more than 4 cups through rom hacking?
« Reply #6 on: March 24, 2021, 06:03:47 pm »
Googling around, I am surprised to see that apparently no one has done a disassembly of SMK yet. But it is probably only a matter of time.  Looks like there wasn't anything in the recent leaks, either.
The source code for Super Mario Kart is available in one of the Ninleaks.

Jorpho

  • Hero Member
  • *****
  • Posts: 4824
  • The cat screams with the voice of a man.
    • View Profile
Re: [SMK] Is it possible to have more than 4 cups through rom hacking?
« Reply #7 on: March 24, 2021, 08:23:06 pm »
Ah, I stand corrected.
https://www.polygon.com/2020/7/26/21339018/nintendo-gigaleak-super-mario-64-zelda-pokemon-what-is-it-snes

That would undoubtedly make hacking the game much easier, if indeed it is the source for the final version and someone has managed to figure out how to compile it – though some may not be completely comfortable with the legal implications.
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!