RELEASE Xenoblade Chronicles 2 Graphics Settings

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by masagrator, Jan 21, 2019.

  1. masagrator
    OP

    masagrator GBAtemp Regular

    Member
    3
    Oct 14, 2018
    Poland
    So I found file responsible for graphics settings. If we have homebrew for OC, we can find out better settings to utilize this features.
    I uploaded 2 images: one with original settings, second with modified config file (all Sharpness settings set to 0, only for showing that it works)
    Original. Modified.

    I hope that users will upload here their settings to show what we can change.

    How this file looks like (it's from 2.0.2 version of base game, but it should work with other versions) (# are my comments):
    lib_nx.ini

    If you want to modify Torna The Golden Country standalone game, you need to use Old Method with modified package from here. (thx to @SENSENuii)
    Just bf2.ard and bf2.arh in Torna Standalone are called ira.ard and ira.arh


    Instructions:
    • Compatible with base game and Torna DLC from the start

      Old method:
      + Works with every CFW
      - Takes 10GB of space
      - Making any modification takes 1 hour
      - You need to pack NCA->NSP/XCI, if you don't want to suffer from sd card's worse read speeds

      New Method:
      + Only 5kB
      + Changing settings in one go
      + No limitations in size of config file
      - Supports only Atmosphere and CFW based on it, so SX OS is not supported (<=2.5.3, newer are unknown).
      - You need installed one of DLCs excluding Helpful Items Pack and My Nintendo Items Bonus - it doesn't support them

    • Advices:
      1. Make copy of bf2.ard.
      2. Never reimport again to modified bf2.ard, reimport only to original file!
      3. If you have FAT32 card and don't want reimport file to NCA, you need to install Python 3 (f.e. Python 3.7).


      1. You need to unpack NCA (f.e. with this).
      2. Copy bf2.arh and bf2.ard from romfs folder to Xenoblade2Set (name of my package). bf2.arh is only for folder tree, it's not going to be modified.
      3. Configuration file is Xenoblade2Set\modified\monolib\shader\lib_nx.ini (Don't move it outside!)
      4. Modify it as you wish, but configuration file MUSTN'T BE bigger than 4460 bytes

      Examples:
      Raw gameplay
      2019012121325500-659B13F48903294AE2B3FA4F12DA9898.
      (may mess up docked mode)
      Max 720p for undocked mode, AA, TMAA, Blur turned off, unstable framerate for non-OCed Switch
      Max 540p for undocked mode, AA, TMAA, Blur turned off, original framerate

      Like docked mode
      2019020820254500-659B13F48903294AE2B3FA4F12DA9898.
      Docked mode almost untouched, only for "Max 720p" now it can go down to 360p, not 504p like in original
      Max 540p for undocked mode, Blur turned off, TMAA settings as docked mode, tmaaNewUpScale turned off, original framerate
      Max 720p for undocked mode, Blur turned off, TMAA settings as docked mode, tmaaNewUpScale turned off, only for OC-ed Switch


      5. If You saved config file, then you need to run 1.reimport.bat (be sure that you have copy of bf2.ard)
      It will take about one hour before it will find file to swap. If file has been swapped, it will show in window something like this (first and second value may be different because of version of game and size of config file):
      Code:
      < 0000000281591280 1566       monolib\shader\lib_nx.ini
      Then You don't need to wait until it's finished with whole file, you can close it. Your original bf2.ard is now modified.
      6. You can put this new bf2.ard file in 3 ways:
      - rebuilding NCA (find it how to do it by yourself), then to NSP/XCI
      - exfat card owners - just put modified file to <yourCFW>\titles\0100E95004038000\romfs\
      6.1
      - FAT32 card owners - we need to split it and put folder with splitted files to <yourCFW>\titles\0100E95004038000\romfs\
      Run 2.split.cmd and WAIT until it shows it's finished. It will create folder "bf2.ard".
      Move folder "bf2.ard" to <yourCFW>\titles\0100E95004038000\romfs\
    • 1. Download Profiles.zip from attachments.
      2. In archive there are 4 settings splitted between 2 categories:
      Raw Image
      2019012121325500-659B13F48903294AE2B3FA4F12DA9898.
      Max 540p is for everyone
      Max 720p is for OC-ed Switch

      Like Docked Mode
      2019020820254500-659B13F48903294AE2B3FA4F12DA9898.
      Max 540p is for everyone
      Max 720p is for OC-ed Switch

      Inside all of them is folder named "0100E95004039001"
      If you have Torna DLC installed, you just need to copy it to (for atmosphere users):
      sdcard:/atmosphere/titles/
      Or to another "titles" mounted to your CFW.
      This is not compatible with SX OS!!! (<=2.5.3, newer are unknown)

      2.1. If you don't have Torna DLC installed, rename "0100E95004039001" to titleid of DLC you have before you copy folder to MicroSD Card
      0100E95004039002 - New Quests Pack
      0100E95004039003 - New Rare Blade Pack
      0100E95004039004 - New Challenge Mode Pack
      0100E95004039063 - Japanese-Voice Pack

      If you have multiple DLCs, just choose one. It doesn't matter which one.

      Helpful Items Pack & My Nintendo Bonus Items are not supported, installed DLC is obligatory!


    Sorry for my broken English, I'm still learning. :D
    Thanks to:
    ~AnalogMan151 for SplitNSP (that I slightly modified for this package)
    ~PredatorCZ from XeNTaX forum for Xenoblade 2 script
    ~Aluigi for QuickBMS
    - @Rodrigo Mafra for New method.

    Changelog:
    Code:
    # Modified 2.split.cmd to edit attributes automatically.
    12.02
    # Added New Method
    # Revised Instructions
     

    Attached Files:

    Last edited by masagrator, Feb 12, 2019 at 7:01 PM
  2. bananapi761

    bananapi761 GBAtemp Fan

    Member
    4
    Jan 8, 2016
    United Kingdom
    Norn Iron
    Damn, one of my biggest gripes of the game is fixed now? Thanks! Nice that it has LayeredFS support too!
     
  3. masagrator
    OP

    masagrator GBAtemp Regular

    Member
    3
    Oct 14, 2018
    Poland
    It's not fixed now, but I'm working on it. Config file inside pack is the original one.
    This is for example how game looks like if I disable AA, TMAA (they are both working separately), blur and bump max resolution to 720p (with max downscale to 360p)
    2019012121325500-659B13F48903294AE2B3FA4F12DA9898.
    vs original
    2019012110162300-659B13F48903294AE2B3FA4F12DA9898.
    (no leafs is the result of slow loading, not my settings)
    with max 720p
    with max 540p - more stable framerate
    It looks better on small screen, ofc. Probably the best for people who don't want TMAA.
    I want to enable AA without reconstructing objects.
     
    Last edited by masagrator, Jan 22, 2019
  4. Kirby567fan

    Kirby567fan Member

    Newcomer
    2
    Jan 6, 2018
    Morocco
    Wow thats cool and now with overclock for gpu and memory we can make games like xc2 doom and wolf 2 look gorgeos on that 720p screen. The only problem in some of these games is that they have fixed res or worse quality settings than docked like doom and also xc2. And seeing this makes me really happy and I wish more games will take this same threatment.
     
  5. Raul8

    Raul8 Member

    Newcomer
    2
    Sep 12, 2009
    United States
    Those screenshots actually look pretty good with AA and TMAA disabled. Performance is improved? Can't really test for myself sadly. Another question, adaptive resolution works with that configuration? Or a constant 720p is the goal? Thanks in advance.
     
  6. Sinon

    Sinon "AutumnWolf!"

    Member
    8
    Sep 15, 2015
    Costa Rica
    Is it possible to modify the render distance for things such as grass?
     
    Last edited by Sinon, Jan 29, 2019
  7. masagrator
    OP

    masagrator GBAtemp Regular

    Member
    3
    Oct 14, 2018
    Poland
    @Raul8, FPS barely improved. Maybe it would work better as repacked NSP installed to NAND.
    Yes, Adaptive Resolution is working. Constant 720p is not possible to work without massive drops even for OCed Switch.
    You can try yourself by using settings for 720p and changing
    red_Auto=on
    to
    red_Auto=off
    @Sinon, maybe. Check f.e. the last three settings (but i think it's Density, not distance)
     
    Last edited by masagrator, Jan 29, 2019
  8. Raul8

    Raul8 Member

    Newcomer
    2
    Sep 12, 2009
    United States
    @masagrator you wrote "It's not fixed now, but I'm working on it." How come? Something about the settings changing docked mode also? I have to admit, haven't tried this out yet but I will.
     
  9. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    17
    May 27, 2016
    United States
    New York
    Wonder why this isn't possible for the player to adjust in game like normal games have. :ninja:
     
  10. masagrator
    OP

    masagrator GBAtemp Regular

    Member
    3
    Oct 14, 2018
    Poland
    @Raul8 it WAS "not fixed now", before I added script examples. It's dedicated only for undocked mode, AA and TMAA will be disabled in docked mode too (blur is probably disabled in docked mode from the start. blur=docked, blur2=undocked), so it may look more raw on TV. But if you want to play docked mode, just change with NX-Shell name of "romfs" to f.e. "romfs2" and it will load original files.
    I have less time now for checking new settings, because I'm working on making translation of Octopath Traveler. Priorities. :P
    @Sonic Angel Knight Only Warframe has rich graphic options. They can spend less time on optimizing all settings if option to change them is not added. :D
     
    Last edited by masagrator, Jan 29, 2019
  11. MYFW

    MYFW GBAtemp Regular

    Member
    3
    Apr 1, 2014
    A custom NSP would be awesome.

    PD: Although the work done is already incredible :)
     
    Last edited by MYFW, Jan 29, 2019
  12. Kirby567fan

    Kirby567fan Member

    Newcomer
    2
    Jan 6, 2018
    Morocco
    Any options to change the frame cap just for science?
     
  13. masagrator
    OP

    masagrator GBAtemp Regular

    Member
    3
    Oct 14, 2018
    Poland
    Maybe this
    iblBlendBetweenFrame = 30
    It may be locking to 30 FPS or be just a value to optimize smoothness without locking. I can't see any other candidate.
    From what i saw, game pace is locked to FPS, so unlocking them probably will make time in game run faster.
     
  14. masagrator
    OP

    masagrator GBAtemp Regular

    Member
    3
    Oct 14, 2018
    Poland
    Ok, I found better settings for someone who doesn't like non-AA image.
    I have
    - turned off blur for undocked mode because docked mode has it turned off by default
    - changed TMAA settings for exactly the same as for docked mode (maybe wrong to do it, because undocked has lower resolution)
    - turned off tmaaNewUpScale (this is probably the biggest issue in this sharp look, I'm trying to confirm)

    And now it looks like slightly blurred docked mode & real docked mode shouldn't be altered.
    I have added max 540p and max 720p of them to first post as one of examples.
    Screenshot of max 540p
    2019020820254500-659B13F48903294AE2B3FA4F12DA9898.
     
    Last edited by masagrator, Feb 8, 2019
  15. whateverg1012

    whateverg1012 Fringe Weaver

    Member
    5
    Sep 23, 2016
    United States
    VA-11 Hall-A
    awesome work, finally makes this game enjoyable in portable mode, shame it's so complicated to get this to work though.
     
  16. masagrator
    OP

    masagrator GBAtemp Regular

    Member
    3
    Oct 14, 2018
    Poland
    If someone could make a legal NSP Builder that can create patches, then this would be easier to do. There is no other way to make something that can be shared here (illegal way would be repacking version 2.0.2 with modified bf2.ard to NCA->NSP/XCI and sharing in Warez :P)

    So it was fault of tmaaNewUpScale, but changing Sharpness value to docked mode is better too.
    So this is it. Second example are my final settings.
     
    Last edited by masagrator, Feb 9, 2019
    whateverg1012 likes this.
  17. Kirby567fan

    Kirby567fan Member

    Newcomer
    2
    Jan 6, 2018
    Morocco
    does new versions also update bf2.ard
     
  18. huma_dawii

    huma_dawii GBAtemp Addict

    Member
    9
    Apr 3, 2014
    United States
    Planet Earth
    Hummm I don't know.... xD sounds like I will mess up the game.. will wait for custom XCI xD
     
  19. werneck14

    werneck14 Advanced Member

    Newcomer
    2
    Jan 19, 2017
    Brazil
    What should be CPU and GPU speed on Freebird to be able to play on this setting "Max 720p for undocked mode, Blur turned off, TMAA settings as docked mode, tmaaNewUpScale turned off, only for OC-ed Switch"?
     
  20. Kirby567fan

    Kirby567fan Member

    Newcomer
    2
    Jan 6, 2018
    Morocco
    1020mhz on cpu 768mhz on gpu 1600mhz on ram

    — Posts automatically merged - Please don't double post! —

    in one word docked mode
     
Loading...