* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Graphics-hacking Super Mario Bros.  (Read 421 times)

0 Members and 1 Guest are viewing this topic.

Offline JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 751
  • Post Rating Ratio: +12/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Graphics-hacking Super Mario Bros.
« on: July 03, 2017, 04:32:57 am »
I had an idea to hack the graphics of Super Mario Bros to change the art style. So far, I'm almost done hacking the graphics for the sprites (and now, I even have some leftover tiles, in case I wanna add something somewhere).

These pictures will show my progress, with (almost!) every graphic I've changed.


I can't really figure out the title screen format (and it doesn't help that it's stored in CHR-ROM without much breathing room for adding things), so I did this basic edit.

Mario flashes his classic peace sign. Let's-a-go!

Here is where you can see the first substantial changes to the enemies and powerups.

I took the liberty of disabling the powerup-flashing code of the Fire Flower and Starman. That orange deserves to be displayed in its full glory!

No longer do you have the ambiguity of "is that a skull or a peace sign?"

Fire Mario throws fireballs like an expert.

I think the Koopa Troopas look very Koopa-y today.

It always bothered me that the Piranha Plant's mouth wasn't really connected to its "body". Something had to change about it, fast.

What's a Koopa Troopa without a Red Koopa Troopa?

dun dun DUUUUUUN

Toad is as annoying as ever, but at least he doesn't look like he's giving the middle finger anymore!

Under the sea...under the sea...darling, it's better down where it's wetter, take it from me...

The cloud is NOT impressed.

I don't know what will kill you faster: a bullet to the head, or a hammer to the head.

Buzzy Beetle is buzzy.

In addition to changing the graphics, here is a list of the changes I have made to the code.
  • Implemented my "powerup-fix" (Mario form is based on collected powerup, not previous form)
  • Made damage system more forgiving (only lose one powerup per hit, instead of always reverting to Small Mario)
  • Disabled powerup flashing
  • Altered player sprite that shows before levels
  • Fixed lives display (two-digit numbers of lives display correctly), and capped lives at 99

Just for future reference for me, I'll put some addresses here that I have NOPed and made safe for any code/routines I might wanna code.
(click to show/hide)

The .ips patch is attached. This is a work in progress, so tell me what you think!
« Last Edit: July 09, 2017, 11:14:20 am by JWinslow23 »


  • Calculators owned: TI-84+, TI-84+ CSE, TI-84+ CE

Online 123outerme

  • Super User
  • Join Date: Jan 2015
  • Location: In spaaace! Well, the Earth is anyhow.
  • Posts: 659
  • Post Rating Ratio: +5/-0
  • Professional Unpaid Intern
    • 123outerme
    • 113/11355
  • Gender: Male
Re: Graphics-hacking Super Mario Bros.
« Reply #1 on: July 03, 2017, 04:54:05 am »
This is really awesome! The graphics look really great, and you even took the liberty to make a few gameplay improvements. I like how you decided to add your name to the title screen, but legally, I don't believe you own a copyright on Super Mario Bros. :P
  • Calculators owned: TI-84+CSE, TI-nspire Clickpad, TI-84+SE

Offline JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 751
  • Post Rating Ratio: +12/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Re: Graphics-hacking Super Mario Bros.
« Reply #2 on: July 03, 2017, 07:50:36 am »
This is really awesome! The graphics look really great, and you even took the liberty to make a few gameplay improvements. I like how you decided to add your name to the title screen, but legally, I don't believe you own a copyright on Super Mario Bros. :P
Well, this one tool I have that's supposed to edit the title screen isn't working for me, so that's the best I could do. I wanted to make it say "Super Old Mario Bros", or at least add "GFX by Josiah" on it, but apparently there's not enough space for both.

Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 740
  • Post Rating Ratio: +15/-7
  • TI-nspire porter
Re: Graphics-hacking Super Mario Bros.
« Reply #3 on: July 04, 2017, 12:38:46 am »
Hey, it doesn't look too bad !
II gave it a try in Mednafen and it works just fine.
I like the new fireballs and the fact the enemies changes colors in level 2.
One gameplay improvement you could do : When fireball mario gets hit, make it so he becomes giant mario rather than small d*** mario.

Also, another issue : it does not fit in 32ko :'(
  • Calculators owned: TI Nspire CX, TI-89

Offline JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 751
  • Post Rating Ratio: +12/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Re: Graphics-hacking Super Mario Bros.
« Reply #4 on: July 04, 2017, 07:18:38 am »
I posted a new patch. It adds an image of Mario flashing his trademark peace sign before the level:

This was not as easy as changing a few bytes: because the space for defining player poses is full, I had to write my own routine specifically for drawing the peace sign pose. I hope it was worth finding 24 unused bytes I could define this new code with!

It also adds your requested damage fix. For reference, TITLPZ+VGLIVO are the Game Genie codes I'm using to fix the damage mechanism. This can also be used in stock SMB1, so try it yourself!

Offline tr1p1ea

  • Full User
  • Join Date: Feb 2015
  • Location:
  • Posts: 262
  • Post Rating Ratio: +4/-1
Re: Graphics-hacking Super Mario Bros.
« Reply #5 on: July 04, 2017, 11:59:34 am »
Looking awesome man!

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18782
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Graphics-hacking Super Mario Bros.
« Reply #6 on: July 05, 2017, 04:15:41 pm »
Those graphical changes and other edits look great Jwin! :)
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline JWinslow23

  • Pi is the coolest number in the history of math. :\
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and Graham's Number
  • Posts: 751
  • Post Rating Ratio: +12/-1
  • Use pi! Pi is the absolute greatest! :(
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Re: Graphics-hacking Super Mario Bros.
« Reply #7 on: July 09, 2017, 11:19:22 am »
Bump.

I made another long-awaited change (at least, I've been wanting it for a long time).



Whenever I performed the infinite-lives glitch in World 3-1, it was always weird to me how the lives would glitch out with a crown and a random character. Upon looking at the code, it seems at least the crown was intended if you got over 9 lives (but I guess it fails upon having over 19 lives). So I simply took the lives-displaying code and made it display two-digit lives properly. As well, I capped the amount of lives at 99.

Download the new patch in the first post!

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games