1. redforge

    OP redforge Member
    Newcomer

    Joined:
    Jun 21, 2019
    Messages:
    13
    Country:
    United States
    Pros
    Run the entire game at a silky-smooth 60fps

    Cons
    For the game to actually hit this framerate, something have to give. In this case, resolution. The included graphics ini sets the docked resolution to 640x504.(Crunchy!) It also changes anti-aliasing and some other settings to recover a bit of detail, but it still looks noticeably worse that the default 720p. UI retains full resolution.

    Here's a comparison, to help judge the difference in quality (Of course, the framerate improvement is not visible in static images)
    Docked mode, 30fps, default settings:
    XCDE_RTX_on.jpg
    Docked mode, 60fps, included settings:
    XCDE_RTX_off.jpg

    I've set up the graphics config to look as good as possible while running consistently keeping up a constant 60fps in docked and handheld modes. The game theoretically has a dynamic resolution, but I haven't been able to trigger it in my testing, and it targets 30fps anyways, so the loss in quality is sadly static.

    If the game fails to hit 60 at any point, it will drop to 30. Game will stay at full speed, but UI will run at half speed. Since the game uses frameskip rather than deltatime, a fully dynamic framerate isn't possible (at least with this method)

    Installation

    Atmosphere is required. (Other CFWs might work if you rename stuff, haven't tested)
    Overclock (SYS-CLK) is highly recommended

    Extract XenobladeDE-60fps.zip to the root of your switch's SD card.
    The atmosphere folder in the zip should be merged with the one on the SD card. Make sure you have the included files in exactly the right place.

    Included files (Delete these to uninstall)
    /atmosphere/contents/0100FF500E34A000/romfs/monolib/shader/lin_nx.ini - Graphics config
    /atmosphere/exefs_patches/xcde_60fps/1EC9082CB52ECAF561EE45BC00FF318E9912232B.ips - Patch to unlock framerate

    Make sure you have the 1.1.1 day-one update. Future updates might break something.

    Recommended Overclock (WILL NOT STAY AT 60FPS WITHOUT THIS)
    TL;DR - This needs as much performance as it can get.
    docked_cpu=1785
    docked_gpu=921
    handheld_cpu=1224
    handheld_gpu=537

    Update
    Upd1: Updated the zip to use Massagrator's updated 60fps patch. Make sure to delete the old patch if updating.

    Credit to theboy181, Kirby567fan and M&M for creating the original Yuzu mod. Thanks to Massagrator for the original graphics mod for XC2.
     

    Attached Files:

    Last edited by redforge, Jun 21, 2020
    toto621, sluggedup226 and themosteve like this.
  2. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    3,158
    Country:
    Poland
    Edit: package above has updated patch.


    You have outdated patch. :P
    This is current patch with fix for UI - it's half speed only when dropping to 30 FPS (found by Kirby567Fan, I have ported it to 1.1.1).

    UI Fix for yuzu uses something that doesn't work in Switch hardware, that's why you got wrong UI speed on Switch.

    For some reason game has double buffer in hardware, but it doesn't exist in yuzu.
    We were trying to find double buffer and delete it before releasing for Switch, but it's harder than we have expected.
    Something similar to disabling double buffer you can get by instant return
    Code:
    grlib::CGLibManager::swap()
    or
    ml::DevGraph::renderSync()
    or by nopping function call in
    Code:
    ml::DevGraphNx::renderSyncSys()
    , but then you have render glitches in 60 FPS vicinity and framerate is less stable if you are further from 60 and 30 FPS. And you are getting slightly different glitches in each case. :P

    That's why we were reluctant to release patch for hardware atm. But well - the damage is done.
     

    Attached Files:

    Last edited by masagrator, Jun 21, 2020
  3. redforge

    OP redforge Member
    Newcomer

    Joined:
    Jun 21, 2019
    Messages:
    13
    Country:
    United States
    Aw shit, if you want me to remove this until you've got a proper patch ready I will. I threw this together as a proof-of-concept, under the impression something more serious wouldn't be made for actual hardware because of the performance issues.

    If not, I'll leave this up and make a new zip with your updated patch.
    Thank you for all your work in the switch modding scene, last thing I want to do is mess you up.
     
    Last edited by redforge, Jun 20, 2020
  4. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    3,158
    Country:
    Poland
    Just update patch. We don't know when we will find real double buffer, so it can stay until we find it.
     
    redforge likes this.
  5. sluggedup226

    sluggedup226 Member
    Newcomer

    Joined:
    Jan 6, 2013
    Messages:
    38
    Country:
    United States
    Could you please make a pchtxt file to use with the yuzu emulator?
     
  6. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    3,158
    Country:
    Poland
    You didn't even checked yuzu page, did you?
     
  7. TheTrueDream42

    TheTrueDream42 GBAtemp Regular
    Member

    Joined:
    Jun 26, 2015
    Messages:
    159
    Country:
    United States
    I'm guessing based on the overclock settings, that the mod shares its settings between both dock and handheld. As someone who only plays in handheld mode, both with or without the charger, can a buffed up version of the mod be made just for handheld mode be made please? Or is this the best we'll get for handheld anyway?
     
  8. sluggedup226

    sluggedup226 Member
    Newcomer

    Joined:
    Jan 6, 2013
    Messages:
    38
    Country:
    United States
    yea i did and according to the date of the file, it's outdated as opposed the date of your updated 1.1.1 fix file
     
  9. PalomPorom

    PalomPorom Advanced Member
    Newcomer

    Joined:
    Jul 11, 2018
    Messages:
    91
    Country:
    United States
    This is cool but it just makes everything blurry for me. What did i do wrong. Does it matter if you have the latest update installed?

    Sent from my toaster running Rebug
     
  10. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    3,158
    Country:
    Poland
    Hard to say...
    ... Read again. My updated file is dedicated to HARDWARE, because currently available for YUZU works as expected. So no - mod for yuzu is not outdated.
     
    PalomPorom likes this.
  11. PalomPorom

    PalomPorom Advanced Member
    Newcomer

    Joined:
    Jul 11, 2018
    Messages:
    91
    Country:
    United States
    Reinstalled 1.1.1 update. It's working now thanks!

    Sent from my toaster running Rebug
     
  12. Gausak

    Gausak Member
    Newcomer

    Joined:
    Jan 27, 2018
    Messages:
    13
    Country:
    Spain
    Nice job! It is a trick to lose so much resolution on the way ... But still, congratulations!

    I will keep waiting to see if someone can increase the resolution somewhat without losing those wonderful 60FPS
     
  13. redforge

    OP redforge Member
    Newcomer

    Joined:
    Jun 21, 2019
    Messages:
    13
    Country:
    United States
    If massagrator figures out what hes trying to do, it will be possible to increase graphics settings (i.e. resolution) with the 60fps patch without causing problems. However, this would not give you 60fps more often, just make the drops to 30 not effect the UI.
    It would be possible to up the res quite a bit while keeping 60fps in less demanding areas like tephra cave, but this is sadly the highest resolution can go while maintaining 60fps on bionis leg. The potential fix wouldn't change this.
    The ideal scenario would be to implement true dynamic frame rate, rather than relying on the game's built-in frameskip. This would let the game drop to, say, 40-50fps in more demanding areas rather than going straight to 30. This would be great, but implementing it would most likely take an insane amount of work and I doubt it will happen.

    It would also be possible to increase the resolution a tad with the current method by disabling effects, but from my testing the slight increase in res would not be worth the massive drop in visual quality. Feel free to mess around with lib_nx.ini, and share any configs you find to your liking.

    Unsure what you are asking. The graphics settings are shared between docked and handheld mode. I've removed the blur and sharpening from handheld mode, so the only differences between docked and handheld in this config are: Dynamic reflections are docked-only, docked mode has slightly better lighting, and handheld runs at a further reduced resolution. Handheld should actually maintain 60fps because of the resolution change.
     
    sorabora likes this.
  14. Solotato

    Solotato Member
    Newcomer

    Joined:
    Jul 25, 2017
    Messages:
    13
    Country:
    United States
    Holy- this made such a noticeable difference it's incredible. Love this mod, thank you!!!!!!!!!!!!!!!!! This is definitely my fav 60fps patch so far <3333333333
     
  15. Niko_of_Death

    Niko_of_Death Advanced Member
    Newcomer

    Joined:
    Aug 10, 2016
    Messages:
    89
    Country:
    United States
    Would it be possible to make a version of this that prevents the gamespeed from dropping when framerate drops to 20fps? I play with static 720p, so lots of scenes cause framerate drops, which I'm fine with, but the way the game handles them is jarring.
     
  16. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    3,158
    Country:
    Poland
    Gamespeed is not dropping anywhere. Only what is tied to framerate is HUD and only this slowdowns.
     
  17. Niko_of_Death

    Niko_of_Death Advanced Member
    Newcomer

    Joined:
    Aug 10, 2016
    Messages:
    89
    Country:
    United States
    Weird, for some reason 20fps (and lower) in DQXI feels way smoother to me than it does in Xenoblade
     
  18. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    3,158
    Country:
    Poland
    Maybe because DX QIS movement is more fluid? :P

    Check Xenoblade 2 or Animal Crossing for real slowdown.
     
  19. Duppex

    Duppex Advanced Member
    Newcomer

    Joined:
    Aug 26, 2016
    Messages:
    61
    Country:
    United Kingdom
    Thanks
     
    Last edited by Duppex, Jul 15, 2020
  20. Gausak

    Gausak Member
    Newcomer

    Joined:
    Jan 27, 2018
    Messages:
    13
    Country:
    Spain
    Any news about this mod? Lossless resolution enhancement of FPS or something similar ...
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Chronicles, Definitive, Xenoblade