Commit graph

936 commits

Author SHA1 Message Date
Salvy
3b54c04239 [!] undef EXPERIMENTAL_INTERRUPTS
[+] Check viewport etc only when is changed (ex: user changed it in menu)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@195 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-21 06:44:51 +00:00
Corn
f60df4e34e [!] Corrected a lightning bug (I introduced earlier)
[!] Env mapping is now done (very fast) in the VFPU
[~] Move some defines

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@194 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-20 19:34:18 +00:00
Corn
971e6d3bc3 [-] Reverted modifyVTX change (always better to bail as soon as possible)
[+] Optimized ENV mapping (uses VFPU for the normals and CPU for Acos())
[+] some commenting and reordering

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@193 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-19 11:43:21 +00:00
Salvy
232870884a [+] Add back disable simulate doubles entry in roms.ini for Mario Party (not sure who removed it)
[~} Small typo from last commit

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@192 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-19 07:22:25 +00:00
Salvy
758fc03993 [!] Removed old ucode cache (no longer used anyways)
[!] Simplified both ucode detector and cache
[!] Simplified ModifyVtx

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@191 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-19 07:19:58 +00:00
Corn
59b8c18741 [-] Removed SM64 star hack (no longer needed)
[+] Made it easy to switch between CPU&FPU vs VFPU vertice transformation
[+] Added correct env mapping for textures to VFPU and CPU/FPU (needs more work to fully integrate) (tnx Salvy for spotting the issue)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@190 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-17 18:07:23 +00:00
Salvy
8fbfdbdbb5 [!] Simplified CRC hash
[!] Zelda sun hack works for OOT as well

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@188 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-15 07:06:45 +00:00
Salvy
fea04adac7 [!] Force struct alignment for our ucodedefs (Gives better code)
[!] Added ucodedef for SetPrimDepth (thx corn for pointing out we need low 15bits for it)
[!] Simplified SetColor struct

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@187 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-14 20:59:29 +00:00
Corn
bed33d8322 [~] Some cleaning and commenting
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@186 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-13 14:44:52 +00:00
Salvy
a7779e045e [!] Added a hack to fix the sun in Zelda (still needs abit of work though with the height)
[~] Temporally disabled check to wrap certain textures (was breaking the sun and other textures in Zelda, and Mario's hat in SSB) (Note: We need to make that check more robust if disabled the castle in Link's stage in SSB is broken..)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@185 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-13 01:09:34 +00:00
Salvy
8589112152 [!] Replaced swizzle_fast with Raphael's version (Corn)
[~] Code clean ups
[~} Removed usage of pspFpuMin/pspFpuMax
[!] Proper fix for width issues in Lode Runner (removed hack I had for it too)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@184 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-12 12:41:42 +00:00
Corn
847867fce2 [!] Some clean up in graphics and audio
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@183 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-12 11:08:54 +00:00
Salvy
0b6e2bf05f [!] Make sure we set MI_MODE_REG and MI_INTR_MASK_REG registers every time.
[+] Added hack for Aidyn's sky (dunno what up here..breaks completely our logic with alpha threshold..)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@182 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-10 21:30:09 +00:00
Corn
0a546dcb0d [!] Improved hack for Wonder project J2 with a speed up (require setting texture check to 4 or so)
[!] Moved clean scene to BeginFrame()
[-] Removed residual fraction calculation in Insert matrix
[!] Corrected a few warnings

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@179 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-08 21:39:51 +00:00
Salvy
96b873b4a5 [!] Fixed trees in Dream Land (SSB) (no need to add fraction in integer part)
[!] Added blendmodes for Command & Conquer
[~] Moved more debug code out of RenderUsingCurrentBlendMode

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@178 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-07 19:09:38 +00:00
Salvy
306e9069d7 [!] Fixed nasty texture to work along blendmode maker in Combiner Explorer (just press triangle to use it)
[~] Do not force magenta as default for blender explorer (just use nasty texture now)
[~] Removed Rice's Alpha test checks (wasn't used anyways)
[~] Moved code used for nasty texture and blend explorer out of RenderUsingCurrentBlendMode (to maintain code clean)



