What are the special characters in XML? Only five:
WELCOME UNIVERSE ROMs
mercredi 27 mai 2020
mardi 19 mai 2020
JPCSP
ⒿⓅⒸⓈⓅ
@echo off
rem CD to the path of the command line, this is required when running as an administrator
cd /D "%~dp0"
rem CD to the path of the command line, this is required when running as an administrator
cd /D "%~dp0"
set PATH=%PATH%;lib\;lib\windows-amd64\
if NOT EXIST "%SystemRoot%\SysWOW64" goto JAVA32
if "%ProgramFiles%" == "%ProgramFiles(x86)%" goto JAVA32SHELL
set JAVA_CMD=%ProgramFiles(x86)%\Java\bin\java.exe
rem Checking if the "reg" command is available
reg /? >NUL 2>NUL
if ERRORLEVEL 1 goto RUN
reg /? >NUL 2>NUL
if ERRORLEVEL 1 goto RUN
set key=HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
set JAVA_VERSION=
set JAVA_HOME=
for /f "tokens=3* skip=2" %%a in ('reg query "%key%" /v CurrentVersion') do set JAVA_VERSION=%%a
for /f "tokens=2* skip=2" %%a in ('reg query "%key%\%JAVA_VERSION%" /v JavaHome') do set JAVA_HOME=%%b
set JAVA_VERSION=
set JAVA_HOME=
for /f "tokens=3* skip=2" %%a in ('reg query "%key%" /v CurrentVersion') do set JAVA_VERSION=%%a
for /f "tokens=2* skip=2" %%a in ('reg query "%key%\%JAVA_VERSION%" /v JavaHome') do set JAVA_HOME=%%b
set JAVA_CMD=%JAVA_HOME%\bin\java.exe
if not exist "%JAVA_CMD%" set JAVA_CMD=%ProgramFiles(x86)%\Java\bin\java.exe
if not exist "%JAVA_CMD%" goto JAVAMISSING
if not exist "%JAVA_CMD%" set JAVA_CMD=%ProgramFiles(x86)%\Java\bin\java.exe
if not exist "%JAVA_CMD%" goto JAVAMISSING
:RUN
echo Running Jpcsp 64bit...
"%JAVA_CMD%" -Xmx1024m -Xss2m -XX:ReservedCodeCacheSize=64m -Djava.library.path=lib/windows-amd64 -jar bin/jpcsp.jar %*
if ERRORLEVEL 1 goto PAUSE
goto END
echo Running Jpcsp 64bit...
"%JAVA_CMD%" -Xmx1024m -Xss2m -XX:ReservedCodeCacheSize=64m -Djava.library.path=lib/windows-amd64 -jar bin/jpcsp.jar %*
if ERRORLEVEL 1 goto PAUSE
goto END
:JAVA32
echo Unable to run a 64bit build on a 32bit platform. Install a 64bit version of Windows first.
goto PAUSE
echo Unable to run a 64bit build on a 32bit platform. Install a 64bit version of Windows first.
goto PAUSE
:JAVA32SHELL
echo Unable to properly run a 64bit application from a 32bit context on a 64bit platform.
goto PAUSE
echo Unable to properly run a 64bit application from a 32bit context on a 64bit platform.
goto PAUSE
:JAVAMISSING
echo The required version of Java has not been installed.
echo Go to
echo http://www.oracle.com/technet…/…/javase/downloads/index.html
echo to install the "Windows x64" Java JRE.
echo The required version of Java has not been installed.
echo Go to
echo http://www.oracle.com/technet…/…/javase/downloads/index.html
echo to install the "Windows x64" Java JRE.
:PAUSE
pause
pause
:END
Environment JAVA 8:
Module AHK JPCSP:
MEmu := "JPcsp"
MEmuV := "r3146"
MURL := ["http://jpcsp.org/"]
MAuthor := ["djvj"]
MVersion := "2.0.2"
MCRC :=
iCRC :=
MID := "635038268900731264"
MSystem := ["Sony PSP"]
;----------------------------------------------------------------------------
; Notes:
; Make sure you install the latest 32bit or 64bit Java JRE from http://java.sun.com depending on what version emu you want to use.
; Open the emu manually and Press F12 to open the Options window
; Under File, set your UMD Path folder to your games
; Under Region, set your language to English, or whatever you prefer.
; Under Display, set your resolution to NATIVE and check the box to start fullscreen (custom resolutions cause a black screen at boot in fullscreen mode, only native does not)
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()
SetRegView, 64 ; required to read 64-bit parts of the registry
settingsFile := modulePath . "\" . moduleName . ".ini"
Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
emuBit := IniReadCheck(settingsFile, "Settings", "emuBit","32",,1) ; Which version of java do you want to run?
useRAM := IniReadCheck(settingsFile, "Settings", "useRAM","1024",,1) ; How much ram do you want to give the PSP to use? If you have 4GB, give it 1024
; emuResolution = 1920x1200 ; **NOT WORKING YET causes a blackscreen at boot** The fullscreen resolution you want to use. It must look like widthxheight
bezelTopOffset := IniReadCheck(settingsFile, "Settings", "bezelTopOffset :","46",,1)
BezelStart()
SetKeyDelay(50)
jpcspFile := CheckFile(emuPath . "\Settings.properties")
FileRead, jpcspSettings, %jpcspFile%
; Setting Fullscreen setting in cfg if it doesn't match what user wants above
currentFullScreen := (InStr(jpcspSettings, "gui.fullscreen=1") ? ("true") : ("false"))
If ( Fullscreen != "true" And currentFullScreen = "true" ) {
StringReplace, jpcspSettings, jpcspSettings, gui.fullscreen=1, gui.fullscreen=0
SaveSettings = 1
} Else If ( Fullscreen = "true" And currentFullScreen = "false" ) {
StringReplace, jpcspSettings, jpcspSettings, gui.fullscreen=0, gui.fullscreen=1
SaveSettings = 1
}
; Old method which causes a black screen at boot. resolution must be kept at native for now
; currentFullScreen := (InStr(jpcspSettings, "graphics.resolution=" . emuResolution) ? ("true") : ("false"))
; If ( Fullscreen != "true" And currentFullScreen = "true" ) {
; StringReplace, jpcspSettings, jpcspSettings, graphics.resolution=%emuResolution%, graphics.resolution=Native
; SaveSettings = 1
; } Else If ( Fullscreen = "true" And currentFullScreen = "false" ) {
; StringReplace, jpcspSettings, jpcspSettings, graphics.resolution=Native, graphics.resolution=%emuResolution%
; SaveSettings = 1
; }
; Forcing Native res beause custom resolutions cause a black screen in fullscreen mode. Deleting the key forces JPcsp to use Native
emuResolution := (InStr(jpcspSettings, "emu.graphics.resolution=Native") ? ("true") : ("false"))
If emuResolution = false
{ StringReplace, jpcspSettings, jpcspSettings, emu.graphics.resolution=,
SaveSettings = 1
}
; Checking to see if the UMD Browser is turned on. We need to shut this off so we can interact with a normal file browser window
umdBrowser := (InStr(jpcspSettings, "umdbrowser=1") ? ("true") : ("false"))
If ( umdBrowser = "true" ) {
StringReplace, jpcspSettings, jpcspSettings, umdbrowser=1, umdbrowser=0
SaveSettings = 1
}
; If we had to make any changes, save the jpcspFile to disk
If SaveSettings
SaveFile(jpcspSettings, jpcspFile)
; This replaces the batch files the emu comes with and does it all in ahk instead
winVer := (InStr(ProgramFiles, "(x86)") ? ("64") : ("32")) ; check if windows is 32 or 64 bit
javaVer := FileExist(A_WinDir . "\SysWOW64") ; check if java is 32 or 64 bit
If ( emuBit = "64" && winVer = "32" )
ScriptError("Unable to run a 64bit Java on a 32bit Windows. Install a 64bit version of Windows first or use a 32bit Java.")
If ( emuBit = "64" && !javaVer )
ScriptError("Java 64bit is not installed.")
javaKey := ("SOFTWARE\" (If javaVer ? ("") : ("Wow6432Node\")) "JavaSoft\Java Runtime Environment") ; if true, we should have java 64bit installed, else 32bit, set appropriate reg location
RegRead, javaVersion, HKEY_LOCAL_MACHINE, %javaKey%, CurrentVersion ; read java's current version #
RegRead, javaDir, HKEY_LOCAL_MACHINE, %javaKey%\%javaVersion%, JavaHome ; read java's install location
javaExe = %javaDir%\bin\javaw.exe
CheckFile(javaExe,"Could not find javaw.exe. Try reinstalling the java version you want to use. Please make sure it exists here:`n" . javaExe)
hideEmuObj := Object("Jpcsp ahk_class SunAwtFrame",1) ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
7z(romPath, romName, romExtension, 7zExtractPath)
HideEmuStart() ; This fully ensures windows are completely hidden even faster than winwait
If ( emuBit = "32" )
errorLvl := Run(javaExe . " -Xmx" . useRAM . "m -XX:MaxPermSize=128m -XX:ReservedCodeCacheSize=64m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar -u """ . romPath . "\" . romName . romExtension . """ -r", emupath, "UseErrorLevel")
Else if ( emuBit = "64" )
errorLvl := Run(javaExe . " -Xmx" . useRAM . "m -Xss2m -XX:MaxPermSize=128m -XX:ReservedCodeCacheSize=64m -Djava.library.path=lib/windows-amd64 -jar bin/jpcsp.jar -u """ . romPath . "\" . romName . romExtension . """ -r", emupath, "UseErrorLevel")
Else
ScriptError("Please set emuBit to either 32 or 64. This reflects the version of the emulator you want to run")
WinActivate, Jpcsp ahk_class SunAwtFrame
WinWaitActive("Jpcsp ahk_class SunAwtFrame")
BezelDraw()
HideEmuEnd()
FadeInExit()
Process("WaitClose", "javaw.exe")
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()
SaveFile(text,file) {
FileDelete, %file%
FileAppend, %text%, %file%
}
CloseProcess:
FadeOutStart()
WinClose("Jpcsp ahk_class SunAwtFrame") ; sending command to the GUI window to properly close the entire emu
Return
PCSX-R
Agatige Lentille/Bloc Optique de Remplacement pour PS1, Pièce de Réparation de Lentille de Lecteur Optique KSM-440ADM, Module de Lecteur de Lentille de Lecteur de Disque pour PS1 PlayStation One
40,59€
𝘗𝘊𝘚𝘟-𝘙𝘦𝘭𝘰𝘢𝘥𝘦𝘥 (𝘝𝘦𝘳𝘴𝘪𝘰𝘯 𝘥𝘶 𝘧𝘪𝘤𝘩𝘪𝘦𝘳 1.0.0.1 & 𝘝𝘦𝘳𝘴𝘪𝘰𝘯 𝘥𝘶 𝘱𝘳𝘰𝘥𝘶𝘪𝘵 1.9.95.0 )
𝘢𝘷𝘦𝘤 𝘱𝘭𝘶𝘨𝘪𝘯 𝘨𝘳𝘢𝘱𝘩𝘪𝘲𝘶𝘦 𝘗𝘦𝘵𝘦'𝘴 𝘖𝘱𝘦𝘯𝘎𝘓2 𝘋𝘳𝘪𝘷𝘦𝘳 𝘷2.9 𝘱𝘰𝘶𝘳 𝘱𝘰𝘶𝘷𝘰𝘪𝘳 𝘭'𝘶𝘵𝘪𝘭𝘪𝘴𝘦𝘳 𝘴𝘢𝘯𝘴 𝘦𝘳𝘳𝘦𝘶𝘳 𝘥𝘢𝘯𝘴:
𝘭'é𝘮𝘶𝘭𝘢𝘵𝘦𝘶𝘳/𝘊𝘰𝘯𝘧𝘪𝘨𝘶𝘳𝘢𝘵𝘪𝘰𝘯/𝘎𝘳𝘢𝘱𝘩𝘪𝘤𝘴... 𝘚𝘰𝘶𝘴 𝘙𝘦𝘴𝘰𝘭𝘶𝘵𝘪𝘰𝘯𝘴 & 𝘊𝘰𝘭𝘰𝘳𝘴 à 𝘙𝘦𝘯𝘥𝘦𝘳 𝘔𝘰𝘥𝘦 𝘮𝘦𝘵𝘵𝘳𝘦 𝘴𝘶𝘳 1: 𝘙𝘦𝘯𝘥𝘦𝘳 𝘵𝘰 𝘱𝘣𝘶𝘧𝘧𝘦𝘳, 𝘤𝘰𝘱𝘺 𝘵𝘰 𝘵𝘦𝘹𝘵𝘶𝘳𝘦 (𝘴𝘶𝘱𝘱𝘰𝘳𝘵𝘦𝘥 𝘣𝘺 𝘮𝘰𝘴𝘵 𝘤𝘢𝘳𝘥𝘴)
𝘗𝘎𝘟𝘗 (𝘗𝘢𝘳𝘢𝘭𝘭𝘦𝘭/𝘗𝘳𝘦𝘤𝘪𝘴𝘪𝘰𝘯 𝘎𝘦𝘰𝘮𝘦𝘵𝘳𝘺 𝘛𝘳𝘢𝘯𝘴𝘧𝘰𝘳𝘮 𝘗𝘪𝘱𝘦𝘭𝘪𝘯𝘦) 𝘢𝘱𝘱𝘰𝘳𝘵𝘦 𝘶𝘯𝘦 𝘩𝘢𝘶𝘵𝘦 𝘱𝘳é𝘤𝘪𝘴𝘪𝘰𝘯 𝘥𝘢𝘯𝘴 𝘭𝘦𝘴 𝘥𝘰𝘯𝘯é𝘦𝘴 3𝘋 𝘨é𝘰𝘮é𝘵𝘳𝘪𝘲𝘶𝘦𝘴. 𝘊𝘦𝘵𝘵𝘦 𝘢𝘮é𝘭𝘪𝘰𝘳𝘢𝘵𝘪𝘰𝘯 𝘦𝘴𝘵 𝘶𝘯𝘪𝘲𝘶𝘦𝘮𝘦𝘯𝘵 𝘥𝘪𝘴𝘱𝘰𝘯𝘪𝘣𝘭𝘦 𝘦𝘯 é𝘮𝘶𝘭𝘢𝘵𝘪𝘰𝘯 𝘦𝘵 𝘯𝘰𝘯 𝘥𝘪𝘴𝘱𝘰𝘯𝘪𝘣𝘭𝘦 𝘴𝘶𝘳 𝘭𝘢 𝘤𝘰𝘯𝘴𝘰𝘭𝘦 𝘥'𝘰𝘳𝘪𝘨𝘪𝘯𝘦.
𝘐𝘭 𝘦𝘴𝘵 𝘢𝘤𝘵𝘶𝘦𝘭𝘭𝘦𝘮𝘦𝘯𝘵 𝘪𝘯𝘵é𝘨𝘳é à 𝘗𝘊𝘚𝘟 𝘷𝘪𝘢 𝘭𝘦 𝘱𝘭𝘶𝘨𝘪𝘯 𝘖𝘱𝘦𝘯𝘎𝘓 𝘷1.78 𝘥𝘦 𝘗𝘦𝘵𝘦 𝘢𝘷𝘦𝘤 𝘭’𝘦𝘹𝘵𝘦𝘯𝘴𝘪𝘰𝘯 𝘥𝘦 𝘛𝘢𝘱𝘦𝘲'𝘴 𝘛𝘸𝘦𝘢𝘬 𝘣𝘢𝘴é 𝘴𝘶𝘳 𝘗𝘦𝘵𝘦'𝘴 𝘖𝘱𝘦𝘯𝘎𝘓 𝘷2.9. 𝘐𝘭 𝘷𝘰𝘶𝘴 𝘧𝘢𝘶𝘥𝘳𝘢 𝘥𝘰𝘯𝘤 𝘗𝘦𝘵𝘦'𝘴 𝘖𝘱𝘦𝘯𝘎𝘓2 𝘋𝘳𝘪𝘷𝘦𝘳 𝘷2.9 𝘱𝘭𝘢𝘤é 𝘥𝘢𝘯𝘴 𝘭𝘦 𝘮ê𝘮𝘦 𝘳é𝘱𝘦𝘳𝘵𝘰𝘪𝘳𝘦 𝘱𝘰𝘶𝘳 𝘲𝘶𝘦 𝘭𝘦 𝘵𝘸𝘦𝘢𝘬 𝘱𝘶𝘪𝘴𝘴𝘦 𝘴'𝘢𝘱𝘱𝘭𝘪𝘲𝘶𝘦𝘳.
𝘐𝘭 𝘱𝘦𝘳𝘮𝘦𝘵:
- 𝘜𝘯𝘦 𝘨𝘳𝘢𝘯𝘥𝘦 𝘱𝘳é𝘤𝘪𝘴𝘪𝘰𝘯 𝘴𝘶𝘳 𝘭𝘦𝘴 𝘝𝘦𝘳𝘵𝘦𝘹 𝘥𝘢𝘵𝘢 (𝘎é𝘰𝘮é𝘵𝘳𝘪𝘦 𝘱𝘭𝘶𝘴 𝘴𝘵𝘢𝘣𝘭𝘦)
- 𝘙é𝘥𝘶𝘤𝘵𝘪𝘰𝘯 𝘥𝘦 𝘭'𝘦𝘧𝘧𝘦𝘵 "𝘛𝘳𝘪𝘢𝘯𝘨𝘭𝘦 𝘊𝘶𝘭𝘭𝘪𝘯𝘨" (𝘮𝘰𝘥è𝘭𝘦𝘴 𝘱𝘭𝘶𝘴 𝘥é𝘵𝘢𝘪𝘭𝘭é𝘴)
- 𝘗𝘦𝘳𝘴𝘱𝘦𝘤𝘵𝘪𝘷𝘦 𝘥𝘦𝘴 "𝘛𝘦𝘹𝘵𝘶𝘳𝘦 𝘔𝘢𝘱𝘱𝘪𝘯𝘨" 𝘤𝘰𝘳𝘳𝘦𝘤𝘵𝘦 (𝘥𝘪𝘴𝘵𝘰𝘳𝘴𝘪𝘰𝘯 𝘥𝘦 𝘵𝘦𝘹𝘵𝘶𝘳𝘦 𝘳é𝘥𝘶𝘪𝘵𝘦)
2pcs Remplacement Support de Disque Tournant Fixateur de CD Pièce de Réparation de Moyeu de Broche Laser Compatible avec Sony PS One - PS1 Accessoires de Jeu CD
𝘢𝘷𝘦𝘤 𝘱𝘭𝘶𝘨𝘪𝘯 𝘨𝘳𝘢𝘱𝘩𝘪𝘲𝘶𝘦 𝘗𝘦𝘵𝘦'𝘴 𝘖𝘱𝘦𝘯𝘎𝘓2 𝘋𝘳𝘪𝘷𝘦𝘳 𝘷2.9 𝘱𝘰𝘶𝘳 𝘱𝘰𝘶𝘷𝘰𝘪𝘳 𝘭'𝘶𝘵𝘪𝘭𝘪𝘴𝘦𝘳 𝘴𝘢𝘯𝘴 𝘦𝘳𝘳𝘦𝘶𝘳 𝘥𝘢𝘯𝘴:
𝘭'é𝘮𝘶𝘭𝘢𝘵𝘦𝘶𝘳/𝘊𝘰𝘯𝘧𝘪𝘨𝘶𝘳𝘢𝘵𝘪𝘰𝘯/𝘎𝘳𝘢𝘱𝘩𝘪𝘤𝘴... 𝘚𝘰𝘶𝘴 𝘙𝘦𝘴𝘰𝘭𝘶𝘵𝘪𝘰𝘯𝘴 & 𝘊𝘰𝘭𝘰𝘳𝘴 à 𝘙𝘦𝘯𝘥𝘦𝘳 𝘔𝘰𝘥𝘦 𝘮𝘦𝘵𝘵𝘳𝘦 𝘴𝘶𝘳 1: 𝘙𝘦𝘯𝘥𝘦𝘳 𝘵𝘰 𝘱𝘣𝘶𝘧𝘧𝘦𝘳, 𝘤𝘰𝘱𝘺 𝘵𝘰 𝘵𝘦𝘹𝘵𝘶𝘳𝘦 (𝘴𝘶𝘱𝘱𝘰𝘳𝘵𝘦𝘥 𝘣𝘺 𝘮𝘰𝘴𝘵 𝘤𝘢𝘳𝘥𝘴)
𝘗𝘎𝘟𝘗 (𝘗𝘢𝘳𝘢𝘭𝘭𝘦𝘭/𝘗𝘳𝘦𝘤𝘪𝘴𝘪𝘰𝘯 𝘎𝘦𝘰𝘮𝘦𝘵𝘳𝘺 𝘛𝘳𝘢𝘯𝘴𝘧𝘰𝘳𝘮 𝘗𝘪𝘱𝘦𝘭𝘪𝘯𝘦) 𝘢𝘱𝘱𝘰𝘳𝘵𝘦 𝘶𝘯𝘦 𝘩𝘢𝘶𝘵𝘦 𝘱𝘳é𝘤𝘪𝘴𝘪𝘰𝘯 𝘥𝘢𝘯𝘴 𝘭𝘦𝘴 𝘥𝘰𝘯𝘯é𝘦𝘴 3𝘋 𝘨é𝘰𝘮é𝘵𝘳𝘪𝘲𝘶𝘦𝘴. 𝘊𝘦𝘵𝘵𝘦 𝘢𝘮é𝘭𝘪𝘰𝘳𝘢𝘵𝘪𝘰𝘯 𝘦𝘴𝘵 𝘶𝘯𝘪𝘲𝘶𝘦𝘮𝘦𝘯𝘵 𝘥𝘪𝘴𝘱𝘰𝘯𝘪𝘣𝘭𝘦 𝘦𝘯 é𝘮𝘶𝘭𝘢𝘵𝘪𝘰𝘯 𝘦𝘵 𝘯𝘰𝘯 𝘥𝘪𝘴𝘱𝘰𝘯𝘪𝘣𝘭𝘦 𝘴𝘶𝘳 𝘭𝘢 𝘤𝘰𝘯𝘴𝘰𝘭𝘦 𝘥'𝘰𝘳𝘪𝘨𝘪𝘯𝘦.
𝘐𝘭 𝘦𝘴𝘵 𝘢𝘤𝘵𝘶𝘦𝘭𝘭𝘦𝘮𝘦𝘯𝘵 𝘪𝘯𝘵é𝘨𝘳é à 𝘗𝘊𝘚𝘟 𝘷𝘪𝘢 𝘭𝘦 𝘱𝘭𝘶𝘨𝘪𝘯 𝘖𝘱𝘦𝘯𝘎𝘓 𝘷1.78 𝘥𝘦 𝘗𝘦𝘵𝘦 𝘢𝘷𝘦𝘤 𝘭’𝘦𝘹𝘵𝘦𝘯𝘴𝘪𝘰𝘯 𝘥𝘦 𝘛𝘢𝘱𝘦𝘲'𝘴 𝘛𝘸𝘦𝘢𝘬 𝘣𝘢𝘴é 𝘴𝘶𝘳 𝘗𝘦𝘵𝘦'𝘴 𝘖𝘱𝘦𝘯𝘎𝘓 𝘷2.9. 𝘐𝘭 𝘷𝘰𝘶𝘴 𝘧𝘢𝘶𝘥𝘳𝘢 𝘥𝘰𝘯𝘤 𝘗𝘦𝘵𝘦'𝘴 𝘖𝘱𝘦𝘯𝘎𝘓2 𝘋𝘳𝘪𝘷𝘦𝘳 𝘷2.9 𝘱𝘭𝘢𝘤é 𝘥𝘢𝘯𝘴 𝘭𝘦 𝘮ê𝘮𝘦 𝘳é𝘱𝘦𝘳𝘵𝘰𝘪𝘳𝘦 𝘱𝘰𝘶𝘳 𝘲𝘶𝘦 𝘭𝘦 𝘵𝘸𝘦𝘢𝘬 𝘱𝘶𝘪𝘴𝘴𝘦 𝘴'𝘢𝘱𝘱𝘭𝘪𝘲𝘶𝘦𝘳.
AC Power Supply + Audio Video RCA AV Cable Adapter Cord to External TV Screen Monitor for Sony PlayStation 1 2 3 PS1 PS2 PS3 PSX Original Fat Gaming Systems Console Bundle Set Accessory
𝘐𝘭 𝘱𝘦𝘳𝘮𝘦𝘵:
- 𝘜𝘯𝘦 𝘨𝘳𝘢𝘯𝘥𝘦 𝘱𝘳é𝘤𝘪𝘴𝘪𝘰𝘯 𝘴𝘶𝘳 𝘭𝘦𝘴 𝘝𝘦𝘳𝘵𝘦𝘹 𝘥𝘢𝘵𝘢 (𝘎é𝘰𝘮é𝘵𝘳𝘪𝘦 𝘱𝘭𝘶𝘴 𝘴𝘵𝘢𝘣𝘭𝘦)
- 𝘙é𝘥𝘶𝘤𝘵𝘪𝘰𝘯 𝘥𝘦 𝘭'𝘦𝘧𝘧𝘦𝘵 "𝘛𝘳𝘪𝘢𝘯𝘨𝘭𝘦 𝘊𝘶𝘭𝘭𝘪𝘯𝘨" (𝘮𝘰𝘥è𝘭𝘦𝘴 𝘱𝘭𝘶𝘴 𝘥é𝘵𝘢𝘪𝘭𝘭é𝘴)
- 𝘗𝘦𝘳𝘴𝘱𝘦𝘤𝘵𝘪𝘷𝘦 𝘥𝘦𝘴 "𝘛𝘦𝘹𝘵𝘶𝘳𝘦 𝘔𝘢𝘱𝘱𝘪𝘯𝘨" 𝘤𝘰𝘳𝘳𝘦𝘤𝘵𝘦 (𝘥𝘪𝘴𝘵𝘰𝘳𝘴𝘪𝘰𝘯 𝘥𝘦 𝘵𝘦𝘹𝘵𝘶𝘳𝘦 𝘳é𝘥𝘶𝘪𝘵𝘦)
2pcs Remplacement Support de Disque Tournant Fixateur de CD Pièce de Réparation de Moyeu de Broche Laser Compatible avec Sony PS One - PS1 Accessoires de Jeu CDPlaystation Classic Console with 20 Playstation Games Pre-Installed
- Préchargé avec 20 des meilleurs jeux PlayStation, y compris Battle Arena Toshinden, Cool Boarders 2, Destruction Derby, Final Fantasy VII, Grand Theft Auto, Intelligent Qube, Jumping Flash !, Metal Gear Solid, Mr. Driller, Oddworld : Abe's Oddysee, Rayman , Resident Evil Director's Cut, Revelations: Persona, Ridge Racer Type 4, Super Puzzle Fighter II Turbo, Siphon Filter, Tekken 3, Tom Clancy's Rainbow Six, Twisted Metal, Wild Arms
PSone
- Adapté à la PlayStation One : conçu pour s'ajuster parfaitement aux dimensions de la PS1, offrant un maintien sûr et stable.
- Économie d’espace : position verticale qui libère de l'espace pour un rangement plus compact et organisé.
- Matériau de haute qualité : réalisé en PLA durable et écologique, garantissant robustesse et longue durée de vie.
- Finition élégante : fabrication en impression 3D avec une finition lisse pour un look soigné.
- Installation sans effort : aucune vis ni montage nécessaire, il suffit de poser votre console dans le support.
jeudi 14 mai 2020
HyperHQ
Start multiple programs when Hyperspin opens
Hi, you most certainly know the “Exit” function of Hyperhq which allows you to start a program when you open Hyperspin and close it when you exit the frontend.
The problem is that you can only insert one program, annoying enough when you want to use Xpadder, HyperSearch or other specific programs necessary for the proper functioning of Hyperspin.
To remedy this, we will create an AutoHotkey script which will indicate the programs to be executed or quit.
Get the AutoHotkey program from the official website https://www.autohotkey.com/, and install it.
Go to the Hyperspin folder, create a new text document, and rename it; for example “START” (choose the name to give it) and above all rename the extension to “.ahk” (without quotes).
Right-click on your newly created file and there new options will have been added by AutoHotkey including “Edit Script”. Edit it by entering this code:
Salut, vous connaissez très certainement tous la fonction “Exit” de Hyperhq qui vous permet de démarrer un programme a l'ouverture d'Hyperspin et de le fermer lorsque vous quittez le frontend.
Le problème est que l'on ne peut pas y insérer qu'un seul programme, assez embêtant quand on veut utiliser Xpadder, HyperSearch ou d'autres programmes spécifiques nécessaires au bon fonctionnement d'Hyperspin.
Pour y remédier, on va créer un script AutoHotkey qui indiquera les programmes a exécuter ou a quitter.
Récupérez le programme AutoHotkey sur le site officiel https://www.autohotkey.com/, et installez le.
Allez dans le dossier Hyperspin, créez un nouveau document texte, et renommez le ; par exemple “START” (choisissez le nom à lui donner) et surtout renommez l’extension en “.ahk” (sans les guillemets).
Clic-droit sur votre fichier nouvellement créé et là de nouvelles options auront été ajoutés par AutoHotkey dont “Edit Script”. Éditez le en y entrant ce code :
#NoEnv #SingleInstance force SetBatchLines, -1 SetWorkingDir, %A_ScriptDir% IniRead, origValue, % A_WorkingDir . "\Settings\Settings.ini", Main, Hyperlaunch_Path IniWrite, % SubStr(A_ScriptFullPath, 1, 1) . SubStr(origValue, 2), % A_WorkingDir . "\Settings\Settings.ini", Main, Hyperlaunch_Path Run, .\
The entire first part of the code is used to make hyperspin portable. It has nothing to do with this tutorial, but as much to put it with, it eats no bread
Now let's look at the last line: “Run,. \”.
“Run” is the command that will execute the program, while “. \” Is a relative path indicating the starting location of your script.
If for example your script is in “C: \ Hyperspin \ START.ahk” and the program you want to launch is in “C: \ Hyperspin \ HyperLaunch \ Module Extensions \ HyperSearch \ HyperSearch.exe”, then your relative path will be: “. \ HyperLaunch \ Module Extensions \ HyperSearch \ HyperSearch.exe”.
Now it's up to you to indicate in the script the path of the desired program. To add another one, just add a new command line. Here for example mine:
Now let's look at the last line: “Run,. \”.
“Run” is the command that will execute the program, while “. \” Is a relative path indicating the starting location of your script.
If for example your script is in “C: \ Hyperspin \ START.ahk” and the program you want to launch is in “C: \ Hyperspin \ HyperLaunch \ Module Extensions \ HyperSearch \ HyperSearch.exe”, then your relative path will be: “. \ HyperLaunch \ Module Extensions \ HyperSearch \ HyperSearch.exe”.
Now it's up to you to indicate in the script the path of the desired program. To add another one, just add a new command line. Here for example mine:
Toute la première partie du code sert à rendre hyperspin portable. Çà n'a rien à voir avec ce tutoriel, mais autant le mettre avec, ça mange pas de pain 
Maintenant intéressons nous à la dernière ligne : “Run, .\”.
“Run” est la commande qui va exécuter le programme, tandis que “.\” est un chemin relatif indiquant la localisation de départ de votre script.
Si par exemple votre script se trouve dans “C:\Hyperspin\START.ahk” et que le programme que vous voulez lancer est dans “C:\Hyperspin\HyperLaunch\Module Extensions\HyperSearch\HyperSearch.exe”, alors votre chemin relatif sera : “.\HyperLaunch\Module Extensions\HyperSearch\HyperSearch.exe”.
Maintenant, à vous d'indiquer dans le script le chemin du programme desiré. Pour en rajouter un autre suffit d'ajouter une nouvelle ligne de commande. Voila par exemple le mien :
Run, .\HyperLaunch\Profiles\Xpadder\HyperSpin\p1.xpadderprofile Run, .\ZZ-UTILS\HyperSearch\HyperSearch.exe Run, .\ZZ-UTILS\NoMousy1.5\KILL MOUSE.exe Run, .\ZZ-UTILS\NoMousy1.5\KILL TASK.exe
Let's go to the output script, to do this create a new script (for example “EXIT.ahk”), edit it and enter the code:
Passons au script de sortie, pour ce faire créez un nouveau script (par exemple “EXIT.ahk”), éditez-le et entrez-y le code :
#NoTrayIcon
#NoEnv
#Persistent
#SingleInstance force
Process Close, Xpadder.exe
DetectHiddenWindows, On
SetWorkingDir %A_ScriptDir%
NoTrayOrphans()
ExitApp
Return
NoTrayOrphans() {
TrayInfo:= TrayIcons(sExeName,"ahk_class Shell_TrayWnd","ToolbarWindow32" . GetTrayBar()) "`n"
. TrayIcons(sExeName,"ahk_class NotifyIconOverflowWindow","ToolbarWindow321")
Loop, Parse, TrayInfo, `n
{
ProcessName:= StrX(A_Loopfield, "| Process: ", " |")
ProcesshWnd:= StrX(A_Loopfield, "| hWnd: ", " |")
ProcessuID := StrX(A_Loopfield, "| uID: ", " |")
If !ProcessName ProcesshWnd
RemoveTrayIcon(ProcesshWnd, ProcessuID)
}
}
RemoveTrayIcon(hWnd, uID, nMsg = 0, hIcon = 0, nRemove = 2) {
NumPut(VarSetCapacity(ni,444,0), ni)
NumPut(hWnd , ni, 4)
NumPut(uID , ni, 8)
NumPut(1|2|4, ni,12)
NumPut(nMsg , ni,16)
NumPut(hIcon, ni,20)
Return DllCall("shell32\Shell_NotifyIconA", "Uint", nRemove, "Uint", ni)
}
TrayIcons(sExeName,traywindow,control) {
DetectHiddenWindows, On
WinGet, pidTaskbar, PID, %traywindow%
hProc:= DllCall("OpenProcess", "Uint", 0x38, "int", 0, "Uint", pidTaskbar)
pProc:= DllCall("VirtualAllocEx", "Uint", hProc, "Uint", 0, "Uint", 32, "Uint", 0x1000, "Uint", 0x4)
SendMessage, 0x418, 0, 0, %control%, %traywindow%
Loop, %ErrorLevel%
{
SendMessage, 0x417, A_Index-1, pProc, %control%, %traywindow%
VarSetCapacity(btn,32,0), VarSetCapacity(nfo,32,0)
DllCall("ReadProcessMemory", "Uint", hProc, "Uint", pProc, "Uint", btn, "Uint", 32, "Uint", 0)
iBitmap := NumGet(btn, 0)
idn := NumGet(btn, 4)
Statyle := NumGet(btn, 8)
If dwData := NumGet(btn,12)
iString := NumGet(btn,16)
Else dwData := NumGet(btn,16,"int64"), iString:=NumGet(btn,24,"int64")
DllCall("ReadProcessMemory", "Uint", hProc, "Uint", dwData, "Uint", nfo, "Uint", 32, "Uint", 0)
If NumGet(btn,12)
hWnd := NumGet(nfo, 0)
, uID := NumGet(nfo, 4)
, nMsg := NumGet(nfo, 8)
, hIcon := NumGet(nfo,20)
Else hWnd := NumGet(nfo, 0,"int64"), uID:=NumGet(nfo, 8), nMsg:=NumGet(nfo,12), hIcon := NumGet(nfo,24)
WinGet, pid, PID, ahk_id %hWnd%
WinGet, sProcess, ProcessName, ahk_id %hWnd%
WinGetClass, sClass, ahk_id %hWnd%
If !sExeName || (sExeName = sProcess) || (sExeName = pid)
VarSetCapacity(sTooltip,128), VarSetCapacity(wTooltip,128*2)
, DllCall("ReadProcessMemory", "Uint", hProc, "Uint", iString, "Uint", wTooltip, "Uint", 128*2, "Uint", 0)
, DllCall("WideCharToMultiByte", "Uint", 0, "Uint", 0, "str", wTooltip, "int", -1, "str", sTooltip, "int", 128, "Uint", 0, "Uint", 0)
, sTrayIcons .= "idx: " . A_Index-1 . " | idn: " . idn . " | Pid: " . pid . " | uID: " . uID . " | MessageID: " . nMsg . " | hWnd: " . hWnd . " | Class: " . sClass . " | Process: " . sProcess . " | Icon: " . hIcon . " | Tooltip: " . wTooltip . "`n"
}
DllCall("VirtualFreeEx", "Uint", hProc, "Uint", pProc, "Uint", 0, "Uint", 0x8000)
DllCall("CloseHandle", "Uint", hProc)
return sTrayIcons
}
GetTrayBar() {
ControlGet, hParent, hWnd,, TrayNotifyWnd1 , ahk_class Shell_TrayWnd
ControlGet, hChild , hWnd,, ToolbarWindow321, ahk_id %hParent%
Loop {
ControlGet, hWnd, hWnd,, ToolbarWindow32%A_Index%, ahk_class Shell_TrayWnd
If Not hWnd
Break
Else If hWnd = %hChild%
{
idxTB := A_Index
Break
}
}
Return idxTB
}
StrX( H,BS="",ES="",Tr=1,ByRef OS=1) {
return,(SP := InStr(H,BS,0,OS)) (L := InStr(H,ES,0,SP+StrLen(BS))) (OS := L + StrLen(ES)) ? SubStr(H,SP := Tr ? SP + StrLen(BS) : SP ,(Tr ? L : L + StrLen(ES))-SP) : ""
}
As you can see, this code is much larger and, for good reason, there are often refresh bugs when certain programs are quit with AutoHotkey.
In fact Windows leaves them cleanly, but does not have time to refresh the program icon in the task bar at the bottom right, and you would have to pass over it with your mouse so that it disappears (not very clean) .
This script will therefore make the work neither seen nor known!
So let's take a look at the “Process Close” line.
“Process Close” is the command that tells AutoHotkey which program should be closed. So just add the name of the program, which in my case will give
In fact Windows leaves them cleanly, but does not have time to refresh the program icon in the task bar at the bottom right, and you would have to pass over it with your mouse so that it disappears (not very clean) .
This script will therefore make the work neither seen nor known!
So let's take a look at the “Process Close” line.
“Process Close” is the command that tells AutoHotkey which program should be closed. So just add the name of the program, which in my case will give
Comme vous pouvez le voir, ce code est beaucoup plus conséquent et, ce, pour une bonne raison, il y a souvent des bugs de rafraîchissements lorsque certains programmes sont quittés avec AutoHotkey.
En fait Windows les quitte proprement, mais n'a pas le temps de rafraîchir l'icone du programme dans la task bar en bas a droite, et vous seriez obligés de passer dessus avec votre souris pour qu'il disparaisse (pas très propre).
Ce script va donc faire le travaille ni vu ni connu ! 
Intéressons nous donc à la ligne “Process Close”.
“Process Close” est la commande qui indique à AutoHotkey quel programme doit être fermé. Il suffit donc d'ajouter le nom du programme, ce qui donnera dans mon cas :
Process Close, Irotate.exe Process Close, HyperSearch.exe Process Close, Xpadder.exe Process Close, KILL MOUSE.exe Process Close, KILL TASK.exe
it only remains to test the scripts and compile them.
Double-click on “START.ahk”, logically the programs you have indicated in your script will launch.
Do the same on “EXIT.ahk” and normally the programs launched should close.
Once satisfied, right-click on your script and choose “Compile Script”.
This will create an “exe” executable for you, so you can even uninstall autohotkey if you want, but I advise you to keep it as this tool is useful!
All you have to do is indicate in your “settings.ini” file the path of your executables.
In my case, I want to keep the portability of Hyperspin, so I put my 2 executables in the same folder as my “Hyperspin.exe”, suddenly my config looks like this and everything runs flawless
Double-click on “START.ahk”, logically the programs you have indicated in your script will launch.
Do the same on “EXIT.ahk” and normally the programs launched should close.
Once satisfied, right-click on your script and choose “Compile Script”.
This will create an “exe” executable for you, so you can even uninstall autohotkey if you want, but I advise you to keep it as this tool is useful!
All you have to do is indicate in your “settings.ini” file the path of your executables.
In my case, I want to keep the portability of Hyperspin, so I put my 2 executables in the same folder as my “Hyperspin.exe”, suddenly my config looks like this and everything runs flawless
Voila, il ne reste plus qu'à plus qu'à tester les scripts et les compiler.
Faites un double-clic sur “START.ahk”, logiquement les programmes que vous avez indiqué dans votre script se lancent.
Faites de même sur “EXIT.ahk” et normalement les programmes lancés devraient se fermer.
Une fois satisfait, faites un clic-droit sur votre script et choisissez “Compile Script”.
Cela va vous créer un exécutable “exe”, donc vous pouvez même désinstaller autohotkey si vous voulez, mais je vous conseille de le garder tant cet outil est utile ! 
Il ne vous reste plus qu'à indiquer dans votre fichier “settings.ini” le chemin de vos exécutables.
Dans mon cas, je veux conserver la portabilité d'Hyperspin, j'ai donc mis mes 2 exécutables dans le même dossier que mon “Hyperspin.exe”, du coup ma config ressemble à ça et tout roule impeccable
:
[Startup Program] Executable=START.exe Paramaters= Working_Directory= WinState=NORMAL [Exit Program] Executable=EXIT.exe Paramaters= Working_Directory= WinState=NORMAL
Inscription à :
Articles (Atom)















