Sharp DS(i) mode scaling filters

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

  1. sinisterMayo

    sinisterMayo Member

    Newcomer
    1
    May 31, 2017
    United States
    heya, im a complete noob so this will probably make everyone here cringe really hard, but how do i my unpatched twlbg.cxi in the first place. sorry if this has been said or if im stupid.
     
  2. LinusRG

    LinusRG Advanced Member

    Newcomer
    2
    Jun 7, 2017
    Canada
  3. Robz8

    Robz8 Coolest of TWL

    Member
    18
    Oct 1, 2010
    United States
    Widescreen instructions are in the first post of the TWLMenu++ thread. You don't really need the unpatched TwlBg.cxi
     
    Last edited by Robz8, Aug 14, 2019
  4. ruaidsoia

    ruaidsoia Newbie

    Newcomer
    1
    Aug 14, 2019
    Antarctica
    Quick question. What would I need to do in order for DS games to display as #3 rather than #1 or #2 in the attached image?

    I'm guessing I'd have to hex edit something in TWL_FIRM for the 1x mode to display centered in each screen rather than on the bottom (top screen) and the top (bottom screen) but I have no idea what offset that would be or what I would need to change it to. Any help would be appreciated. ds.
     
    Last edited by ruaidsoia, Aug 14, 2019
  5. piratesephiroth

    piratesephiroth I wish I could read

    Member
    10
    Sep 5, 2013
    Brazil
    I don't know but #3 is really ugly. You'd also have to adjust the touchscreen handling a little, to compensate for the different positioning.
     
    Vulpes-Vulpeos likes this.
  6. Ailuros27

    Ailuros27 GBAtemp Advanced Fan

    Member
    3
    Apr 7, 2015
    United States
    Where is this "guide" everyone keeps mentioning? I came here from the front page news post and the post with the download is a little lacking in details.
     
    tatundria likes this.
  7. SCOTT0852

    SCOTT0852 GBAtemp Maniac

    Member
    6
    Jan 20, 2018
    United States
    On this page right here:
    upload_2019-8-15_0-16-56.
     
  8. ruaidsoia

    ruaidsoia Newbie

    Newcomer
    1
    Aug 14, 2019
    Antarctica
    Thanks for your opinion. And yeah, I figured I'd need to edit the touchscreen handling as well, but if that's too difficult I wouldn't mind forgoing it and just sticking to playing games that don't require touch controls.
     
    Last edited by ruaidsoia, Aug 15, 2019
  9. Vague Rant

    Vague Rant Deceptively cute

    Member
    7
    Aug 7, 2008
    Melbourne
    Sono, sorry for the hassle and for what I'm sure constitutes a misunderstanding of how all of this works, but I've been thinking about this ever since you posted it. The subject just came up again over on Discord so I figured I'd ask: If you're able to patch the OpenGL driver, what's to stop you from scaling to a full screen 400*240 using the PICA200 instead of/in concert with the scaling matrix? The matrix obviously limits you to that whole fractional setup, but couldn't the PICA just scale arbitrarily to any resolution you wanted, like, say, full 400*240, 5:3 aspect ratio?
     
  10. Sono
    OP

    Sono The MCU Deity

    Member
    12
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    1) because GPU scaling requires more memory bandwidth
    2) because I'm an idiot, and can reverse engineer a hardware without any symbols and documentation and make patches for a fully undocumented and extremely complex OpenGL driver, but can't think of something as simple as to stretch the image using the DMPGL patch... I actually did it once by accident, AND THE PICA's LINEAR SCALING IS SUPER PLEASING ON THE EYES! But me being paranoid I completely forgot that this is even possible. I could just disable the X scaling all together, and use the PICA's amazing quality linear upscaling to stretch the X axis...

    Welp... I tried every combination of values, and I just can't get GPU scaling to work :/ The image is always left-aligned, but not stretched. I have probably changed the patch used, because I just can't reproduce it anymore :(
     
  11. piratesephiroth
    This message by piratesephiroth has been removed from public view by porkiewpyne, Aug 16, 2019, Reason: Not an imageboard.
    Aug 16, 2019
  12. dripfish

    dripfish Newbie

    Newcomer
    1
    Aug 16, 2019
    Canada
    @Sono Thanks a lot for all your work. Any word on screen swapping for the ds mode? Don't mean to rush you especially because of all you've done (even more so in that hungarian weather)
     
  13. Sono
    OP

    Sono The MCU Deity

    Member
    12
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    If you go back a "few" pages then there should be some images showcasing a buggy version of screen swap.

    I'll link the images I found, but there could be one oe two more which are probably not worth to dig thru' the pages for.

    Image
     
    Pedroverri, ElderC and dripfish like this.
  14. chocoboss

    chocoboss GBAtemp Fan

    Member
    5
    Jun 25, 2016
    France
    FRANCE
    I think something is wrong with the TWiLightMenu 0.9

    If I put the atched cxi here :
    D:\_nds\TWiLightMenu\TwlBg\Widescreen.cxi
    It didn't work.

    If I put it here
    D:\luma\sysmodules\TwlBg.cxi
    Work in stretched mod.

    I don't understand, why it didn't work as it should :mellow:

    I use Luma + 11.8.0-41E on an old 3DS
     
  15. Vague Rant

    Vague Rant Deceptively cute

    Member
    7
    Aug 7, 2008
    Melbourne
    @chocoboss TWiLight Menu++ is not supposed to be stretched at all, it reboots into Widescreen.cxi when you launch a game that TWLMenu++ has widescreen support for. The menu itself should look normal.
     
  16. chocoboss

    chocoboss GBAtemp Fan

    Member
    5
    Jun 25, 2016
    France
    FRANCE
    I know, but it didn't boot games in widescreen mode if I put the patched cxi
    D:\_nds\TWiLightMenu\TwlBg\Widescreen.cxi

    It just boot game in normal mode q.q
     
  17. Dartz150

    Dartz150 GBATemp's Official Onii-chan™

    Member
    9
    May 5, 2010
    Mexico
    On a Strange Journey
    You must update TwilightMenu++ to the latest version manually, since the updater can't for some reason, causing this issue.
     
  18. chocoboss

    chocoboss GBAtemp Fan

    Member
    5
    Jun 25, 2016
    France
    FRANCE
    I have install it manually a few days ago, I was using a linker before ! =)
     
  19. Vague Rant

    Vague Rant Deceptively cute

    Member
    7
    Aug 7, 2008
    Melbourne
    @chocoboss Maybe obvious, but did you turn widescreen on in the TWLMenu++ settings?
     
  20. chocoboss

    chocoboss GBAtemp Fan

    Member
    5
    Jun 25, 2016
    France
    FRANCE
  21. Vague Rant

    Vague Rant Deceptively cute

    Member
    7
    Aug 7, 2008
    Melbourne
    @chocoboss Putting it into sdmc:/luma/sysmodules will only cause stretching, not actual widescreen where you can see more of the environment.
     
Loading...