Commit Graph

70 Commits

Author SHA1 Message Date
Max Roncace f2be41355c Reapply settings changes on top of #209 2026-04-05 23:49:31 +02:00
PJB3005 cba63d177b Explanation at top of config.hpp
(config_var.hpp already had one)
2026-04-05 23:13:33 +02:00
PJB3005 1b0ef861ac Merge branch 'main' into 26-04-04-config 2026-04-05 23:08:03 +02:00
madeline 8a9d800384 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-04-05 11:48:20 -07:00
madeline ad50d549a8 turbo keybind tool 2026-04-05 11:47:49 -07:00
Irastris 9a0986535f Use int for audio sliders, show current value (#235) 2026-04-05 12:31:45 -06: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 08038240e0 Merge remote-tracking branch 'origin/main' into 26-04-04-config 2026-04-05 15:13:04 +02:00
TakaRikka 4e91608fe8 Merge pull request #215 from TwilitRealm/reverb-wip
Audio FX reverb proof of concept
2026-04-04 21:38:01 -07:00
MelonSpeedruns 94460a763f Merge branch 'main' into feature/no-low-hp-sound 2026-04-04 21:50:00 -04:00
TakaRikka eaa32f894d Merge pull request #218 from TakaRikka/feature/transform-anywhere
Can transform Anywhere + Refactored checks to see if you can Quick Transform
2026-04-04 15:59:12 -07:00
TakaRikka 5bc6aa1c95 Merge pull request #217 from TakaRikka/feature/no-miss-animation
No Climbing Miss Animation toggle, similar to TPHD
2026-04-04 15:54:57 -07:00
PJB3005 4235a5fddc Merge remote-tracking branch 'origin/main' into 26-04-04-config 2026-04-05 00:12:17 +02:00
PJB3005 ae42e75e1b Implicit conversion operator is probably a good idea tbh. 2026-04-04 23:00:33 +02:00
PJB3005 63422ecdd1 I realize that's an important comment for C++ 2026-04-04 22:49:51 +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
MelonSpeedruns 9f08b7054f No Low HP Sound Enhancement 2026-04-04 14:47:39 -04:00
MelonSpeedruns afbb41bd37 Can transform anywhere + Refactored checks to see if you can Quick Transform 2026-04-04 14:30:42 -04:00
MelonSpeedruns f0d6d2de68 No Climbing Miss Animation toggle, similar to TPHD 2026-04-04 11:59:08 -04:00
MelonSpeedruns cf022a9a55 Non-Stop Midna's Lament Audio Enhancement 2026-04-04 11:36:15 -04:00
TakaRikka c0f553cb12 hd faster tears toggle 2026-04-04 06:02:23 -07:00
TakaRikka 9a1eec4abc quick climbing qol, difficulty options 2026-04-04 03:52:28 -07:00
TakaRikka 6b5d39d94e no sword recoil enhancement 2026-04-04 02:59:53 -07:00
TakaRikka c7ad544b19 couple of hd qol toggles 2026-04-04 02:37:59 -07:00
madeline a0c361c6c9 reverb proof of concept 2026-04-04 01:38:28 -07:00
Max Roncace 50d06229c1 Add tweak to enable/disable TV settings screen 2026-04-04 00:32:17 -04:00
Max Roncace dc558f94df Move hotkey bindings to separate header 2026-04-04 00:16:44 -04:00
Max Roncace 3b895609d3 Refactor Dusk settings out to common interface used by game and UI code 2026-04-04 00:16:44 -04:00
Pieter-Jan Briers 007d787cfd Merge branch 'main' into 26-03-28-movie-player 2026-04-01 15:15:08 +02:00
PJB3005 1146c30ec0 More GX debug groups 2026-04-01 01:11:28 +02:00
PJB3005 bf5032b5fa Merge remote-tracking branch 'origin/main' into 26-03-28-movie-player 2026-03-29 03:16:24 +02:00
PJB3005 c28150be40 Works a lot better now 2026-03-29 00:19:56 +01:00
PJB3005 76131c071f Make the movie player work somewhat.
THPs are *almost* just a bunch of JPEGs so the TL;DR is BE fixes and replacing the decoding with libjpeg-turbo.

Needs changes to thp.h which should be removed from Aurora, will do that later.

Also audio not implemented yet.
2026-03-28 18:29:58 +01:00
TakaRikka adba1a3055 Merge pull request #135 from TakaRikka/pjb-audio
Audio
2026-03-27 20:36:06 -07:00
PJB3005 c9a1f02f55 Fix map loader gameRegions literally being 2.7 MiB of recursive arrays
Just moving it to std::vector, easy enough.
2026-03-27 17:34:05 +01:00
PJB3005 4b30cd7ddb Re-add src == dst check in SafeStringCopyTruncate
Accidentally dropped this while iterating on the exact implementation.
2026-03-27 17:17:45 +01:00
PJB3005 0e1718e80d Do use strncpy in SafeStringCopy
I figured out how to mute the warnings.
2026-03-27 17:16:41 +01:00
PJB3005 0178ab35b3 Add replacement helpers for strncpy[_s]
Portable without vulnerabilities.
2026-03-27 16:54:51 +01:00
PJB3005 6073a0c3f0 Implement master volume & volume interpolation
Does not fix clicking :(

Fixes https://github.com/TakaRikka/dusk/issues/132
Fixes https://github.com/TakaRikka/dusk/issues/128
2026-03-27 14:54:03 +01:00
PJB3005 e2923d3745 Fix shutdown crash 2026-03-26 15:03:48 +01:00
PJB3005 ebebb1af34 Audio system cleanup and comments 2026-03-20 17:51:42 +01:00
PJB3005 dca0964f27 Assign names to threads
Visible in debuggers etc
2026-03-14 14:16:49 +01:00
PJB3005 002a34f18b We have audio!! 2026-03-14 14:03:10 +01:00
PJB3005 0c993fd7ed Basic audio system start 2026-03-14 14:02:13 +01:00
madeline 23b2edafdf enable audio 2026-03-14 13:49:16 +01:00
Max Roncace efa629ca6a Add point selector to map loader (+ other loader UI improvements) 2026-03-14 01:20:27 -04:00
qwertyquerty 6be51c09c5 Ongoing gameplay dev (#49)
* launch.json cwd

* bodge to load gci for testing

* stub card stat

* gameplay bodges

* viewport, ub fixes

* add release with debug info cmake variant

* be fixes, sound stub

* viewport h

* d_msg_flow BE

* be fopAcM_createItemFromEnemyID

* update launch configuration to use iso

* more audio stubs

* Attempt to set viewport and get messages for brightness check

* skip opening scene again, fixed JMessage::TResourceContainer::TCResource::Do_destroy

* add guards for viewport changes

* moar endian swapping to get Link sitting in PROC_OPENING_SCENE and for dialogues

* BE d_msg_class i_data

* stub bgm start

* fix div by 0 error (for now)

* TEMP_BROKEN in d_menu_ring

* REQUIRES_GX_LINES

* properly stub renderingAmap::draw with REQUIRES_GX_LINES

* better stubbing outside of stubs

* fix event data getting swapped multiple times

* evil draw vp fix

* Stub log imgui

This redirects all spammy logs to an imgui window that is cleared per frame.

This fixes the serious performance dip of the logging, and makes the regular log readable.

* Oops move those optimization changes I accidentally committed behind a flag

DUSK_SELECTED_OPT

* gx_line macro in map

* fix audio stubbing

* switch to CARD API aurora impl

* remove kabufuda from link libs

* refactor imgui stuff and add input viewer

* merge stub log with refactor

* accidentally committed a metaforce header shh

* basic map loader

* ImGuiConsole: Add missing <thread> include

* you may now play as luigi (you may now load stages with bridges)

* bloom fix

* bloom leak fix

* cloud shadow fix

* add soft reset button to imgui menu

* if it broke dont not fix it

* i swear i committed this

* BE swap indMtx in JPAResource::setPTev

* wnark ct fix

* frsqrte implementation from kinoko

* Fix Clang compile error in JAISeq::prepare_getSeqData_

* Add endian conversions to dMsgFlow_c::getInitNodeIndex

This fixes a freeze when Fado tries to stop you from leaving the
starting area.

* Add RAII GXTexObj wrapper; fix almost all leaks

* Update aurora for indirect texturing

* Update aurora for CARD fix

* Fix Clang build

* More d_msg_flow endian fixes

Fixes softlock when trying to talk to Fado and possibly other NPCs.

* no frame limiter

* get pause menu working

* proper frame limiting

* particle pointer size fix

* improve map loader a bit

---------

Co-authored-by: Jasper St. Pierre <jstpierre@mecheye.net>
Co-authored-by: TakaRikka <takarikka@outlook.com>
Co-authored-by: CraftyBoss <talibabdulmaalik@gmail.com>
Co-authored-by: Luke Street <luke@street.dev>
Co-authored-by: Lurs <l_werdes@gmx.de>
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
Co-authored-by: tgsm <doodrabbit@hotmail.com>
Co-authored-by: Max Roncace <me@caseif.net>
Co-authored-by: Phillip Stephens <antidote.crk@gmail.com>
2026-03-12 04:01:03 -07:00
Pieter-Jan Briers cb9dd972fd Pjb dev 3 (#48)
* Undo array allocation changes from #43

Doesn't work

* Expand dmeter heap sizes, give names

* Fix manual operator delete call in resource.cpp

* Disable map rendering for now

Aurora can't handle lines

* Re-enable assert heap on DVD thread

Should be fine?

* Some basic debug groups with the new Aurora API

* Allow Aurora backend to be set via CLI

* Give materials debug groups

* More debug groups

* JKRHeap separation: array edition

Pain
2026-03-11 13:40:21 -07:00
Luke Street 3ce7aa3c9f Aurora DVD support (#43)
* Aurora DVD support

* Remove commented code

* Restore STUB_LOG
2026-03-09 00:33:04 -07:00