Some guy made a modloader inside an unmodified SMW cartridge

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
8bitMicroGuy
Posts: 314
Joined: Sun Mar 08, 2015 12:23 pm
Location: Croatia

Some guy made a modloader inside an unmodified SMW cartridge

Post by 8bitMicroGuy » Wed May 31, 2017 3:45 am

https://www.youtube.com/watch?v=Ixu8tn__91E

This is so awesome. Remember last year when someone found out about the arbitrary code execution glitch in Super Mario World? Well this time, he corrupted the save data of the cartridge, causing it to glitch out the game. Inside of the cartridge's save data, there's a installer, a hex editor and a mod page. The installer loads up the hex editor into the game and the hex editor allows you to change any part of the game that's writeable. This includes the mod page 0xFFFF which allows you to write your own mods for the game. What's the best about this is that you don't need any special hardware other than two multitaps and three SNES controllers for the installation process and that it's completely legal because you're not stealing any code from Nintendo (Kinda like Game Genie being legal), but just making your own, and that you can copy the installer and the hex editor onto another cartridge. So far, there are two mods: Telekinesis mod and SNES Mouse mod.

So what do you guys think about this?

ccovell
Posts: 1020
Joined: Sun Mar 19, 2006 9:44 pm
Location: Japan
Contact:

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by ccovell » Wed May 31, 2017 7:02 am

I think it's pretty awesome. Though cumbersome to do manually, I consider it kind of cheating when someone uses an Arduino or something to do the button presses.

I'm amazed whenever anyone finds a code injection exploit in CPUs and systems.

User avatar
rainwarrior
Posts: 8001
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by rainwarrior » Wed May 31, 2017 9:06 am

This is really neat.

User avatar
MottZilla
Posts: 2835
Joined: Wed Dec 06, 2006 8:18 pm

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by MottZilla » Wed May 31, 2017 10:25 am

He mentions a method to copy data from one cartridge to another by hot swapping cartridges. I thought I read somewhere that removing cartridges from a SNES while powered on is a good way to blow a fuse.

It's a cool creation though, a step up from flappy bird. The telekinesis mod looks to be entertaining.

User avatar
marvelus10
Posts: 243
Joined: Fri Feb 09, 2007 5:01 pm
Location: Nanaimo, BC Canada

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by marvelus10 » Wed May 31, 2017 7:19 pm

Does this mean we will see SMW hacks on original cartridges soon?

I honestly don't know enough or understand code, so this is a legitimate question.

lidnariq
Posts: 10241
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by lidnariq » Wed May 31, 2017 7:44 pm

Only if they can fit the total complexity of the hack into the 2 KiB of save RAM on the cart.

tepples
Posts: 22281
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by tepples » Wed May 31, 2017 8:06 pm

Is 2K enough to mount an SD card connected to a controller port? SD supports SPI mode, and the NES and Super NES controller port is SPI-like enough that an SD card reader that plugs into a controller port would probably be trivial: just a circuit to demultiplex the select and MOSI signals from the console's strobe and clock outputs.

Oziphantom
Posts: 1079
Joined: Tue Feb 07, 2017 2:03 am

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by Oziphantom » Thu Jun 01, 2017 12:06 am

I think a SWM Game Hack Game Competition needs to be run. And that it is insane.
Also how does one remove the cart when running, the slot in the front of the cart is for when you turn it "on" the cartridge gets "locked" in, so you can't remove it.

User avatar
Gilbert
Posts: 450
Joined: Sun Dec 12, 2010 10:27 pm
Location: Hong Kong
Contact:

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by Gilbert » Thu Jun 01, 2017 1:07 am

Oziphantom wrote: Also how does one remove the cart when running, the slot in the front of the cart is for when you turn it "on" the cartridge gets "locked" in, so you can't remove it.
I think it's discussed somewhere here but I couldn't find the thread. Anyway, while some carts do have the slot, most don't. That SMW being a launch title could mean there are more carts with the slots than later games though. Anyway, no matter whether a cart came with the slot or not, you can pull it out any time for later revisions of the console.

User avatar
Sumez
Posts: 920
Joined: Thu Sep 15, 2016 6:29 am
Location: Denmark (PAL)

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by Sumez » Thu Jun 01, 2017 1:56 am

Also, only US games have that lock. I had never heard about it until someone linked that article a while back.

Oziphantom
Posts: 1079
Joined: Tue Feb 07, 2017 2:03 am

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by Oziphantom » Thu Jun 01, 2017 2:13 am

WP_20170601_001.jpg
I've never seen one without a lock. I check both of mine, both have it.

User avatar
Sumez
Posts: 920
Joined: Thu Sep 15, 2016 6:29 am
Location: Denmark (PAL)

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by Sumez » Thu Jun 01, 2017 2:42 am

Major brainfart. The thing I hadn't noticed before was the US carts that have a different shape due to NOT enforcing the lock.

Anyway, the lock is just a plastic tab, it's not like it's hard to bypass. :)

AWJ
Posts: 433
Joined: Mon Nov 10, 2008 3:09 pm

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by AWJ » Thu Jun 01, 2017 2:44 am

With the number of SNESes that seem to be suffering sudden CPU/PPU failure in recent years, encouraging a cartridge hot-swapping fad seems like the height of irresponsibility...

User avatar
Bregalad
Posts: 8008
Joined: Fri Nov 12, 2004 2:49 pm
Location: Chexbres, VD, Switzerland

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by Bregalad » Thu Jun 01, 2017 3:45 am

Sumez wrote:Anyway, the lock is just a plastic tab, it's not like it's hard to bypass. :)
Sure but it sorts of kill the "no hardware modification" challenge.

User avatar
Sumez
Posts: 920
Joined: Thu Sep 15, 2016 6:29 am
Location: Denmark (PAL)

Re: Some guy made a modloader inside an unmodified SMW cartr

Post by Sumez » Thu Jun 01, 2017 3:59 am

Do you count using a cartridge adapter as a "hardware modification"? I have probably four or five different adapters as it is, including a couple of import adapters, an Action Replay and a backup/rom dumping thingy, which I guess is less common. Still I'd think people would be less likely to have a SNES multitap.

When and why does the guy hotswap his cartridge anyway, though? I think I missed that.

Post Reply