Commit Graph

6828 Commits

Author SHA1 Message Date
roeming 0558bde1e6 Big cast cleanup (#3076)
* Big cast cleanup

* fix for name conflict

* rename header

* rename cast macros

* fix rename mistake

---------

Co-authored-by: roeming <roeming@users.noreply.github.com>
2026-02-20 02:48:29 -08:00
Lurs a4d72437ef OS threading, DVD I/O, Endianness fixes, ARAM emulation, GX vertex fix
Major changes:

- Implement Big-Endian to Little-Endian byte-swapping for all RARC archive
  types (JKRCompArchive, JKRMemArchive, JKRDvdArchive, JKRAramArchive)
- Implement DVD file I/O via DvdEmu (DVDOpen, DVDFastOpen, DVDReadPrio,
  DVDReadAsyncPrio, DVDConvertPathToEntrynum)
- Fix YAZ0 decompression endianness in JKRDvdRipper, JKRDecomp, JKRAram,
  and JKRDvdAramRipper (use JKRDecompExpandSize instead of direct header read)
- Emulate ARAM with 16MB malloc buffer and synchronous memcpy in ARQPostRequest
  instead of hardware DMA transfers that hang on PC
- Add real OS threading implementation (OSContext, OSThread, OSMutex) using
  native Windows threads with side-table pattern for GC struct compatibility
- Fix font endianness for JUTResFont and JUTCacheFont
- Redirect GXVert.h to Aurora's PC implementation to prevent FIFO writes to
  the GameCube hardware address 0xCC008000
- Add Z-buffer texture format support (GX_TF_Z24X8, GX_TF_Z16, GX_TF_Z8)
  in Aurora's texture converter
2026-02-19 10:35:42 +01:00
Max Roncace 979afc7c59 Fix Wii splits for EXI2_GDEV_GCN/main.c (#3102) 2026-02-17 23:04:42 -08:00
Max Roncace 95c3626771 Fix Wii splits for EXI2_GDEV_GCN/main.c (#3102) 2026-02-17 23:04:42 -08:00
Max Roncace ba2700248e d_cursor_mng mostly matching (#3101) 2026-02-17 22:58:52 -08:00
Max Roncace a790efafc5 d_cursor_mng mostly matching (#3101) 2026-02-17 22:58:52 -08:00
Lurs c86a2208d2 first start with aurora after linking on MSVC 2026-02-17 22:28:42 +01:00
Lurs 89ed35ad76 Merge origin/wip/linkfix2 into msvc-linkfix-dev (local dev branch) 2026-02-15 20:36:46 +01:00
Jeffrey Crowell 833db377af call game_main 2026-02-14 16:04:12 -08:00
Jeffrey Crowell 147b4bdb97 now it links (except for no main!) 2026-02-14 15:55:43 -08:00
Jeffrey Crowell 5d359236e1 change ifdef instead of copying function blocks 2026-02-14 00:03:10 -08:00
Max Roncace d118f6446c Link exception.s for Wii/demo versions (#3100) 2026-02-13 15:16:28 -08:00
Max Roncace 34ea82dd28 Link exception.s for Wii/demo versions (#3100) 2026-02-13 15:16:28 -08:00
Max Roncace ca94ab6a92 m_Re_controller_pad mostly matching (#3099)
* Move m_Re_controller_pad to m_Re/

* m_Re_controller_pad mostly matching
2026-02-13 15:15:42 -08:00
Max Roncace 1273e633f2 m_Re_controller_pad mostly matching (#3099)
* Move m_Re_controller_pad to m_Re/

* m_Re_controller_pad mostly matching
2026-02-13 15:15:42 -08:00
Jcw87 6703a5c0ce d_demo debug (#3098) 2026-02-13 15:08:10 -08:00
Jcw87 0b1cb89d69 d_demo debug (#3098) 2026-02-13 15:08:10 -08:00
Jcw87 a6561ebcf1 d_bg_parts debug (#3097) 2026-02-13 15:06:14 -08:00
Jcw87 68f3531c2d d_bg_parts debug (#3097) 2026-02-13 15:06:14 -08:00
Max Roncace 9c154e3509 Add .gitkeep for orig/DZDE01 and add DZDE01 to README (#3092) 2026-02-13 15:05:16 -08:00
Max Roncace 0e58f214e5 Add .gitkeep for orig/DZDE01 and add DZDE01 to README (#3092) 2026-02-13 15:05:16 -08:00
Jeffrey Crowell 8e4af3c742 Merge pull request #8 from TakaRikka/buildinstructions
update build instructions to show how to use configure.py
2026-02-13 14:55:38 -08:00
Lurs 3b742025db Fix MSVC compiler and linker errors
- Fix struct/class forward declaration mismatches (JAIAudience, JASTrack) causing different MSVC mangled names and unresolved symbols
- Add jsystem_stubs.cpp with stubs for JASHeap, JASVoiceBank, J3DShapeTable, JAUSection, JHICommBuf, HIO/HIO2, JOR
2026-02-13 23:28:47 +01:00
Jcw87 75c6f795d0 fix d_a_player regression (#3096) 2026-02-12 01:03:43 -08:00
Jcw87 fd8bfaa398 fix d_a_player regression (#3096) 2026-02-12 01:03:43 -08:00
TakaRikka 43b886a7c9 extract d_a_player l_sightDL (#3095) 2026-02-11 08:00:44 -07:00
TakaRikka 51b8da6ba2 extract d_a_player l_sightDL (#3095) 2026-02-11 08:00:44 -07:00
Jcw87 7a22a1c320 fix compiler warnings (#3094) 2026-02-11 00:14:18 -08:00
Jcw87 a07ec61d66 fix compiler warnings (#3094) 2026-02-11 00:14:18 -08:00
Huitzi 754b265e3b Add doxygen comment format to .clangd (#3093) 2026-02-11 00:13:26 -08:00
Huitzi e537b32c66 Add doxygen comment format to .clangd (#3093) 2026-02-11 00:13:26 -08:00
Max Roncace 7f478b5743 Revolution SDK work (#3091)
* Implement revolution/ax

Copied mostly unchanged from Petari

* Implement revolution/axfx

Copied mostly unchanged from Petari

* Implement revolution/arc

Copied mostly unchanged from Petari

* Implement revolution/mem

Copied mostly unchanged from Petari

* Implement revolution/tpl

Copied verbatim from Petari

* revolution/ipc matching (except small linking issue on ShieldD)

* revolution/pad/Pad matching

Largely copied from Petari with significant modifications

* Fix up ut_TextWriterBase symbols

* Fix homebuttonLib file names in Shield splits
2026-02-11 00:10:40 -08:00
Max Roncace 255705a4cd Revolution SDK work (#3091)
* Implement revolution/ax

Copied mostly unchanged from Petari

* Implement revolution/axfx

Copied mostly unchanged from Petari

* Implement revolution/arc

Copied mostly unchanged from Petari

* Implement revolution/mem

Copied mostly unchanged from Petari

* Implement revolution/tpl

Copied verbatim from Petari

* revolution/ipc matching (except small linking issue on ShieldD)

* revolution/pad/Pad matching

Largely copied from Petari with significant modifications

* Fix up ut_TextWriterBase symbols

* Fix homebuttonLib file names in Shield splits
2026-02-11 00:10:40 -08:00
Jcw87 9250959981 d_a_obj debug (#3089) 2026-02-11 00:06:12 -08:00
Jcw87 b9de3375b4 d_a_obj debug (#3089) 2026-02-11 00:06:12 -08:00
Jcw87 c6b361575e d_jnt_col debug (#3088) 2026-02-11 00:05:16 -08:00
Jcw87 d8a4157b9f d_jnt_col debug (#3088) 2026-02-11 00:05:16 -08:00
Jcw87 25ce57cd32 d_save debug (#3087) 2026-02-11 00:04:54 -08:00
Jcw87 a772c05f4d d_save debug (#3087) 2026-02-11 00:04:54 -08:00
Lurs 292724920c Merge branch 'wip/linkfix2' into wip/linkfix 2026-02-11 07:20:44 +01:00
Jeffrey Crowell bb64517c33 update build instructions to show how to use configure.py 2026-02-07 16:24:21 -08:00
Jeffrey Crowell 5d6aa01e6e Fix linker errors.
Stubbing out all OS* functions to stubs.cpp, these will likely have to
be replaced with the operating system's primitives for
locking/heaps/threads/etc.

Moved some generic globals into globals.cpp, not sure where they're
actually to be used.

Stub DSP functions

Stub JSUMemoryOutputStream, JORServer, Z2Audio

mDoExt stubs

add memcpy

add some more stubs, add extras c++ mangled functions

add extras.cpp

AR/AQ stubbing

stub DVD

stub CARD

more stubs, more extras

add missing mtx functions to dusk file

finish mtx

stub GX

KPAD and LC, also do pragma marks for better visualization

finish mtx, add a few more stubs

gf/wpad/vi

translate some matrix math from ppc to C

jorserver/debugpad/fap/dmsgobject

add m_Do_ext functions from debug block to separate file

make small janges to JSystem, does this need upstreaming

reorg DVD stubs

reorganize stubs by mark
2026-02-07 15:25:09 -08:00
Jcw87 ce8f51cbe2 JParticle debug (#3090) 2026-02-07 04:43:51 -08:00
Jcw87 57cea18076 JParticle debug (#3090) 2026-02-07 04:43:51 -08:00
Max Roncace 38f4e3d9cc Replace ALL_GCN with ALL in configure.py for Dolphin SDK libs (#3086) 2026-02-07 04:35:04 -08:00
Max Roncace 434550355b Replace ALL_GCN with ALL in configure.py for Dolphin SDK libs (#3086) 2026-02-07 04:35:04 -08:00
Max Roncace d7878a0246 revolution/usb matching for Wii+Shield (#3085) 2026-02-07 04:33:54 -08:00
Max Roncace 8609826deb revolution/usb matching for Wii+Shield (#3085) 2026-02-07 04:33:54 -08:00
Max Roncace 1cadf80609 KPAD mostly matching for Wii (#3084) 2026-02-07 04:32:31 -08:00
Max Roncace 6ad0254bbc KPAD mostly matching for Wii (#3084) 2026-02-07 04:32:31 -08:00