[résolu] problème ahk future pinball

Un problème que vous ne pouvez classer dans aucune des autres sections?

Modérateurs : Porko, Modérateurs

Avatar de l’utilisateur
argouel
Passionné
Passionné
Messages : 152
Inscription : 09 févr. 2013 - 00:00
Localisation : 50290
A remercié : 53 fois
A été remercié : 10 fois

[résolu] problème ahk future pinball

Message par argouel » 30 avr. 2013 - 21:54

argouel a écrit:
Bonjour les hyperspiniens et hyperspinbiennes !!

bon apres un petit moment d absence je suis bien decider a faire avancer mon projet
j ai voulu rajouter un nouvel emulateur futur pinball en l occurence
et lorsque je lance une table il me met "can't find...../futur pinball.ahk"
quelle est la procedure a suivre car la je m arrache un peu les cheuveux(du moins le peu que j ai)
merci
NB : Si tout va bien, je prend livraison du "wood" pour faire ma cab' ce week end

Avatar de l’utilisateur
argouel
Passionné
Passionné
Messages : 152
Inscription : 09 févr. 2013 - 00:00
Localisation : 50290
A remercié : 53 fois
A été remercié : 10 fois

Re: [résolu] problème ahk future pinball

Message par argouel » 30 avr. 2013 - 21:56

J ai bien dl le fichier ahk et je la i mis dans modules

mais rien ne se passe ....c est un peu frustrant.. :oops:

j utilise hyperspin 1.2.0.0

Avatar de l’utilisateur
argouel
Passionné
Passionné
Messages : 152
Inscription : 09 févr. 2013 - 00:00
Localisation : 50290
A remercié : 53 fois
A été remercié : 10 fois

Re: [résolu] problème ahk future pinball

Message par argouel » 30 avr. 2013 - 22:24

Du nouveau l'émulateur se lance mais il reste au premier plan :(

Avatar de l’utilisateur
soft-bug
Connaisseur
Connaisseur
Messages : 478
Inscription : 10 févr. 2013 - 00:00
A été remercié : 1 fois

Re: [résolu] problème ahk future pinball

Message par soft-bug » 30 avr. 2013 - 22:25

J ai bien dl le fichier ahk et je la i mis dans modules

mais rien ne se passe ....c est un peu frustrant.. :oops:

j utilise hyperspin 1.2.0.0
Peux tu faire un copie / coller de la partie Hyperlaunch qui concerne ton émulateur. Utilise la base "code" du forum.

As tu bien fait un fichier XML dans le répertoire Database que correspond aux jeux que tu as ?

As tu bien ton fichier INI qui indique les chemins et les types de "roms" à lancer ?

Avatar de l’utilisateur
argouel
Passionné
Passionné
Messages : 152
Inscription : 09 févr. 2013 - 00:00
Localisation : 50290
A remercié : 53 fois
A été remercié : 10 fois

Re: [résolu] problème ahk future pinball

Message par argouel » 01 mai 2013 - 08:10

Bonjour et merci d essayer de resoudre mon petit soucis de chemin a priori

je vais essayer de te donner les informations que tu souhaite

Avatar de l’utilisateur
argouel
Passionné
Passionné
Messages : 152
Inscription : 09 févr. 2013 - 00:00
Localisation : 50290
A remercié : 53 fois
A été remercié : 10 fois

Re: [résolu] problème ahk future pinball

Message par argouel » 01 mai 2013 - 17:45

la je bloque...

donc Hyperspin lance future pinall mais il ne lance pas de table

si vous avez des pistes... :oops:


;****************************************************************
;FUTURE PINBALL

else if (executable = "Future Pinball.exe")
{
    Run, %executable% /open "%romPath%%romName%%romExtension%" /play /exit, %emuPath%, UseErrorLevel
   
}


;----------------------------------------------------------------------------
; Future Pinball
; Future Pinball 1.9.1.20101231
; by djvj
; 1.3
;
; Notes:
; Thanks to the FPLaunch author for some of the code
; To set fullscreen, open the emu and goto Preferences-Video / Rendering Options and set your resolution and check fullscreen.
; AHK is not 100% reliable with its focusing. If coin/start/flipper buttons don't function when you start a table, try clicking your left mouse button.
; The script will fail if you have any errors or missing files for your tables. Make sure every table is working before you turn on the LoadingScreen.
; If you use Esc as your exit_emulator_key, you may see the table editor flash in when you exit a game. This is because Esc is the default fixed key for FP so it's closing the game before ahk does.
; If you need to run FP as admin, you can try this trick http://www.zdnet.com/blog/bott/fixing-w ... c/436?pg=4 and use the other Run command commented below
; Future Pinball stores its config in the registry @ HKEY_USERS\S-1-5-21-440413192-1003725550-97281542-1001\Software\Future Pinball\GamePlayer
;----------------------------------------------------------------------------

If 0 2
{   MsgBox,,,Please run this through HyperSpin,2
   ExitApp
}Else
   Goto, Start

Start:

GUI_ID := FadeInStart()

7z1 := 7z(romPath, romName, romExtension, 7zExtractDir)

