Is it possible to disable anti-aliasing in N64 games via GameShark cheats?

Discussion in 'Nintendo Game Development' started by mdmx, Feb 4, 2016.

  1. Goemon

    Goemon AG Member since 2005!

    Joined:
    Feb 4, 2013
    Messages:
    574
    Likes Received:
    13
    Switching off Bilinear (3-point) filtering for Killer Instinct Gold could be good for the game.
    However, many games relie on the filtering to properly display sky and so on. Switching it of could result in quite some mess here and there.
     
  2. 8bitplus

    8bitplus Gutsy Member

    Joined:
    Feb 25, 2008
    Messages:
    417
    Likes Received:
    29
    I don't think so. Not on the last official OS for the card.
    I'll try and modify the roms for it
     
  3. James-F

    James-F Member

    Joined:
    Feb 24, 2018
    Messages:
    15
    Likes Received:
    2
    I fixed my post.
    I doesn't remove the filtering from textures but removes it when scaling from frame-buffer to output resolution, like using nearest neighbor scaling.
    I believe the PS1 has the same Framebuffer and Output resolution, so no re-scaling is needed.

    I suggest people to try Banjo-Kazooie with 33 at least once to see what the N64 could have been,,, it's marvelous.
     
  4. Thegamefoxx

    Thegamefoxx Member

    Joined:
    Mar 4, 2018
    Messages:
    9
    Likes Received:
    0
    I am happy to report that i have got a gameshark 3.3 and tested every game i could in my library. Everything is looking and working great. I dont have the slightest clue how to make codes and such, so sadly for the rest of my games i am left with doing requests. If anyone is able, here is a list if games i have that i simply could not find codes for.

    Pokemon stadium (U)
    Pokemon stadium 2 (U)
    Turok 2 v 1.0 (U)
    Snowboard kids (U)
    Rayman 2 (U)
    Command and conquer (U)
    Paper Mario (U)
    Star fox 64 v1.1 (U)
    Mario party 3 (U)
    Gex 64 (U)
    Gex 3 (U)
    Jet force gemini (U)

    Obviously beggars cant be choosers but thats my list of games i cant find codes for, if anyone has the time, it would be greatly appreciated. Thank you
     
  5. mdmx

    mdmx Familiar Face

    Joined:
    Nov 3, 2005
    Messages:
    1,293
    Likes Received:
    27
    Tonic Trouble (PAL):
    8011781D 0000
    8011784D 0000
    8011781E 0032
    8011784E 0032
     
  6. demilich

    demilich Spirited Member

    Joined:
    Jul 10, 2017
    Messages:
    100
    Likes Received:
    17
    @Goemon

    I tried this code on V1.0 of Perfect Dark and it seems to work. I just had to switch my expansion pak for the jumper pak. I used a Gameshark V3.3.
    Master Code Low res mode: EE000000 0000

    Perfect Dark (U) (V1.1) [!].z64
    Needs Master Code
    810608BC 0000
    810608BE 3202
    810608EC 0000
    810608EE 3202
     
  7. mdmx

    mdmx Familiar Face

    Joined:
    Nov 3, 2005
    Messages:
    1,293
    Likes Received:
    27
    Mystical Ninja 2 (PAL):
    start game with Code Generator On
    8003C7CD 0000 8003C7FD 0000
    8003C7CE 0032
    8003C7FE 0032
     
  8. dushbadge

    dushbadge Member

    Joined:
    Sep 11, 2013
    Messages:
    7
    Likes Received:
    0
    Any ideas?

    For Kirby 64 (USA): A4400000 = 00010016

    I found 2 occurrences of this value at these addresses (32-bit aligned):

    001C2ED0 00 01 00 16
    001C42FC 00 01 00 16

    I created the gameshark code for this to remove AA/Dither:

    811C2ED0 0000
    811C2ED2 0216
    811C42FC 0000
    811C42FE 0216

    Master code is included. My game will boot, but it will still look like Vaseline is smeared onto it. If I'm not mistaken, it's using AA + Resampling, so we should be able to just do resampling.

    EDIT:

    I had the wrong addresses for the second pair. I was using 811C2EFC and 811C2EFE. Changed them and re-booted.

    To me it seems better but not by a lot. I'd have to take comparison pics.

    Edit #2:

    Yeah despite making that correction, it didn't help. Hmm..

    Edit #3:

    Tried with DIVOT and Gamma Dither disabled (along with no dither and resampling only) by using 0202, but no luck.

    Beginning to think this might not be possible at all with Kirby.

    Edit #4:

    Post #294 shows that this issue has been resolved.
     
    Last edited: Jun 17, 2018 at 6:06 PM
  9. dushbadge

    dushbadge Member

    Joined:
    Sep 11, 2013
    Messages:
    7
    Likes Received:
    0
    And, while I'm still struggling with Kirby 64, here are some codes I created (italics = master code):

    Glover (USA)
    Keycode: Mario World 64 & Others
    811F470C 0000
    811F470E 3216
    811F473C 0000
    811F473E 3216

    Banjo-Tooie (USA)
    Keycode: Zelda
    F1000302 0002
    F100030E 0005

    810414EC 0000
    810414EE 3206
    8104151C 0000
    8104151E 3206

    Bomberman 64 (USA)
    Keycode: Mario World 64 & Others
    8101B18C 0000
    8101B18E 3216
    8101B1BC 0000
    8101B1BE 3216

    Jet Force Gemini (USA)
    Keycode: Zelda
    810A9EBC 0000
    810A9EBE 3216
    810A9EEC 0000
    810A9EEE 3216

    Mario Party (USA)
    Keycode: Mario World 64 & Others
    810C775C 0000
    810C775E 3216
    810C778C 0000
    810C778E 3216

    Mario Party 2 (USA)
    Keycode: Mario World 64 & Others
    F10ADD80 2400
    810CF3CC 0000
    810CF3CE 3216
    810CF3FC 0000
    810CF3FE 3216

    Mario Party 3 (USA)
    Keycode: Mario World 64 & Others
    F10824D0 2400
    810A40AC 0000
    810A40AE 3216
    810A40DC 0000
    810A40DE 3216

    Mega Man 64 (USA)
    Keycode: Mario World 64 & Others

    F10A1680 2400
    810D101C 0000
    810D101E 3212
    810D104C 0000
    810D104E 3212

    Mischief Makers (USA)
    Keycode: Mario World 64 & Others
    810E80EC 0000
    810E80EE 3212
    810E811C 0000
    810E811E 3212

    Mystical Ninja: Starring Goemon (USA)
    Keycode: Mario World 64 & Others

    8107A2AC 0000
    8107A2AE 3202
    8107A2DC 0000
    8107A2DE 3202

    Perfect Dark v1.0 (USA)
    Keycode: Zeruda
    FF75C000 0000
    810608BC 0000
    810608BE 3216
    810608EC 0000
    810608EE 3216

    Pokemon Stadium (USA)
    Keycode: Diddy, 1080, Banjo, Griffey

    DE000400 0000
    8107AC9C 0000
    8107AC9E 3216
    8107ACCC 0000
    8107ACCE 3216

    Quest 64 (USA)
    Keycode: Mario World 64 & Others

    81070A2C 0000
    81070A2E 3216
    81070A5C 0000
    81070A5E 3216

    Bomberman 64: The Second Attack (USA)
    Keycode: ??

    F1073EE4 2400
    8109455C 0000
    8109455E 3216
    8109458C 0000
    8109458E 3216

    Buck Bumble (USA)
    Keycode: ??

    8102EA6C 0000
    8102EA6E 321E
    8102EA9C 0000
    8102EA9E 321E

    Goemon's Great Adventure (USA)
    Keycode: ??

    EE000000 0000
    8103BB9C 0000
    8103BB9E 3216
    8103BBCC 0000
    8103BBCE 3216

    Chameleon Twist (USA)
    Keycode: ??

    811151CC 0000
    811151CE 321E
    811151FC 0000
    811151FE 321E

    Chameleon Twist 2 (USA)
    Keycode: ??

    810F57FC 0000
    810F57FE 3212
    810F582C 0000
    810F582E 3212

    Castlevania: Legacy of Darkness (USA) (Lo-RES):
    Keycode: ??

    810BB8BC 0000
    810BB8BE 3212
    810BB8EC 0000
    810BB8EE 3212

    Castlevania: Legacy of Darkness (USA) (Hi-RES):
    Keycode: ??

    810BB8BC 0000
    810BB8BE 3252
    810BB8EC 0000
    810BB8EE 3252

    Tsumi to Batsu - Hoshi no Keishousha (Japan) (This is Sin and Punishment)
    Keycode: ??

    F1046150 0000
    F1046152 0000

    81060C0C 0000
    81060C0E 3212
    81060C3C 0000
    81060C3E 3212

    Ogre Battle 64-Person Of Lordly Caliber (USA)
    Keycode: ??

    F109A730 2400
    810ABB7C 0000
    810ABB7E 3212
    810ABBAC 0000
    810ABBAE 3212

    Hey You Pikachu! (USA)
    Keycode: ??

    F124FFA0 2400
    8109F8FC 0000
    8109F8FE 3212
    8109F92C 0000
    8109F92E 3212

    Wonder Project J2 - Koruro no Mori no Jozet (Japan)
    Keycode: ??

    810ECC8C 0000
    810ECC8E 3212
    810ECCBC 0000
    810ECCBE 3212

    Mario Tennis (USA)
    Keycode: Mario World 64 & Others

    F1300290 3C01
    F1300292 A005
    F1300298 03E0
    F130029A 0008
    F130029C AC20
    F130029E 86A0

    8105B66C 0000
    8105B66E 3212
    8105B69C 0000
    8105B69E 3212

    Pokemon Stadium 2 (USA)
    Keycode: Diddy, 1080, Banjo, Griffey

    DE000400 0000
    F100B6A0 0000
    F100B6A2 0000
    F1085190 0000
    F1085192 0000
    F107A214 0000
    F107A216 0000

    810A14DC 0000
    810A14DE 3256
    810A150C 0000
    810A150E 3256

    Mario Golf (USA)
    Keycode: Diddy, 1080, Banjo, Griffey

    F10B1670 2400
    810C950C 0000
    810C950E 3216
    810C953C 0000
    810C953E 3216

    Yoshi's Story (USA)
    Keycode: Yoshis, F-Zero, C'World

    DE000400 0000
    EE000000 0000

    810ABA8C 0000
    810ABA8E 3212
    810ABABC 0000
    810ABABE 3212

    Todo:
    -blast corps (waiting for my copy to come to see the revision)
    -fill in missing keycodes
     
    Last edited: Jun 17, 2018 at 11:37 PM
  10. demilich

    demilich Spirited Member

    Joined:
    Jul 10, 2017
    Messages:
    100
    Likes Received:
    17
    @dushbadge
    Lego Racers and South Park would be nice to add to your list. NTSC U region.
     
  11. dushbadge

    dushbadge Member

    Joined:
    Sep 11, 2013
    Messages:
    7
    Likes Received:
    0
    I don't have those games to test, but try these:

    South Park (USA)
    Keycode: Mario World 64 & Others

    Original Search Value: 3246 (I guess it's already set by the devs)?

    Lego Racers (USA)
    Keycode: Mario World 64 & Others

    810310DC 0000
    810310DE 3202
    8103110C 0000
    8103110E 3202
     
    Last edited: Jun 17, 2018 at 4:48 PM
  12. demilich

    demilich Spirited Member

    Joined:
    Jul 10, 2017
    Messages:
    100
    Likes Received:
    17
    @dushbadge

    Awesome thanks!
    I confirmed that Lego Racers does work with your code. I'm using Gameshark V3.3 and it uses the Mario Keycode. I also think Southpark uses the Mario Keycode.

    I may be wrong on this, but I thought the parts of the code that end with 0000 were the ones responsible for removing the dither since the codes that end with 3202 were the ones that removed AA but made the dither more apparent?
    Starfox 64 seems to have the same effect. Image is much sharper but the dithering is very noticeable.

    Thanks!
     
  13. dushbadge

    dushbadge Member

    Joined:
    Sep 11, 2013
    Messages:
    7
    Likes Received:
    0
    I updated South Park. I can see that RESAMP is already on. My original search value is 3246. Let me know if it looks fine by default but I don't see a reason to generate a code for it at the moment.

    See the addresses below with their initial values:

    0x000B3424 0000
    0x000B3426 3246
    0x000B3454 0000
    0x000B3456 3246

    Also yes, the 0000 is responsible for the dither filter, but I can see some apparent dithering in games despite using this code anyway. I don't really know why anyway (I don't understand it on a technical level).

    My main list has been updated.
     
    Last edited: Jun 17, 2018 at 5:27 PM
  14. dushbadge

    dushbadge Member

    Joined:
    Sep 11, 2013
    Messages:
    7
    Likes Received:
    0
    Created a working Kirby 64 code finally, see below:

    Kirby 64: The Crystal Shards (USA)
    Keycode: Diddy, 1080, Banjo, Griffey

    DE000400 0000
    8103FD0C 0000
    8103FD0E 0212
    8103FD3C 0000
    8103FD3E 0212

    I'm done for now (just need to do blast corps). For anyone, feel free to make requests.
     
    Last edited: Jun 17, 2018 at 7:27 PM
  15. demilich

    demilich Spirited Member

    Joined:
    Jul 10, 2017
    Messages:
    100
    Likes Received:
    17
    @dushbadge
    I tried those addresses with initial values and surprisingly it looks sharper but with noticeable dithering. I may be wrong that the initial values set as a Gameshark code do anything different but I checked several times and I do see it. Maybe the default value for anti-aliasing was a bit different for this game?

    Here are a few requests to add to your list.
    Diddy Kong Racing NTSC J -there might be two revisions just like the NTSC U region but I'm not sure.
    WWF Wrestlemania 2000 NTSC U
    Yoshi's Island NTSC J
    Pokemon Snap NTSC J

    Mario Kart NTSC J v1 and v1.1
    These codes do exist, I've only tried v1.1, but it seems that it doesn't do anything and the AA is still visible.

    Mario Kart 64 NTSC JAP (1.0): (US - 0x2610): (not tested)
    810E8DCC 0000
    810E8DCE 3216
    810E8DFC 0000
    810E8DFE 3216

    Mario Kart 64 NTSC JAP (1.1): (US - 0x3828): (not tested)
    810E7BB4 0000
    810E7BB6 3216
    810E7BE4 0000
    810E7BE6 3216

    Thanks!
     
  16. dushbadge

    dushbadge Member

    Joined:
    Sep 11, 2013
    Messages:
    7
    Likes Received:
    0
    Any idea who generated those codes?

    I generated something different for Mario Kart 1.1 (REV A) JP:

    Mario Kart 64 (Japan) (1.1):
    810EC54C 0000
    810EC54E 3216
    810EC57C 0000
    810EC57E 3216

    Can you try that?

    And for 1.0, I generated something different as well.

    Mario Kart 64 (Japan) (1.0):
    810EBBFC 0000
    810EBBFE 3216
    810EBC2C 0000
    810EBC2E 3216
     
    Last edited: Jun 17, 2018 at 10:12 PM
  17. demilich

    demilich Spirited Member

    Joined:
    Jul 10, 2017
    Messages:
    100
    Likes Received:
    17
    Awesome, that was quick!
    Confirmed that it works. I definitely see a big difference in clarity. I was for sure the codes I posted were not working. As for who generated the codes, I found them from a different site. At some point I will get Mario Kart 64 Japan 1.0, and thanks for sharing the codes.

    http://x-community.grafbb.com/t1740p25-n64-mario-kart-64-etudes-et-tp#23226
     
  18. dushbadge

    dushbadge Member

    Joined:
    Sep 11, 2013
    Messages:
    7
    Likes Received:
    0
    Ah alright. No problem then.

    Here are the remaining codes you requested:

    As for the other codes (Note: I will not be able to provide master codes for Japanese games):

    Diddy Kong Racing (Japan) (Note: No additional revisions)
    810E637C 0000
    810E637E 3216
    810E63AC 0000
    810E63AE 3216

    WWF WrestleMania 2000 (USA)
    F10376E0 2400
    81049B9C 0000
    81049B9E 3202
    81049BCC 0000
    81049BCE 3202

    Pokkettu Monsuta Sunappu (Japan)
    8104288C 0000
    8104288E 0212
    810428BC 0000
    810428BE 0212

    Yoshi's Story (Japan)
    810B01AC 0000
    810B01AE 3212
    810B01DC 0000
    810B01DE 3212

    Try these, they should work. You might not see a big difference with Yoshi's Story. I didn't see much when testing my USA cartridge.
     
  19. demilich

    demilich Spirited Member

    Joined:
    Jul 10, 2017
    Messages:
    100
    Likes Received:
    17
    All codes work so far. I have not tested Diddy Kong Racing yet, but I will soon get the japanese cart soon.


    WWF WrestleMania 2000 (USA)
    Keycode: Mario World 64 & Others.

    Tested and works. Looks sharper and no dithering is visible. I could not get it to work with my Gameshark V3.3 but it did work with Gameshark 3.0.


    Pokkettu Monsuta Sunappu (Japan)
    Enable code: Same as NTSC U region
    DE000400 0000
    F103D8A0 2400

    Tested and works, but like the NTSC U version, dithering is visible.

    Yoshi's Story (Japan)
    Enable code: Same as NTSC U region
    DE000400 0000


    Tested and works. Looks sharper and no dithering is visible.

    Thanks once again!
     

Share This Page