Commit graph

924 commits

Author SHA1 Message Date
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
Corn
a7b4e02fee [!] Force disable loop opt for Rayman2
[!] Removed a forced blend mode that made shadows in Rayman2 invisible
[!] Minor fix to texture scaling to proper match 1.000 scale
[!] Removed extra test for disabling blending

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@488 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-20 16:47:28 +00:00
Salvy
5b4d2610e2 [!] Some clean ups
[!] Removed sanity checks from release mode in WRUS Vtx (it should never happen anyways)
[!] Removed sanity checks from release mode in GBI1 Vtx (Only game that sets this is Quake II which eventually crashes anyways due clipping too many verts)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@487 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-18 20:24:34 +00:00
Corn
32b96decfb [!] Fixed some compile errors and rendering logic
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@486 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-17 19:25:23 +00:00
Salvy
e32107e4b1 [!] Some small optimizations in PSPRenderer
[!] Made debug only sanity checks in GBI0 Vtx
[!] Do not render empty? tris in Tri4 (GE and PD)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@485 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-17 17:42:26 +00:00
Corn
03602ad577 [!] DKR only needs 80 verts array after all (no need for 128)
[!] Updated CPU TnL

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@484 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-11 19:46:31 +00:00
Corn
092dc48a18 [!] Made inline of some functions in PSPRenderer
[!] Made Debug Dlist spam less for cleaner looking output to file

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@483 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-10 18:02:35 +00:00
Corn
a7275ea718 [!] Fixed potential ROM hack bug
[!] Updated S2DEX_ObjLoadTxtr
[~] Trimmed some debug info

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@482 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-10 10:44:26 +00:00
Salvy
9ba611160d [!] Avoid wasting time loading the same texture in S2DEX Obj** (happens quiet often in yoshi, a good example are the white dots that appear around the screen)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@481 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-10 00:14:00 +00:00
Corn
70a064628c [!] Fixed DKR/JFG texture scaling issue
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@480 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-09 21:14:06 +00:00
Corn
bff27b756a [!] Fixed Profiler
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@479 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-08 23:45:02 +00:00
Corn
650c9878eb [!] Rayman 2 textures stretching should work now
[-] Reverted GBI1_EndDL change

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@478 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-08 10:01:53 +00:00
Corn
5ed5cb30e3 [!] Optimized RDPStateManager
[~] Forgot to add ROM hack for RAYMAN 2
 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@477 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-07 20:45:39 +00:00
