Commit graph

940 commits

Author SHA1 Message Date
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
Corn
ba44b66443 [+] RumblePak / MemPak option added to global options (RumblePak shakes screen when active).
Note: Enable RumblePak before booting ROM (also enable clean scene if there is garbage left on screen when shaking)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@302 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-09 22:18:28 +00:00
bdacanay
0fff40ba06 [+] Added cheats to a lot of popular games
[+] Repaired some incorrect Kirby 64 blends
[!] Forced a Hexen blend to fix the invisible hands
[+] Added a blend to fix the shadow issue in Killer Instinct Gold
[!] Forced a Killer Instinct Gold blend to partially fix the characters and HUD
[+] Fixed the Pokeball blend in Pokemon Stadium 2



git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@301 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-08 21:38:36 +00:00
Salvy
6e55f7936f [+] Added a hack to fix the shadows in ISS64
[-] Remove delay when entering pause menu in PHAT PSPs

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@300 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-08 19:31:01 +00:00
bdacanay
d4d94b454a [+] Added a blend to fix the waterfall in MRC
[+] Added a blend to fix the Text and HUD in Duke Nukem 64 (Could be dangerous)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@293 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-01 00:55:55 +00:00
Salvy
88726ba6f1 [-] Removed EasyMessage lib (was causing high usage of memory and thus crashing phats when pressing home)
[+] Implemented new dialog lib (WIP!!!!)
[-] Removed debug options which aren't longer needed.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@289 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-29 06:28:44 +00:00
Salvy
f78a018355 [+] Added blendmode for bricks in Zelda OOT
[+] Added notes for developers if having problems with dlist debugger
[~] Do not check image size for offscreen check (is too aggressive, it breaks Doom64 and SuperMan 64)
[~] Fixed debug build

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@287 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-24 23:02:10 +00:00
Salvy
934cd00733 [!] Code clean up
[!} Made static functions in Microcode.cpp to hint compiler to optimize (~30 ops)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@285 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-23 21:55:22 +00:00
Salvy
6e9a3d8ab4 [~] Changed priority of bIsOffScreen
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@280 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-14 18:27:51 +00:00
Salvy
971b20520e [!] Several clean ups here and there
[~] Removed pilot wings' shadow hack (this is now handle by a cheat, only added the U version, I'll add the rest later)
[+] Added cheatcode deletion (this is disabled since is not used, will enable it if is a highly requested feature)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@279 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-14 18:05:55 +00:00
Salvy
00131952fa [!] Bail out offscreen tris earlier (fixes BSOD in Conker due clipping too many tris)
[!] Fixed debug build
[+] Added hack superman (sky and in game show up now)
[~] Forgot something else from previous commit... 


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@278 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-10 23:46:28 +00:00
Salvy
22549f4a82 [+] Remove offscreen rects and tris [WIP] (Removes annoying black box in Conker)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@275 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-07 21:19:57 +00:00
Salvy
6646b5f72e [+] Cache custom ucodes
[~] Minor clean up in CheatCodes_Clear

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@270 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-03 08:16:03 +00:00
Salvy
5c1a260ce1 [~] Bit of commenting and clean up
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@268 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-02 06:40:17 +00:00
Salvy
e638274721 [~] More corrections to the cheat frequency option
[~] Removed a couple of dead variables

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@264 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-29 22:32:08 +00:00
Corn
5758f3acd0 [!] Reduced and changed texture update frequencies
[!] Corrected cheat update frequencies
[!] Fixed compile warning

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@263 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-29 19:45:12 +00:00
Salvy
e26c59e5b1 [~] Stick pc addr directly in GBI1_DL (saves 16 ops)
[~] Tidy GBI1/2 Texture ucode (saves 2 ops)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@251 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-24 07:16:22 +00:00
Salvy
607c47fc6d [!] Corrected ucode map for Wave Racer, should be Tri2, not Tri1 (Is never called though, I just nop'd it to be safe)
[!] Eliminate division in Tri1 (saves 30 ops yay)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@250 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-24 05:50:40 +00:00
Corn
a5f0c4c144 [!] Small optimization for loading/adding triangles
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@244 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-22 20:22:19 +00:00
Corn
f6ea4b530c [!] Corrected Ucode description for Conker when debugging Dlists
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@240 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-19 18:58:04 +00:00
Corn
b648e527a4 [!] reverted IRQ optimization that made Animal crossing fail(salvy)
[+] Some minor optimizations to the VFPU TnL
[+] Ucode names for Conker BFD to debug Dlist 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@231 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-15 21:05:11 +00:00
Corn
a3bc5aeb56 [!] Alpha channel gets passed along even when doing lighting on a tris
[+] Added rendered Rects as screen debug info

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@230 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-14 22:06:47 +00:00
Corn
330f34a973 [!] Fixed graphics bug (and Dlist counter bug) in Conker
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@228 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-11 22:22:34 +00:00
Corn
604234c066 [!] fix compile error from prev rev
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@227 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-11 20:44:29 +00:00
Salvy
c3e2731455 [!] MemoryUpdateMI only write back when there's an interrupt (faster but risky)
[!] Fixed Conker's eyes
[!] Fixed Bad ucode detection in DrMario
[+] Added counter for rects clipped

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@226 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-11 20:19:59 +00:00
Corn
2216ecec34 [!] Back/Front face culling now handle tris protruding near plane and culls zero area tris if in back face mode
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@225 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-10 17:48:01 +00:00
Salvy
2f0ed7232e [!] Corrected (huge)mistake from 597 that caused slim cache to be ignored (small speed up in slim and newer models)
[+] Added PSP model in about screen
[!] Removed old blender and made debug text for blender not to spam.
[+] Added blendmode for fences in SSV
[~} Minor clean up here and there.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@223 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 23:38:37 +00:00
Corn
2495000fc6 [+] Added display render stats on screen as an option (only available in Display list debug mode)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@222 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 19:00:20 +00:00
Corn
d4a3d9082d [+] Speed up using early FRONT/BACK tris culling in software.
[!] Some minor optimizations in VFPU rendering

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@221 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 15:26:53 +00:00
Salvy
d9ffcd338a [!] Corrected typo that caused tv out not to work anymore
[~] Fixed bug that caused PSP screen to stretch when tv out cables were connected
[!] Removed software clipping option (Been optimized over time, there's no benefit to disable it anymore)
[+] Added PSP info and other stats in BSOD
[+] Cull texrects and fillrects
[~] Removed microcode debug code which is now useless

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@220 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 01:49:25 +00:00
Salvy
e2d8c1bf68 [!] Read command in one go, copy done in 64bit (saves 6 ops)
[!] Disabled Epak for StarWars Racer (fixes scaling issues, in game still dodgy though)
[!] Do not force clean scene for StarWars Racer (no longer needed)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@219 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-06 22:43:13 +00:00
Corn
0772a46ba8 [!] Reverted microcode changes to cure compile error with Debug Dlist
[!] Reverted Fzero ship blend to shiny look
[!] Fixed proper and independent Zfight/Zbuffer checks

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@218 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-05 15:54:45 +00:00
Salvy
312c3ce216 [-] Small typo from last commit
[!] Simplified DaedalusFWCheck
[!] Removed alot of flags in RenderUsingCurrentBlendMode (they cause more overhead than good)
[!] Only apply zfighting fix when zbufer is enabled

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@217 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-05 06:48:30 +00:00
Salvy
558e6b9a0d [!] Removed "feature" that allowed to swap home with select button (no longer needed)
[+] added more comments and removed legacy debug code from ucode detector
[+] Spread randomly cache ucode entries if we hit max of entries allowed
[+] Block users with lower FWs than 6XX when imposectrl.prx is either missing or damaged

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@216 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-05 05:17:06 +00:00
Corn
7fd50fa64e [+] Made CPU rendering compatible with VFPU rendering (insert-matrix and ENV MAP)
[!] Rearranged Clip_tri_to_frustum and made CPU and VFPU versions accessible

Note: CPU->Clip_tri_to_frustum is broken and has been so for quite some time.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@215 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-03 16:59:26 +00:00
Salvy
e34a3ea876 [!] Fixed clean scene no longer working in Mario Party and other games
[!] Simplified texture filter
[!] Checked if viewport changed earlier

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@214 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-30 06:50:12 +00:00
Salvy
79c08d2aab [-] Forgot to delete some debug code..
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@213 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 21:18:48 +00:00
Salvy
36369a5ff1 [!] Fixed bug that caused to keep rehashing Conker's ucode
[!] Fixed bug that caused viewport to to be override if it didn't changed
[!] Made if viewport changed check less hacky and cheaper

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@212 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 21:16:19 +00:00
Corn
43a5099793 [-] Removed sm64 unneeded blendmode
[-] Removed leftover printouts
[-] Reverted change that made compiling fail if only DEBUG_DLIST and CONSOLE are defined
[+] Added back struct for Conker_tri4 as option (with more optimizations)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@210 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 12:26:34 +00:00
Salvy
4ece6adfe9 [!] Reverted changes from last commit (was causing Conker to keep reloading its ucode)
[~} Some clean ups to ROMImage.cpp
[~] Small optimization to DLParser_RDPHalf1_GoldenEye (saved around 12 ops)
[!] Implemented correctly DLParser_TexRect_Last_Legion (fixes BSOD in sub menus)
[!] Fixed bug I introduced when viewport not being changed in some occasions

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@209 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 07:04:06 +00:00
Corn
da6a107f76 [!] Fix for Conker_Tri4
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@208 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-26 18:42:45 +00:00
Salvy
06cffcecdb [+] Unlocked extra memory for all psps, except phat of course (note : if using a loader, make sure is supported)
[!] Silly mistake from last commit
[~] Move mem access opt to advance settings
[+] Added info for mem access in crash dump

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@206 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-26 06:46:14 +00:00
Salvy
75b65f650b [+] Added hack to work around the wrapping issues we have in Zelda [can't think a proper way to handle this :(]
[+] Ucodedef for SetOthermode

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@205 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-26 06:22:57 +00:00
Salvy
3614850d94 [!} Workaround for MM crashing with Memory Access opt
[!] More work for viewport codebase (less hacky than my previous attempt)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@203 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-25 07:18:58 +00:00
Salvy
083eefae8e [!] Reworked Viewport codebase (WIP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@202 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-25 01:16:13 +00:00
Corn
9ba3ca3d57 [!] Re-adjusted envmap so OOT stones looks nice
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@201 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-24 21:15:02 +00:00
Corn
b857cfe707 [-] Revert env map changes from last commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@200 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-23 19:06:41 +00:00