Salvy
047ab425a8
[!] Code clean ups and simplified some things here and there
...
[!] Make DLParser_PopDL static to hint compiler to inline (saves ~20 ops)
[!] Reverted changes to DLParser_GBI2_GeometryMode, only made code less readable and slower (saves ~10 ops)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@410 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 07:18:13 +00:00
Salvy
ea5ee1c7f6
[!] Forgot to sort MoveMem and MoveWord
...
[!] Some clean up, mostly in S2DEX
[!] Reverted changes to DLParser_InitGeometryMode, it only made the code less readable and slower (+10 ops)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@409 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 01:06:48 +00:00
Corn
bbbababc74
[+] Optimized palette loading (bypassing copy to TMEM) for a speed up in some games
...
[+] Old TMEM emulation is a compile option in buildconfig.h
[-] removed redundant texture info in struct
[-] TMEM is not using VRAM (was no speed benefit)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@408 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-22 20:51:06 +00:00
Salvy
32acd8a57b
[!] Sorted all ucodes and moved them to headers to make development easier and make sure cod placement is optimal (Note : More clean ups and sorting are needed)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@407 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-22 15:47:29 +00:00
Corn
e582378269
[!] small optimization for DKR, only load WPmatrix to GE when needed
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@406 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-20 20:35:11 +00:00
Corn
8d3f60889f
[~] Correction to DKR "sprites"
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@405 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-19 20:24:44 +00:00
Corn
a67233ed14
[!] More refinements to DKR "sprites"
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@404 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-18 18:59:41 +00:00
Corn
dc51de4de6
[!] Getting closer to proper rendering of sprites in DKR
...
[!] Simplified DRK TnL pipeline
[!] Fixed debug output of TnL for DKR
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@403 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-18 13:42:22 +00:00
Corn
52040baf61
[!] forgot to change these in last commit
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@402 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-17 14:15:27 +00:00
Corn
e32c8c6db6
[!] Sprites are somewhat improved in DKR (still needs work)
...
[!] Fixed PD boot crash (tnx Bdcanay and Salvy)
[!] Share same global variable for special address in PD, DKR and CBFD
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@401 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-17 12:43:12 +00:00
Salvy
6f8b3a1217
[!] Forgot to update the vertex multiplier table (this was breaking most custom ucodes, sorry!)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@400 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-16 23:26:21 +00:00
Corn
6f4e0e8659
[-] Reverted Texrect since it does not work well with GE after all
...
[!] Reduced MaxUcode to 11 (saves some memory)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@399 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-15 20:31:32 +00:00
Salvy
bafa94cb03
[~] Some code reordering and small clean ups
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@398 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-14 05:05:47 +00:00
Corn
1afb7709bd
[!] Optimized TnL paths for DKR
...
[~] Fixed compile error for enable texture (debug Dlist)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@397 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-13 21:08:30 +00:00
Salvy
faaf063c0b
[!] Unified DKR and JFG ucode tables
...
[!] Simplified DKR/JFG's Vtx ucode
[!] Simplified abit MoveWord_DKR
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@396 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-13 05:58:50 +00:00
Corn
90fb4297f8
[+] Semi fixed missing sprites in DKR (still needs more work, at least now they show up).
...
[!] Optimized the DKR TnL rendering pipeline.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@395 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-12 20:40:49 +00:00
Corn
fa099b1cdf
[!] Fixed texture scaling glitch (and simplified transform pipeline) in Conker.
...
[!] Small change in Vector clipping ASM (scale whole matrix rather than just one vector at the time).
[!] Some clean up in gspmacros and PSPRenderer.
[+] Alternative transform pipeline (using CPU/FPU) for Conker (WIP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@394 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-11 14:11:53 +00:00
Corn
acfae3d956
[!] TEXRECT seems to work fine even in GE when discarding decimal part in coordinates (tnx Salvy)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@393 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-05 21:43:52 +00:00
Corn
b0ee3c6f13
[!] modified/reverted some of the previous commit since it breaks scaling and debug outputs
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@392 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-05 06:33:16 +00:00
Salvy
f0bf5d10ee
[~] Minor optimizations in GFX plugin
...
[!] Don't declare blendmodes as statics since it only makes the binary larger and most games only use a few blends.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@391 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-05 05:42:29 +00:00
Corn
c73d9486dc
[!] Some rendering pipeline fixes and optimizations
...
[!] Changed amount and order of render states
[!] Updated DList debug output
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@390 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-04 16:05:24 +00:00
Salvy
ed35ac70cc
[!] Tidy check to update when rumble is active
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@386 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-30 05:46:02 +00:00
Salvy
fb29b30d2a
[!] Fixed a blendmode for Majora's Mask
...
[-] Removed RDP_EMULATE_TMEM option (It only slowed down and never helped any game, also added more logic to our code)
[!] Avoid setting Tile/TileSize twice
[!] Simplified parameters for SetTile/SetTileSize
[!] Simplified setting pitch tile
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@385 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-29 01:34:19 +00:00
Corn
8720edacfc
[!] Disable Simulate doubles for conker
...
[!] Fixed various debug output for DKR/PD
[!] Optimized standard CPU rendering a bit more
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@380 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-25 08:57:55 +00:00
Corn
99d8e4e922
[!] Some additional fixes to DLParser_Mtx_DKR()
...
[!] Rewrite CPU version of SetNewVertexInfo() to look more consistent(and faster)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@379 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-24 10:37:27 +00:00
Salvy
7a5650f8c0
[!] Optimized and simplified DKR/JFG's Mtx ucode
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@378 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-24 07:00:45 +00:00
bdacanay
4b47da5bdc
[+] Added cheats to most N64 games.
...
[+] Added some blends for DKR
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@377 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-24 00:10:09 +00:00
Corn
72a7cdb108
[!] This time it seems as if BranchZ really works for OOT & MM (more work is needed for proper function in Aerogauge and Penny racers)
...
[!] Remove forced back culling for DKR (use normal)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@375 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-23 18:32:32 +00:00
Corn
e271f5bdf1
[!] Fixed texture loading for JFG and Mickey
...
[!] Some small optimizations to BranchZ/TestVerts/FlushTris/AddTris
[!] Fixed some debug output status texts
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@374 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-23 11:36:25 +00:00
Salvy
18bcf76810
[!] Fixed static in textures in DKR/Mickey/JetForce Gemini
...
[!] Simplified DLInMem (heavily used by DKR)
[!] Fixed bug in ucode cache that was breaking menu in SSV
[+] Added blendmode for Mountains in Majora's Mask (thx chito for reporting it)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@373 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-23 00:53:47 +00:00
Corn
7f4a5de08f
[!] fixed Debug Dlist bug (crash in DKR)
...
[!] Alloc corrected meaning of video memory errors
[!] fixed Debi Dlist menu
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@372 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-22 23:30:41 +00:00
Corn
0a48bc6c6f
[!] some minor tweaks in the rendering pipelines (DKR/PD/conker)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@371 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-22 18:17:31 +00:00
Corn
3874241de6
[!] Updates to PD rendering pipeline
...
[!] Some minor updates (TEXGEN) to other rendering pipelines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@370 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-21 15:16:06 +00:00
Corn
eac7c0bb22
[+] WIP on for rendering PD
...
[!] Some optimizations in the rendering pipelines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@369 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-21 09:43:45 +00:00
Corn
ed42134164
[!] Some additional fixes to DKR/Gemini
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@368 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-20 18:39:56 +00:00
Corn
45edda3f29
[+] Fixes to polygons in Jet Force
...
[+] Fixed polygon clipping DKR/Jet force
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@367 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-20 15:33:06 +00:00
Corn
14191c8711
[+] Worked on DKR(and jetforce) custom ucodes (WIP)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@366 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-20 14:09:27 +00:00
Salvy
6030caf1e2
[!] Add back hack for Aydin, since the assumption I took was breaking Rampage
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@357 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 22:06:42 +00:00
Corn
b8863a3e53
[~] Keep texture in the cache a little longer to avoid swapping textures in and out
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@356 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 21:41:14 +00:00
Salvy
cf95d74258
[!] Simplified alpha test checks
...
[!] Simplified and inline SetMux
[~] Removed hack for Aidyn (no longer needed)
[~] Do not test for GU_GREATER in alpha threshold mode (was breaking Aidym)
[!] Fixed debug build
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@331 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-01 17:18:22 +00:00
Corn
be8c1bbaac
[!] Optimized order for ENV mapping in Conkers SetNewVertexInfo()
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@329 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-31 12:03:12 +00:00
Corn
5f8d49f65b
[!] Clean up SetNewVertexInfo() for Conker
...
[!] Change order for PIF processing in DMA
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@328 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-31 09:58:05 +00:00
Salvy
5e12ac1f7e
[+] Added mem*0 + mem*1 blender (really weird blend.. fixes menu in Wave Racer)
...
[-] Removed wave racer blendmode/hack for menu (no longer needed)
[!] Force disable simulate doubles for Gex64
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@327 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-26 21:16:51 +00:00
Salvy
97206374d5
[+] Added blendmode for Zora's Domain water
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@326 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-26 20:01:01 +00:00
Salvy
41c02edd42
[+] Implemented env mapping for Conker (Using the CPU, we need to port this to the VFPU to avoid slowing down Conker!!)
...
[!] Pass directly gConkerVtxZAddr
[~] Clean ups in Microcode.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@322 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-23 21:55:55 +00:00
bdacanay
89664dbd36
[+] Added a hack to Wave Racer 64 to fix the dangerous menu blend without breaking any other games. Tested and working perfectly. (Thanks corn)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@320 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-14 22:32:15 +00:00
bdacanay
83f497de74
[-] Reverted Wave Racer 64 blend, as it was breaking Super Mario 64 horribly.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@319 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-11 02:11:57 +00:00
bdacanay
8b85fa63d6
[+] Imported Paper Mario blend from old file.
...
[~] Fixed the Conker chainsaw smoke blend
[+] Added a blend to the river in Doubutsu no Mori
[-] Reverted Kirby blend that was breaking Kirby
[+] Added a blend to fix the menu and HUD in Wave Race 64
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@318 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-11 01:41:18 +00:00
Salvy
51c5bdede6
[~] Simplified array for custom ucodes (we only need the ucode and hash anyways)
...
[!] Clean ups in PIF
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@316 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-29 23:30:00 +00:00
Salvy
89dd5e5359
[!] Simplified DMA_PI_CopyFromRDRAM (we only for DOM2/ADDR2 anyways)
...
[!] Simplified WriteValue_Cartridge (Added notes too for games that write to ROM in DOM1/ADDR2..)
[!] Moved RTC READ out of ProcessEeprom to keep code clean, and added an assert for NOP cmds in PIF.
[~] Killed a couple of dead externals
[!] Signed extend DADD/DADDU and also operand in 32bit (fixes Excite Bike and saves 4 ops)
[~] Small clean ups here and there..
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@307 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-17 22:48:30 +00:00