Romhacking.net

Romhacking => ROM Hacking Discussion => Topic started by: Ladondorf on November 01, 2020, 12:56:40 pm

Title: Super Mario Bros. (NES) - SMB Graphics Workshop question
Post by: Ladondorf on November 01, 2020, 12:56:40 pm
I'm working with a utility called SMB Graphics Workshop where you can change the individual 8x8 sprites that each larger SMB sprite uses.

For Mario's idle pose, the left and right sides of his torso and legs are the same sprites mirrored. I changed the sprites on the right to be separate ones, but they're still mirrored, so it looks weird.

I can't simply draw the sprites backwards because they're also being used for other frames in his animation.

Does anyone familiar with SMB Graphics Workshop know how to mirror/unmirror sprites?

(https://i.imgur.com/NPPeKVv.png)
Title: Re: Super Mario Bros. (NES) - SMB Graphics Workshop question
Post by: sics on November 01, 2020, 02:16:55 pm
In the hexadecimal editor change the two bits 40 to 00 in the following directions:
7123
7135
(Clarification, this is not thoroughly tested, I just searched for you)

▪ If your ROM is different from the original, find the Mario animation:
00014C4D4A4A4B4B

▪ And when you find it, look twice for the line:
094099

▪ If it is on the correct line, you will be able to see in real time in the emulator how the desired section of the Mario sprite is flipped, if this does not happen, undo the changes and keep looking :thumbsup:

(https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/3a2ee5f2-1088-487a-b3c1-0ab7dc307587/de7z7go-7acadf6f-6114-49eb-95de-536bb3316543.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOiIsImlzcyI6InVybjphcHA6Iiwib2JqIjpbW3sicGF0aCI6IlwvZlwvM2EyZWU1ZjItMTA4OC00ODdhLWIzYzEtMGFiN2RjMzA3NTg3XC9kZTd6N2dvLTdhY2FkZjZmLTYxMTQtNDllYi05NWRlLTUzNmJiMzMxNjU0My5wbmcifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6ZmlsZS5kb3dubG9hZCJdfQ.QRLfM8xsb056-Z5_wv1hHzRPicbIoeHa2k8b2Ecyb0c)
Title: Re: Super Mario Bros. (NES) - SMB Graphics Workshop question
Post by: tygerbug on November 01, 2020, 04:21:45 pm
Here's a hack which already does this.

http://www.romhacking.net/hacks/168/