Jump to content
(Open Beta) HyperSpin 2 is now available for everyone ×

Hyperspin Param Passing Issues


Larcen

Recommended Posts

Posted

I have been spending a lot of time setting Hyperspin up and am using Hyperlauncher; mainly because I cannot find any guides to setting up hyperlauncher and rocketlauncher has been extremely easy thus far. I have successfully set everything up and got it working on a very basic configuration and started working on more advanced configs to make things a little nicer.

 

First off I would like to start my question with a little background information. Most of the guides I have read say to set the hyperlaunch folder in the settings.ini to point to rocketlauncher and this does not seem to make a difference on what hyperspin uses once hyperlaunch is set in the system's ini file. It seems to be hardcoded or I am not changing it in the right location; therefore I have this set to false. I instead set params for passing to rlauncher and these all work fine. This leads to another problem. So long as I put in use the full rom path and have this set I can get rocketlauncher to load my roms from hyperspin. I have noticed in the log files that if I do not use fullrom path it does not encapsulate the rom name in quotes and breaks the passing on spaces; I dont really want to go over all of my roms and remove spaces when I should not have to. Also a side note I downloaded the 1.4 "stable/beta" and I get the same issues.

 

This was fine with most of the roms I had, just passing the full path and letting it handle the rest. Now I want to setup m3u files for my multi disc games and have it readily available to change in retroarch. I thought I could set the extension to cue,m3u, as stated by several guides but this results in "romname.cue,m3u" being passed to rocketlauncher.  

 

How can I get these two working so that it doesn't break on spaces/multiple period file names and without having to pass full rom path so rocketlauncher can pick the correct files? Another side note, I have everything working flawlessly in rocketlauncher but passing from hyperspin to rocketlauncher is breaking because the params are hardcoded to add a period at the end and non full rom path is not passing the full rom name.

Posted

If this in fact just not working in the way I am trying I would like to add some info in here for anyone else that may want to do the same thing. 

 

My work around right now is to 7z store, since store is the fastest zip and extract, all the bin and cue files with them properly named disc 01, disc 02 etc... and also add an m3u file without the disk number. Inside the m3u file is just the name of each individual cue file, each on separate lines.  This will of course make it to where you have to rename your media files in hyperspin for videos, images, etc.. for that particular game; as they normally come named by disc. 

 

What essentially happens is hyperspin passes the 7z file to rocketlauncher and from there rocketlauncher unzips and says what files do I want based on this file name hyperspin passed. It doesn't have a disc number so it uses the m3u file since no cue file is available with that exact name. m3u will also have to be listed in your emulator's settings as a acceptable extension along with the database name for hyperspin will have to be updated to only show the file name of the m3u without the disc number. The downside to this is that it generally takes 15+ seconds to extract, not to mention you have  just doubled the space you are using on the drive for that one game. 

Posted

What do you have the HyperLaunch path set to in the settings.ini and can you post one of your system.ini files either in code tags or a pastebin link? The way you're doing it sounds a lot more complicated than it needs to be.

 

Settings.ini

Hyperlaunch_Path= D:\Arcade\RocketLauncher\RocketLauncher.exe

Sony Playstation.ini

[exe info]
path=D:\Arcade\RocketLauncher\
rompath=D:\Arcade\roms\psx\
userompath=true
exe=RocketLauncher.exe
romextension=7z
parameters="Sony PlayStation" -f "D:\Arcade\hyperspin\HyperSpin.exe" -p "Hyperspin"
searchsubfolders=true
pcgame=false
winstate=HIDDEN
hyperlaunch=false
Posted

What do you have the HyperLaunch path set to in the settings.ini and can you post one of your system.ini files either in code tags or a pastebin link? The way you're doing it sounds a lot more complicated than it needs to be.

 

I previously posted the important stuff in the system ini but in case it matters here is the whole thing for the Playstation settings file.

