Commit Graph

186 Commits

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

* Fix crash_reporting.cpp

* Update aurora
2026-04-20 20:45:16 -06:00
PJB3005 729d084002 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 7b55ba1eec rich presence 2026-04-20 00:21:09 -07:00
TakaRikka 483d26110d Merge pull request #438 from TwilitRealm/frame-interp-simplify
Frame interp simplify
2026-04-19 14:58:38 -07:00
Jasper St. Pierre f969311459 grass/flower/shadow interp fixes 2026-04-19 10:27:37 -07:00
Pheenoh 3eeae1278e Add pause on unfocus feature 2026-04-19 10:02:55 -06:00
Jasper St. Pierre f39086eabf 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 f5dcea8525 add alternate to interp callbacks, flags on the leafdraw 2026-04-19 02:43:25 -07:00
Jasper St. Pierre 6c56c224c9 frame interp camera cleanups 2026-04-19 02:25:00 -07:00
Jasper St. Pierre 872b1a5dcb water interpolation fix 2026-04-18 22:17:35 -07:00
Luke Street 67fbbf4acc 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 7dba5738b6 Widescreen rework & IR scaling 2026-04-17 23:11:43 -06:00
Irastris ea18075de8 Frame Interp: Game Clock Refactor & Ring Item Selection 2026-04-17 23:24:47 -04:00
Irastris 3f6cad3eb4 Frame Interp: UI Pacing Simplification 2026-04-17 23:24:47 -04:00
Luke Street 03b95503b9 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 2e7e4fbb10 iOS file picker, ImGui drag scroll & more 2026-04-16 23:26:27 -06:00
Irastris 24d66452dd Frame interp: Cap the accumulator 2026-04-16 23:29:13 -04:00
Irastris d5566fd463 Gyro: ROLLGOAL! 2026-04-16 05:17:50 -04:00
Irastris 83a95d64ee 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 d97fbb778b Frame interp: Dreamworks' Turbo (2013) 2026-04-14 21:59:24 -04:00
Luke Street 08105650c5 Create log files under configDir/logs; seed initial pipeline cache 2026-04-14 01:32:58 -06:00
Luke Street c6d58afd94 Integrate Sentry crash reporting for public builds 2026-04-14 00:43:56 -06:00
Irastris 235949e452 Frame interp: Initial presentation sync implementation 2026-04-14 02:41:11 -04:00
Irastris 701986389d Frame interp: Initial presentation sync implementation 2026-04-14 02:33:44 -04:00
Luke Street e2e81c2e72 Hide Win32 console by default, show with --console/DUSK_CONSOLE=1 2026-04-13 20:25:44 -06:00
Irastris cbf24ebd38 Initial implementation of gyro aim 2026-04-12 14:58:16 -04:00
Luke Street 943ac05f16 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 eaec6487a3 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 4ab64e8813 Add Aurora config options for enabling texture replacement and dumping (#222) 2026-04-10 19:14:15 -06:00
Luke Street b0e84b78e1 Avoid re-initializing game_main 2026-04-10 16:46:25 -06:00
Luke Street 1875c7c224 --dvd param skips prelaunch 2026-04-10 16:46:24 -06:00
Luke Street 95191036f3 Big imgui overhaul 2026-04-09 23:11:10 -06:00
CraftyBoss ed7fa8f2c5 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 4328a1bb5d 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 229c8ed88f 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 a2d008ab09 Add Tracy stuff 2026-04-09 18:47:34 +02:00
madeline 7b4d9ce807 frame usage debug info 2026-04-07 22:11:50 -07:00
MelonSpeedruns 3456496ff3 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 393bf7b77a 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 208f2aba9f 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 462001d398 Add vsync toggle & honor fullscreen setting 2026-04-06 23:07:48 -06:00
MelonSpeedruns 96ab109b97 Merge remote-tracking branch 'origin/main' into feature/dynamic-aspect-ratio 2026-04-06 13:16:38 -04:00
Max Roncace f2be41355c Reapply settings changes on top of #209 2026-04-05 23:49:31 +02:00
bdamja d2ce53d5d4 button to restore default window size and position (#234) 2026-04-05 17:04:40 -04:00
PJB3005 8edcfb2052 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 3f652f17d5 appname.hpp -> app_info.hpp 2026-04-05 19:20:10 +02:00
PJB3005 0b04ef6463 Set Aurora config path 2026-04-05 19:03:26 +02:00
PJB3005 4235a5fddc Merge remote-tracking branch 'origin/main' into 26-04-04-config 2026-04-05 00:12:17 +02:00
PJB3005 a00fb1c05c 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