Is it possible to disable dithering in PS1 games using codes?

Discussion in 'Sony Programming and Development' started by Shenmue_Trilogy, May 15, 2016.

  1. Shenmue_Trilogy

    Shenmue_Trilogy Rapidly Rising Member

    Joined:
    Oct 29, 2015
    Messages:
    98
    Likes Received:
    40
    You know that annoying dithering effect which was back in the days not a huge factor due to bad image quality thanks to composite cables. But nowadays using rgb or component cables it makes the effect more visable and annoying:

    [​IMG]

    It is possible to disbale that effect on original hardware using codes?
     
    gwald likes this.
  2. Colek

    Colek Spirited Member

    Joined:
    Feb 17, 2016
    Messages:
    142
    Likes Received:
    74
    Got bigger preview by any chance?
     
  3. Shenmue_Trilogy

    Shenmue_Trilogy Rapidly Rising Member

    Joined:
    Oct 29, 2015
    Messages:
    98
    Likes Received:
    40
    Sorry here is another example of the dithering effect:

    [​IMG]
     
  4. DeChief

    DeChief Rustled.

    Joined:
    Jan 25, 2014
    Messages:
    1,704
    Likes Received:
    712
    I can't quite see what you're talking about, it looks like a regular PS1 game to me.
     
  5. Fandangos

    Fandangos <B>Site Supporter 2013</B>

    Joined:
    Sep 19, 2012
    Messages:
    604
    Likes Received:
    23
    He's talking about this:

    [​IMG]

    See the pattern with the colors? This is dithering.


    Also to reply, I don't think this is possible because the PS1 uses a 16bit frame buffer.
    But probably someone with waaaayy more knowledge than me can point the limitations of the system for you and why it can't be done.

    Also just wanted to point the curious fact that you want to remove it and I was hopping someone could bring it to PC emulation. :)
     
    gwald likes this.
  6. Shenmue_Trilogy

    Shenmue_Trilogy Rapidly Rising Member

    Joined:
    Oct 29, 2015
    Messages:
    98
    Likes Received:
    40
    Yep, I am talking about the small squares/pixels filter which are not a part of the polygon graphics:

    [​IMG]
     
  7. gwald

    gwald Net Yaroze '99

    Joined:
    Jan 6, 2016
    Messages:
    105
    Likes Received:
    36
    TMK, there's no 'filter' on the PSX VRAM which does that natively.
    It's not like the N64 which has a built in anti-aliasing.
    Are these images from an emulator's VRAM or is it going out via a PSX RCA into a capture card?
     
  8. Gemini

    Gemini Retro developer

    Joined:
    Apr 1, 2008
    Messages:
    406
    Likes Received:
    88
    There is one bit in the drawing structures that can disable dithering, which I is indeed possible to suppress via cheat codes.
     
    tkeely4777 likes this.
  9. Shenmue_Trilogy

    Shenmue_Trilogy Rapidly Rising Member

    Joined:
    Oct 29, 2015
    Messages:
    98
    Likes Received:
    40
    Gemini

    That sounds interisting. So how can i find that bit/cheatcode? ^^ Try&Error? Anyone who tried to find it?
     
    Last edited: May 16, 2016
  10. Gemini

    Gemini Retro developer

    Joined:
    Apr 1, 2008
    Messages:
    406
    Likes Received:
    88
    You need to find where it populates the DR_DRAW structures used. Set the dithering attribute to 0 and most of it should go away.
     
    tkeely4777 likes this.
  11. tkeely4777

    tkeely4777 Rapidly Rising Member

    Joined:
    Mar 9, 2013
    Messages:
    77
    Likes Received:
    5
    Is this theoretically possible through hex-editing the game executable, thus making the change permanent? Also, can you recommend any games to test?
     
  12. Gemini

    Gemini Retro developer

    Joined:
    Apr 1, 2008
    Messages:
    406
    Likes Received:
    88
    Most likely doable, since the dither value is set to 1 to enable it. Change that to 0 wherever the game sets it and it's permanent. There may be a few more cases where it changes internal resolution and settings, but that's most likely related to other parts of a game.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page