Corn
349218474f [!] Rayman2 hack (WIP, it still have issues but should be playable now)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@476 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-07 14:35:52 +00:00
Corn
0165eb67ed [!] bail audio mixer when called with bogus values (YOSHI)
[!] small improvement in color adjustment process
[!] call popDL directly instead of endDL if possible
[!] Instruction count should now match in debug dlist with value shown in Dlist length
[!] reworked blend explorer and cleaned up debug info and reordered some code


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@475 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-07 08:42:56 +00:00
Corn
896a905413 [!] Reorganized and optimized MemRect for Yoshi (small speedup)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@474 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-05 09:37:37 +00:00
Salvy
8224c04405 [~] Simplified ObjLoadTxtr abit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@473 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-03 12:52:44 +00:00
Corn
1763c5a10f [!] Optimized Yoshi memrect for a small speed up when moving
[!] Fixed compile warning in S2DEX

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@472 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-03 08:48:48 +00:00
Salvy
d28a06b2a2 [!] forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@471 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-02 22:38:09 +00:00
Salvy
43f8bef707 [+] Implemented S2DEX ObjRectangleR (untested, I can't find any game taht uses it.. but it should work fine)
Note : All S2DEX funcs are now implemented, S2DEX is fully supported :)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@470 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-02 22:21:42 +00:00
Salvy
d8c3faf594 [+] Implemented S2DEX ObjRectangle (Pokemon Puzzle League is now playable) Note : You need a savestate to get in game
[!] Refactor S2DEX codebase (bye bye redundant code)
[!] Several clean ups in S2DEX

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@469 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-02 22:02:36 +00:00
Corn
d6b03e3da5 [!] fixing a blend to make sun rays transparent in XG2
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@468 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-02 19:15:21 +00:00
Corn
6c4d2df0c6 [!] Semi fixed Extreme-G2 with a hack(does not clear zbuffer and uses setprimdepth on geometry)
[!] Made old TMEM implementation compatible with recent changes in S2DEX
[!] Big overhaul on Debug Dlist formating to make it easier to read

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@467 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-02 16:54:45 +00:00
Salvy
4fe409ce11 [+] Implemented S2DEX ObjSprite (Bomberman 64 - The Second Attack! is now playable)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@466 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-01 19:47:34 +00:00
Corn
a6d2c62526 [!] Improved texture check accuracy for Yoshi
[!] small speed up for texture check

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@465 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-31 19:30:51 +00:00
Corn
e4463fa3e0 [!] Fixed broken sprites in Yoshi
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@464 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-31 13:42:21 +00:00
Salvy
821f8d6b63 [!] Optimized Draw2DTextureR and Draw2DTexture
[!] Remove 4:3 viewport fix for S2DEX, no longer needed

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@463 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-28 14:36:37 +00:00
Salvy
2110c9f019 [!] Implemented proper sprite rotation (Fully fixes all the issues I had in Yoshi yay, also animations work now)
[+] Added blendmode for dust in Yoshi

Note : Rendering is now complete for Yoshi \o/
Note(2) : For some reasons one vertice is missing :/, will figure out later..

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@462 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-24 22:50:02 +00:00
Corn
60b11d15af [!] Fix for TUC in OOT and MM
[!] Simplified S2DEX checks in GBI2

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@461 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-23 18:36:24 +00:00
Salvy
da00dc452e [!] Videos, cut scenes etc are now rendered in Neon Evangelion, also fixes crash in intro, as well as several glitches in game.
PS: Rendering is now complete for this game :)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@460 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-22 21:17:35 +00:00
Corn
cfb0a01d12 [~] some clean up in Audio List code
[~] some clean up in PSPrenderer

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@459 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-22 13:30:18 +00:00
Corn
212071ee2f [!] Fix for Yoshi audio (tnx Salvy for tracking it down)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@458 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-21 19:39:33 +00:00
Salvy
3b6bf95c37 [+] Implemented S2DEX ObjLdtxRect (Draws the Intro logo, (cool)command screen and HUD in Neon Evangelion)
[+] Enabled calls to ObjMtx and SubMtx ucode used by Neon Evangelion
[!] ALLOW GBI2 to use S2DEX ObjLdtxRect

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@457 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-21 19:01:13 +00:00
Salvy
2be73b783e [!] Fixed crash in yoshi when pressing R
[!] Fixed 4:3 mode not working in S2DEX

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@456 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-21 16:57:58 +00:00
Salvy
7801a74f4c [+] Implemented S2DEX ObjLdtxSprite (this renders pretty much everything in Yoshi) - Yoshi is now playable \o/
Note : Sprites are inverted, will figure out later

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@455 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-21 06:41:59 +00:00
Salvy
4ed33ab348 [+] Implemented S2DEX ObjMoveMem (Used for sprite rotation)
[+] Implemented S2DEX ObjLdtxRectR (renders text, smoke, and items in Yoshi)
[!] Replace texture->Touch() with texture->UpdateIfNecessary() in S2DEX (Corn)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@454 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-20 17:40:33 +00:00
Corn
d324ee0340 [+] Add correct triangle culling for DKR (speed up)
[+] Blendmodes for DKR car slids and plane streamers

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@453 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-20 13:34:16 +00:00
Corn
6ebe707fc3 [!] proper blend for Mario Kart 64 (see balloons at race start among other things)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@452 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-20 08:17:37 +00:00