Re: Problème pcsx2-r5350
Publié : 13 juin 2013 - 21:54
par Mutsuyamato
Spoiler: [exe info]
path=E:\jeux video\PCSX2 1.0.0\
rompath=E:\Documents and Settings\Administrateur\Mes documents\PCSX2\Isos ps2\
userompath=false
exe=pcsx2.exe
romextension=iso,bin
parameters =
searchsubfolders=false
pcgame = false
winstate = HIDDEN
hyperlaunch = true
[themes]
themes_only = false
animate_out_default = false
[wheel]
alpha = .15
style = normal
speed = high
vert_wheel_position = center
text_with_images = true
text_width = 700
text_font = Style4
small_text_width = 260
large_text_width = 400
text_stroke_size = 12
text_stroke_color=0x000000
text_color1=0x00BFFD
text_color2=0xFFFFFF
text_color3=0x00BFFD
color_ratio = 100
shadow_distance = 9
shadow_angle = 45
shadow_color=0x000000
shadow_alpha = 1
shadow_blur = 11
[pointer]
x = 965
y = 384
[video defaults]
path=\
width = 650
height = 360
x = 345
y = 445
rotation = 0
animation_time = .3
animation_type = fade
animation_start = none
border_color = 0x000000
border_size = 0
border_color2 = 0X000000
border_size2 = 0
border_color3 = 0X000000
border_size3 = 0
forceaspect = horizontal
belowwheel = true
[sounds]
game_sounds = true
wheel_click = true
[navigation]
game_jump = 50
sort_by_name=false
remove_info_wheel = false
remove_info_text = false
use_parent_vids=true
use_parent_themes=true
last_game=Soul Calibur 2
start_on_favorites=false
[artwork1 defaults]
x = 380
y = 120
rotation = 0
animation_time = .5
animation_type = ease
animation_start = top
animation_rest = none
[artwork2 defaults]
x = 200
y = 500
rotation = 0
animation_time = .5
animation_type = ease
animation_start = right
animation_rest = none
[artwork3 defaults]
x = 200
y = 500
rotation = 0
animation_time = .5
animation_type = ease
animation_start = left
animation_rest = none
[artwork4 defaults]
x = 512
y = 500
rotation = 0
animation_time = .5
animation_type = ease
animation_start = none
animation_rest = none
[Special Art A]
default = false
active = true
x = 512
y = 720
in = .4
out = .4
length = 3
delay = .1
type = normal
start = bottom
[Special Art B]
default = true
active = true
x = 512
y = 740
in = .4
out = .4
length = 3
delay = .1
type = fade
start = none
[Game Text]
game_text_active = true
show_year = true
show_manf = true
show_description = true
text_color1 = 0xffffff
text_color2 = 0x0099cc
stroke_color = 0x000000
text_font = Style1
text1_textsize = 26
text1_strokesize = 7
text1_x = 32
text1_y = 610
text2_textsize = 36
text2_strokesize = 8
text2_x = 30
text2_y = 640
[Genre Screen]
allgames_title = All Games
text_color = 0x000000
text_x = 150
text_y = 200
stroke_color = 0xffffff
stroke_size = 7
Spoiler: ;----------------------------------------------------------------------------
; Sony Playstation 2
; PCSX2 v1.0.0.r5350
; by djvj
; 1.61
;
; Notes:
; Grab the Settings.ini located in my user dir @ /Upload Here/djvj/Sony Playstation 2/ and place it in the folder with this module
; If you want to customize settings per game, create a new section in the Settings.ini with the game's name
; All the module and basic emulator settings can be found in the Settings section in the Settings.ini
; If you use Daemon Tools, make sure you have a SCSI virtual drive setup. Not a DT one.
; Tested DT support with the cdvdGigaherz CDVD plugin. Make sure you set it to use your SCSI drive letter.
; On first run of pcsx2, make sure to select CDVD-Plugin, otherwise you will get some errors on load
; Additional help on setting up the Settings.ini can be found in the comments at the top of that file
;----------------------------------------------------------------------------
settingsFile := CheckFile(A_Scriptdir . "\Settings\Settings.ini")
GUI_ID := FadeInStart()
IniRead, UseDT, %settingsFile%, Settings, UseDT
IniRead, UseSCSI, %settingsFile%, Settings, UseSCSI
IniRead, Fullscreen, %settingsFile%, Settings, Fullscreen, %A_Space%
IniRead, noGUI, %settingsFile%, Settings, noGUI, %A_Space%
IniRead, fullboot, %settingsFile%, Settings, fullboot, %A_Space%
IniRead, nohacks, %settingsFile%, %romName%, nohacks, %A_Space%
IniRead, gamefixes, %settingsFile%, %romName%, gamefixes, %A_Space%
IniRead, cfg, %settingsFile%, %romName%, cfg, %A_Space%
IniRead, cfgpath, %settingsFile%, %romName%, cfgpath, %A_Space%
IniRead, gs, %settingsFile%, %romName%, gs, %A_Space%
IniRead, pad, %settingsFile%, %romName%, pad, %A_Space%
IniRead, spu2, %settingsFile%, %romName%, spu2, %A_Space%
IniRead, cdvd, %settingsFile%, %romName%, cdvd, %A_Space%
IniRead, usb, %settingsFile%, %romName%, usb, %A_Space%
IniRead, fw, %settingsFile%, %romName%, fw, %A_Space%
IniRead, dev9, %settingsFile%, %romName%, dev9, %A_Space%
Fullscreen := (If Fullscreen = "true" ? ("--fullscreen") : (""))
UseSCSI := (If UseSCSI = "true" ? ("scsi`, ") : ("dt`, "))
noGUI := (If noGUI = "true" ? ("--nogui") : (""))
fullboot := (fullboot ? ("--fullboot") : (""))
nohacks := (nohacks ? ("--nohacks") : (""))
gamefixes := (gamefixes ? ("--gamefixes=" . gamefixes) : (""))
cfg := (cfg ? ("--cfg=""" . cfg . """") : (""))
cfgpath := (cfgpath ? ("--cfgpath=""" . cfgpath . """") : (""))
gs := (gs ? ("--gs=""" . gs . """") : (""))
pad := (pad ? ("--pad=""" . pad . """") : (""))
spu2 := (spu2 ? ("--spu2=""" . spu2 . """") : (""))
cdvd := (cdvd ? ("--cdvd=""" . cdvd . """") : (""))
usb := (usb ? ("--usb=""" . usb . """") : (""))
fw := (fw ? ("--fw=""" . fw . """") : (""))
dev9 := (dev9 ? ("--dev9=""" . dev9 . """") : (""))
7z1 := 7z(romPath, romName, romExtension, 7zExtractDir)
; Mount the CD using DaemonTools
RunEmu(executable, """" . romPath . romName . romExtension . """", noGUI, Fullscreen, fullboot, nohacks, gamefixes, cfg, cfgpath, gs, pad, spu2, cdvd, usb, fw, dev9, emuPath, "UseErrorLevel") ;, "Min")
If(ErrorLevel != 0){
MsgBox, 48, Exe Error, Error launching emulator`, closing script., 5
ExitApp
}
WinWait, ahk_class wxWindowClassNR,, PCSX2
WinWaitActive, ahk_class wxWindowClassNR,, PCSX2
Loop { ; looping until pcsx2 is done loading game
; tooltip, loop %A_Index%,0,0
Sleep, 200
WinGetTitle, winTitle, ahk_class wxWindowClassNR,, PCSX2 ; excluding the title of the GUI window so we can read the title of the game window instead
StringSplit, winTextSplit, winTitle, |, %A_Space%
If ( winTextSplit10 != "" ) ; 10th position in the array is empty until game actually starts
break
}
GUI_ID2 := FadeInExit()
Process, WaitClose, %executable%
; Unmount the CD from DaemonTools
If ( UseDT = "true" )
RunWait, %daemonToolsPath% -unmount %UseSCSI%0
7z2 := 7zCleanUp()
GUI_ID4 := FadeOutExit()
WinActivate, Hyperspin
ExitApp
RunEmu(exe,rom,param1=0,param2=0,param3=0,param4=0,param5=0,param6=0,param7=0,param8=0,param9=0,param10=0,param11=0,param12=0,param13=0,param14=0,relativepath=0, option=0) {
; MsgBox, exe=%exe%`nnoGUI=%param1%`nFullscreen=%param2%`nfullboot=%param3%`nnohacks=%param4%`ngamefixes=%param5%`ncfg=%param6%`ncfgpath=%param7%`ngs=%param8%`npad=%param9%`nspu2=%param10%`ncdvd=%param11%`nusb=%param12%`nfw=%param13%`ndev9=%param14%`nrom=%rom%`nrelativepath=%relativepath%
Run, %exe% %param1% %param2% %param3% %param4% %param5% %param6% %param7% %param8% %param9% %param10% %param11% %param12% %param13% %param14% %rom%, %relativepath%, %option%
}
CloseProcess:
GUI_ID3 := FadeOutStart()
WinClose, PCSX2 ahk_class wxWindowClassNR ; sending command to the GUI window to properly close the entire emu
Return