Jump to content

AJUDA COM ROCKETLAUCHER + HYPERSPIN+FUTURE PINBALL


Matheus10001

Recommended Posts

Dependendo do que muda de uma versão para outra pode influenciar sim, se puder, me mande umas screenshots das configurações globais desse emulador de Pinball e do próprio sistema de pinball, eu não tenho nenhum sistema pinball ativo no meu Hyperspin mas posso tentar te ajudar.

Link to comment
Share on other sites

Media, veja, desculpe minha ignorância se não for essas informações.

 

Meu maior problema é configurar o sistema no RockeLaucher, no HyperLaucherHQ tenho um dominio maior mas não tenho o modulo Ahk do future pinball, por isso resolvi utilizar o RocketLaucher.

 

 

Desde já agradeço a atenção disponibilizada.

 

Modulo AHK do RocktLaucher.

 

MEmu = Future Pinball
MEmuV = v1.9.1.20101231
MURL = http://www.futurepinball.com/
MAuthor = djvj,brolly,bleasby
MVersion = 2.0.1
MCRC = D29236A2
iCRC = F3A73C54
MID = 635038268894446032
MSystem = "Future Pinball"
;----------------------------------------------------------------------------
; 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.
; To prevent crashes disable "Load Image into Table Editor" under Preferences->Editor Options
; 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 get script errors or no tables seem to work, try running FP as admin and it will probably fix it.
; If you need to run FP as admin, you can try this trick http://www.zdnet.com/blog/bott/fixing-windows-vista-part-2-taming-uac/436?pg=4 and use the other Run command commented below
; Future Pinball stores its config in the registry @ HKEY_CURRENT_USER\Software\Future Pinball\GamePlayer
; For tables with custom game rooms you can see the fine details by pressing F11 to enable manual camera, then using WASD and your mouse to move around. Press F1 through F5 to cycle the camera views.
; If you are using BAM together with Future Pinball, make sure you point your emulator executable to the FPLoader.exe file and do not rename this file to anything else.
; You can download BAM here : http://www.ravarcade.pl/
;
;Fade:
;If you want to hide the future pinball loading screen behind fade, you just need to set the fullscreen option to false.
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()

settingsFile := modulePath . "\" . moduleName . ".ini"
ArcadeRenderer := IniReadCheck(settingsFile, "Settings|" . romName, "ArcadeRenderer", "false",,1)
RenderGameRoom := IniReadCheck(settingsFile, "Settings|" . romName, "RenderGameRoom", "false",,1)
Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
WindowedResolution := IniReadCheck(settingsFile, "Settings", "Windowed_Resolution",A_ScreenWidth . "x" . A_ScreenHeight,,1)

BezelStart()

If bezelPath
    WindowedResolution := % Round(bezelScreenWidth) . "x" . Round(bezelScreenHeight)

If (executable = "FPLoader.exe")
    StayInRAM := IniReadCheck(settingsFile, "Settings|" . romName, "StayInRAM", "false",,1) ;Only applicable with BAM

If (ArcadeRenderer = "true")
    ParamsEnd := "/arcaderender"
If (StayInRAM = "true")
    ParamsBegin := "/STAYINRAM"

If (Fullscreen = "true")
    RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Future Pinball\GamePlayer, FullScreen, 1
Else {
    StringSplit, WindowedResolution, WindowedResolution, x
    RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Future Pinball\GamePlayer, Width, %WindowedResolution1%
    RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Future Pinball\GamePlayer, Height, %WindowedResolution2%
    RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Future Pinball\GamePlayer, FullScreen, 0
}

;Setting RenderGameRoom option on registry If needed
RegRead, currentGameRoom, HKEY_CURRENT_USER, Software\Future Pinball\GamePlayer, RenderGameRoom
If (currentGameRoom != RenderGameRoom)
{    NewValue := If RenderGameRoom = "true" ? "1" : "0"
    RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Future Pinball\GamePlayer, RenderGameRoom, %NewValue%
}

hideEmuObj := Object("ahk_class Ghost",0,"ahk_class SPLASH",0,"ahk_class ScriptEditorClass",0,"ahk_class FuturePinballOpenGLSecondary",0,"ahk_class FuturePinballOpenGL",1,"ahk_class FuturePinball",1)    ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
7z(romPath, romName, romExtension, 7zExtractPath)
HideEmuStart()

