Commit Graph

450 Commits

Author SHA1 Message Date
Luke Street 55d720eed2 Add logs in add_controller/remove_controller 2026-06-09 23:33:34 -06:00
Luke Street 9bc79d649c Prune dawn_cache.db entries after loading pipeline cache 2026-06-09 00:19:03 -06:00
Luke Street 6fa2cbb961 Don't report errors/device lost on shutdown 2026-06-08 23:13:56 -06:00
Luke Street cc9aa81ce7 Make DeviceLost fatal 2026-06-08 22:44:59 -06:00
Luke Street 1ebb33f112 Validate texture replacement size before loading
Fixes TwilitRealm/dusklight#1226
2026-06-07 23:48:23 -06:00
Luke Street 2d64481e71 Evict dynamic palette textures in evict_copy_texture 2026-06-07 23:41:44 -06:00
Trevor Anderson 19479a53e4 Use mipmaps from .dds file if present (#198)
* Use mipmaps from .dds file if present

* Don't load mips from disk if they're present in the base file

* Keep mipmap count >= 1

* Remove unintended formatting changes

* Validate DDS mipmap handling

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-06-06 08:12:44 -06:00
Luke Street 45a732e295 Seed pipeline cache from initial DB dynamically (#223) 2026-06-06 07:41:33 -06:00
Ahmad Abdallah 1339faa105 Fix out-of-bounds company code copy in getStatus (#225) 2026-06-06 07:41:04 -06:00
Luke Street b3afea435a Add ASTC DDS support to texture_replacements (#226) 2026-06-06 07:40:41 -06:00
Ahmad Abdallah c31d6dadcb Implement GX_TF_C14X2 conversion (#222) 2026-06-05 00:02:59 -06:00
Luke Street caf21ab92c Fix tests 2026-06-04 23:59:03 -06:00
Luke Street 71d8462557 Introduce render worker & revamp RmlUi backend 2026-06-04 23:43:13 -06:00
Pieter-Jan Briers 04cd3b3ac7 Allow AURORA_GFX_DEBUG_GROUPS to be set from CMake individually (#221)
So that I can do target_compile_definitions(aurora_gx PRIVATE AURORA_GFX_DEBUG_GROUPS) instead of needing to enable DEBUG
2026-06-03 20:57:54 -06:00
Reilly Brogan ad61647a74 Update SDL3 and use zlib-ng (#217)
* Update SDL3 and use zlib-ng

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

* Update Dawn & SDL3 ref

---------

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
Co-authored-by: Luke Street <luke@street.dev>
2026-06-03 20:57:15 -06:00
Ahmad Abdallah 2c1e8ed840 Fix GX_NRM_NBT and GX_NRM_NBT3 vertex attribute handling (#181)
* Fix GX_NRM_NBT and GX_NRM_NBT3 vertex attribute handling

* Fix GX_NRM_NBT3 indexing, add GX_TG_BINRM/GX_TG_TANGENT support

* Add GX_TG_BUMP emboss bump mapping support
2026-06-03 20:52:26 -06:00
Pieter-Jan Briers d7a57eba6b Remove more uses of path.string() (#220) 2026-06-03 20:30:24 -06:00
Luke Street 5a3c6d1b74 Fix incorrect uniform size 2026-06-03 02:17:02 -06:00
Luke Street 77e89e3c8a Fix GX_TL_IA8 conversion 2026-06-03 02:11:40 -06:00
Luke Street 417f558669 Always write texcoord_scale (for now) 2026-06-03 00:56:12 -06:00
Luke Street 59349fb982 Fix Windows build issues 2026-06-02 23:55:23 -06:00
Thomas Ryan fb156d78ca Fix GX indirect tile window rendering (#218)
Co-authored-by: Thomas Ryan <contact@thomasryan.ca>
2026-06-02 10:04:31 -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
Luke Street 839af55c15 Fix BUILD_SHARED_LIBS preservation on reconfigure 2026-05-31 12:49:26 -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