[Résolu] Prob chargement roms mame 0.152 de la heavybox sous hl3

Ici se règle les problèmes concernant une configuration Hyperspin tournant sous HyperLaunch 3.

Modérateurs : Porko, Modérateurs

Répondre
Avatar de l’utilisateur
Ragnarok64
Gourou
Gourou
Messages : 669
Inscription : 09 janv. 2013 - 00:00
A remercié : 1 fois

[Résolu] Prob chargement roms mame 0.152 de la heavybox sous hl3

Message par Ragnarok64 » 20 juil. 2014 - 19:47

Salut, j'ai besoin d'un peu d'aide avant de sombrer dans la folie.
Cela faisait un moment que je n'avais pas eu de soucis.  :evil:  
J'ai voulu utiliser le mame64 v0.152 de la heavybox sous HL3, j'ai donc copier ce dernier sur mon install hl3.
Quand je lance un jeu CPS2 (1944j), hl3 me fait un écran noir pour charger le jeu et 5 secondes après il revient sur les wheels.
Les jeux fonctionnent parfaitement depuis mame64.
 
19:28:21:772 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.0.9
19:28:21:773 | HL |     INFO  | +0     | Main - System Specs:
               HyperLaunch Dir: D:\Jeux\Hyperspin\HyperLaunch
               OS: WIN_7
               Architecture: 64-bit (might not be accurate)
               OS Language: 040C
               OS Admin Status: Yes
               Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1050 work)
               AutoHotkey Path:
               AHK Version: 1.1.09.04
               Unicode: No