Run(executable . " " . ParamsBegin . " /open """ . romPath . "\" . romName . romExtension . """ /play /exit" . " " . ParamsEnd, 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")
WinWait, ahk_class FuturePinballOpenGLSecondary,,1    ; do not use the function because it will ScriptError after 1 second
WinActivate, ahk_class FuturePinballOpenGLSecondary
WinWaitActive, ahk_class FuturePinballOpenGLSecondary,,1    ; do not use the function because it will ScriptError after 1 second
WinWaitClose("ahk_class Ghost",,5)    ; this doesn't always get picked up by ahk, so we need a timeout
Loop {
    IfWinActive, Future Pinball ahk_class FuturePinballOpenGL
        Break
    WinActivate, Future Pinball ahk_class FuturePinballOpenGL
    Sleep, 50
}
WinWaitActive("Future Pinball ahk_class FuturePinballOpenGL")

If (Fullscreen = "false"){
    If !bezelPath {
        WinGet emulatorID, ID, A
        WinSet, Style, -0xC00000, A
        ;ToggleMenu(emulatorID)
        WinSet, Style, -0xC40000, A
        WinMove, ahk_id %emulatorID%, , 0, 0
        timeout := A_TickCount
        Sleep, 200
        Loop {
            Sleep, 50
            WinGetPos, X, Y, W, H, ahk_id %emulatorID%
            If (X=0) and (Y=0)
                Break
            If (timeout < A_TickCount - 3000)
                Break
            Sleep, 50
            WinMove, ahk_id %emulatorID%, , 0, 0
        }
    }
}

BezelDraw()
HideEmuEnd()
FadeInExit()
Process("WaitClose", executable)
BezelExit()
7zCleanUp()
FadeOutExit()
ExitModule()

CloseProcess:
    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

 

 

Configurações Future Pinball.ini

 

[exe info]
path=C:\HyperSpin\Emulators\Future Pinball\BAM\
rompath=C:\HyperSpin\Emulators\Future Pinball\Tables\
userompath=
exe=FPLoader.exe
romextension=7z
parameters=
searchsubfolders=
pcgame=false
winstate=HIDDEN
hyperlaunch=true

[filters]
parents_only=false
themes_only=false
wheels_only=false
roms_only=false

[themes]
use_parent_vids=true
use_parent_themes=false
animate_out_default=false
reload_backgrounds=false

[wheel]
alpha=0.6
small_alpha=1
style=normal
speed=high
pin_center_width=500
horz_wheel_y=512
vert_wheel_position=right
y_rotation=center
norm_large=360
norm_small=230
vert_large=400
vert_small=240
pin_large=500
pin_small=200
horz_large=240
horz_small=150
letter_wheel_x=800
letter_wheel_y=384
text_width=700
text_font=Style4
small_text_width=260
large_text_width=400
text_stroke_size=6
text_stroke_color=0x000000
text_color1=0x00BFFD
text_color2=0xFFFFFF
text_color3=0x00BFFD
color_ratio=139
shadow_distance=0
shadow_angle=45
shadow_color=0x000000
shadow_alpha=1
shadow_blur=0

[pointer]
animated=true
x=975
y=384

[video defaults]
path=

[sounds]
game_sounds=true
wheel_click=true

[navigation]
game_jump=50
use_indexes=false
jump_timer=400
remove_info_wheel=false
remove_info_text=false
use_last_game=false
last_game=ACDC - Devil Girl (Stern) (2012) (Ultimate) (1.0)
random_game=false

start_on_favorites=false
[special Art A]
default=false
active=true
x=512
y=720
in=0.4
out=0.4
length=3
delay=0
type=normal
start=bottom

[special Art B]
default=true
active=true
x=512
y=740
in=0.4
out=0.4
length=3
delay=0
type=fade
start=none

[special Art C]
active=true
x=512
y=384
in=0
out=0
length=3
delay=10
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

 

Configurações RocketLauncher > Settings > Future Pinball > Emulators

 

[ROMS]
Default_Emulator=Future Pinball
Rom_Path=..\Emulators\Future Pinball\Tables

[Future Pinball]
Emu_Path=C:\Hyperspin\Emulators\Future Pinball\BAM\FPLoader.exe
Rom_Extension=7z|fpt
Module=Future Pinball.ahk
HyperPause_Save_State_Keys=
HyperPause_Load_State_Keys=
Pause_Save_State_Keys=
Pause_Load_State_Keys=

Link to comment
Share on other sites

Cara, descobri o motivo desse conflito fuçando alguns fóruns americanos, o modulo do future pinball não está compatível com a extensão .7z é só descompactar e alterar para extensão .fpt.

 

 

Deu certo aqui, obrigado pela atenção dispensada!

 

Abrç

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...