Commit Graph

514 Commits

Author SHA1 Message Date
Irastris 0508acaa79 Frame interp: Dreamworks' Turbo (2013) 2026-04-14 21:59:24 -04:00
CraftyBoss ec091ac3af change ANDROID define to TARGET_ANDROID 2026-04-14 03:18:21 -07:00
CraftyBoss 35650784c3 Merge branch 'main' into android-building 2026-04-14 03:17:07 -07:00
CraftyBoss 86c1e21ac1 fix compilation error
GlyphTextures no longer exists
2026-04-14 03:07:47 -07:00
CraftyBoss a2f8fffc8d Merge branch 'main' into android-building 2026-04-14 02:48:24 -07:00
TakaRikka 38cfaae940 Merge pull request #360 from TwilitRealm/26-04-13-font-opts
Text Rendering optimizations
2026-04-14 02:38:59 -07:00
CraftyBoss b7f3dbb8b3 Merge remote-tracking branch 'origin/main' into android-building
# Conflicts:
#	CMakeLists.txt
2026-04-14 01:03:50 -07:00
Irastris d32dc7481e Frame interp: Initial presentation sync implementation 2026-04-14 02:41:11 -04:00
Irastris 8ea0352fed Frame interp: Initial presentation sync implementation 2026-04-14 02:33:44 -04:00
PJB3005 143aa51eb3 Make JUTResFont load all texture data into one texture
Together with the previous change, this enables entire blocks of text to be rendered in one draw call.
2026-04-13 19:09:16 +02:00
PJB3005 18995f3d7c Enable some draw call merging in text rendering
Don't set state between characters if possible.

Next step is page merging so it can do full lines of text at once.
2026-04-13 13:27:21 +02:00
CraftyBoss 5e6d240d0f Merge remote-tracking branch 'origin/main' into android-building 2026-04-13 01:05:16 -07:00
Jasper St. Pierre 9f22f27909 fixes and cleanups for j3d material 2026-04-12 20:14:24 -07:00
CraftyBoss 8cd8d1b90c Merge remote-tracking branch 'origin/main' into android-building 2026-04-12 20:02:23 -07:00
Lurs 6b3728c5ab Let's replace the hack through a hack? Should fix the double swapping of #208 (and maybe more) 2026-04-12 22:39:05 +02:00
Irastris d481a23c49 Frame interp: Refactor JUTFader
Now works regardless of interpolation being on/off
2026-04-12 13:56:00 -04:00
CraftyBoss 75a4fe4429 Merge remote-tracking branch 'origin/main' into android-building 2026-04-12 02:53:05 -07:00
Luke Street 3c281cc988 BE swap J3DMaterialFactory::newIndTexMtx/newFog 2026-04-11 20:13:39 -06:00
Luke Street aafd50cd09 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
PJB3005 14e77aed9c Fix JUTResFont duplicating texture data
I misunderstood the way this code works the first time.
2026-04-11 21:46:14 +02:00
PJB3005 fe46adf3cb Merge branch 'main' into 26-04-11-render-opts 2026-04-11 20:36:46 +02:00
PJB3005 9704f32411 Merge remote-tracking branch 'decomp/main' 2026-04-11 19:59:09 +02:00
Pieter-Jan Briers a0e12c36e7 UB fixes (#3150)
* Fix incorrect size for J2DTevBlock8::insertTexture local_38

* Fix dMeter_drawOptionHIO_c mOptionTypeBGPosX/Y size

* dMeter_drawLightDropHIO_c mVesselAlpha fix

* d_a_mg_rod array size fixes

* Fix e_tk2_class mActionTimer array size

* daObjTOMBO_c field_0x714 array size fix
2026-04-11 11:28:01 -06:00
PJB3005 cffb4b2400 Make J2DPictureEx not draw if zero alpha
Reduces the amount of draw calls from inactive UI elements by a lot.
2026-04-11 16:13:45 +02:00
PJB3005 bcf7b4ca85 Bunch of debug/tracy groups for J2D 2026-04-11 16:11:41 +02:00
Irastris fb9178cac9 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
Pieter-Jan Briers 422ed7afc3 Couple sizeof(CMemBlock)s (#3143) 2026-04-10 23:42:00 -07:00
CraftyBoss 627cf559c9 building for android impl
currently builds a "Metaforce" apk, will need to change name of course. Running the apk using Android Studio's emulator can get in game, however running on a samsung phone does not seem to work.
2026-04-10 03:53:57 -07:00
qwertyquerty 3366c22e99 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
TakaRikka 3d79a3d600 Merge pull request #296 from TwilitRealm/26-04-07-tracy
Add Tracy stuff
2026-04-09 16:05:46 -07:00
TakaRikka 5ae4215e7d Merge pull request #295 from TwilitRealm/26-04-09-jkrdecomp
Fix JKRDecomp crash I caused
2026-04-09 14:26:15 -07:00
PJB3005 4ad00e3f04 Make waitForTick properly sleep
It was spinwaiting 💀
2026-04-09 18:58:44 +02:00
PJB3005 3bcd46dc30 Add Tracy stuff 2026-04-09 18:47:34 +02:00
PJB3005 9d3877e448 Fix JKRDecomp crash I caused
By changing more things :sloggers:
2026-04-09 18:41:27 +02:00
Jeffrey Crowell a94fa51c80 Fix Crash at the end of the Armogohma cutscene #282
zero stack buffers in JASSeqParser::cmdPrintf on PC builds

use AVOID_UB instead of TARGET_PC
2026-04-08 15:39:42 -04:00
madeline c2c5107561 add p1 == 0 logic 2026-04-07 22:15:19 -07:00
madeline 85bebac4ec frame usage debug info 2026-04-07 22:11:50 -07:00
PJB3005 74942f3c76 Fix JUTResFont performance
Just store the GXTexObjs in a separately allocated hashmap, so they can be persisted cross-frame. Easy.

Fixes #227
2026-04-07 21:43:38 +02:00
PJB3005 63ade15e2c 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
madeline f489cc2786 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-04-06 20:36:01 -07:00
madeline 4e12f7bb95 fix basically all known audio bugs fixes #148 fixes #146 fixes #130 2026-04-06 20:35:54 -07:00
Luke Street 8fac510140 Update aurora & fixes for OS header changes 2026-04-06 21:25:50 -06:00
Lurs 4f28c4ed10 double heaps to fix Midna's eye (#106) and various other error messages I got.
Also updating aurora.
2026-04-06 21:18:28 +02:00
madeline 3d5f2474bf turbo keybind tool 2026-04-05 11:47:49 -07:00
Max Roncace 932123bedb Fix compile error in J3DMaterialFactory_v21 2026-04-04 01:41:04 -04:00
Max Roncace 479d444066 Fix a couple more BE issues in J3DMaterialFactory_v21 2026-04-04 01:36:16 -04:00
madeline c869320471 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-04-03 22:33:41 -07:00
madeline 350e99e8ab fix getDopplerPower fixes #213 2026-04-03 22:33:38 -07:00
Max Roncace 5bb36dfb20 Fix crashes when entering Henna's shop 2026-04-04 01:30:24 -04:00
Luke Street e9b96bdd21 Add JKRThread::Run return value 2026-04-01 21:01:59 -06:00