Commit graph

125 commits

Author SHA1 Message Date
Corn
c662b0d587 [!] Improved changed texture detection for Worms Armageddon
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@786 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-22 05:20:08 +00:00
Corn
a4552e1ed6 [!] fixed missing "break;" in switch/case for CIC_6105 boot option (tnx Strmn)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@766 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-08 18:12:39 +00:00
Corn
b513fbc09b [!] Removed optimization of LBU for banjo while using dynarec mem opt.
[!] Changed to a simpler hash for texture indexing.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@752 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-19 14:43:02 +00:00
salvy
90af62af88 [!] Reduce PIF RAM usage from 2048 bytes to 64 (It can be reduced more, but need to do some tests first)
[!] Enabled SI hack for Cruisn' USA (it boots now)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@745 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 09:13:05 +00:00
Corn
bc7a7177a2 [!] Added showing handled speed hacks (with OP code) in dynarec (undef DAEDALUS_SILENT)
[!] moved some code under DAEDALUS_SILENT to DAEDALUS_DEBUG_CONSOLE and DAEDALUS_DEBUG_DISPLAYLIST

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@737 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-24 13:40:26 +00:00
Corn
9f6a16deb7 [!] CPUControl is now 32bit (from 64bit)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@730 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-16 09:51:56 +00:00
salvy
443022494e [!] Update InsertTimer base pointer when is modified (fixes Animal Crossing no longer Quick methods in osInsertTimer)
[!] Enable TLUT hack for Beetle Racing (Game works fine now, Thanks King Pepper for reporting it!)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@674 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-16 18:45:56 +00:00
salvy
8b72c5085d [!] Removed SimulateDoubleDisabled option (was replaced with specific game hacks)
[!] Tyde R4300_Cop1_CTC1 (saves 7 ops)
[!] Made all instances of FPUControl[31] to 32bit (Compiler was already optimizing it off anyways)
[!] Fixed languages not being unloaded properly when switching to default language
[!] Tyde when loading languages

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@645 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-18 03:33:42 +00:00
salvy
1c1894afd8 [!] Removed overhead of Buck Bumble hack from Cop1_D_ADD, biggest win is for games that need simulate doubles disabled
[!] Enabled simulate doubles for Buck Bumble (slight speed up) 
[!] Use pspfpu math for interpreted Opcodes that use floorf,roundf,truncf etc (generates much better assembly, for example our own implementation added mfc1) 
[!] Do proper floorf,roundf,truncf for Double precision Opcodes that use them (we should use double precision from libc actually( Im sure this the reason we didn't handled them in the first place?).. but since we simulate doubles for most games and doing it natively with single precision is alot faster, better than not handling them at all ;). Should fix some random bugs)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@632 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-27 22:09:42 +00:00
Corn
0d1cb7d636 [!] Fix rayman hack
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@629 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-16 20:23:27 +00:00
Corn
81c6fb5c64 [!] optimization and additional fixes for rayman hack
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@627 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-16 16:59:08 +00:00
Salvy
ec58ebcab3 [!] Updated French translation (niccoooodu61)
[!] Huge clean up (redundant code, unnecessary checks/asserts etc) in our RomFile code
[!] Removed nasty hack I had when either reading to header of Rom or loading Rom completely (everything is allocated separately now to avoid this sort of bugs..)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@613 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-13 00:42:15 +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
f54eb0706e [!] Fixed BSOD in Duck Dodgers (TMEM palette)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@560 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-23 14:08:46 +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
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
Corn
fc4b51f1b8 [+] Added speed hack to Earthworm jim and powerpuff Girls
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@551 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-20 16:26:25 +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
Salvy
24974b834c [!] Use T1 hack for Earthworm Jim (game looks awesome now)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@549 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-20 01:09:39 +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
1ec3679b8f [!] Graphical fix for Tom and Jerry (T1 hack)
[!] Fixed BSOD in top gear rally (seems to have other issues too with floats)
[!] Fixed BSOD in Star Soldier - Vanishing Earth

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@545 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-18 16:09:20 +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
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
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
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
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
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
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
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
77cb88c72f [+] Background in Yoshi Story works now (THis is based from Glide Napalm, props to them \o/)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@430 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-06 19:44:58 +00:00
Corn
640ad83bea [!] Use another(faster) way to front/back face cull to avoid using 1/w for the cross product.
[!] small update/boost to reference CPU clip.
[!] optimized both VFPU and CPU clip flag generation
[+] added hack to make memory opt work in PD


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@418 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-28 21:26:57 +00:00
Salvy
faaf063c0b [!] Unified DKR and JFG ucode tables
[!] Simplified DKR/JFG's Vtx ucode
[!] Simplified abit MoveWord_DKR

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@396 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-13 05:58:50 +00:00
Corn
72a7cdb108 [!] This time it seems as if BranchZ really works for OOT & MM (more work is needed for proper function in Aerogauge and Penny racers)
[!] Remove forced back culling for DKR (use normal)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@375 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-23 18:32:32 +00:00
Salvy
f98d6981d4 [!] Clean up options etc (Removed Stack Optimisation option, it works perfectly fine with all the games, there's no point to have an option for it)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@355 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 21:28:54 +00:00
bdacanay
89664dbd36 [+] Added a hack to Wave Racer 64 to fix the dangerous menu blend without breaking any other games. Tested and working perfectly. (Thanks corn)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@320 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-14 22:32:15 +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
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
Salvy
f2ec448189 [+] Insert country ID in ROM name for cheats (This is to allow more cheat code entries per slot and to fix the parsing cache for cheatcodes when having multiple regions of the same ROM.)
[!] Updated Daedalus.cht to follow new format
[~] Removed entries for hacks that are no longer used

Note : Cheatcode format has changed slightly, Please refer Cheat FAQ for help : http://forums.daedalusx64.com/viewtopic.php?f=12&t=3298

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@288 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-27 22:57:46 +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
d3b181f9f7 [~} Forgot a few changes from last commit
[+] Added Animal Forest to roms.ini
[!] Clean up left overs of LLE RSP emulation
[+] Added speed hack for MRC - Multi Racing Championship in the cheat database
[!] Ignore SP_PC_REG/SP_IBIST_REG regs (they are only needed in LLE emulation)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@277 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-10 08:47:51 +00:00
Corn
f3feb6ab2d [!] Reworked frame limiter code and added sync to half speed as well as full speed(useful for hyperhackers cheat code in SM64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@267 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-01 10:45:30 +00:00
Salvy
8ddc19fe3e [+] WIP - Parse cheats when you enter the cheat menu (Note : cheat file is parse/and clear everytime the cheat menu is access!)
[+] ROM name for cheats' format has changed, now it has to match to the roms.ini name of the ROM (this is done for better integration of the GUI, and to avoid conflicts when there's several ROM versions as seen in Zelda)
[+] Added cheatcodes to fix camera movement and pictures in Pokemon Snap U
[~] Corrected small typo in one of Zelda's cheat code

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@252 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-25 20:12:36 +00:00
Salvy
8091e0e0b8 [!] Fixed bug that caused cheats to be displayed after loading a game with no cheats
[!] Fixed enable cheats option not working
[!] Activation of cheat codes
[+] Show a msg if user opens the cheat menu with no cheats etc
[!] Fixed left and right pad not working in cheat menu
[+] Make read only cheat list if cheat code option is disabled

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@236 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-18 20:14:13 +00:00
Salvy
2b02d480a8 [+] Added cheat menu (WIP, only disable and enable cheats option work atm)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@233 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-16 06:52:54 +00:00
Salvy
cdcd8c77bf [+] Implemented cheat support (this mostly based from 1964 and PJ64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@232 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-16 01:41:23 +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
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
Salvy
ff44a81585 [!] Fixed stupid error I did in Patch_Hacks (was causing to stop the oshle scanning when Patch_Hacks returned true!)
[~] Disable __osDispatchThread and __osEnqueueAndYield for Body Harvest (it boots now with oshle)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@181 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-09 08:01:09 +00:00