Commit graph

3037 commits

Author SHA1 Message Date
Salvy
6775a94c38 [!] Another try to remove Aidyn hack (doesn't break Rampage this time around..)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@538 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-16 22:01:29 +00:00
Corn
b52161786d [!] Avoid reloading projection matrix to sceGU more than necessary
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@537 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-16 14:58:05 +00:00
Corn
1999882ffa [+] Added bitwise feature hacks to speed up checks and make it easier to have same hack in many games
[+] Donald Duck is a bit more playable with T1 texture hack (same as Rayman2)
[-] Alternative TLUT hack is now a part of bitwise hacks 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@536 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-15 19:52:46 +00:00
Corn
95574409d3 [!] Additional fix to Insert and Force Matrix
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@535 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-15 15:20:13 +00:00
Corn
a86d2c6765 [!] Reworked Insert and Force matrix (speed up for games that uses it and WWF games should work better now)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@534 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-15 13:27:07 +00:00
Corn
97528505f1 [!] some clean up
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@533 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-14 21:59:11 +00:00
Salvy
82592b08ba [!] Optimized DMA_Tri_DKR
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@532 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-14 20:47:36 +00:00
Corn
80a2b9b845 [!] Fixed Debug Dlist text output
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@531 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-13 20:17:02 +00:00
Corn
bafbb49d57 [!] Fixed texture loading regression from rev 529
[!] Fixed Debug Dlist text output

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@530 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-13 16:00:38 +00:00
Salvy
a96d0e9ca0 [!] Tidy up LoadTile/LoadBlock
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@529 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-13 00:07:47 +00:00
Corn
81ee7e2c24 [+] Added VFPU TnL code for DKR billboards (small speed up)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@528 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-11 17:31:54 +00:00
Corn
193e0ba6a0 [!] Increased billboard sizes in DKR
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@527 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-10 21:29:12 +00:00
Corn
2c5fa43b83 [-] Removed old VFPU TnL code
[!] Small optimization in DKR TnL

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@526 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-09 22:33:13 +00:00
Corn
12a01a935b [!] fixed debug dlist compile error
[!] compacted MatrixFromN64FixedPoint code

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@525 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-09 22:06:38 +00:00
Corn
17df2a3c7f [!] load matrix directly to stack to avoid copying data twice (setproject, setmodelview and force_matrix)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@524 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-09 20:46:26 +00:00
Salvy
6447f62275 [~] By mistake broke S2DEX1 name table
[!] Fixed wrong fill colour in Automobili Lamborghini (is not correct since we can't really handle 32b size in fillrect (yet)) 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@523 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-09 20:19:53 +00:00
Salvy
12c3f0454c [!] Use LoadUcode to switch to S2DEX2 to avoid adding overhead to GBI2 ucodes (our ucode cache should handle off any overhead from LoadUcode anyways)
[!] Added detection for S2DEX2 ucodes
[!] Some more optimizations in copying data with vectors (~30 ops)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@522 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-09 19:57:26 +00:00
Corn
b67953e467 [!] Fix debug dlist compile error (tnx salvy)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@521 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-08 21:48:50 +00:00
Corn
2cc220f98e [!] Reuse project matrix stack for DKR matrices
[!] Avoid copying DKR matrix data twice under some circumstances.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@520 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-08 20:36:12 +00:00
Salvy
c28a22c764 [!] Fixed height calculation of video interface (borrowed fix from glide plugin)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@519 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-06 01:06:02 +00:00
Salvy
cd50b4f79d [!} Simplified fillrect even more
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@518 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-05 22:18:27 +00:00
Salvy
58043ed2fc [!] Check earlier if texture is the same as last time around
[!] Some more optimizations in copying data with vectors (~50 ops)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@517 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-04 22:07:26 +00:00
Corn
50cf2ef91b [!] use texture hash check in cache for now (fixes OOT and MM text and other issues in other games)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@516 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-04 09:43:08 +00:00
Salvy
ba5a04adf9 [!] Bring back changes from 450 (Degraded texture cache for S2DEX, need to find a different approach to fix worms, we ain't going to hash palettes just for this game neither..)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@515 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-03 22:45:33 +00:00
Salvy
b3ec15a7bf [!] Update RDP_Combine struct
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@514 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-03 22:33:01 +00:00
Salvy
4d6cddfcd3 [!] Fix clean scene not working properly when games are clearing the screen (PD)
[!] Simplify check to clear screen
[!] Decode fill color even when clearing screen (fixes bug in PD)
[!] Simplify DLParser_FillRect
[!] Load RDP_Combine in one go (saves 2 ops)
[!] Ignore mem0+mem1 blend in fillrect (is cheaper than handling in general blender after all..)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@513 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-03 22:29:43 +00:00
Corn
d37483496c [+] Conker TnL is now done on the VFPU (including ENV map)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@512 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-03 20:52:52 +00:00
Corn
415a8cd389 [+] DKR TnL is now done on the VFPU (speed up)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@511 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-03 17:35:04 +00:00
Corn
ce7ba0a211 [+] Added VFPU code for perfect dark TnL path (speed up)
[!] Fixed copy n paste bug in lighting 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@510 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-02 22:49:18 +00:00
Salvy
a49a68a194 [!] Simplified CombinerTree
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@509 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-02 21:22:22 +00:00
Salvy
14ac722e27 [!] Don't use primitive colour when filling rectangles in 1/2 cycle, just clear to black (was causing issues in MK64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@508 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-02 15:57:27 +00:00
Corn
91d33ecd33 [!] avoid downsizing texel buffer
[!] some optimizations in copying data with vectors
[!] TnLVFPU Passing more data through a struct rather than function parameters


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@507 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-01 20:57:29 +00:00
Salvy
d93c3c2030 [!] Forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@506 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-30 22:19:48 +00:00
Salvy
835ee2b017 [!] Clear color buffer in fillrect (fixes several glitches in many games ex Worms - Armageddon, Superman, Command & Conquer and other games.
[!] Add back check to ignore unnecessary loads to fillrect (Issue breaking the sky in Superman is sorted, we can add this back)
[~] Removed scissoring check in fillrect (no longer needed)
[!] Proper fillrect for 1/2 cycle mode

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@505 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-30 22:14:26 +00:00
Corn
28b84523de [!] VFPU TnL recoded into one function (with optimizations)
[!] Integrate TnL flags into TnL parameters
[!] small fix to texture UpdateIfNecessary
[!] small optimization to convert vertices 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@504 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-30 22:06:40 +00:00
Salvy
51a841546c [~] Reverted a few changes from 450 (was breaking Worms game) (texture update for S2DEX needs to be revised)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@503 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-29 00:18:31 +00:00
Corn
8211f66db3 [!] Fixed a rendering bug from rev 486
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@502 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-27 09:34:22 +00:00
Salvy
a6d40016ca [!] Fixed scaling bug in Sprite2D
[!] Small optimization in RDPHalf1_GoldenEye

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@501 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-27 01:36:41 +00:00
Corn
1030ddb025 [!] small speed up making use of VFPU for converting vertices's to PSP hardware format when clipping tris
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@500 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-26 19:28:39 +00:00
Salvy
67dcc3adba [-] No need for s/t for fillrect as we don't do any texturing
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@499 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-25 10:04:15 +00:00
Salvy
de39e31c8d [!] Texrect, Texrect Flip, and Fillrect now uses 60% less verts (PSP only)
[+] Added STRIP version for texrect as reference for future ports (uses 40% less verts)
[-] Removed annoying assert from fillrect

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@498 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-25 09:55:26 +00:00
Corn
d3ace974bb [!] Optimized TexRect, TexRectFlip and FillRect to avoid copy same data twice and more effective parameter loading
[!] Optimized clipped tris handling to avoid copying unnecessary data thus saving 240 bytes per tris

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@497 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-24 21:58:05 +00:00
Corn
cacf4e0acb [!] removed some redundant variables in PSPRenderer
[!] small fix to audio and made buffers smaller for less delay
[!] add disassemble when BSOD happens (not avail in release mode)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@496 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-24 17:44:56 +00:00
Salvy
2a1d892a37 [!] Forgot one more thing
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@495 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-23 22:36:00 +00:00
Salvy
d831604fbc [-] Final touch up to previous commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@494 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-23 22:21:33 +00:00
Salvy
14731277b1 [-] More more try xD
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@493 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-23 22:15:07 +00:00
Salvy
a5735e0e50 [!] Fixed compiling error from previous commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@492 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-23 21:59:27 +00:00
Salvy
7053c51132 [!] Downsample huge sprite (2045x2047) over 4mbs! that Worms Armageddon tries to load (props to Corn for spotting it)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@491 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-23 21:35:43 +00:00
Salvy
5f68383588 [~] Forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@490 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-23 20:31:08 +00:00
Salvy
efcc46eb8f [!] Some clean ups and made several globals static in DLParser.cpp
[!] Implemented bg1cyc correctly (fixes sprite errors in Worms - Armageddon and other games that use this cmd)
[!] Tidy GBI1/2_Texture

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@489 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-23 20:26:48 +00:00