Run, "%executable%" /open "%romPath%\%romName%%romExtension%" /play /exit /arcaderender, %emupath%, Hide
;Run, "schtasks /run /tn “Future Pinball“", C:\Windows\system32 ; this runs FP via Task Scheduler if you need to run as admin and don't want to see a UAC popup

WinWait, ahk_class FuturePinball
WinWait, ahk_class FuturePinballOpenGL
WinActivate, ahk_class FuturePinballOpenGL
WinWaitActive, ahk_class FuturePinballOpenGL
Gui, destroy 
WinWait, ahk_class FuturePinballOpenGLSecondary,,1
WinActivate, ahk_class FuturePinballOpenGLSecondary
WinWaitActive, ahk_class FuturePinballOpenGLSecondary,,1
WinWaitClose, ahk_class Ghost
Loop {
      IfWinActive, Future Pinball ahk_class FuturePinballOpenGL
         Break
      WinActivate, Future Pinball ahk_class FuturePinballOpenGL
      Sleep, 50
   }
WinWaitActive, Future Pinball ahk_class FuturePinballOpenGL

GUI_ID2 := FadeInExit()

Process, WaitClose, %executable%

7z2 := 7zCleanUp()

GUI_ID4 := FadeOutExit()

WinActivate, Hyperspin

ExitApp

CloseProcess:
   GUI_ID3 := FadeOutStart()
   WinHide, ahk_class FuturePinball ; need these 2 lines otherwise the table editor flashes over the GUI
   WinMinimize, ahk_class FuturePinball
   WinClose, ahk_class FuturePinball
   WinWaitClose, ahk_class FuturePinball ; this helps eliminate the slight flicker when you exit the table
Return

fichier ini

[exe info]
path=C:\Hyperspin\Emulators\Future Pinball\
rompath=C:\Hyperspin\Emulators\Future Pinball\fpRAM\
userompath=false
exe=Future Pinball.exe
romextension=fpt, fpRAM
parameters          = /play /exit
searchsubfolders=true
pcgame              = false
winstate            = HIDDEN
hyperlaunch=true
hyperlaunch_per_game_modules=false

[themes]
themes_only        = false
animate_out_default = false

[wheel]
alpha=1
style=normal
speed              = high
vert_wheel_position = right
text_with_images    = true
text_width          = 700
text_font          = Style2
small_text_width    = 260
large_text_width    = 400
text_stroke_size    = 8
text_stroke_color=0x000000
text_color1=0x00BFFD
text_color2=0xFFFFFF
text_color3=0x00BFFD
color_ratio        = 100
shadow_distance    = 0
shadow_angle        = 45
shadow_color=0x000000
shadow_alpha        = 1
shadow_blur        = 0

[pointer]
x                  = 965
y                  = 384

[video defaults]
path=C:\Hyperspin\Media\Future Pinball\
width              = 1024
height              = 768
x                  = 512
y                  = 230
rotation            = 0
animation_time      = .3
animation_type      = fade
animation_start    = none
border_color        = 0x000000
border_size        = 12
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          = 25
sort_by_name        = false
remove_info_wheel  = false
remove_info_text    = false
use_parent_vids    = false
use_parent_themes  = false

last_game=Abra Ca Dabra (Gottlieb 1969)
start_on_favorites=false
use_indexes=false
[artwork1 defaults]
x                  = 512
y                  = 160
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      = 6.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=false
x                  = 512
y                  = 720
in                  = .4
out                = .4
length              = 3
delay              = .1
type                = normal
start              = bottom

[Special Art B]
default=false
active=false
x                  = 512
y                  = 740
in                  = .4
out                = .4
length              = 2
delay              = .1
type                = fade
start              = none

[Game Text]
game_text_active    = false
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




lukudo
Gourou
Gourou
Messages : 662
Inscription : 25 janv. 2013 - 00:00
Localisation : Vieille-Eglise (pas de calais)
A remercié : 53 fois
A été remercié : 40 fois
Contact :

Re: [résolu] problème ahk future pinball

Message par lukudo » 01 mai 2013 - 17:51

Salut,

alors dans l'ordre, le dossier fpram ne correspond pas aux répertoires pour lancer un flipper, le bon dossier c'est tables.

Ensuite il faut impérativement que le nom de tes tables correspondent à ton fichier dans la database future pinball.
Exemple ton dossier pour une table s'appelle Robocop4x4, la table dans ce dossier doit se nommer Robocop 4x4 et dans le fichier database aussi elle doit porter le même nom ;)

Avatar de l’utilisateur
argouel
Passionné
Passionné
Messages : 152
Inscription : 09 févr. 2013 - 00:00
Localisation : 50290
A remercié : 53 fois
A été remercié : 10 fois

Re: [résolu] problème ahk future pinball

Message par argouel » 01 mai 2013 - 17:59

j avais indique ce nom ,fpram plutot que tables de dossier, car les extensions fpt il ne les voit pas ...

Avatar de l’utilisateur
argouel
Passionné
Passionné
Messages : 152
Inscription : 09 févr. 2013 - 00:00
Localisation : 50290
A remercié : 53 fois
A été remercié : 10 fois

Re: [résolu] problème ahk future pinball

Message par argouel » 01 mai 2013 - 19:15

j ai reedite un enieme xml
pris le bon dossier de rom
et la ca fonctionne :cheers:
Merci

Répondre

Revenir à « Divers »