Thank you so much for these! btw is it possible to add the redone portraits? https://www.nexusmods.com/chronotrigger/mods/10Ok I've fixed the main menu now to properly remove all side elements. And here are all the .py patches re-bundled.
Thank you so much for these! btw is it possible to add the redone portraits? https://www.nexusmods.com/chronotrigger/mods/10Ok I've fixed the main menu now to properly remove all side elements. And here are all the .py patches re-bundled.
Not allowed per the site's rules.can you share your resources.bin?

screen_width_handheld 1280
screen_height_handheld 720
screen_width_docked 2560
screen_height_docked 1440
[config]
screen_width_handheld = 1280
screen_height_handheld = 720
screen_width_docked = 2560
screen_height_docked = 1440
language = en
game_font_path = /switch/ct/ChronoType.ttf
game_font_scale = 0.90
text_shadow_scale = 1.0
text_shadow_alpha = 200
; --- Runtime binary patches ---
cursor_fix = 1
remove_bilinear_filter = 1
remove_mobile_ui = 1
For testing. I've made some more tweaks to improve performance on lower OC. And I've added the ability for it to change resolutions when docking and undocking. Screen width and height parameters are now specific to handheld and docked.
i.e.
Code:screen_width_handheld 1280 screen_height_handheld 720 screen_width_docked 2560 screen_height_docked 1440
I'm getting pretty stable 720p performance at 1581 MHz CPU, 614 MHz GPU, 1331 MHz RAM (which for me personally translates to 7-8 hours of gameplay on battery since the loads are relatively low).
Post automatically merged:
Update: I've migrated to ini format for the config. It will automatically translate your config.txt into a config.ini. And I've now added my 3 patches into ct_nx.nro to be used at runtime.
INI:[config] screen_width_handheld = 1280 screen_height_handheld = 720 screen_width_docked = 2560 screen_height_docked = 1440 language = en game_font_path = /switch/ct/ChronoType.ttf game_font_scale = 0.90 text_shadow_scale = 1.0 text_shadow_alpha = 200 ; --- Runtime binary patches --- cursor_fix = 1 remove_bilinear_filter = 1 remove_mobile_ui = 1
`cursor_fix`, `remove_bilinear_filter`, and `remove_mobile_ui` can be set to a value of 1, and used with the unmodified original libchrono.so. Patches are read and used at runtime, so the .so never gets modified.

This should fix it. Thanks for the heads up.Tested. remove_bilinear_filter is not being applied. It's easy to spot with the text
Many thanks to Nagaa and you for bringing and improving this port!
This should fix it. Thanks for the heads up.
I've also fixed the video scripts. Before at the end of the intro video it would halt on a black frame, then controller input would send keyboard input popping up the keyboard menu. Now the video progresses to after the video properly, returning you back to the main menu, and clicking a button takes you to the main menu as well.

I can confirm its working for me. I visually see the difference with the font with remove bilinear filter on. You need to download the font file i mentioned before if you want to use the custom font (or grab another one, but ensure you are pointing it to the correct path in your config.ini). Can you post your config.ini?I tested this fix and the bilinear filter is still not being removed, I made sure the config file had the remove_bilinear_filter entry set to 1, all I did was put this nro file inside the ct folder which contains the unmodified game files.
Fonts don't seem to be working either, again all I did was add the .ttf file to the ct folder. not sure if I'm missing some steps.
I can confirm its working for me. I visually see the difference with the font with remove bilinear filter on. You need to download the font file i mentioned before if you want to use the custom font (or grab another one, but ensure you are pointing it to the correct path in your config.ini). Can you post your config.ini?
[config]
screen_width_handheld = -1
screen_height_handheld = -1
screen_width_docked = -1
screen_height_docked = -1
language = en
gl_threaded = 1
gl_no_error = 1
game_font = 1
game_font_path = /switch/ct/ChronoType.ttf
game_font_scale = 1
game_font_xscale = 1
text_shadow = 1
text_shadow_alpha = 230
text_shadow_scale = 1
cursor_fix = 1
remove_bilinear_filter = 1
remove_mobile_ui = 1

Not sure... but here is bilinear on (default behavior).
View attachment 580077
vs bilinear off
View attachment 580078

You gotta replace your sprites themselves. Ive set it up now to load .ctp mod packs so you don't have to patch your resources.bin manually. That way users can easily customize everything to their heart's content manually. Just cleaning it up a bit more, then I'll share this version. And you can modify ctp mod packs just by unzipping them, modifying files, then re-zipping them (.ctp is the same as .zip).Nevermind I see the difference now, it is working as intended, my issue was that the character sprites still have some kind of smoothing effect, which I though was also part of the filter, but for that I would need to patch the resources.bin file.