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. Gentlegamer

    Gentlegamer Active Member

    Joined:
    Dec 14, 2014
    Messages:
    31
    Likes Received:
    5
    Will there be a central resource for Gameshark codes, like a Google Doc or something?
     
  2. retrorgb

    retrorgb Spirited Member

    Joined:
    Jul 20, 2013
    Messages:
    134
    Likes Received:
    27
    I'd be willing to host a shared Google Doc, as well as a dedicated page on my website. Would anyone be interested? I'd planned on adding a page to my site about this anyway, as well as links to Poregon's patches...but a shared GDoc is a great idea.
     
    Gentlegamer and bobster like this.
  3. zouzzz

    zouzzz <B>Site Supporter 2013</B>

    Joined:
    Mar 24, 2008
    Messages:
    281
    Likes Received:
    14
    Last edited: Mar 21, 2016
    smoke monster likes this.
  4. Fandangos

    Fandangos <B>Site Supporter 2013</B>

    Joined:
    Sep 19, 2012
    Messages:
    578
    Likes Received:
    17
    Is it possible to get anamorphic widescreen via game shark codes?
     
  5. zouzzz

    zouzzz <B>Site Supporter 2013</B>

    Joined:
    Mar 24, 2008
    Messages:
    281
    Likes Received:
    14
  6. Fandangos

    Fandangos <B>Site Supporter 2013</B>

    Joined:
    Sep 19, 2012
    Messages:
    578
    Likes Received:
    17
    Wow! Awesome!

    Thank you
     
  7. Labbeast

    Labbeast Newly Registered

    Joined:
    Mar 22, 2016
    Messages:
    3
    Likes Received:
    0
    16:9 out of N64? Are you kidding me? This is awesome!!!!
    Does it work with all games?
     
  8. Fandangos

    Fandangos <B>Site Supporter 2013</B>

    Joined:
    Sep 19, 2012
    Messages:
    578
    Likes Received:
    17
    It´s anamorphic widescreen. It's the same with the Dreamcast that has a thread going on this same forum.
    The game is still outputing a resolution of 4:3 but when you use a 16:9 tv with streching enabled to fill all the horizontal area you won't get the "short and far" characters, you get the correct aspect ratio.

    If I'm not mistaken you sacrifice some resolution to be able to do it, since you are inserting more data into the same area. Or you loose some vertical resolution to do it.
     
  9. Labbeast

    Labbeast Newly Registered

    Joined:
    Mar 22, 2016
    Messages:
    3
    Likes Received:
    0
    Gotcha. Does it work with all games?
    This seems to be a nice way to play fullscreen on 16:9 TV.
     
  10. speedyink

    speedyink Site Supporter 2016

    Joined:
    Apr 10, 2015
    Messages:
    445
    Likes Received:
    157
    It's amazing they even tried AA on such old technology. On computers at least it's one of those options that can really impact performance (maybe not so much on the latest and greatest cards, but think 5 years ago). Has anyone seen any performance gains with this turned off? There's lots of N64 games that could use a bit of a performance boost.
     
  11. Wachenroder

    Wachenroder Member

    Joined:
    Feb 25, 2015
    Messages:
    9
    Likes Received:
    0
    It seems to give some games more stability. I say seems because i dont have any hard numbers, only a few minutes of observation after testing almost 3 dozen games.

    this is such an amazing fix. thank you so much gentleman for this contribution,

    edit

    i'm not well versed in this sort of thing but why does it have to z64 format?

    will other formats not work?
     
    Last edited: Mar 25, 2016
  12. bobster

    bobster Active Member

    Joined:
    Nov 25, 2013
    Messages:
    44
    Likes Received:
    3
    I'm sorry if this was already in the thread but did anyone find the AA Gameshark settings for Super Mario 64 NTSC? All I found were PAL and JP. My girlfriend and I are playing through it now. Thanks!
     
  13. Jorgasms

    Jorgasms Newly Registered

    Joined:
    Mar 26, 2016
    Messages:
    2
    Likes Received:
    0
    Smash 64 (USA)
    8103D55C 0000
    8103D55E 0212
    8103D58C 0000
    8103D58C 0212

    I didn't test it but it was a super easy port. Might be possible.
     
  14. hyperterminal

    hyperterminal Member

    Joined:
    Aug 20, 2013
    Messages:
    8
    Likes Received:
    0
    Your last line should be 8103D58E 0212. Apart from that the code is correct and I can confirm it working on my N64 /w EverDrive 64.
     
  15. Jorgasms

    Jorgasms Newly Registered

    Joined:
    Mar 26, 2016
    Messages:
    2
    Likes Received:
    0
    Yeah that's my bad. I'll just stick with the rom patching.

    Have you guys considered using activators/rom patching these instead? in several games, the RAM address you're writing to isn't always just the value you're trying to overwrite. In smash, there are two other values at 8003D55C the are written on boot. I haven't looked into the effect of changing those specificially but I do know that other Smash GS codes have lead to unintentional bugs before (like falling through the stage on FD).

    This is great work though. Love what you guys are doing
     
  16. eb1560

    eb1560 <B>Site Supporter 2014</B>

    Joined:
    Apr 7, 2014
    Messages:
    26
    Likes Received:
    1
    I tested out Goldeneye by disabling AA (GS coded ‘3216’), and activating the Display Speed feature to see any improvement in performance. This other forum (here) shed some light on what the Display Speed stats could mean.

    PCI TV card captures with AA on (1st) and AA off (2nd) . Sitting still without moving in Dam, observed stats a minute after mission start (moving truck is already gone).

    [​IMG] [​IMG]

    The framerate does appear to increase with AA disabled. It seems that Hz equates to framerate, and # frames (including bracketed number) is how many frames short (dropped) of the stated framerate? The other stats (utz, rsp, tex) jump around quite a lot, so I kept track of their % ranges and tentative modal (often ~%).

    Framerate: (please correct me if I misinterpreted fps numbers)
    [AA on] Constantly at 15 Hz 4 frames (11 fps), sometimes 20 Hz 3 frames [4] briefly appears (16 fps)
    [AA off] Constantly at 20 Hz 3 frames (17 fps), sometimes 20 Hz 3 frames [4] briefly appears (16 fps)

    utz: Lower % with AA off
    [AA on]: 67% to 83% (often ~75%)
    [AA off] 65% to 80% (often ~67%)

    rsp: Higher % with AA off
    [AA on]: 8% to 22% (often ~18%)
    [AA off] 13% to 26% (often ~22%)

    tex: No notable difference, hovering at 7 to 9%. Either AA or Dam has little influence on tex stat?
    [AA on] 6 to 10%
    [AA off] 6 to 10%

    If I recall correctly, enabling AA does require more memory bandwidth to be used. Out of curiosity I also did probe RDRAM’s Busdata[3] (most active bit apparently) through the jumperpak with an o’scope (Vref, falling edge). When AA is deactivated, there is a fluctuating 5% to 13% less RDRAM bus traffic according to the frequency counter on the scope.
     
    Poregon likes this.
  17. eb1560

    eb1560 <B>Site Supporter 2014</B>

    Joined:
    Apr 7, 2014
    Messages:
    26
    Likes Received:
    1
    Brief test on Star Wars: Shadows of the Empire, you don’t really need a GS to toggle AA - it has a powerful in-game accessible debug mode (using v1.2). Aside from toggling AA, I also halved the max fog setting from stock 200 to 100 (seems to lower max draw distance?) – it seems that just disabling AA has a rather modest impact in this level or game. This is Dash standing still at the start of the Echo Base mission.

    [AA on]: 14 fps
    [AA off]: 14 - 16 fps (jumps around)
    [AA off + ½ max fog]: 20 - 22 fps (jumps around)

    [​IMG] [​IMG] [​IMG]
     
  18. Shugo

    Shugo Newly Registered

    Joined:
    Mar 28, 2016
    Messages:
    1
    Likes Received:
    0
    Hey, all. I made a video showing a few games with the filter on and off, using Poregon's ED64 patches. It was intended to show someone else specifically, but I figured I could contribute it here too in case anyone wants a handy video example to show people.



    My capture card isn't the greatest, but the difference is still clearly visible.
     
  19. Visor4

    Visor4 Newly Registered

    Joined:
    Mar 6, 2016
    Messages:
    2
    Likes Received:
    0
    Hi Poregon, any word as to when this will come back up?

    I see that you've indicated "only AA is disabled", which I'm assuming means that the dithering filter will remain enabled, which is good news for me. :)

    I'm a little confused about your .z64-only disclaimer. Your old set of patches worked just fine with .n64 files, and since smokemonster's Everdrive 64 game packs use the .n64 extension then I would prefer to still use that container. If I have to switch, then I guess it's not too big a deal as I can use a program like File Renamer Basic to take care of things.

    Cheers,
    Visor
     
  20. Jamesv833

    Jamesv833 Newly Registered

    Joined:
    Sep 3, 2015
    Messages:
    4
    Likes Received:
    0
    It seems to have worked for me. I used the aps patches on poregons page and I used smokemonsters rom set. I verified it working by loading quake and toggling filter on and off and it's the same.(it made a very noticeable difference before I patched)
     

Share This Page