?
  1. Yes, I don't care how broken it will be!

    31 vote(s)
    81.6%
  2. No, I don't want to use even more broken stuff

    3 vote(s)
    7.9%
  3. Yes, but only in GBA mode, because I play DSi exclusives

    2 vote(s)
    5.3%
  4. No, because I only use DS and DSi mode

    2 vote(s)
    5.3%
  5. 38 voter(s)
  1. ahezard

    ahezard GBAtemp Regular
    Member

    Joined:
    Feb 17, 2016
    Messages:
    115
    Country:
    France
    I included the "1.25x scale patch"

    Can someone confirm it works as expected?

    By the way I recommand to use decrypt9 and not godmode9 to dump the twl_firm
     
  2. Sono

    OP Sono professional unprofessional
    Developer

    Joined:
    Oct 16, 2015
    Messages:
    2,342
    Country:
    Hungary
    I really can't read your Python code, but I'll try to word the patching section differently, because it seems like my words are not understandable (probably due to the wording).


    When you CTRL-F for the pattern, HxD selects the entire find. You have to click at the END of the selection, and then press CTRL-B to paste overwrite (CTRL-V will append data, which changes the file size, which is very wrong).

    So basically, you have to overwrite the patch data AFTER the search pattern I provided.
     
    Last edited by Sono, Jul 7, 2019 - Reason: fixed typo
  3. piratesephiroth

    piratesephiroth I wish I could read
    Member

    Joined:
    Sep 5, 2013
    Messages:
    3,444
    Country:
    Brazil
    The thing is, this is pretty cool and all but the 1.5x scaling is unusable and the unfiltered 1.25x looks really gross.
     
  4. Alex658

    Alex658 GBAtemp Maniac
    Member

    Joined:
    Jun 4, 2010
    Messages:
    1,199
    Country:
    Venezuela
    I may be doing something wrong but... How is the end user supposed to use this?
     
  5. Robz8

    Robz8 Coolest of TWL
    Developer

    Joined:
    Oct 1, 2010
    Messages:
    14,104
    Country:
    United States
    The instructions are under "New Info".
     
  6. Rahkeesh

    Rahkeesh GBAtemp Advanced Maniac
    Member

    Joined:
    Apr 3, 2018
    Messages:
    1,847
    Country:
    United States
    No problem, just wasn't clear if you were interested in adjusting GBA eventually, since this started as a DS project. I look forward to the patcher!
     
  7. Sono

    OP Sono professional unprofessional
    Developer

    Joined:
    Oct 16, 2015
    Messages:
    2,342
    Country:
    Hungary
    I knew someone was going to say that, so I have more scaling matrixes which do slightly more "blurring" to make the output look better, but it's nowhere near as bad as Nintendo's original blurring.
     
  8. goncalodoom

    goncalodoom GBAtemp Fan
    Member

    Joined:
    Sep 12, 2009
    Messages:
    410
    Country:
    Portugal
    Decrypt9 keeps giving me "ncch firms dump fail" and I can't get the twl_firm.bin
     
  9. Sophie-bear

    Sophie-bear The Coolest Bear Around
    Member

    Joined:
    Jan 4, 2017
    Messages:
    808
    Country:
    United States
    Try GodMode9 instead.
     
    Sono likes this.
  10. Sono

    OP Sono professional unprofessional
    Developer

    Joined:
    Oct 16, 2015
    Messages:
    2,342
    Country:
    Hungary
    Try my method to dump it using GM9.

    Edit: ninja'd :/
     
    Sophie-bear likes this.
  11. kane159

    kane159 GBAtemp Regular
    Member

    Joined:
    May 28, 2013
    Messages:
    210
    Country:
    Taiwan
    i got cp: cannot stat 'firm/firm_3_08006000.bin': No such file or directory what am i doing wrong?
     
  12. Sono

    OP Sono professional unprofessional
    Developer

    Joined:
    Oct 16, 2015
    Messages:
    2,342
    Country:
    Hungary
    You don't need that. You only need section0, because that contains TwlBg.
     
  13. kane159

    kane159 GBAtemp Regular
    Member

    Joined:
    May 28, 2013
    Messages:
    210
    Country:
    Taiwan
    ok, im just trying the script now im trying to do it Manual, if i want the upscaling i do Manual 1.25x scale patch step right?
     
  14. Sono

    OP Sono professional unprofessional
    Developer

    Joined:
    Oct 16, 2015
    Messages:
    2,342
    Country:
    Hungary
    I guess you don't want the image to stretch outside of the screen with weird touch, so yeah, do the 1.25x patch for a sharper image.
     
  15. LeddaZ

    LeddaZ Member
    Newcomer

    Joined:
    Jun 4, 2017
    Messages:
    10
    Country:
    Italy
    Since the 3DS is 400x240 and the DS is 256x192, is it possible to patch TWL_FIRM to increase the internal resolution of DS games?
     
  16. Sono

    OP Sono professional unprofessional
    Developer

    Joined:
    Oct 16, 2015
    Messages:
    2,342
    Country:
    Hungary
    It's not possible to modify the DS GPU, so sadly it's not possible to force a higher resolution. Besides, it would break some games which heavily rely on hardware quirks.

    Also, the bottom screen is 240x320 (yes, because they are actually rotated).
     
    VMM, Dartz150 and LeddaZ like this.
  17. dubbz82

    dubbz82 GBAtemp Advanced Maniac
    Member

    Joined:
    Feb 2, 2014
    Messages:
    1,570
    Country:
    United States
    Here's a dumb question, could a 1x "filter" be applied to basically force the native resolution mode to be applied without holding down the button? I personally wouldn't make use of this, but I know several other people have asked about this in the past in bootstrap's discord.
     
  18. Sono

    OP Sono professional unprofessional
    Developer

    Joined:
    Oct 16, 2015
    Messages:
    2,342
    Country:
    Hungary
    I wanted to release the patcher already, but I broke the repacker code, and I'm too tired to figure it out, so y'all have to wait until I wake up. Sorry for the inconvenience :(

    And several people have also asked it here. Yes, the START+SELECT combo can be inverted, and it can be done by patching only a few bytes of code, so it'll be definitely present in the patcher. So far there are only a few 1.25x presets, but I always forget to include this one :wacko:
     
  19. shano

    shano GBAtemp Regular
    Member

    Joined:
    Aug 27, 2012
    Messages:
    157
    Country:
    Australia
    Thank you for the hard work Sono! Looking forward to checking this out soon!
     
    Sono likes this.
  20. MuperMumpjanSario

    Newcomer

    Joined:
    Jan 12, 2017
    Messages:
    47
    Country:
    Australia
    I appreciate the effort, OP, but your guide is kind of a mess...

    So I tried making a script to automize the extracting and rebuilding process as much as possible.

    Script: https://mega.nz/#!1mYgHYRL!7YZZy_MabrmLq2hZw4IP2GKFshuk8jfMe1hUPfh3lLM
    Filename: Run.bat
    MD5: a064ebbb78cf22fc327b5dbb660a6e89

    If you're (understandably) wary of running random scripts off of a tech forum, you're more than free to open the script in a text editor and judge its legitimacy for yourself. I've tried making using it as foolproof as possible.


    Prerequisites (you will need the following):

    • Access to GodMode9
    • A PC and a way of moving files between it and the SD card (eg. directly or via FTP)
    • A hex-editor for PC (HxD is a good one), and basic knowledge on how to use the program
    • FirmTool (must be installed via Python)
    • 3DSTool (must either be in script directory or system PATH)
    1. Boot into GodMode9 on your system.
    2. Once loaded, go through [SYSNAND CTRNAND > title > 00040138 > *0000102 > content > ********.app] and mount the .app file.
      • The "*" is a wildcard, it can fit any alphanumerical sign.
      • Select the .app file with the highest number.
    3. Once you're inside the mounted .app, enter the [exefs] folder, select the .firm file there, and copy it to [0:/gm9/out].
    4. Turn off your system, remove the SD card from it and connect it to your PC (or use FTP to wirelessly transfer files, it's up to you).
    5. Travel to [SD:\gm9\out\] on your PC, and copy the .firm file somewhere onto your PC (preferably in own folder).
    6. Move the 'Run.bat' script (download at the top of my post) into the same directory as the .firm.
    7. Rename the .firm file to "TWL.firm" and run the script.
      • If you encounter this message while trying to run the script, please make sure you have both FirmTool and 3DSTool installed and findable by the script.
      • [​IMG]
    8. Please read the script output, follow it carefully, and press the Y key to continue after doing so:
      • [​IMG]
    9. Wait until you get this wall of text:
      • [​IMG]
    10. Open the code.bin that appeared in the script directory in your hex-editor, apply and save the patches of your choice (as stated above), and press the number key stated to continue with the script.
    11. Wait until you receive this message:
      • [​IMG]
    12. Check your script's directory. There should now be a "TwlBg.cxi" inside it. Copy TwiBg.cxi onto your SD (again, either directly or via FTP) under [SD:\luma\sysmodules\].
    13. Reinsert the SD card into the system (or reboot it if you used FTP) and power it on while holding SELECT to enter Luma's configuration menu.
    14. Ensure that these two options are ticked:
      • "Enable game patching"
      • "Enable loading external FIRMs and modules"
    15. Press START to save your settings.
    And that should be it.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - TWPatcher, filters, patches