[exe info]
path=D:\Arcade\RocketLauncher\
rompath=D:\Arcade\roms\psx\
userompath=true
exe=RocketLauncher.exe
romextension=7z
parameters="Sony PlayStation" -f "D:\Arcade\hyperspin\HyperSpin.exe" -p "Hyperspin"
searchsubfolders=true
pcgame=false
winstate=HIDDEN
hyperlaunch=false
Per_Game_Modules=false
Skipchecks=false
Hide_Cursor=use_global
Hide_Desktop=use_global
Hide_Taskbar=use_global
CPWizard_Enabled=use_global
CPWizard_Delay=use_global
CPWizard_Params=use_global
Fade_In=use_global
Fade_Out=use_global
Fade_Color=use_global
Fade_In_Duration=use_global
Fade_Out_Duration=use_global
Fade_In_Delay=use_global
7z_Enabled=use_global
7z_Extract_Dir=use_global
7z_Delete_Temp=use_global
Keymapper_Enabled=use_global
Keymapper=use_global
MultiGame_Enabled=use_global
MultiGame_Background_Color=use_global
MultiGame_Side_Padding=use_global
MultiGame_Y_Offset=use_global
MultiGame_Image_Adjust=use_global
MultiGame_Font=use_global
MultiGame_Text_1_Options=use_global
MultiGame_Text_1_Text=use_global
MultiGame_Text_2_Options=use_global
MultiGame_Text_2_Offset=use_global
MultiGame_Use_Sound=use_global
MultiGame_Sound_Frequency=use_global
MultiGame_Exit_Effect=use_global
MultiGame_Selected_Effect=use_global
MultiGame_Use_Game_Art=use_global
MultiGame_Art_Folder=use_global

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

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

[wheel]
alpha=.15
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=Final Fantasy VII (USA)
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

Posted

 

Rename your Playstation ini to something else to back it up. Then try this as your ini and tell me what happens when you try and run it.

[exe info]
path=
rompath=D:\Arcade\roms\psx\
userompath=true
exe=
romextension=7z
parameters=
searchsubfolders=true
pcgame=false
winstate=HIDDEN
hyperlaunch=true
 
[filters]
parents_only=false
themes_only=false
wheels_only=false
 
[themes]
use_parent_vids=true
use_parent_themes=false
animate_out_default=false
reload_backgrounds=false
 
[wheel]
alpha=.15
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=Final Fantasy VII (USA)
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

 

 

The problem is that I do not want to have to use 7z. I want to be able to use cue and m3u.

 

My current config works fine for 7z but I cannot use m3u and cue in the same ini.

 

Or just pass the rom name without extension to rocketlauncher and have it pick.

Posted

I want hyperspin to pass this

 

I understand that but the way you have RL running right now (through command line) is not the normal way of doing it in general. So I was trying to see if you could run RL the normal way first before tackling the other problem. You can just change the 7z to cue,m3u if you want to test that.

 

Ok, I will try that then.

 

The outcome I am looking for is basically this.

 

"D:\Arcade\RocketLauncher\RocketLauncher.exe" "Final Fantasy VII (USA)" "Sony PlayStation"

 

Running this from cmd works but hyperspin with my current configs wont do it.

 

I will let you know.

Posted

I understand that but the way you have RL running right now (through command line) is not the normal way of doing it in general. So I was trying to see if you could run RL the normal way first before tackling the other problem. You can just change the 7z to cue,m3u if you want to test that.

 

This is what I am getting, just like I posted in my initial post. It seems to just ignore the settings.ini path

11:59:58 AM |  HyperLaunch located at D:\Arcade\hyperspin\HyperLaunch.exe
11:59:58 AM |  Running HyperLaunch.exe 
11:59:58 AM |  HyperLaunch Command Line is: D:\Arcade\hyperspin\HyperLaunch.exe "Sony PlayStation" "Final Fantasy VII (USA)"
12:00:03 PM |  Launching Game 
12:00:03 PM |  Using HyperLaunch
12:00:03 PM |  Getting HyperLaunch path 
12:00:03 PM |  HyperLaunch located at D:\Arcade\hyperspin\HyperLaunch.exe
12:00:03 PM |  Running HyperLaunch.exe 
12:00:03 PM |  HyperLaunch Command Line is: D:\Arcade\hyperspin\HyperLaunch.exe "Sony PlayStation" "Final Fantasy Tactics (USA)"
12:00:07 PM |  Loading Main Menu.xml 
12:00:07 PM |  Main Menu.xml successfully loaded 
12:00:08 PM |  Main Menu wheel loaded successfully 
12:00:11 PM |  Exit program unavailable 
12:00:11 PM |  Quiting Hyperspin 
12:00:11 PM |  Bye! 

Posted

Settings.ini

[Main]
Menu_Mode=multi
Single_Mode_Name=Super Nintendo Entertainment System
Enable_Exit_Menu=true
Enable_Exit=true
Exit_Default=yes
Exit_Action=exit
Version=1.0.0.0
Last_System=Sony PlayStation
Hyperlaunch_Path= D:\Arcade\RocketLauncher\RocketLauncher.exe
Use_Last_Game=false
[Resolution]
FullScreen=true
Width=2560
Height=1440
Scanlines_Active=false
Scanlines_Image=
Scanlines_Scale=2
Scanlines_Alpha=0.1

