Commit graph

940 commits

Author SHA1 Message Date
Salvy
410a4c24a6 [!] Do not render Conker's shadow (even though our generic blendmode does hide it fine, we can save some cycles by not rendering at all)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@620 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-25 23:56:06 +00:00
Corn
45f6ecc182 [!] Additional fixes to T1 hack
[!] Clean up tris culling
[!] Optimization of zero size tris for GE and PD

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@619 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-22 19:39:43 +00:00
Corn
62f9e66462 [!] Fixed T1 hack (textures in Donald Duck and Rayman2 should look very good eg. non blocky)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@618 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-21 20:34:17 +00:00
Salvy
eecd8dd480 [!] Reduced number of ucode cache entries to 6 (Max ucodes I ever seen per game is 4 anyways)
[!] Don't cache ucodes globally, only per game (to avoid hitting max of entries and spreading too far from the first entry)
[!] Revert change to chunk size for ROM cache

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@600 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-28 03:03:03 +00:00
Corn
0c0be70e76 [!] Check for Off screen rendering in Tri1, 2 and 4 is now for CBFD only and skips the whole list at once thus avoiding checking individual tris (small speed up)
[!] If Off screen rendering is true, TnL is skipped for Conker (small speed up)
[~] Small cosmetic change in GUI text (will this break translations?)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@590 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-20 13:26:07 +00:00
Corn
1ed1cc196a [!] Pass values by reference in coordinate translation function
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@571 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-03 12:12:08 +00:00
Salvy
9012a52acf [!] Some optimizations in copying data with vectors in Texrect/Flip (~29 ops)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@570 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-02 23:22:26 +00:00
Corn
9cee33185a [!] Indice buffer is now 256
[!] Clean up among the hacks

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@569 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-02 19:28:24 +00:00
Corn
003bafc95a [!] Ambient light change is now compatible with VFPU TnL code (standard and Perfect dark)
[-] removed old Ambient light from struct

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@568 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-02 15:52:24 +00:00
Salvy
aaa3660f51 [!] Simplified Light Colour (VFPU TnL needs to be updated!!)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@567 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-02 00:39:41 +00:00
Salvy
e2ce6d1d2f [!] Some more optimizations in copying data with vectors (~20 ops)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@566 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-31 01:49:51 +00:00
Corn
db0c96124e [!] Refinements in VFPU TnL code for small speed up
[!] Fixed matrix stack limits to proper values
[!] Save some memory with smaller indices buffers

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@565 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-29 12:51:50 +00:00
Corn
22241a22a7 [!] Fixed matrix alignment (including DKR)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@564 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-28 19:49:47 +00:00
Corn
54f92a52ca [-] Reverted some of the aligned matrix multiplications since for some reason they are unaligned?
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@563 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-28 17:58:39 +00:00
Corn
3e30752f1e [!] avoid concatenation/multiplication of world and projection matrices for CBFD and PD (small speed up)
[!] use aligned loads and saves for matrix multiplication in psprenderer (small speed up)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@562 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-28 16:47:26 +00:00
Salvy
7f7ad04c40 [!] ForceMtx(2) takes two cmds (reduces significantly Dlist size of games that use it)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@561 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-28 02:28:33 +00:00
Salvy
cea2eb445b [!] Parse cheat file when ROM boots if cheat feature is enabled or forced
[!] Forced cheat feature to Pilot Wings and Pokemon Snap (we need cheats for these games to work properly *wink*)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@559 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-22 00:46:14 +00:00
Salvy
7613afcdfd [!] FillRect don't set any colour when not in fill mode (fixes SOTE's text)
[~] Removed SOTE and Wave Racer hacks (no longer needed)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@557 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-21 23:27:59 +00:00
Corn
8cf41c9d99 [+] Hack for SOTE to show text and menus (clean scene has to be enabled)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@556 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-21 20:17:27 +00:00
Corn
c33c2b0a84 [-] Removed forced speed hack since its optional now
[-] Removed forced Loop Opt. off from roms.ini
[+] Brought back Pilotwing 64 hack (since cheat version still has issues)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@555 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-21 15:52:53 +00:00
Salvy
39a80f3859 [!] Keep texture image address in range for Shadow of Empire (game is now playable with some minor issues, is recommended to use a savesatate to get in game)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@553 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-21 01:17:26 +00:00
Corn
fd193ee214 [!] Auto speed adjustment hack for Rayman/Donald duck/Tom and Jerry
[!] Removed some redundant checks for SOTE


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@550 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-20 14:09:13 +00:00
Corn
b0be7be5fa [+] added assert for PSP Dlist overflow
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@547 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-19 21:05:31 +00:00
Corn
0d6fe722c0 [+] Using volatile memory for PSP Dlists (saves 2Mbyte of regular memory)
[!] Reduced the time a texture is cached unless used (should help Phat owners a bit since it saves some texture memory)
[!] Added TLUT hack and disabled Loop Opt. for Star soldier-vanishing earth

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@546 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-19 10:23:03 +00:00
Corn
d736ccbc94 [+] Save more memory using TMEM table with only 64 entries for palette pointers
[+] TLUT hack for Resident Evil 2
[!] Disable Loop Opt for all WWF games 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@544 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-18 12:20:25 +00:00
Salvy
4bda476a23 [!] Added many blendmodes for WWF Wreslemania 2000 (getting closer to be playable)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@542 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-18 00:54:23 +00:00
Corn
d7bbcab7df [!] Small optimization in Dynarec/fragments
[!] Disabled Loop Opt for Donald Duck Going Quackers
[~] Reverted Loop Opt to old code (pre 618)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@541 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-17 19:42:49 +00:00
Corn
0d4d9f126b [!] Fixed TexRectFlip to do proper flip
[-] Reverted alpha to make Aidyn sky show up

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@540 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-17 16:59:23 +00:00
Salvy
8163d80a77 [!] Fixed bug? in FPU rendering (was breaking SSV's shade)
[!] Simplified abit HLE handling

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@539 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-16 22:07:53 +00:00
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