TWPatcher - DS(i) mode screen filters and patches

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

  1. Sono
    OP

    Sono Modern slave

    Member
    13
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    I don't work alone (or at least, not as a whole), these are the result of multiple peoples' works over multiple years.
     
  2. Chaos33

    Chaos33 Advanced Member

    Newcomer
    2
    Mar 4, 2017
    United States
    Underneath Nintendo HQ
    I tweaked around a little bit, and the end result I found was that using your amazing reverse engineering of the Filters and Widescreen (384X240) can be combined and better than that their resolution can be 8:5 rather than 16:9 (3DS screens are not HDTV at all!, and Twilight has 16:9 cheats for the widescreen). The only thing required to do is using @ahezard ’s TWL_FIRM Patcher (https://github.com/ahezard/twl_firm_patcher) that applies your filters create one TwlBg.cxi, then reconstruct the exefs.bin using own methods (I used Wayback Machine to get old files from the firm patcher and rebuild it using the files inside) and then using the widescreen executable that made me a hybrid TwlBg.cxi (With Sono’s Crisp Filter and Widescreen hack (working on both screens - a bit less on the top screen). Then I manually changed the Widescreen Cheat Code using @PRAGMA ’s guide (https://gbatemp.net/threads/how-to-play-nds-games-in-hd-widescreen-16-9-21-9-32-9.538988/) and his decimal formula for 8:5 aspect ratio and patched roms using DSATM or R4CCE. The new cheat code will have changed the value of 1555 (hex) to 1999 (8:5) rather than 1C71 (EDIT) (16:9 which made everything look good and small and kinda in 3D, BUT WITHOUT any HD quality (most people complained about this) and rendering losing high % of pixels)

    The end result is perfectly aligned and sharp crispy beautiful screen on my N2DSXL and N3DS as well! The Games look real good with Sono’s crisp filter and Widescreen Mode.

    Credits:
    Sono (for his crisp filter and Widescreen TWL FIRM)
    PRAGMA (for his guide, formula and exceptional Custom Widescreen Cheat Codes)
    Ahezard (for his FIRM patcher)
    Me (for combining and tweaking all above works)

    Also, you can use Ahezards the old firm patcher to unlock goodness of speed boost and sound to your TWL FIRM, and would not have to use the worthless Twilight Menu each time. Use Forwarders! They are good for your Activity Log and Home Menu! :D

    :yaynds: In HD In :yay3ds:
     
    Last edited by Chaos33, Sep 28, 2019
    plug313, Tarmfot and LonelyPhantom like this.
  3. Dartz150

    Dartz150 Hat Gurl Official Fan™

    Member
    10
    May 5, 2010
    Mexico
    Under your bed

    Mmm... do you have a donwload link?
     
    Zense and Robz8 like this.
  4. Rahkeesh

    Rahkeesh GBAtemp Maniac

    Member
    7
    Apr 3, 2018
    United States
    Download link would be distributing copyrighted files so good luck.

    Would like some pics though to get a sense if its worth jumping through these hoops myself.
     
  5. Robz8

    Robz8 Coolest of TWL

    pip Developer
    19
    Oct 1, 2010
    United States
  6. Rahkeesh

    Rahkeesh GBAtemp Maniac

    Member
    7
    Apr 3, 2018
    United States
    Thanks, not sure I like the scaling filter yet but the widescreen part looks good!
     
  7. Sono
    OP

    Sono Modern slave

    Member
    13
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    How is that even possible? The widescreen patch clears the scale filter :/
     
    Robz8, Dartz150 and Vague Rant like this.
  8. Vague Rant

    Vague Rant Deceptively cute

    Member
    7
    Aug 7, 2008
    Melbourne
    I can't say I follow everything in that user's post, but large portions of it make no sense, like boasting about the improvement in quality you get from using an 8:5 ratio instead of a 16:10 ratio (they're literally exactly the same thing, it's like saying "one half" is better than "two quarters"), and talking about different aspect ratios "having HD in it". They also seem to be unaware that there's literally hundreds of 16:10 widescreen codes specifically for 3DS already and nobody (barring, presumably, Chaos33) has been using 16:9 codes.

    Frankly, comments like "16:9 is useless and bad-looking since the filthy TN screens of 3DS are NOT HDTV and the resolution is very low!" makes me wonder if they even know what an aspect ratio is. The problem with 16:9 on 3DS isn't that the resolution is low, it's that the screens aren't 16:9.
     
    Sono, Robz8 and Dartz150 like this.
  9. evertonstz

    evertonstz Advanced Member

    Newcomer
    2
    Jan 5, 2019
    Brazil
    I was going to say maybe he has problems with expressing himself in english, but the dude seems to be american. I tried doing what he said in the thread he oppened and to be frank all I got working was the ratio, don't know how different that is from TM++'s but I guess, since he's seeing differences, they use 16:9? Maybe OP got some placebo effect and is seeing more than a change in the aspect ratio... Or who knows maybe the dude has tapped into something and is bad at teaching... or is just trolling around.
    What I know is that I don't know enough about the 3ds to say anything, I already embrass myself enough from time to time talking about things I don't fully undertand lol.

    What I can agree, as some other dude pointed out, is that shittalking other software was unecessary.
     
    RedL and Sono like this.
  10. Vague Rant

    Vague Rant Deceptively cute

    Member
    7
    Aug 7, 2008
    Melbourne
    Nope, TWLMenu++ uses a database of 16:10 (or 8:5 for anyone who prefers that phrasing) codes specifically for 3DS--indeed, specifically for TWLMenu++ in some cases, for Action Replay codes that aren't otherwise compatible with nds-bootstrap.

    While they weren't getting the codes from TWLMenu++, I do think Chaos33 was using 16:9 codes previously; the screenshots they posted in their other thread about this do look like a wider 16:9 aspect ratio squished into the less-wide 16:10, 384*240 widescreen-scaled TwlBg. From the discussion of DSATM and/or R4CCE in that thread, I'm guessing they've been (mis)using 16:9 codes by applying them manually.

    I think you're probably also right about the placebo, because even the 16:10 screenshots in the other thread show the distinct line-doubling we get with the current TwlBg widescreen patch, there's clearly no filter on the horizontal as Chaos33 claims to have implemented. Here's his screenshot from whichever Pokémon game this is:

    View attachment 180525

    Look at the player character's pupils: one is wider than the other because of the way he's catching the line doubling. It's no more filtered than the normal version you'd get by using Sono's patcher.

    I don't think they're maliciously lying about what they've done here, they just took an extremely ass-backwards route to using the correct 16:10 widescreen hacks instead of the incorrect 16:9 ones they were applying before and mistook the improvements they saw for an improvement in their TwlBg.
     
  11. Sono
    OP

    Sono Modern slave

    Member
    13
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    I just noticed that I'm an idiot. I figured out that I'm not clearing the Y scale filter, only the X scale filter.

    The dude has just overphrased that he figured out that I'm not clearing the Y scale filters, so he just patched the scale matrix in the binary, and that matrix is actually used on the Y axis (look on the character, it's really sharp, it's not blurred together on the Y axis).
     
    plug313, RedL, Red771 and 5 others like this.
  12. Chaos33

    Chaos33 Advanced Member

    Newcomer
    2
    Mar 4, 2017
    United States
    Underneath Nintendo HQ
    I believe @Vague Rant is such a Jerk to understand what the total point is! I am only stating nothing more than this -

    1. The Widescreen and Filter (by Awesome @Sono can be implemented together)
    2. Twilight menu (I am not against/mocking this homebrew, also this made possible many NDS improvements on #DS and I use the freaking amazing forwarders from the same Homebrew Dev.) has 16:9 cheats for games (as True Widescreen) whereas it should be 16:10 like I did!
    3. (For YOU!) First try and look for any betterment another (Me) can provide rather than foolishly trying to be the Superior and MOST KNOWLEGEABLE person here, you are no one in front of our Homebrew Devs (You are not even a DEV!, and even I am not) and just that you know about the System and have some information about cheats or aspect ration or whatever your bullshit is don't become the SAVIOUR here since you are not needed here at all!

    @Sono you have got my point (Absolutely no way of saying yourself an Idiot, you are a great Dev, and everyone makes mistakes, the only idiot here is Vague Rant and probably some others) now you can create a patcher which has both Filters and Widescreen (just like DESMUME can do it together).

    The only thing I need know is a Tool to directly patch @PRAGMA 's custom widescreen cheat codes to the DS ROMs. (DSATM only works for Pokémon D/P/HG/SS (not Plat./B/W/B2/W2) for me) and the photos I posted were using my Flash Card's Cheat Menu (a DSTT). Anyone who can apply AR cheats on ROMs directly please help me out, and i'll post a proper guide with links and details.

    PS: My English is not the best and I know I confused everyone a little bit with too much data and not information!
     
    Last edited by Chaos33, Sep 27, 2019
  13. Vague Rant

    Vague Rant Deceptively cute

    Member
    7
    Aug 7, 2008
    Melbourne
    @Chaos33 I'm sorry you were upset by my post, in which I simply pointed out what appeared to be your misunderstandings about widescreen support on 3DS. About the rudest thing I said about you is that you didn't seem to understand what aspect ratios are, which based on what you were saying in previous posts, seems like it was accurate. It seemed worthwhile to point out those misunderstandings since people were getting quite excited about your work here, which it turns out was not what some were expecting it to be. So I spoke up and corrected some of your misunderstandings.

    Trust me, I know it sucks to find out you don't have an accurate understanding of something: I know because I do it all the time. I'm not claiming to be the most knowledgeable person anywhere, because I never am. But if I know you've misunderstood something, wouldn't you rather I mention it instead of just letting you continue to be wrong? What are you gaining in that scenario? I'd much rather be told when I'm wrong than keep passing on misinformation. I hope you'll come to see that I wasn't trying to hurt your feelings by correcting you.

    Anyway, despite being "such a jerk", I still hope you have a great day.
     
    Chaos33, Sono and Dartz150 like this.
  14. Dartz150

    Dartz150 Hat Gurl Official Fan™

    Member
    10
    May 5, 2010
    Mexico
    Under your bed
    Chill down dude, people are just pointing out things to you because this has been researched a lot already (and is still a work in progress) and @Vague Rant is one of those people that are involved in that research since long time ago, so they know what are they talking about, and on top of that, they are great people that accept when they make mistakes instead of bashing otheres who point those mistakes.

    Man, your efforts are much apreciated and you should keep going! But please, it would be better if you adopt a colavorative spirit and taking advice from others who already have worked on this, as well as throwing ideas thogether in a positive way, two are better than one, you know.

    Buuut I cannot leave without leaving my opinion about this statement you made. I can say with total confidence that @Vague Rant among other devs involved in this are far superior than you, and no, I'm not talking about their skills or knowledge, I'm talking about their humility and maturity to accept criticism when they are wrong, which is something you clerarly lack. You should take some of that, is what helps people to grow and to improve in many ways as time passes.
     
    Last edited by Dartz150, Sep 27, 2019
    Sono likes this.
  15. Chaos33

    Chaos33 Advanced Member

    Newcomer
    2
    Mar 4, 2017
    United States
    Underneath Nintendo HQ
    I am Sorry @Vague Rant it seems that I have been myself a jerk in explaining it properly since this is a whole new scenario for me, and I was Dumb to not understand that you were trying to teach me a right thing and enhance my knowledge only, I was even foolish to seem that you correcting me was bad, instead it wasn't! Thank You friend! :D I am Really Sorry!:lol:
     
    Last edited by Chaos33, Sep 27, 2019
    Red771, Dartz150, Tarmfot and 5 others like this.
  16. Vague Rant

    Vague Rant Deceptively cute

    Member
    7
    Aug 7, 2008
    Melbourne
    No worries, @Chaos33, I'm sorry for coming across as rude, too. I'm just glad everything's all cleared up. :)
     
    Red771, Tarmfot, Nutez and 2 others like this.
  17. Sono
    OP

    Sono Modern slave

    Member
    13
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    I have already known about this, but I didn't wanted to go that route.

    I want to do a proper widescreen patch, where the X and Y axis scale matrixes can be individually customized. Investing too much effort into a placeholder (in this case, widescreen patch with custom Y scale matrix) is slightly poitless.
     
    Chaos33 likes this.
  18. Chaos33

    Chaos33 Advanced Member

    Newcomer
    2
    Mar 4, 2017
    United States
    Underneath Nintendo HQ
    Well said, it's a time wastage since there is not too much Crisp as there can be, but yes you can figure something better than this (See, I only combined your works and tweaked around a bit, did nothing new, only hybridised a new FIRM and Cheats for 16:10) Take your time and be spectacular! If you need any help there are better people than me who will help you out, nevertheless I am still out there :lol::D:)^_^!
     
    Nutez, Zense and Sono like this.
  19. aisac

    aisac Newbie

    Newcomer
    1
    Sep 28, 2019
    Philippines
    pls help that the program its only one time use
    plsss
     
  20. Sono
    OP

    Sono Modern slave

    Member
    13
    Oct 16, 2015
    Hungary
    Austro-Hungarian Monarchy
    ???

    No, it's not? If you re-run it then it'll recreate the file with the new settings.
     
Quick Reply
Draft saved Draft deleted
Loading...