Commit Graph

46 Commits

Author SHA1 Message Date
Irastris d2400d661f Update Aurora 2026-04-10 21:16:22 -04:00
Luke Street 7e77577097 Big imgui overhaul 2026-04-09 23:11:10 -06:00
Luke Street 874f600811 Update aurora 2026-04-09 19:26:10 -06:00
TakaRikka b78e5c05b8 a little controller config ui cleanup 2026-04-09 04:09:17 -07:00
Luke Street 12af5b212f Add vsync toggle & honor fullscreen setting 2026-04-06 23:07:48 -06:00
Luke Street 8fac510140 Update aurora & fixes for OS header changes 2026-04-06 21:25:50 -06:00
CraftyBoss 287cd21f71 update aurora 2026-04-06 17:43:23 -07:00
madeline aa54aba07c update aurora sm 2026-04-05 17:05:34 -04:00
PJB3005 6e6f55f1e4 Fix compile by giving WIDESCREEN_SUPPORT a value 2026-04-05 17:03:24 -04:00
madeline 78e7c3ced9 a 2026-04-04 22:22:34 -07:00
madeline 6857c54695 fix .clangd on vscode 2026-04-04 22:22:18 -07:00
TakaRikka 7d41421702 couple of hd qol toggles 2026-04-04 02:37:59 -07:00
Luke Street b8f53c55a5 Copy more imgui stuff from Metaforce 2026-04-03 17:04:22 -06:00
Luke Street cdcb352084 Update aurora & use new frame buffer API 2026-04-02 23:08:00 -06:00
TakaRikka f04a0d2119 add enhancements menu tab 2026-04-02 03:11:58 -07:00
Luke Street 7642d72a52 Allow threads to gracefully shutdown 2026-04-01 18:30:12 -06:00
Irastris 0818add160 Update Aurora 2026-04-01 18:09:40 -04:00
Luke Street f88d483aac Update aurora & increase map resolution 2026-04-01 00:53:08 -06:00
Irastris a5e4dea13d Update Aurora for CARD refactor 2026-03-31 23:31:45 -04:00
Max Roncace 197a764be4 Update Aurora for PAD fixes 2026-03-31 21:27:24 -04:00
Max Roncace f225957f3e Update Aurora for input changes 2026-03-31 18:46:05 -04:00
Lurs b95c4d8c28 Fix also the big map 2026-03-31 13:14:08 +02:00
Luke Street 2ce83d3026 Update GXSetArray usages (fixes & le arg) 2026-03-31 01:06:36 -06:00
Irastris 23a8f30801 Update Aurora submodule 2026-03-30 02:25:52 -04:00
Luke Street f2c0ad8ab2 Update aurora 2026-03-29 15:42:26 -06:00
Luke Street e24de866f0 Update aurora 2026-03-29 15:08:27 -06:00
Irastris 880fc5e2f9 Update Aurora submodule 2026-03-28 19:18:28 -04:00
Lurs 42a0fbbf44 Add toggle for water projection offset. Potentially fixes #77 2026-03-24 11:19:58 +01:00
TakaRikka 929e71975c add cc collider view (broken color) 2026-03-18 01:25:42 -07:00
Luke Street c71d1b4aa6 Update aurora 2026-03-15 23:30:52 -06:00
Max Roncace 1a7860d805 Update Aurora for crash fixes 2026-03-14 18:30:04 -04:00
qwertyquerty 767ba3bb14 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 <2795933+Lurs@users.noreply.github.com>
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
Luke Street 58707afed0 Update aurora w/ custom SDL3 build for Windows (libusb enabled) 2026-03-10 00:53:52 -06:00
Luke Street c42a435b73 Update aurora for prebuilt packages (#44) 2026-03-09 20:40:55 -07:00
Luke Street 746d01e44c Aurora DVD support (#43)
* Aurora DVD support

* Remove commented code

* Restore STUB_LOG
2026-03-09 00:33:04 -07:00
Pieter-Jan Briers b289dece80 26 02 27 pjb dev 2 (#41)
* fix kankyo UB

* Fix TEV Stage DL writing

BE issue

* BE Fixes in materials/shapes

* Move to Aurora GD impl

* JUTDataFileHeader

* j3d: load vertex and texture not through GD

* Endian swap vertex data (mostly)

* Just exit(0) when closing the game

Fix crashes :godo:

* fix fopAcM_ct_placement and remove memcpy

* J3D: track vertex arrays correctly, swap work

* fix visibility, turn off overridden new/delete when we call into aurora

* event: cut name be

* Default window improvements

Double size, allow OS to decide position

* survive TParse::parseHeader_next

* color swap fix

* swap endian/fixes oob function pointer

* Remove GXGetViewportv stub

Aurora has it now

* Set array pointers via GD again

Relies on https://github.com/encounter/aurora/pull/35

* Let Aurora decide graphics backend

* disable procbar drawing

* Fix TColor endianness conversion issues

Fixes the wrong color for the flashing logo

* cam param swap

* simplify vtx loading, mat/amb color fix

* endian swap stb/fvb data

* aurora stat changes

* fix storage buffer crash

dont unnecessarily reassign vertex buffers in a way that forces aurora to recache things

* set bgobj spec fix

* add camera debug, endian swap more stb data, d_a_bg_obj::spec_data_c swapped

* JKRExpHeap: fix bad allocator slowdown

* solid tex

* texture caching

* log level

* fix window aspect ratio, disable bloom, endian swap camera type data

camera is now actually playing opening cutscene!!!!

* add GXDestroyTexObj to a couple stack init'd GXTexObjs, remove some diag printfs

* endian swap joint weight envelope data

* move to dusk config

* verbose arg errors

* better stub logging (for now)

* less logging, more BE

* more stubbing, move logging stuff around

* move all logging to aurora logging

* fix STUB_LOG, __FUNCTION__ isn't a string literal, wasn't building as it
was.

* update aurora

* fix heap alignment mismatch and always head align for now

* prevent them from fucking up my shit

* forward jut warning to DuskLog

* remove report logging

* maybe and i must emphasize maybe fix JMessage parsing

* this was a dumb idea

* preserve negative alignment for JKRHeap

* use normal free on macos and linux

* ^

* fix JMAHermiteInterpolation c impl

* endian swap J2DScreen mColor (oops)

* swap more J3D anim data, remove weird pointer addr check in J3DMaterial getMaterialAnm

* typo fix

* Fix aligned_alloc() size issues on POSIX

aligned_alloc() requires its input size to be a multiple of alignment. This wasn't being upheld so there were allocation failures in init code that made the game fail to start outside Windows.

Also just cleaned up some of this code a bit and removed fallback cases that *shouldn't* get hit.

* _Exit instead of exit()

Seriously I don't want destructors to run. Let the OS reclaim that shit.

* Reapply "Isolate JKRHeap operator overloads" (#39)

This reverts commit 3623b27f37.

* Fix some oopsies

* Fix hardcoded pointer size in JUTCacheFont::allocArray

* More operator overload fixes

Add void template specialization for jkrDelete

Add new[] placement overload. Apparently.

* Fix delete macros on nullptr

TIL C++ allows that.

* fix delete[]

* fix new(std::nothrow) overload

* fix avoid ub

* swap remaining anim data needed for title logo

* get rid of op 7

* move aurora_end_frame to correct spot

* juttexture destroy tex

* j2d animation be

* shutdown crash

* link warp material fix

* mDoExt_3DlineMat1_c fix

* hacky keyboard controls

* endian swap J2DResReference, add kb_pad to files.cmake

* fix some missing endian swaps in J2D, remove addr alignment check

* Remove heap unsetting in aurora calls

Never worked properly and not the right solution even if it did

* Don't print in DC stubs

They're fine to never implement

* Fix alignment stuff again

* Compile GF from dolphin lib

Doesn't seem to break anything and shuts up some stub warnings

* j3dtexture tlut obj fix

* addTexMtxIndexInDL fix

* don't recreate null tex data every frame

* the actual fix i wanted to push

* its kinda fakematch city over here

* insert hte efb copy

* limited window size / viewport support

* IsDelete FIX

---------

Co-authored-by: madeline <qwertytrogi@gmail.com>
Co-authored-by: Jasper St. Pierre <jstpierre@mecheye.net>
Co-authored-by: Jeffrey Crowell <jeff@crowell.biz>
Co-authored-by: TakaRikka <takarikka@outlook.com>
Co-authored-by: CraftyBoss <talibabdulmaalik@gmail.com>
Co-authored-by: Lurs <2795933+Lurs@users.noreply.github.com>
2026-03-08 15:27:15 -07:00
TakaRikka 1aeb04d238 update aurora 2026-03-06 20:25:57 -08:00
PJB3005 9d0c05d3ea Commit Aurora update 2026-03-02 21:45:18 +01:00
Lurs ac411e8489 Bringing aurora to remote origin again 2026-02-23 21:47:34 +01:00
Lurs f710f30702 Added a bunch of Diag functions to diagnose the black screen issue (was a bug in GXGeometry.h). Resumed to old ClearEfb function, no pink screen anymore.
Updated aurora with local changes for TP
2026-02-23 14:33:29 +01:00
Lurs 133842b4c5 Update aurora 2026-02-22 07:18:58 +01:00
Lurs d66e35eefc tests with edited aurora 2026-02-22 07:06:54 +01:00
Lurs 8599684fae First pink screen! 2026-02-21 22:15:39 +01:00
Lurs 97e7a8b145 first try to draw first logo 2026-02-20 21:13:50 +01:00
kipcode66 6677b5d356 Add missing include directories 2025-12-21 22:56:19 -05:00
TakaRikka 2f83d83514 add aurora submodule 2025-11-29 18:05:36 -08:00