Emuforums.com

Go Back   Emuforums.com > PSX Emulation > ePSXe Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old April 4th, 2011, 14:44   #1
shalma
Discontinued
 
Join Date: Feb 2009
Location: Inactive
Posts: 1,192
ePSXe 1.7.0 updater - shark tool

A tool that updates your ePSXe 1.7.0 with new, unauthorized homebrew research

This is a pure hobby project - updates are random and sporadic.
- First post will have latest updates and releases (all together in one package)



WARNING:
The launcher app uses dll injection - modern antivirus software will treat it as malware (foreign code).

Source code will show its a harmless, false-positive. You will need to add an exception to your program list.


Win32 only, 2000/XP or higher

=====================
=====================

News:
10-15-2011 Fix repplay track # (cd plugin only) (NFS - V-Rally music player)
10-14-2011 Fix cdrom plugin (cdda)
10-14-2011 Improved tomb1 / tomb2 cdda hackfix
10-05-2011 Cdrom plugin - cdda fixes, tomb1 hackfix, user guide
09-28-2011 Add external PAD support
09-28-2011 New INI system (see inis folder)
08-08-2011 Play flag fix ($02) + No cdda repplay flag fix ($04) (Actua Soccer 2 cdda)
07-26-2011 Release 4
07-26-2011 GetlocP fake cdda subq - track # bcd (Tomb Raider), Pause - short irq times for stopped mode (Resident Evil 2), Attenuation - irq abort (Resident Evil 2)
07-24-2011 GPUsetframelimit, SPUsetframelimit, changing memcards while emu off won't trigger memcard change
06-27-2011 Check dma active pin for IRQ (Heart of Darkness)
06-25-2011 Dynarec - D-cache timing (1-cycle) + BIOS timing (8/16/32 cycles)
06-25-2011 Interpreter - 1-cycle D-cache access (Megaman Legends cutscene sync)
05-31-2011 Fix Multitap controller detection (Frogger 2)
05-22-2011 LibCrypt redump sbi support
05-21-2011 Fix fast start (esc-resume), allow disabling individual memcards (Lifeforce Tenka), Negcon improvements (no deadzone fixes though)
05-15-2011 Fix fast start
05-14-2011 Fix multitap sio 45/47/4c (Rampage 2 - Universal Tour), dualshock mouse snap / tilt hotkey (Ape Escape - raft, slingshot, radar)
05-12-2011 Fix no controller ID ($01) - mainly multitap purposes
05-11-2011 Fix dualshock $45 LED status (Ape Escape)
05-10-2011 Fix autorun for non-shark_cheater use
05-10-2011 Fix ePSXecutor_shark (config joypad option)
05-10-2011 Force ePSXe stall (manual injection) - fix autorun, nogui
05-09-2011 Disable dualshock mouse by default
05-09-2011 Adjustable dll injection timing, fix L3/R3 for dualshock, fix analog auto-center for +x motion, special dualshock mouse controller (all Ape Escape)
05-06-2011 Guncon detection fixed for Point Blank 3, Gunfighter - Jesse James
05-04-2011 Fix negcon detection (Wipeout 3, Ridge Racer 4, Gran Turismo 2)
05-04-2011 Minimize shark window option (#2), improve boot speed
05-03-2011 Force gpu to overlap shark_cheater (all paths), autostart 3 = dualshock analog on
05-03-2011 Do not broadcast autorun (keep within epsxe hwnd)
05-03-2011 Rebuild shark dll (strange crashing)
05-01-2011 negcon - fix I+II, correct steering
05-01-2011 Slide inc / dec codes, tick cheat parent enables all subcheats
04-30-2011 Multithread shark app (fix epsxecutor + shark_cheater overlap)
04-27-2011 Tweakable mouse sensitivity, ESC -> Resume reloads ini file
04-25-2011 Fix analog centering, region string soft-patching
04-17-2011 Analog deadzones, analog center at $80 -> $7f
04-14-2011 Remove CotS xa hack - replace with pseudo-fix
04-13-2011 XA attenuation (Gamera 2000), Chronicles of the Sword XA attenuation hack
04-13-2011 ePSXecutor_shark tool
04-04-2011 do not autostart dualshock, dualanalog controllers (force off)
04-04-2011 Repplay - index #
03-31-2011 sio cmd $45 (Quake 2 mouse), lightgun cursor, re-add Konami Justifiers
03-29-2011 port2 mouse (Quake 2), autostart devices
03-25-2011 ignore L3/R3 for non-dualshock controllers
03-25-2011 lots of old news listed below

=====================
=====================

ePSXecutor_shark here


ePSXe_shark
1st goal- improve sound compatibility
2nd goal- some kind of ePSXe 1.7.0 update
3rd goal- promote Pete's DSound
(much improved and newer 1.09a version)



Installation:
1- Copy everything in the bin folder to ePSXe folder (__newest or __latest)
2- Edit epsxe_shark.ini
3- Run epsxe_shark
(optional: epsxe_shark -i for very slow, maximum compatibility mode)

(Must run ePSXe_shark every time)



Features:

(Emulation)
- CDDA plugin support
> For use with modern DSound plugin

- APU cycles (faster spu calls)
> For use with modern DSound plugin

- switch iso working (most games, +Vib Ribbon, +Monster Rancher 2)
> Monster Rancher 2 (cdrom) only works with SaPu

- XA save / load states now work (must save first)
ex. Mega Man Legends (*cutscenes*)

- XA attenuation (Tekken 3 music fade-out)
- CDDA attenuation (Tekken 1 music fade-out, Chronicles of the Sword speech)

- CDDA does not chop the first 1-sec when starting (Chronicles of the Sword, almost all cdda games)
- CDDA does not chop the last 2-sec when finishing (Rayman)

- getlocp local subq times are now written correctly (Chronicles of the Sword speech)
- lid open stops cdda flag (Vib Ribbon swap)

- Memory card resets (Dragon Warrior 7 memcard swaps)
- Longer pause times (InuYasha battles, Gundam Battle Assault 2)

- No L3/R3 button mapping conflicts when dualshock / dualanalog controller is off

- Mouse port2 (Quake 2)
- Auto-start special devices (ex. mouse, dualshock analog, guncon)

- SIO cmd $45 fixed (Quake 2 mouse)
- Re-add Konami Justifier support (not done)



(Win32)
- Fast game booting
- Autorun options
- Controllable F4 rates
- shalma DVD5 disc kits (run iso)
- shark_cheater (pec-style gameshark)

- Auto-memcard ejection
- Permanently disable memcards

- Save states work with problem games (Gameshark v4, Policenauts)

===================================
===================================

Suggested reads:
#1
#2
#3



ePSXe devs do read this stuff - if you've got new bug reports, start mentioning them (or link back to old ones).

If they are bugs with the ePSXe spu internal or cdrom internal plugins, I'm not listening.



MIRROR:
http://www.sendspace.com/file/8p2db5
Attached Files
File Type: 7z r1.7z (385.1 KB, 318 views)
File Type: 7z r2.7z (385.5 KB, 160 views)
File Type: 7z r3.7z (392.6 KB, 133 views)
File Type: 7z r4.7z (421.2 KB, 250 views)
File Type: 7z ___newest.7z (437.5 KB, 1932 views)

Last edited by shalma; October 15th, 2011 at 20:24..
shalma is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old April 4th, 2011, 15:51   #2
psykoako
GreyKnightJusticar
 
psykoako's Avatar
 
Join Date: Mar 2011
Location: Philippines
Posts: 76
Thank you for making a separate thread! Hehe the other one got cluttered up and I'm having a hard time to follow your updates! Anyway if there is anything you need esp. in game testing it would be an honor to be your guinea pig xD

Thank you for this!

EDIT: about shark ini

autostart_controllers = 2

if set at 1 = dualshock / and other special controllers are turned on, so if I set it at 2 it'll be regarded as a normal d-pad right? So when I want dualshock/analog and the likes, whilst ingame can I just toggle/press F5 "Analog On" and then the rumbling/vibrate would return?

Because Tales of Phantasia dejap would not recognize my inputs for the language selection screen when this was set to "1"
__________________
Knowledge is power, guard it well.

OS: Windows 7 Ultimate x64 SP1
CPU: Intel i7 - 920
Mobo: Gigabyte X58A-UD7-Rev 2.0
RAM: 3x2gb G.Skill Ripjaw
GPU: Sapphire ATI HD5850 1GB DDR5
PSU: Thermaltake ToughPowerXT 875w

Last edited by psykoako; April 4th, 2011 at 17:04..
psykoako is offline   Reply With Quote
Old April 4th, 2011, 17:17   #3
shalma
Discontinued
 
Join Date: Feb 2009
Location: Inactive
Posts: 1,192
04-04-11
(cdda) Repplay - index #
- set this to 80 -> 01

todo:
- if a game checks for pregaps (00), that's going to be lots more work

==================================
==================================

Quote:

EDIT: about shark ini

autostart_controllers = 2

if set at 1 = dualshock / and other special controllers are turned on, so if I set it at 2 it'll be regarded as a normal d-pad right? So when I want dualshock/analog and the likes, whilst ingame can I just toggle/press F5 "Analog On" and then the rumbling/vibrate would return?

Because Tales of Phantasia dejap would not recognize my inputs for the language selection screen when this was set to "1"
Correct.

2 = Always force to d-pad at start
0 = Seems random sometimes (d-pad or special)

If '1', you'd have to hit F5 every time to toggle analog off.
If '2', you'd have to hit F5 to turn analog on (should get rumble).

==================================
==================================

edit:
Got some outside data on Descent Maximum.

It's a 'gpu async' problem. The core - cdrom - gpu sync falls apart and the game hangs (usually gpu runs too fast).


ex.
Any use of F4 fast-forward (~150+ fps) right before-during 'Loading' will likely trigger a desync crash.


There's some protections you can use:
- Turn on GPU 'fake busy states' (Pete) to help reduce the desync
- Use gpuBladeSoft (edgbla) to help manage better times (don't fast-forward though)
- Use shark to lower the F4 rate from 180 -> 90-120


We'd have to get everyone to agree on how a gpu_async type method would work (like spu_async).

Last edited by shalma; April 4th, 2011 at 18:03..
shalma is offline   Reply With Quote
Old April 4th, 2011, 17:54   #4
psykoako
GreyKnightJusticar
 
psykoako's Avatar
 
Join Date: Mar 2011
Location: Philippines
Posts: 76
Quote:
Originally Posted by shalma View Post
Correct.

2 = Always force to d-pad at start
0 = Seems random sometimes (d-pad or special)

If '1', you'd have to hit F5 every time to toggle analog off.
If '2', you'd have to hit F5 to turn analog on (should get rumble).
Well if it was set to '1' and in game pressed F5 to toggle analog off, it still would not recognize my input for the language option (Tales of Phantasia with dejap patch).

Anyway I still get rumble when set at '2' confirmed with FFIX when I start the game it automatically set to "Analog On" and checked rumble via options and it gave me rumble...

PS. This was with a Logitech Rumble Pad 2 wired USB pad

Thanks!
__________________
Knowledge is power, guard it well.

OS: Windows 7 Ultimate x64 SP1
CPU: Intel i7 - 920
Mobo: Gigabyte X58A-UD7-Rev 2.0
RAM: 3x2gb G.Skill Ripjaw
GPU: Sapphire ATI HD5850 1GB DDR5
PSU: Thermaltake ToughPowerXT 875w
psykoako is offline   Reply With Quote
Old April 4th, 2011, 18:06   #5
shalma
Discontinued
 
Join Date: Feb 2009
Location: Inactive
Posts: 1,192
Out of curiosity, does setting '1' work with other games (F5 toggle off)?

Sounds like the dualshock should be set to default off (default state when first plugged in).
shalma is offline   Reply With Quote
Old April 4th, 2011, 21:55   #6
lagunareturns
Registered User
 
Join Date: Dec 2007
Location: Australia
Posts: 1,317
Quote:
Originally Posted by shalma View Post
Out of curiosity, does setting '1' work with other games (F5 toggle off)?

Sounds like the dualshock should be set to default off (default state when first plugged in).
it shouldnt and rely on the game to do it for you, like on a real psx, as some games, although rare, only works with dual shock
lagunareturns is offline   Reply With Quote
Old April 4th, 2011, 22:22   #7
shalma
Discontinued
 
Join Date: Feb 2009
Location: Inactive
Posts: 1,192
Thanks! Fixed!


04-04-11
Do not autostart dualshock, dualanalog controllers (force off)


Wonder if negcon works the same way...
shalma is offline   Reply With Quote
Old April 5th, 2011, 00:01   #8
psykoako
GreyKnightJusticar
 
psykoako's Avatar
 
Join Date: Mar 2011
Location: Philippines
Posts: 76
Quote:
Originally Posted by shalma View Post
Thanks! Fixed!


04-04-11
Do not autostart dualshock, dualanalog controllers (force off)


Wonder if negcon works the same way...
Thank you for the update!! Will try it and feedback in a bit =]

EDIT:
4/4/11 - build works fine now!! even with the autostart_controllers is toggled to '1' and it's also detecting automatically if the game supports dual/analog vibrate

Psy~~
__________________
Knowledge is power, guard it well.

OS: Windows 7 Ultimate x64 SP1
CPU: Intel i7 - 920
Mobo: Gigabyte X58A-UD7-Rev 2.0
RAM: 3x2gb G.Skill Ripjaw
GPU: Sapphire ATI HD5850 1GB DDR5
PSU: Thermaltake ToughPowerXT 875w

Last edited by psykoako; April 5th, 2011 at 00:14..
psykoako is offline   Reply With Quote
Old April 6th, 2011, 22:08   #9
Kurbster
Administrator
 
Join Date: Mar 2002
Location: Massachusetts, USA
Posts: 9,439
Lemme update the inquiry on Descent Maximum

- I didn't seem to have any problems with PCSX-R. I got up to level 5 without any freezing whatsoever.
- I'm starting to think it's just a random reading error in general. It froze on me one time right in the middle of a level. I don't have any bad sectors on the disc, either
- I'm using Peops Soft Driver 1.18
- I never actually tried using a ISO. Perhaps I'll try that and report back
__________________



Kurbster is offline   Reply With Quote
Old April 7th, 2011, 03:15   #10
shalma
Discontinued
 
Join Date: Feb 2009
Location: Inactive
Posts: 1,192
Thanks for the sticky!


There still could be some type of odd gpu sync'inc. ePSXe is more aggressive with GPU DMAs and PCSX-r is more conservative (probably works better with this game).

It's harder to muck around with 170's GPU DMA times. The official devs could tweak it some for the next build perhaps.

Still, thanks for any feedback.
shalma is offline   Reply With Quote
Old April 10th, 2011, 00:26   #11
Kurbster
Administrator
 
Join Date: Mar 2002
Location: Massachusetts, USA
Posts: 9,439
One more suggestion: Is it possible to add some sort of deadzone customization for controllers? I notice that when I assign the D-pad to use the analog stick on my XBox360 controller, it is VERY sensitive. Normally when I press right on the stick, it registers as me pushing right + down instead, and so on.
__________________



Kurbster is offline   Reply With Quote
Old April 10th, 2011, 01:25   #12
Kurbster
Administrator
 
Join Date: Mar 2002
Location: Massachusetts, USA
Posts: 9,439
Quote:
Originally Posted by 5247846 View Post
I noticed when playing Rayman, CDDA music doesn't fade out.
Please help me!
this sounds like a sound plugin problem. To keep things organized, I'm moving the post into the DSound Rebuild thread
__________________



Kurbster is offline   Reply With Quote
Old April 10th, 2011, 01:34   #13
shalma
Discontinued
 
Join Date: Feb 2009
Location: Inactive
Posts: 1,192
I haven't figured out where the external joypad code sits - if that is uncovered, maybe it's possible to add some deadzone.


Many CDDA problems (music not fading out) are normally an emu problem (cdrom core).
But it doesn't hurt to talk about it over there.
shalma is offline   Reply With Quote
Old April 13th, 2011, 02:46   #14
FR500
Registered User
 
Join Date: Aug 2004
Location: Quito
Posts: 22
Hi shalma

Is your version of epsxe still working with epsxecutor? my guess is that if you didn't change the way you store settings it should
FR500 is offline   Reply With Quote
Old April 13th, 2011, 03:19   #15
shalma
Discontinued
 
Join Date: Feb 2009
Location: Inactive
Posts: 1,192
Don't really know but shark accepts command-line parameters. And nothing with how the registry works is changed.

Doesn't seem like it would though - epsxecutor requires ePSXe.exe
ePSXe_shark.exe needs ePSXe.exe

ePSXecutor -> ePSXe_shark -> ePSXe.exe
(I'm guessing that's not possible)
shalma is offline   Reply With Quote
Old April 13th, 2011, 03:22   #16
FR500
Registered User
 
Join Date: Aug 2004
Location: Quito
Posts: 22
hmmm, yes you're right, that kinda sucks, any ideas on how to work around? it's the only smart way to have multiple epsxe configurations and the reason I haven't messed around with your version yet.
FR500 is offline   Reply With Quote
Old April 13th, 2011, 06:22   #17
FR500
Registered User
 
Join Date: Aug 2004
Location: Quito
Posts: 22
maybe renaming epsxe.exe to something else and epsxe_shark to epsxe.exe?
FR500 is offline   Reply With Quote
Old April 13th, 2011, 14:55   #18
shalma
Discontinued
 
Join Date: Feb 2009
Location: Inactive
Posts: 1,192
Let me see later if I can hack epsxecutor to run 'shark.exe' instead of 'epsxe.exe'. Then everyone'll be happy.
shalma is offline   Reply With Quote
Old April 13th, 2011, 17:18   #19
shalma
Discontinued
 
Join Date: Feb 2009
Location: Inactive
Posts: 1,192
ePSXecutor_shark

Pete's frontend for ePSXe - modified to run the new shark tool

1- Install ePSXe_shark (first post)
2- Install this package to ePSXe folder
3- Rename ePSXe_shark.exe -> shark.exe
4- Run ePSXecutor_shark.exe


Version:
1063-prerelease (Pete's site)
Attached Files
File Type: 7z epsxecutor_shark1063-prerelease.7z (148.5 KB, 3003 views)

Last edited by shalma; May 11th, 2011 at 00:39..
shalma is offline   Reply With Quote
Old April 13th, 2011, 17:19   #20
FR500
Registered User
 
Join Date: Aug 2004
Location: Quito
Posts: 22
Thank you very very much
FR500 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 18:29.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.