Commit Graph

65 Commits

Author SHA1 Message Date
Luke Street 4c374906d2 Fix build w/ Tracy & delay frame start for frame pacing 2026-06-14 17:10:50 -06:00
Luke Street b59a3a5b3c Implement DVD worker thread 2026-06-14 00:59:53 -06:00
Luke Street 6a3d46e696 Patch SDL3 for combined joycons regression 2026-06-14 00:14:27 -06:00
Luke Street 0c68e0b4e8 Turns out I actually wanted DOWNLOAD_EXTRACT_TIMESTAMP FALSE 2026-06-13 10:44:34 -06:00
Luke Street ad55eedb31 GPU profiling & Dawn trace integration with Tracy 2026-06-13 10:39:24 -06:00
Luke Street 55b993e08e Add aurora::gx::dl reader & optimizer 2026-06-13 10:15:47 -06:00
Luke Street b3afea435a Add ASTC DDS support to texture_replacements (#226) 2026-06-06 07:40:41 -06:00
Luke Street 71d8462557 Introduce render worker & revamp RmlUi backend 2026-06-04 23:43:13 -06:00
Reilly Brogan 49e61d7dad Search for system installs of sqlite3 and zstd (#215)
* Search for system installs of sqlite3 and zstd

This appears to work to build Aurora against both cmake and autoconf installs of libzstd.

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>

* Fix sqlite3 compat with older cmake

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>

---------

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
2026-05-31 13:50:37 -06:00
Pieter-Jan Briers 7dd107e1a4 DVD file overlay support (#216)
* DVD file overlay support

Fixes #163

Basically allows games to "overlay" a set of file paths over the DVD. These are provided as a flat list of absolute paths, and when an overlayed file is read, the game gets the ability to provide its own read/seek callbacks.

The current implementation rebuilds the FST. This means EntryNums will not be consistent with the original disc, but it does avoid rewriting a significant chunk of the existing DVD code that relies on the FST.

* Comments and a guard

* EntryNum handling rewrite

Game now assigns entrynums for added files, and original disc entrynums are preserved.

* Split FST logic into another file in dvd lib

* Fix overlay userdata 0

Dusklight was using integer indexes for the userdata of overlay files. This meant file 0 was a null void*, and that meant the DVD code didn't treat it as an overlaid file.

Add an extra bool to avoid getting confused like this.

* Make entryNum only validated if not replacing file

* Make FST rebuilds thread safe with concurrent readers

Since I kinda would like to eventually allow mods to be loaded without game restart (where practical)

* Doc updates

* Remove debug logs

* Aurora-allocated entry nums & dir support

* Add warning for resetting cwd

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-05-30 13:16:42 -06:00
Luke Street 9975a16f12 RmlUi: Add RuntimeTextureProvider 2026-05-27 22:56:27 -06:00
Luke Street 498979df24 Add device haptics & gyro; virtual PADStatus API 2026-05-27 22:56:00 -06:00
Luke Street cb2c340d6c Fix hardcoded paths in prebuilt Dawn Android package 2026-05-24 22:18:03 -06:00
Luke Street a3263b4733 Update SDL3 2026-05-24 16:24:25 -06:00
Luke Street 924a88cb1e Fix nod provider package logic 2026-05-23 17:09:22 -06:00
Luke Street db9923749f Adjust provider arch detection for CMAKE_OSX_ARCHITECTURES 2026-05-23 16:54:15 -06:00
Luke Street c954d044ef Use NO_CMAKE_FIND_ROOT_PATH for package providers 2026-05-23 16:24:54 -06:00
Luke Street 1fd905e742 Fix Dawn provider logic 2026-05-23 16:13:44 -06:00
Luke Street 66b185c831 Update Dawn version & config 2026-05-23 15:16:46 -06:00
Luke Street 10006618ee Enable OpenGL ES on Android 2026-05-17 21:50:20 -04:00
Loïs 40913d532e Weak-link Metal framework to fix macOS 14 launch crash (#187)
Co-authored-by: Luke Street <luke@street.dev>
2026-05-14 23:21:37 -06:00
Pieter-Jan Briers f7f3d52cfc Texture loading fixes (#170)
* Implement PNG & arb texture replacements

Fixes #119

For arb textures it's just making sure the file parsing can handle them. Idk if we need to do something special for it.

* Allow non-mipmapped textures to be replaced by mipmapped textures

Some of Henriko's textures (like the cuttable grass) rely on this.

The mipmap bool is no longer part of the runtime key.

* Make texture name the texture replacement key

Might as well? Helped me debug some stuff

* Oops that broke it bad

* libpng instead of spng

* I did it again

* Update libpng fetch

* Add zlib fetch

* Forgot to set the hash

* Add zlib redirect

* Add INCLUDE_DIR(S) to redirect

* Prefer shared for libpng

* Set CMAKE_FIND_PACKAGE_TARGETS_GLOBAL

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-05-12 20:32:43 -06:00
Pieter-Jan Briers 974d11dfe7 Log basic system information on startup (#178)
* Log various system information on startup

CPU model, memory, that kinda stuff.

* Use WRL ComPtr<T>

* Use DXGI to list GPUs on Windows

* Compile fix oops

* macOS system info

* Linux impl

* Add comment linking to the microsoft example I used

* How did this compile before?
2026-05-12 14:09:44 -06:00
Luke Street a548a616b4 RmlUi: Accuracy, performance & MSAA 2026-05-07 17:19:12 -06:00
Luke Street 552be91d68 Fix SDL_Renderer scaling & surface format selection 2026-05-06 16:35:54 -06:00