19:28:21:773 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x0 y0 w1920 h1080
19:28:21:773 | HL |     INFO  | +0     | CheckFile - Checking if D:\Jeux\Hyperspin\HyperLaunch\HyperLaunch.exe exists
19:28:21:773 | HL |     INFO  | +0     | Main - HyperLaunch received "CPS2" and "1944j"
19:28:21:779 | HL |     INFO  | +0     | Main - 1944j is using the default emulator: mame64
19:28:21:779 | HL |     INFO  | +0     | Main - Checking for a [mame64] section in D:\Jeux\Hyperspin\HyperLaunch\Settings\CPS2\Emulators.ini
19:28:21:779 | HL |     INFO  | +0     | Main - Found [mame64] in D:\Jeux\Hyperspin\HyperLaunch\Settings\CPS2\Emulators.ini
19:28:21:780 | HL |     INFO  | +0     | CheckFile - Checking if D:\Jeux\Hyperspin\HyperLaunch\Modules\MAME\MAME.ahk exists
19:28:21:785 | HL |  WARNING  | +15    | Main - CRC Check - CRC does not match official module and will not be supported. Continue using at your own risk.
19:28:21:785 | HL |     INFO  | +0     | Main - 1944j will use module: D:\Jeux\Hyperspin\HyperLaunch\Modules\MAME\MAME.ahk
19:28:21:796 | HL |     INFO  | +0     | Main - Using standard method with "Rom Extensions" SkipChecks or without any SkipChecks.
19:28:21:798 | HL |     INFO  | +16    | Main - INI Keys read
19:28:21:798 | HL |     INFO  | +0     | CheckFile - Checking if D:\Jeux\Hyperspin\HyperLaunch\Module Extensions\7z.exe exists
19:28:21:799 | HL |     INFO  | +0     | CheckFile - Checking if D:\Jeux\Hyperspin\HyperLaunch\Module Extensions\7z.dll exists
19:28:21:800 | HL |     INFO  | +0     | CheckPaths - Started
19:28:21:800 | HL |     INFO  | +0     | CheckPaths - Found rom: D:\Jeux\Hyperspin\Emulator\MAME\Romfiles\CPS2\1944j.zip
19:28:21:800 | HL |     INFO  | +0     | CheckFile - Checking if D:\Jeux\Hyperspin\Emulator\MAME\MAME\mame64.exe exists
19:28:21:802 | HL |     INFO  | +0     | CheckPaths - Ended
19:28:21:803 | HL |     INFO  | +0     | BuildScript - User Variables:
               ;----------------------------------------------------------------------------
               ; INJECTED VARIABLES
               ;----------------------------------------------------------------------------
               
               #NoTrayIcon
               #InstallKeybdHook
               DetectHiddenWindows, ON
               SetTitleMatchMode, 2
               SendMode, Event
               0 = 2
               frontendPID = 3188
               frontendPath = D:\Jeux\Hyperspin
               frontendExe = HyperSpin.exe
               frontendExt = exe
               frontendName = HyperSpin
               frontendDrive = D:
               exitEmulatorKey = Esc
               exitEmulatorKeyWait = 0
               forceHoldKey = ~Esc
               restoreFE = false
               exitScriptKey = ~q ~s
               emuFullPath = D:\Jeux\Hyperspin\Emulator\MAME\MAME\mame64.exe
               emuPath = D:\Jeux\Hyperspin\Emulator\MAME\MAME
               emuName = mame64
               emuExt = exe
               romPath = D:\Jeux\Hyperspin\Emulator\MAME\Romfiles\CPS2
               romPathFromIni = D:\Jeux\Hyperspin\Emulator\MAME\Romfiles\CPS2
               romExtension = .zip
               romExtensionOrig = .zip
               romExtensions = 7z|zip
               executable = mame64.exe
               systemName = CPS2
               dbName = 1944j
               romName =
               romMapPath =
               romMappingEnabled = false
               romMappingLaunchMenuEnabled = false
               romMappingFirstMatchingExt = false
               romMappingShowAllRomsInArchive = true
               romMappingNumberOfWheelsByScreen = 7
               romMappingMenuWidth = 300
               romMappingMenuMargin = 50
               romMappingTextFont = Bebas Neue
               romMappingTextOptions = cFFFFFFFF r4 s40 Bold
               romMappingDisabledTextColor = ff888888
               romMappingTextSizeDifference = 5
               romMappingTextMargin = 10
               romMappingTitleTextFont = Bebas Neue
               romMappingTitleTextOptions = cFFFFFFFF r4 s60 Bold
               romMappingTitle2TextFont = Bebas Neue
               romMappingTitle2TextOptions = cFFFFFFFF r4 s15 Bold
               romMappingGameInfoTextFont = Bebas Neue
               romMappingGameInfoTextOptions = cFFFFFFFF r4 s15 Regular
               romMappingBackgroundBrush = aa000000
               romMappingColumnBrush = 33000000
               romMappingButtonBrush1 = 6f000000
               romMappingButtonBrush2 = 33000000
               romMappingBackgroundAlign = Stretch and Lose Aspect
               romMappingMenuFlagWidth = 40
               romMappingMenuFlagSeparation = 5
               romMappingDefaultMenuList = FullList
               romMappingSingleFilteredRomAutomaticLaunch = false
               skipchecks = false
               romMatchExt = true

Avatar de l’utilisateur
salyangel
Virtuose
Virtuose
Messages : 1051
Inscription : 19 févr. 2014 - 00:00
A remercié : 8 fois
A été remercié : 3 fois

Re: [Résolu] Prob chargement roms mame 0.152 de la heavybox sous hl3

Message par salyangel » 22 juil. 2014 - 00:17

MEmu = MAME
MEmuV =  v0.150
MURL = http://www.mame.net/
MAuthor = djvj
MVersion = 2.1.2
MCRC = 232140EB
iCRC = 397D8196
MID = 635038268903403479
MSystem = "AAE","Cave","LaserDisc","MAME","Nintendo Arcade Systems","Sega Model 1","Sega ST-V","SNK Neo Geo","SNK Neo Geo AES"
;----------------------------------------------------------------------------
; Notes:
; No need to edit mame.ini and set your rom folder, module sends the rompath for you.
; Command Line Options - http://easyemu.mameworld.info/mameguide ... tions.html
; High Scores DO NOT SAVE when cheats are enabled!
; HLSL Documentation: http://mamedev.org/source/docs/hlsl.txt.html
; If you use MAME for AAE, create a vector.ini in mame's ini subfolder and paste these HLSL settings in there: http://www.mameworld.info/ubbthreads/sh ... sb=5o=vc=1
; If you use bezel, it is recommended to set the module bezel mode to normal, and go to your mame.ini file, on your emulator folder, and choose these options: artwork_crop 1, use_backdrops 1, use_overlays 1, use_bezels 0, use_cpanels 0, use_marquees 0
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()