[Optimizer]
CPU_Priority=normal
Quality=HIGH
Image_Smoothing=true
Animated_Backgrounds=true
Inter_Backgrounds=false
Level1_Backgrounds=true
Level2_Backgrounds=true
Level3_Backgrounds=false
Level4_Backgrounds=false
Special_Backgrounds=true
Wait_For_Special=false
Animated_Artworks=true
Level1_Artworks=true
Level2_Artworks=true

[IntroVideo]
Use_Intro=true
Stop_On_Keypress=true

[Sound]
Master_Volume=100
Video_Volume=100
Wheel_Volume=20
Interface_Volume=100

[AttractMode]
Active=true
Time=60
MaxSpinTime=9
HyperSpin=true
Wait_For_Video=false

[Keyboard]
Key_Delay=true

[P1 Controls]
Start=13
Exit=27
Up=38
Down=40
SkipUp=37
SkipDown=39
SkipUpNumber=33
SkipDownNumber=34
HyperSpin=32
Genre=71
Favorites=70

[P2 Controls]
Start=69
Exit=81
Up=87
Down=83
SkipUp=65
SkipDown=68
SkipUpNumber=74
SkipDownNumber=77
HyperSpin=88
Genre=72
Favorites=90

[P1 Joystick]
Enabled=false
Joy=0
Threshold=40
Start=Button_1
Exit=Button_9
Up=Analog_Up
Down=Analog_Down
SkipUp=Button_6
SkipDown=Button_5
SkipUpNumber=POV_Up
SkipDownNumber=POV_Down
HyperSpin=Button_4
Genre=Button_3
Favorites=Button_2

[P2 Joystick]
Enabled=false
Joy=1
Threshold=40
Start=Button_1
Exit=Button_2
Up=POV_Up
Down=POV_Down
SkipUp=Analog_Left
SkipDown=Analog_Right
SkipUpNumber=Button_6
SkipDownNumber=Button_5
HyperSpin=Button_4
Genre=Button_3
Favorites=Button_2

[Trackball]
Enabled=false
Sensitivity=90


[Spinner]
Enabled=false
Sensitivity=90

[Startup Program]
Executable=
Paramaters=
Working_Directory=
WinState=
[Exit Program]
Executable=
Paramaters=
Working_Directory=
WinState=NORMAL

[LEDBlinky]
Active=false
Path=

[HiScore]
Active=false
Y=550
Delay=2
[HyperLaunch]
Last_System=Sony PlayStation
Last_Rom=Final Fantasy Tactics (USA)
Exit_Script_Key=~q & ~s
Exit_Emulator_Key=Esc
Toggle_Cursor_Key=t
MultiGame_Key=NumpadSub
MultiGame_Select_Key=Enter
MultiGame_Exit_Key=Esc
Path_To_Daemontools=
Path_To_CPWizard=
Fade_In_Interrupt_Keys=anykey
Keymapper_Path=
Keymapper_Profiles_Path=D:\Arcade\hyperspin\Keymapper Profiles\

Posted

I understand that but the way you have RL running right now (through command line) is not the normal way of doing it in general. So I was trying to see if you could run RL the normal way first before tackling the other problem. You can just change the 7z to cue,m3u if you want to test that.

 

I re-Downloaded the 1.4 beta and the configs seem to work now. Something was apparently wrong with the one I downloaded previously.

12:13:54 PM |  Loading Sony PlayStation.xml 
12:13:54 PM |  Main Menu.xml successfully loaded 
12:13:55 PM |  Sony PlayStation wheel loaded successfully 
12:14:09 PM |  Launching Game 
12:14:09 PM |  Using HyperLaunch
12:14:09 PM |  Getting Launcher path 
12:14:09 PM |  Launcher located at D:\Arcade\RocketLauncher\RocketLauncher.exe
12:14:09 PM |  Running Launcher 
12:14:09 PM |  Launcher Command Line is: D:\Arcade\RocketLauncher\RocketLauncher.exe "Sony PlayStation" "Final Fantasy VII (USA)"
12:14:19 PM |  Loading Main Menu.xml 
12:14:20 PM |  Main Menu.xml successfully loaded 
12:14:20 PM |  Main Menu wheel loaded successfully 
12:14:23 PM |  Exit program unavailable 
12:14:23 PM |  Quiting Hyperspin 
12:14:23 PM |  Bye! 

Posted

Cool, glad you got it working. It will be a lot simpler now to not have to specify the RL command line yourself.

 

Yes, it was becoming a huge pain. I'm liking Hyperspin way more now! lol

Archived

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

×
×
  • Create New...