git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@177 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-07 02:38:05 +00:00
Corn
ba1aa603e7 [!] Force Zbuffer hack for Fzero X, Ridge racer 64 and Wipe out 64 no longer needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@176 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-06 17:35:40 +00:00
bdacanay
4d72110135 [+] Added some comments about conflicting blends
[+] Added a THPS blend for the text
[~] Fixed the Espona horse dust blend by adding it from the old blend file (corn)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@174 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-05 07:47:28 +00:00
Salvy
7e6b2f8e4b [!] Removed Conker shadow hack (no longer needed, generic blendmode takes care of the shadow)
[~] Commented it out ZScreen (doesn't do anything anyways)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@172 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-04 22:02:08 +00:00
Salvy
71525b1b12 [!] Leveraged comparing ints with floats in DLParser_GBI1_Sprite2DDraw (chops down 38 ops) (needs more work)
[~] Inlined Audio_Ucode_Detect (I reverted it by error)
[!] Add SVN # to about menu (we'll change it back once we get close to release)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@169 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-04 20:04:05 +00:00
Salvy
222f265b39 [!] Commented out a couple of dead variables in DMA.cpp
[!] Added a blender for Conker's experiment
[+] Added experimental check odd len sp (debug only atm)



git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@167 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-03 21:11:06 +00:00
Corn
ece59d5163 [!] Optimized loading vector planes for clipping
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@165 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-03 20:14:41 +00:00
Corn
2407a23131 [!] Optimized Proj matrix sceGU load a bit more
[+] Optimized Bcopy() and MEMCPY_TEST() OSHLE patches
[!] Reverted check that made OOT bug (thnx salvy)
[-] removed unused copy of memcpy_vfpu()

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@164 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-03 19:58:59 +00:00
Salvy
43070d629b [!] Simplified Sprite2D
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@163 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-03 07:52:51 +00:00
Corn
ff05220d58 [+] Only reaload Project matrix to sceGU if its updated
[!] fix/speed up bzero patch

Note: This build happens to be very fast

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@162 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-02 22:56:13 +00:00
bdacanay
8f6e93244d [+] Added a single blend for Mega Man 64 that fixes multiple incorrect blends
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@161 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-01 20:34:12 +00:00
Corn
00e1ae782b [!] removed some blender text spam in DAEDALUS_PUBLIC_RELEASE mode
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@160 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-26 21:02:22 +00:00
Salvy
4d279b0a88 [!] Tagging as Beta 3
[!] Fixed debug build
[!] Fixed two bad blendmodes
[+] Added blender for mountains in Wipeout
[+] Enabled depth hack for Wipeout (fixes depth issues)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@154 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-25 02:42:22 +00:00
Corn
3c76699db9 [!] Fixed missed correction for custom DLParser_TexRect_Last_Legion()
[!] Fixed color warning from Bdacanay 
[!] some small cleanup

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@152 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-24 18:21:41 +00:00
Corn
f0403262a2 [!] consolidated gRDPOtherMode variables to just one struct
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@150 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-23 21:23:33 +00:00
Corn
e3ee40ec52 [!] RDP_OtherMode fix this is still needed for proper rendering/blending(MM shadow, Zfight OOT/MM + others, WIP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@149 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-23 20:46:27 +00:00
bdacanay
66f4b54549 [~] Fixed a Conker blend
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@148 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-23 06:33:19 +00:00
Salvy
398dd33ca7 [!] Fixed shadows, Mask logo, and Sky in MM
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@147 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-23 02:28:52 +00:00
Salvy
fcbec7a22f [~] Patch_bzero use old Daedalus7 implementation (slower, otherwise Chameleon Twist 2 won't work :/)
[~] Removed Check N64 FP Usage option (no longer needed)
[~] Replaced update screen option with a hack (is only needed for CT2)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@143 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-19 02:41:03 +00:00
Corn
a25e5cc364 [+] Added more warnings to options
[!] moved copy/fill logic from PSPrenderer to DLparser
[!] Fixed logic/compile warning from previous rev

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@142 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-16 21:58:08 +00:00
Corn
5ca661e29b [!] Scissor fix (might need more work)
[!] Some changes in options texts

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@140 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-14 21:55:11 +00:00
Corn
6a0971c195 [-] Reverted UpdateFrame() change
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@136 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 20:18:47 +00:00
Corn
63846c5556 [+] Auto FS 1 & 2 works now
[!] improved wonder project hack
[!] improved Zfight logic

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@135 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 17:36:05 +00:00
Corn
92326a1af9 [!] improved wonder project hack performance (only reload relevant textures)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@134 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 12:58:34 +00:00
Corn
87eafa8bce [-] Revert Salvys Clean scene change in DLparser
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@133 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 11:27:08 +00:00
Corn
53cf5ef65b [!] fix compile issue in prev rev
[!] added hack for Wonder Project J2 (should show text properly now)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@132 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 11:15:52 +00:00
Salvy
98cefac7dc [~] Do not force saving when entering pause menu (Note : more testings is needed to make sure savings didn't get broken!!)
[~] Simplify our dialogs abit
[~] Separate UpdateFrame for GUI (more clean ups are needed though)
[!] Use ClearZbuffer for clean scene
[~] Made exception handler release only (breaks gdb in debug builds)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@130 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 07:00:52 +00:00
Corn
5205f89355 [!] Possible fix/hack for SM64 stars blend
[!] Calling proper function for clearing Zbuffer(also adding proper cast for passed variable)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@129 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-12 23:12:34 +00:00
Corn
a9796365f6 [!] Fix some blends that broke RR64 (and others?)
[!] Unified Blend debug output text
[!] Reworked Zbuffer enable/disable in PSPrenderer


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@128 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-12 09:52:38 +00:00
bdacanay
018e2f0500 [+] Added lots of Pokemon Stadium 2 blends
[+] Added one Doubutsu no Mori blend
[~] Cleaned up some minor things in the blend file to keep it looking clean

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@127 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-11 20:49:16 +00:00
Corn
b5e19913e7 [+] Fix compile issue + Blend Explorer text
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@125 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-10 22:27:04 +00:00
Salvy
9cef9435af [+] Rewrote dialogs using EasyMessage lib by jojojoris
[!] Added blendmode for waterfall in SpiderMan
[~] Cleaned up blender abit
[~] Cleaned up a warning

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@124 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-10 20:58:14 +00:00
Corn
fc5b54b151 [!] force magenta as default for blender explorer again (to make it easy to spot correct texture)
[-] Removed blender for starwars (was messing with the the HUD)
[!] let see if this location for resetting SM64 Star-hack works

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@123 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-09 21:33:15 +00:00
Salvy
2957267767 [+] Added hack to skip osRestoreInt in Ridge Racer (caused it to BSOD when race is about to start)
[!] Hacks to disable oshle funcs are only checked once before we start patching ( now we don't have to check them every time = big win!)
[~] Fixed blendmode for Ridge Racer's fences
[~] Clean up our hacks abit

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@122 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-08 20:55:51 +00:00
Corn
59da7fbc10 [+] added back SSB Link bomb blend
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@120 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-07 21:17:24 +00:00