settingsFile := modulePath . "\" . moduleName . ".ini"

Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
Videomode := IniReadCheck(settingsFile, "Settings", "Videomode","d3d",,1)
hlsl := IniReadCheck(settingsFile, "Settings|" . systemName, "HLSL","false",,1)
hideConsole := IniReadCheck(settingsFile, "Settings", "HideConsole","true",,1)   ; Hides console window from view if it shows up
pauseMethod := IniReadCheck(settingsFile, "Settings", "PauseMethod",1,,1)   ; set the pause method that works better on your machine (preferred methods 1 and 2) 1 = Win7 and Win8 OK - Problems with Win XP, 2 = preferred method for WinXP - Problems in Win7, 3 and 4 = same as 1 and 2, 5 = only use If you have a direct input version of mame, 6 = suspend mame process method, it could crash mame in some computers
bezelMode := IniReadCheck(settingsFile, "Settings", "BezelMode","layout",,1)   ; "layout" or "normal"
cheatMode := IniReadCheck(settingsFile, "Settings", "CheatMode","false",,1)
cheatModeKey := IniReadCheck(settingsFile, "Settings", "CheatModeKey",A_Space,,1)   ; user defined key to be held down before launching a mame rom.
sysParams := IniReadCheck(settingsFile, systemName, "Params", A_Space,,1)
romParams := IniReadCheck(settingsFile, romName, "Params", A_Space,,1)
mameRomName := IniReadCheck(settingsFile, romName, "MameRomName", A_Space,,1)
Artwork_Crop := IniReadCheck(settingsFile, systemName . "|" . romName, "Artwork_Crop", "true",,1)
Use_Bezels := IniReadCheck(settingsFile, systemName . "|" . romName, "Use_Bezels", "false",,1)
Use_Overlays := IniReadCheck(settingsFile, systemName . "|" . romName, "Use_Overlays", "true",,1)
Use_Backdrops := IniReadCheck(settingsFile, systemName . "|" . romName, "Use_Backdrops", "true",,1)
Use_Cpanels := IniReadCheck(settingsFile, systemName . "|" . romName, "Use_Cpanels", "false",,1)
Use_Marquees := IniReadCheck(settingsFile, systemName . "|" . romName, "Use_Marquees", "false",,1)
autosave := IniReadCheck(settingsFile, systemName . "|" . romName, "Autosave", "false",,1)

If bezelEnabled = true
{   artworkCrop := If (Artwork_Crop = "true") ? "-artwork_crop" : "-noartwork_crop"
   useBezels := If (Use_Bezels = "true") ? "-use_bezels" : "-nouse_bezels"
   useOverlays := If (Use_Overlays = "true") ? "-use_overlays" : "-nouse_overlays"
   useBackdrops := If (Use_Backdrops = "true") ? "-use_backdrops" : "-nouse_backdrops"
   UseCpanels := If (Use_Cpanels = "true") ? "-use_cpanels" : "-nouse_cpanels"
   UseMarquees := If (Use_Marquees = "true") ? "-use_marquees" : "-nouse_marquees"
   ListXMLtable := []
   ListXMLtable := ListXMLInfo(romName)
   If bezelMode = layout
      BezelStart(romName,ListXMLtable[1],ListXMLtable[2],ListXMLtable[3],ListXMLtable[4])
   Else if !(Use_Bezels = "true")
      BezelStart(,,ListXMLtable[2])
} Else {
   artworkCrop := "-artwork_crop"
   useBezels := "-nouse_bezels"
   useOverlays := "-nouse_overlays"
   useBackdrops := "-nouse_backdrops"
   UseCpanels := "-nouse_cpanels"
   UseMarquees := "-nouse_marquees"   
}

