Commit graph

686 commits

Author SHA1 Message Date
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
Salvy
ee3e1c854b [~] More clean ups to ROMFileMemory
[!] Made more robust when Allocating and freeing ROM Cache/Buffer
[+] Create memory pool for PHAT as well to avoid fragmentation and keep things neat

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@612 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-11 22:09:03 +00:00
Salvy
89b4f4bf4c [!] Fixed PHAT compatibility with recent changes
[!] Made conditions when using large Rom cache or Rom buffer, more safely to avoid any unwelcome bugs ;)
[!] Some clean ups 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@610 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-08 22:54:44 +00:00
Salvy
f5e0eff5b6 [!] Allocate the entire extra memory of PSP Slim and newer models (32mbs in total)
[+] Added a new option (Found in Global Settings) which allows you to use either Rom cache (default, slower but faster boot time) or Rom Buffer (faster, but slower boot time, since it has to buffer the entire Rom to the Ram, Note: Any Rom biger than 32mbs will fall back to use Rom Cache)
[!] Don't allocate RomCache if we load the whole ROM (Rom Buffer)
[!] Don't allocate memory for VideoManager (Was used to fall back if running out of VRAM, happens very rare [about 3 known games, we could use the volatile memory for this eventually?] )

All of these is a nop for PSP Phat.
Note: This is a WIP!!!!

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@607 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-07 01:42:32 +00:00
Salvy
7acfbde220 [!] Updated Spanish translation (Ricot)
[!] Updated French translation (niccoooodu61)
[!] Tyde compile flag to disable compressed Roms support, also disabled remaining code used for it.
[~] Reverted Rom cache size change for Phat PSPs
[~] Some small cleans ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@606 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-04 21:49:35 +00:00
Salvy
e8e47d4f74 [!] Fixed memory leak in cheat feature
[!] Fixed translations switching to default when accessing pause menu (thnx Ricot for reporting it)
[!] Fixed language list being inconsistent (thnx Ricot for reporting it)
[!] One more fix when wrapping translated text (thnx pzu for reporting it)
[!] Simplify getting language name
[!] No longer register a sysevent handler when using volatile memory (Was breaking exception handler, also volatile memory now works in signed builds)
[!] Use scePowerLock to disable power switch and thus "disable" suspend mode (needed when using volatile memory)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@585 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-19 01:16:27 +00:00
Salvy
e48a3db53b [+] Daedalus can now be translated to any language (not used yet, will add Spanish translation as example and leave the rest to the community)
[~] Some clean ups to some redundant code

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@572 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-05 02:19:08 +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
Salvy
f56ade7a72 [!] Fixed bug in cheat parser for large cheats (Pilot Wing's shadow fix works properly now)
[-] Removed Pilot Wings hack (again), no longer needed ^

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@558 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-22 00:24:18 +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
1fe520148d [+] Added option to enable Corn's newly hack to speed up or smooth up games with really low frame rate (ex Earthworm Jim, Golden Eye, Donald Duck etc)
Note: Option can be found in Advanced Options -> Video Rate Match

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@554 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-21 01:44:48 +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
Salvy
b5bc8bc866 [!] Disable Dynamic Loop Optimization by default (It causes instability and other issues in many games, to enable go to Advanced Settings, enable at your own risk!)
Note: Make sure to reset your setting before using this rev -> Global Settings -> Reset Settings (follow on-screen instructions)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@548 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-20 00:54:01 +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
Salvy
4fcbaebf88 [!] Really small optimization in MemoryUpdateSPStatus
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@543 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-18 01:45:03 +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
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
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
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
40c4452bbd [!] Some code clean ups
[!] Simplified and unified GBI2_PopMtx

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@443 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-14 20:11:34 +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
Salvy
471de9639f [!] Clean ups in DLParser_SetUcode
[~] Reverted change from 421, was breaking several games (thx re4thewin for reporting it)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@428 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-05 00:01:01 +00:00
Salvy
3c3a283d86 [!} Forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@422 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-01 22:06:37 +00:00
Salvy
e15745a185 [!] Optimized LoadFPR_Long
[!] Don't use pspFpuFloatToDouble (adds too much bloat and is only used by a few games, anyways I doubt it helps at all..)
[!] Small optimization in TLBP

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@421 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-01 21:30:31 +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
Salvy
54196ec36c [!] Remove any excess of cheats to avoid wasting memory
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@382 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-26 01:50:13 +00:00
Salvy
eff830d135 [!] Increase number of cheat slots per ROM to 16 (since we have plenty of memory now to allocate cheats)
[+] Added a very basic scroll for cheat list (needs work!)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@381 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-26 01:02:05 +00:00
Corn
48c802a25e [!] Optimized SimulateDouble and updated roms.ini
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@376 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-23 21:24:47 +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
Corn
14191c8711 [+] Worked on DKR(and jetforce) custom ucodes (WIP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@366 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-20 14:09:27 +00:00
Salvy
08f4518902 [!] Revert previous commit, need to test further
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@365 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-20 06:58:47 +00:00
Salvy
b07e842a94 [+] Added QuickWrite_Long/QuickRead_Long (these are usually 50% faster when the compiler isn't able to optimize Read64Bits/Write64Bits, mostly happens when we need to combine two FPU registers into one long )
[!] Use QuickRead_Long for LDC1 (~24 ops)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@364 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-19 07:23:17 +00:00
Corn
a726e6c78b [!] Optimized unaligned load/store (saving ~340 OPs)
[!] Moved alloc/free fonts to Create/Destroy so it won't happen every frame when showing splash screen

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@360 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-18 13:02:27 +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
Salvy
50ea1c7c76 [!] Enable callbacks when gprof build is compiled
[!] Unlocked volatile memory (this unlocks 4mbs extra of memory)
[!] Disabled suspend (this won't work anymore when volatile memory is unlocked)

Note: The only side effects when volatile memory is used is that suspend and dialogs won't work I twon't affect us though, since we don't depend on neither ;)
Note2: Only cheat codes are using the extra mem atm as a test.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@351 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 06:43:15 +00:00
Corn
08d5f979b8 [!] Improved speed in PIF CRC calculations (w/o using table)
[!] Proper name to IRQ hack -> SkipPifIRQ

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