Sharp DS(i) mode scaling filters

Discussion in '3DS - Homebrew Development and Emulators' started by Sono, Jul 4, 2019.

  1. Dartz150

    Dartz150 GBATemp's Official Onii-chan™

    Member
    8
    May 5, 2010
    Mexico
    On a Strange Journey
    By my tests, it seems that the offsets only change if the console is (new)3DS or old(3DS), the firmware version can be any. This means that:

    These have the same offset (please someone provide as I don't remember and I'm at work :P):
    • -3DS
    • -3DS XL
    • -2DS
    Meanwhile these have the code to be patched at 4B090 :
    • -new3DS
    • -new3DS XL
    • -new2DS

    In both cases the code size is 0x3C (200 bytes)

    Please correct me if I'm wrong with something.
     
    Last edited by Dartz150, Jul 11, 2019
    ElderC, Upaluppa, RahFah and 3 others like this.
  2. goncalodoom

    goncalodoom GBAtemp Fan

    Member
    3
    Sep 12, 2009
    Portugal
    portugal
    These worked on my NEW 3DS XL

    1.5x scaling offset is at 0xC9A.
    1.25x scaling offset is at 0x4B094.
     
  3. Retro_Mod_Gamer

    Retro_Mod_Gamer Advanced Member

    Newcomer
    2
    Nov 3, 2015
    Canada
    Amazing. I'm so impressed! No Rush, please don't stress yourself, and please set up a link for donations! I'd love to send you money for your hard work.
     
    Sono likes this.
  4. Sono
    OP

    Sono The MCU Deity

    Member
    12
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    It seems like I should remove all mentions of offsets, because for me the 1.25x patterns begin at 4B094, not 4B090.

    I don't have a donation link, sorry. I only have a bank account where only people who have a bank account in the country can send money to, foreigners can't.
     
  5. Retro_Mod_Gamer

    Retro_Mod_Gamer Advanced Member

    Newcomer
    2
    Nov 3, 2015
    Canada
    You could set up a paypal account?
     
  6. Sono
    OP

    Sono The MCU Deity

    Member
    12
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    I deleted it a few months ago.
     
  7. Retro_Mod_Gamer

    Retro_Mod_Gamer Advanced Member

    Newcomer
    2
    Nov 3, 2015
    Canada
    Well thank you so much for this. If there's anything the community can do for you please let us know!
     
    Sono likes this.
  8. Pickle_Rick

    Pickle_Rick Ya boi Zack

    Member
    4
    Aug 28, 2017
    United States
    Somewhere
    Can you add an option to set the default to no scaling too?
     
  9. Sono
    OP

    Sono The MCU Deity

    Member
    12
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    It has been discussed in the thread that once I release the first version I'll be slowly adding in the requested features in this thread into the patcher. And yes, that has been requested a few times, and it'll be a patch option.
     
    Upaluppa, CheatFreak47, Robz8 and 2 others like this.
  10. youny43

    youny43 Newbie

    Newcomer
    1
    Feb 21, 2019
    United States
    Thanks for putting so much work into this- I searched this the other day, fed up with blurry full-size games - and to my surprise, there was an active thread with someone working on it! I eagerly await the patcher so I can try it out. Don’t work yourself too hard, though! :)
     
    Retro_Mod_Gamer and Sono like this.
  11. Joom

    Joom  ❤❤❤

    Member
    14
    Jan 8, 2016
    United States
    Robz8 and Sono like this.
  12. Sono
    OP

    Sono The MCU Deity

    Member
    12
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    I think I missed this question, sorry.

    If I figure out how to individually adjust the X and Y kernels then yes.
     
  13. Sono
    OP

    Sono The MCU Deity

    Member
    12
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    Welp... it turns out I triggered some anti- buffer-overflow code in the kernel, which caused it to intentionally crash to prevent any "accidental" attacks against its code loader. And I tested, and the patcher works, yay!

    Please read before downloading
    Download
     
    Last edited by Sono, Jul 12, 2019
  14. Rahkeesh

    Rahkeesh GBAtemp Advanced Fan

    Member
    6
    Apr 3, 2018
    United States
    Can confirm the patcher works for me on both flashcard and Twilight AFTER I turned on module loading in luma... don't forget that part. :P Crispy mode is a bit distorted but its definitely less blurry, which makes text much more readable and objects stand out from the background, so its great to have the option. I also like the just straight linear interpolation for 3D games, helps reduce the jagged edges that Nintendo's apparent sharpening effect likes to bring out.

    Something to think about might be a tool that lets you swap between multiple pre-compressed files. So you only need to do the long compression once per option, then you can switch between them quickly depending on the game type. Bonus points if someone can implement the swap into NDS forwarders somehow.

    Great work done here. Hoping a future version will patch GBA games too!
     
    Last edited by Rahkeesh, Jul 12, 2019
  15. youny43

    youny43 Newbie

    Newcomer
    1
    Feb 21, 2019
    United States
    I used the patcher, and I love it! I used the Sono Crisp 1 and I no longer feel like my eyes are unfocused when looking into the screen of my N3DS... finally. Plus, it was easy to use. The delay for the hard work you did, Sono, was well worth the wait. Thank you very much! :)

    Before:
    Warning: Spoilers inside!

    After:
    Warning: Spoilers inside!
     
    Sono and Robz8 like this.
  16. Robz8

    Robz8 Coolest of TWL

    Member
    18
    Oct 1, 2010
    United States
    Found a bug with the patcher.
    When returning to the patcher from HOME Menu, the top screen is glitched.
     
  17. Sono
    OP

    Sono The MCU Deity

    Member
    12
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    That's not a bug, it's a feature :P You're not supposed to leave the patcher until you finished though, so this is a won't-fix :P
     
    Robz8 likes this.
  18. Retro_Mod_Gamer

    Retro_Mod_Gamer Advanced Member

    Newcomer
    2
    Nov 3, 2015
    Canada
    Thanks again! compressing now. Decisions, decisions on which to choose!
     
    iGom and Sono like this.
  19. piratesephiroth

    piratesephiroth I wish I could read

    Member
    10
    Sep 5, 2013
    Brazil
    Linear Sharpen 1 is definitely the best option.
     
    Sono likes this.
  20. Retro_Mod_Gamer

    Retro_Mod_Gamer Advanced Member

    Newcomer
    2
    Nov 3, 2015
    Canada
    I love your Gotta Protectors PFP!
     
    piratesephiroth likes this.
Loading...