; -romload part of 147u2 that shows what roms were checked when missing roms
winstate := If (Fullscreen = "true") ? "Hide UseErrorLevel" : "UseErrorLevel"
fullscreen := If (Fullscreen = "true") ? "-nowindow" : "-window"
hlsl := If hlsl = "true" ? "-hlsl_enable" : "-nohlsl_enable"
videomode := If (Videomode != "" ) ? "-video " . videomode : ""
sysParams := If sysParams != ""  ? sysParams : ""
romParams := If romParams != ""  ? romParams : ""
autosave := If autosave = "true"  ? "-autosave" : ""

StringReplace,mameRomPaths,romPathFromIni,|,`"`;`",1   ; replace all instances of | to ; in the Rom_Path from Emulators.ini so mame knows where to find your roms
mameRomPaths := "-rompath """ .  (If mameRomName ? romPath : mameRomPaths) . """"   ; if using an alt rom, only supply mame with the path to that rom so it doesn't try to use the original rom

If InStr(romParams,"-rompath")
   ScriptError("""-rompath"" is defined as a parameter for " . romName . ". The MAME module fills this automatically so please remove this from Params in the module's settings.")
If InStr(sysParams,"-rompath")
   ScriptError("""-rompath"" is defined as a parameter for " . systemName . ". The MAME module fills this automatically so please remove this from Params in the module's settings.")

If mameRomName {
   FileMove, %romPath%\%romName%%romExtension%, %romPath%\%mameRomName%%romExtension%   ; rename rom to match what mame needs
   originalRomName := romName   ; store romName from database so we know what to rename it back to later
   romName := mameRomName
   If ErrorLevel
      ScriptError("There was a problem renaming " . romName . "  to " . mameRomName . " in " . romPath . ". Please check you have write permission to this folder/file and you don't already have a file named """ . mameRomName . """ in your rom folder.",8)
   Else   ; if rename was successful, set var so we know to move it back later
      fileRenamed = 1
}

If cheatMode = true
{   If cheatModeKey   ; if user wants to use a key to enable CheatMode
      cheatEnabled := If XHotkeyAllKeysPressed(cheatModeKey) ? "-cheat" : ""
   Else   ; no cheat mode key defined
      cheatEnabled := "-cheat"
}

If hideConsole = true
   SetTimer, HideConsole, 10

errLvl := Run(executable . A_Space . romName . A_Space . fullscreen . A_Space . hlsl . A_Space . cheatEnabled . A_Space . videomode . A_Space . artworkCrop . A_Space . useBezels . A_Space . useOverlays . A_Space . useBackdrops . A_Space . UseCpanels . A_Space . UseMarquees . A_Space . mameRomPaths . A_Space . sysParams . A_Space . romParams . A_Space . autosave, emuPath, winstate)

If errLvl {
   If (errLvl = 1)
      Error = Failed Validity
   Else If(errLvl = 2)
      Error = Missing Files
   Else If(errLvl = 3)
      Error = Fatal Error
   Else If(errLvl = 4)
      Error = Device Error
   Else If(errLvl = 5)
      Error = Game Does Not Exist
   Else If(errLvl = 6)
      Error = Invalid Config
   Else If errLvl in 7,8,9
      Error = Identification Error
   Else
      Error = MAME Error
   Log("MAME Error - " . Error,3)
}

WinWait("ahk_class MAME")
WinWaitActive("ahk_class MAME")

BezelDraw()
FadeInExit()
Process("WaitClose", executable)
BezelExit()

If fileRenamed {   ; rename file back to alternate name for next launch
   FileMove, %romPath%\%romName%%romExtension%, %romPath%\%originalRomName%%romExtension%
   If ErrorLevel   ; if rename was successful, set var so we know to move it back later
      ScriptError("There was a problem renaming " . romName . " back to " . originalRomName)
}

FadeOutExit()
ExitModule()


ListXMLInfo(rom){ ; returns MAME/MESS info about parent rom, orientation angle, resolution
   Global emuFullPath, emuPath
   ListXMLtable := []
   RunWait, % comspec . " /c " . """" . emuFullPath . """" . " -listxml " . rom . " tempBezel.txt", %emuPath%, Hide
   Fileread, ListxmlContents, %emuPath%\tempBezel.txt
   RegExMatch(ListxmlContents, "s)game.*name=" . """" . rom . """" . ".*" . "cloneof=" . """" . "[^""""]*", parent)
   RegExMatch(parent,"cloneof=" . """" . ".*", parent)
   RegExMatch(parent,"""" . ".*", parent)
   StringTrimLeft, parent, parent, 1
   RegExMatch(ListxmlContents, "s)display.*rotate=" . """" . "[0-9]+" . """", angle)
   RegExMatch(angle,"[0-9]+", angle, "-6")
   RegExMatch(ListxmlContents, "s)display.*width=" . """" . "[0-9]+" . """", width)
   RegExMatch(width,"[0-9]+", width, "-6")
   RegExMatch(ListxmlContents, "s)display.*height=" . """" . "[0-9]+" . """", Height)
   RegExMatch(Height,"[0-9]+", Height, "-6")
   ListXMLtable[1] := parent
   ListXMLtable[2] := angle
   If (ListXMLtable[2]0)
      ListXMLtable[3] := height
   Else
      ListXMLtable[3] := width
   If (ListXMLtable[2]0)
      ListXMLtable[4] := width
   Else
      ListXMLtable[4] := height
   FileDelete, %emuPath%\tempBezel.txt
   Return ListXMLtable   
}

HaltEmu:
   If pauseMethod = 1
   {   disableSuspendEmu = true
      disableRestoreEmu = true
      PostMessage,0x211, 1, , , ahk_class MAME
   } Else If pauseMethod = 2
   {   disableSuspendEmu = true
      PostMessage,0x211, 1, , , ahk_class MAME
   } Else If pauseMethod = 3
   {   disableSuspendEmu = true
      disableRestoreEmu = true
      PostMessage,% 0x0400+6, 1, , , ahk_class MAME
   } Else If pauseMethod = 4
   {   disableSuspendEmu = true
      PostMessage,% 0x0400+6, 1, , , ahk_class MAME
   } Else If pauseMethod = 5
   {   disableSuspendEmu = true
      Send, {P down}
      Sleep, 1000
      Send, {P up}
   }
Return
RestoreEmu:
   If pauseMethod = 1
   {   PostMessage,0x212, 1, , , ahk_class MAME
      WinActivate, ahk_class MAME
   } Else If pauseMethod = 2
   {   PostMessage,0x212, 1, , , ahk_class MAME
      WinActivate, ahk_class MAME
   } Else If pauseMethod = 3
   {   PostMessage,% 0x0400+6, 0, , , ahk_class MAME
      WinActivate, ahk_class MAME
   } Else If pauseMethod = 4
   {   PostMessage,% 0x0400+6, 0, , , ahk_class MAME
      WinActivate, ahk_class MAME
   } Else If pauseMethod = 5
   {   disableSuspendEmu = true
      Send, {P down}
      Sleep, 1000
      Send, {P up}
      WinActivate, ahk_class MAME
   } Else If pauseMethod = 6
      WinActivate, ahk_class MAME
Return

HideConsole:
   hideConsoleTimer++
   IfWinExist, ahk_class ConsoleWindowClass
   {   Log("Module - HideConsole - Console window found, hiding it out of view.")
      WinSet, Transparent, 0, ahk_class ConsoleWindowClass
      SetTimer, HideConsole, Off
   } Else If hideConsoleTimer = 200
      SetTimer, HideConsole, Off
Return

CloseProcess:
   FadeOutStart()
   WinClose("ahk_class MAME")
Return

Voici le module qui marche avec MAME 0.153 c'est le dernier mis a jour par le fameux dvdj

Avatar de l’utilisateur
Ragnarok64
Gourou
Gourou
Messages : 669
Inscription : 09 janv. 2013 - 00:00
A remercié : 1 fois

Re: [Résolu] Prob chargement roms mame 0.152 de la heavybox sous hl3

Message par Ragnarok64 » 22 juil. 2014 - 03:31

Merci, mais cela ne fonctionne toujours pas.
Le plus bizarre est que si je lance une rom du system MAME cela fonctionne, mais pas les CPS2 avec le même MAME.

Je lance bien toutes les roms depuis mame sans soucis, mais impossible de lancer les roms CPS2 depuis hyperspin.

Avatar de l’utilisateur
kikikirissx
Virtuose
Virtuose
Messages : 1237
Inscription : 02 sept. 2013 - 01:00
Localisation : Bonneuil
A remercié : 30 fois
A été remercié : 34 fois

Re: [Résolu] Prob chargement roms mame 0.152 de la heavybox sous hl3

Message par kikikirissx » 22 juil. 2014 - 08:59

retelecherge les roms pour ton Mame a mon avis cela vient de la

Avatar de l’utilisateur
Meth
Administrateur
Administrateur
Messages : 4541
Inscription : 19 oct. 2012 - 01:00
Localisation : Conflans-en-Jarnisy
A remercié : 989 fois
A été remercié : 2180 fois
Contact :

Re: [Résolu] Prob chargement roms mame 0.152 de la heavybox sous hl3

Message par Meth » 22 juil. 2014 - 09:27

Il te faut patcher les roms via romcenter ( tuto sur le forum).  Il va te falloir le qsound.zip

Avatar de l’utilisateur
salyangel
Virtuose
Virtuose
Messages : 1051
Inscription : 19 févr. 2014 - 00:00
A remercié : 8 fois
A été remercié : 3 fois

Re: [Résolu] Prob chargement roms mame 0.152 de la heavybox sous hl3

Message par salyangel » 22 juil. 2014 - 13:34

Dsl je suis passé sur du 153 et j'ai pris sur le net un pack de roms deja patché 153.
Ensuite j’utilise un autre mame aussi qui marche du tonnerre!

Avatar de l’utilisateur
kikikirissx
Virtuose
Virtuose
Messages : 1237
Inscription : 02 sept. 2013 - 01:00
Localisation : Bonneuil
A remercié : 30 fois
A été remercié : 34 fois

Re: [Résolu] Prob chargement roms mame 0.152 de la heavybox sous hl3

Message par kikikirissx » 22 juil. 2014 - 13:56

passe en resolu alors ;)

Avatar de l’utilisateur
Ragnarok64
Gourou
Gourou
Messages : 669
Inscription : 09 janv. 2013 - 00:00
A remercié : 1 fois

Re: [Résolu] Prob chargement roms mame 0.152 de la heavybox sous hl3

Message par Ragnarok64 » 22 juil. 2014 - 18:47

Il te faut patcher les roms via romcenter ( tuto sur le forum).  Il va te falloir le qsound.zip
Merci pour l'info, je vais tester ta solution.

Avatar de l’utilisateur
DarkEagle37
Maître
Maître
Messages : 3318
Inscription : 07 mars 2013 - 00:00
Localisation : Tours (37)
A remercié : 78 fois
A été remercié : 113 fois

Re: [Résolu] Prob chargement roms mame 0.152 de la heavybox sous hl3

Message par DarkEagle37 » 22 juil. 2014 - 19:07

Il te faut patcher les roms via romcenter ( tuto sur le forum).  Il va te falloir le qsound.zip
Merci pour l'info, je vais tester ta solution.
Voici les règles à suivre pour pouvoir partager le mieux possible ensemble:

- Évitez les signatures trop longues.

Bien sûr, tout manquement à l'une de ces règles sera rappelé lors de transgressions et des mesures seront prisent en cas de récidive ou de manquement grave.

Merci Ragna de faire quelque chose pour ta signature par ce que l'as ça devient plus possible....
A chacun de tes messages ça fait une demie-page :D :D

Avatar de l’utilisateur
Ragnarok64
Gourou
Gourou
Messages : 669
Inscription : 09 janv. 2013 - 00:00
A remercié : 1 fois

Re: [Résolu] Prob chargement roms mame 0.152 de la heavybox sous hl3

Message par Ragnarok64 » 22 juil. 2014 - 23:27

Merci cela fonctionne.
Je passe mon post en résolu et modifie ma signature.

Répondre

Revenir à « Aide sur RocketLauncher »