Page 1 sur 1

[RESOLU] Felix Fix it :modifier les touches de controles ?

Publié : 28 juil. 2014 - 23:43
par Gg45
Je suis en train d'intégrer Felix Fix IT à ma Heavybox. J'ai récupérer le thème, j'arrive à le lancer et à jouer au clavier, mais les touches de contrôles ne correspondent pas du tout aux touches de mon panel... Une solution ???

Merci !

Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 28 juil. 2014 - 23:59
par DarkEagle37
Utiliser un script AHk ;)

gamePath=.\fix_it_felix_jr\FixitFelixJr.exe ; the full path and exe of FixitFelixJr.exe
BezelPath=F:\MUGEN\fix_it_felix_jr\Bezel.jpg ; the full path and extension to bezel file
zoom=200 ; Frame Resolution-Only 33,50,100,200 are supported
YAdjust=-5 ; adjusts vertically how far off center from the middle of the screen, 0=center, negative value moves up, positive value moves down
XAdjust=0 ; adjusts horizontally how far off center from the middle of the screen, 0=center, negative value moves to left, positive value moves to right
title=ahk_class FOCAL Test Shell
exitkey=Esc
ShowBezel=true
BackgroundColor=black ; changes background color, see here for available colors: http://www.autohotkey.com/docs/commands ... htm#colors
rotation=90 ; still need to rotate monitor, no point in having enabled
;----------------------------------------------------------------------------------------------------
Hotkey, ~%exitkey%, Close
WinHide ahk_class Shell_TrayWnd
WinHide, ahk_class Button
SplitPath,gamePath,fileName,fileDir

Gui, GUI1: New, -Caption +ToolWindow +OwnDialogs
Gui, GUI1: Color, %BackgroundColor%
If ShowBezel = true
 Gui, GUI1: Add, Picture, W%A_ScreenWidth% H%A_ScreenHeight%, %BezelPath%
Gui, GUI1: Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%
 
; rotation := If (rotation=90 || rotation=180 || rotation=270) ? " -rotate=" . rotation . " fullscreen" : ""
zoom := If (zoom=33 || zoom=50 || zoom=100 || zoom=200) ? " -zoom=" . zoom : ""

Run, %fileName% %zoom% %rotation%, %fileDir%
WinWait, %title%
WinActivate, %title%
winHwnd:=WinActive(title)
WinSet,AlwaysOnTop, On, %title%
WinSet, Style, -0xC00000, %title% ; Remove border and titlebar
DllCall("SetMenu", uint, winHwnd, uint, 0) ; Remove the MenuBar
CenterWindow(title)
Process, WaitClose, %fileName%
ExitApp

;-----Control Remaps-----
;BackSpace::c ;Insert Coin
;Enter::1 ;Start Player 1
;~?::2 ;Start Player 2
;q::Left ;Move Left
;d::Right ;Move Right
;z::Up ;Jump Up a Level
;s::Down ;Jump Down a Level
;?::{LButton} ;Jump
;Numpad1::Shift ;Fix-It
;?::{F5} ;save
;?::{F6} ;FrameSkip
;?::{F7} ;ScreenShot
;?::{scrlk} ;lock mouse crosshairs to center of screen
;------------------------


CenterWindow(class) {
 Global YAdjust
 Global XAdjust
 WinGetPos, appX, appY, appWidth, appHeight, %class%
 appXPos := ( A_ScreenWidth / 2 ) - ( appWidth / 2 )
 appYPos := ( A_ScreenHeight / 2 ) - ( appHeight / 2 )
 WinMove, %class%,, % (appXPos+XAdjust), % (appYPos+YAdjust), appWidthNew, appHeightNew
}

Close:
 WinClose, ahk_class FOCAL Test Shell
 WinShow, ahk_class Shell_TrayWnd
 WinShow, ahk_class Button
Return

Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 29 juil. 2014 - 11:11
par Gg45
Merci, je vais essayer !

Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 29 juil. 2014 - 11:19
par DarkEagle37
Si tu veux j'ai un dossier avec tout, le jeu MAME, le bezel, le thème HS et le AHK qui permet de changer les touches et afficher le BEZEL ;)

Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 29 juil. 2014 - 12:52
par undertaker
ça m’intéresse aussi dark,

j'ai la version sega 32x et version PC, mais pas la version MAME   :D  


Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 29 juil. 2014 - 12:53
par DarkEagle37
Ouai fin c'est une version PC façon MAME...
Je vous balance ça ;)

PACK FIX IT FELIX.zip 3.0 MB
https://mega.co.nz/#!oF1lQZDR!NXk01gQxx ... GhPrXjE7TM

Il suffit d'éditer le AHK avec tes touches et la taille de ton écran (pour le bezel) et ensuite le compiler.
Ensuite tu lances FIX IT FELIX grâce au .exe crée.

Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 29 juil. 2014 - 15:37
par Veusti
Merci Dark   :D  

Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 29 juil. 2014 - 15:53
par salyangel
Pour HL2 ou HL3 j'aimerai me le mettre tiens ;)

Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 29 juil. 2014 - 17:18
par Gg45
Le compiler ?

Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 29 juil. 2014 - 17:23
par DarkEagle37
Le compiler ? Oui, avec AutoHotkey ;)

Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 29 juil. 2014 - 17:36
par Gg45
Ca y est, j'ai lâché la barre...

Je pensais que c'était un simple AHK comme pour n'importe quel module...

Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 29 juil. 2014 - 18:01
par Gg45
J'ai trouvé plus simple... Je teste et je vous tiens au courant... Ca ne fonctionne pas sur mon PC mais je vais tester directement sur ma borne...

Re: Felix Fix it : comment modifier les touches de controles ?

Publié : 17 août 2014 - 21:55
par gege044
Bonjour à tous,
Plus simple tu m'intéresse Gg45 ;) .
Où en es tu?
@+
gégé

EDIT: Autrement je suis preneur d'explications de comment modifier le AHK et le compiler.
Merci pour le pack