Commit Graph

186 Commits

Author SHA1 Message Date
Luke Street d78c46a628 Rework interpolation pacing; interpolate every frame 2026-04-21 22:45:18 -06:00
Luke Street 30a99c22f1 Reorganize ImGui menus (#456)
* Reorganize ImGui menus

* Fix crash_reporting.cpp

* Update aurora
2026-04-20 20:45:16 -06:00
PJB3005 89acf923e0 Fix THP shutdown crash
Cleanly shut down movie player threads on exit.

I'm not 100% fond of having to manually insert a call like this into the shutdown logic, but the other solution is shutting down all processes and that's likely to result in causing more crashes.
2026-04-21 01:11:49 +02:00
madeline e3761784af rich presence 2026-04-20 00:21:09 -07:00
TakaRikka 1cf14f176c Merge pull request #438 from TwilitRealm/frame-interp-simplify
Frame interp simplify
2026-04-19 14:58:38 -07:00
Jasper St. Pierre e470278717 grass/flower/shadow interp fixes 2026-04-19 10:27:37 -07:00
Pheenoh 783230b654 Add pause on unfocus feature 2026-04-19 10:02:55 -06:00
Jasper St. Pierre e5bf7606ec run d_a_bg::draw on interp frames
to set up lights. this is a somewhat hacky workaround for lighting setup, but it might be good enough?
2026-04-19 03:19:44 -07:00
Jasper St. Pierre aa377cd5c1 add alternate to interp callbacks, flags on the leafdraw 2026-04-19 02:43:25 -07:00
Jasper St. Pierre bb9a88d7dc frame interp camera cleanups 2026-04-19 02:25:00 -07:00
Jasper St. Pierre b3f8fecfe4 water interpolation fix 2026-04-18 22:17:35 -07:00
Luke Street 2ec6f65572 Merge remote-tracking branch 'refs/remotes/origin/main' into unhackify-widescreen
# Conflicts:
#	src/m_Do/m_Do_main.cpp
2026-04-17 23:12:58 -06:00
Luke Street 5c20f527ac Widescreen rework & IR scaling 2026-04-17 23:11:43 -06:00
Irastris 3a538d45cf Frame Interp: Game Clock Refactor & Ring Item Selection 2026-04-17 23:24:47 -04:00
Irastris 59d2014fb9 Frame Interp: UI Pacing Simplification 2026-04-17 23:24:47 -04:00
Luke Street f293281eb2 Merge pull request #408 from TwilitRealm/ci-2
macOS CI, iOS file picker, icons, safe area avoidance

Resolves #382
2026-04-17 00:00:34 -06:00
Luke Street 8ba1133e34 iOS file picker, ImGui drag scroll & more 2026-04-16 23:26:27 -06:00
Irastris 363788accd Frame interp: Cap the accumulator 2026-04-16 23:29:13 -04:00
Irastris 3db0281088 Gyro: ROLLGOAL! 2026-04-16 05:17:50 -04:00
Irastris 433f058aea Frame interp: Revised camera system
FOV is now smooth, and the individual hacks for stars and Epona's reins are removed
2026-04-16 00:04:32 -04:00
Irastris 0508acaa79 Frame interp: Dreamworks' Turbo (2013) 2026-04-14 21:59:24 -04:00
Luke Street 27d95c37d5 Create log files under configDir/logs; seed initial pipeline cache 2026-04-14 01:32:58 -06:00
Luke Street 4b8248b130 Integrate Sentry crash reporting for public builds 2026-04-14 00:43:56 -06:00
Irastris d32dc7481e Frame interp: Initial presentation sync implementation 2026-04-14 02:41:11 -04:00
Irastris 8ea0352fed Frame interp: Initial presentation sync implementation 2026-04-14 02:33:44 -04:00
Luke Street b5d2ded2ca Hide Win32 console by default, show with --console/DUSK_CONSOLE=1 2026-04-13 20:25:44 -06:00
Irastris b5bb6bf53a Initial implementation of gyro aim 2026-04-12 14:58:16 -04:00
Luke Street aafd50cd09 Use Limiter class in waitForTick (#330)
This uses the existing `Limiter` class (stolen from Metaforce) in `JFWDisplay::waitForTick`.
The limiter also now uses `SDL_DelayPrecise` internally on non-Windows platforms.
On Windows, the existing `NanoSleep` logic is untouched, as it appears to provide a
more stable framerate for the folks testing it on Windows than `SDL_DelayPrecise` does.
On Linux, however, `SDL_DelayPrecise` is plenty accurate.
2026-04-11 17:50:52 -06:00
Irastris fb9178cac9 Implement unlocked framerates via interpolation (#315)
* Disable waitForTick and waitBlanking

* Initial frame interpolation implementation

* Initial batch of speed fixes

* Fix Iron Boots

* Strip dead code once used for debugging

* Interpolate shadows

* Revert overzealous/redundant lookups

* Fix JUTFader

* Fix field map cursor

* Fix various particle effects

* Fix Midna when riding Wolf Link

* Fix title logo

* Title Logo 2: Electric Boogaloo

* Fixed grass and flowers

* "Unlock Framerate" config option (WIP)

* Wrap more things in TARGET_PC

* Finish wrapping things in TARGET_PC

* Missed one

* Disable dComIfGd_drawXluListInvisible when interpolating

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-11 01:06:25 -06:00
Irastris 8487a4151d Add Aurora config options for enabling texture replacement and dumping (#222) 2026-04-10 19:14:15 -06:00
Luke Street ce727b71fb Avoid re-initializing game_main 2026-04-10 16:46:25 -06:00
Luke Street 6deee934b5 --dvd param skips prelaunch 2026-04-10 16:46:24 -06:00
Luke Street 7e77577097 Big imgui overhaul 2026-04-09 23:11:10 -06:00
CraftyBoss 300ed931e3 implement pre-launch ui for configuring iso directory (#301)
UI will automatically open on boot and will not launch the game if there is no valid iso path specified in the config. Can optionally be disabled on future game launches.
2026-04-09 23:06:37 -06:00
Pieter-Jan Briers ccb912785b Set default PAD mapping to fix Z (#297)
* Set default PAD mapping to fix Z

Requires https://github.com/encounter/aurora/pull/111

* Update to new API
2026-04-09 19:24:25 -06:00
qwertyquerty 3366c22e99 CI/CD, CMake improvements, more targets, fix gcc (#258)
* CI attempt

* syntax

* fix cmake for linux

* fix include directories and merge main

* fix PDB fighting

* fix gcc compiling

* fix SSCACHE for windows

* try and fix gcc

* more CI presets

* remove the android target for now

* bump cmake minimum to fix debug information format

* yet another attempt at fixing gcc

* yet another attempt at fixing gcc

* better CI matrixing

* yet another attempt at fixing GCC

* fix arm

* fix CI

* placeholder icons

* compile dawn from source for windows arm64

* fix icons and linker warnings

* fix cmake

* fetch libjpegturbo

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-09 19:22:53 -06:00
PJB3005 3bcd46dc30 Add Tracy stuff 2026-04-09 18:47:34 +02:00
madeline 85bebac4ec frame usage debug info 2026-04-07 22:11:50 -07:00
MelonSpeedruns 7eddc36e23 Merge remote-tracking branch 'origin/main' into 26-04-05-locked-aspect-ratio
# Conflicts:
#	include/dusk/settings.h
#	src/dusk/settings.cpp
#	src/m_Do/m_Do_main.cpp
2026-04-07 18:20:45 -04:00
PJB3005 8f77ca72b1 Fix Aurora draw call display in performance overlay
It was getting reset at the start of the frame... Just cache the values.
2026-04-07 22:17:48 +02:00
PJB3005 63ade15e2c Cleanly shut down JKRDecomp thread
Properly join the thread to ensure it's shut down before we try to exit.

Fixes #268
2026-04-07 20:06:52 +02:00
Luke Street 12af5b212f Add vsync toggle & honor fullscreen setting 2026-04-06 23:07:48 -06:00
MelonSpeedruns c0024b28b1 Merge remote-tracking branch 'origin/main' into feature/dynamic-aspect-ratio 2026-04-06 13:16:38 -04:00
Max Roncace b098577ab9 Reapply settings changes on top of #209 2026-04-05 23:49:31 +02:00
bdamja 1430f690e0 button to restore default window size and position (#234) 2026-04-05 17:04:40 -04:00
PJB3005 4311f91c37 Add "lock aspect ratio" setting
Uses new Aurora functionality: https://github.com/encounter/aurora/pull/97

Fixes #138
2026-04-05 22:46:38 +02:00
PJB3005 49412fae51 appname.hpp -> app_info.hpp 2026-04-05 19:20:10 +02:00
PJB3005 f732eccf6c Set Aurora config path 2026-04-05 19:03:26 +02:00
PJB3005 0bb9ff5ef3 Merge remote-tracking branch 'origin/main' into 26-04-04-config 2026-04-05 00:12:17 +02:00
PJB3005 824263fa6e Config system v1
Roughly inspired by what I've learned from my work on Space Station 14, without some of the unnecessary cruft and complexity.

Implementation is relatively simple once I figured out all the template order shenanigans.
2026-04-04 22:47:48 +02:00