dark13 Posted March 23, 2022 Posted March 23, 2022 Automatizing infopanels creation from .csv files for HTPCs themes (look at infopanel tutorial.zip on the ftp in dark13 folder) PNGs to SWFs automatized flash scripts Hyperspin Wheelset automatized template (photoshop's variables + batch) Aeon nox 4.13 W.I.P. hyperspin skin
dark13 Posted March 23, 2022 Author Posted March 23, 2022 Somehow video has created problem with the post so here's the post One of the biggest problem of HS is the lack of feedback when you launch a game. HS and RL takes somes seconds to launch the emulator so many people that dont' know about this problem tends to move the stick/pad after launch generating video havoc in the background. This is my workaround: a .swf on Special A1 that loads a .swf file when you press return. How you can see in the video it adds a swf animation on SpecialA1 everytime you press "return", the swf is removed from stage when HS gets focus or when you press "T". It is a bit annoying when you use letter skip or add to favourite (I suggest to use the this SpecialA1 AFTER creating a favourite list) but the concept should be idiot-proof . As3 code is really simple, in case you want to change something var HSStart = 13 ; var HSStart2 = 84 ; var swf_loader ; stage.addEventListener(KeyboardEvent.KEY_DOWN, myKeyDown); function myKeyDown(e:KeyboardEvent):void{ if (e.keyCode == HSStart ) { var url_request:URLRequest = new URLRequest('C:/HyperSpin_1.5.1/dark13/Shared Components/loadlogo.swf'); var swf_loader:Loader = new Loader(); swf_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, on_Loaded); swf_loader.load(url_request); function on_Loaded(e:Event): void { swf_loader.width = 1024; swf_loader.height = 768; addChild(swf_loader); SoundMixer.stopAll(); stage.addEventListener(KeyboardEvent.KEY_DOWN, myKeyDown2); function myKeyDown2(e:KeyboardEvent):void{ if (e.keyCode == HSStart2 ) { removeChild(swf_loader); } } stage.addEventListener( Event.ACTIVATE, deactivateCb, false, 0, true ); function deactivateCb(e:Event):void { removeChild(swf_loader); } } } } var HSStart = 13 ; Start button in hyperspin, 13 is vanilla "return" var HSStart2 = 84 ; Safe key to remove the thing from stage, 84 is "T" Path for the .SWF is 'C:/HyperSpin_1.5.1/dark13/Shared Components/loadlogo.swf' SpecialA1 goes in the usual folder. Delete the other Special files for testing, just in case here's my HS setting for Special layer [Special Art A] default=false active=true x=0 y=0 in=0.4 out=0.4 length=6 delay=0 type=normal start=none [Special Art B] default=false active=false x=512 y=740 in=0.4 out=0.4 length=3 delay=0 type=fade start=none [Special Art C] active=false x=512 y=384 in=0 out=0 length=3 delay=10 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 and HS setting [Main] Menu_Mode=multi Single_Mode_Name=MAME Enable_Exit_Menu=true Enable_Exit=true Exit_Default=yes Exit_Action=exit Version=1.0.0.0 Last_System=Sega 32X Hyperlaunch_Path=C:\HyperSpin_1.5.1\RocketLauncher\RocketLauncher.exe [Resolution] FullScreen=true Width=800 Height=600 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=false 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=false Time=60 MaxSpinTime=10 HyperSpin=false Wait_For_Video=false [Keyboard] Key_Delay=true [P1 Controls] Start=13 Exit=27 Up=38 Down=40 SkipUp=37 SkipDown=39 SkipUpNumber=70 SkipDownNumber=86 HyperSpin=32 Genre=71 Favorites=76 [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_2 Up=Analog_Up Down=Analog_Down SkipUp=Analog_Left SkipDown=Analog_Right SkipUpNumber=Button_3 SkipDownNumber=Button_4 HyperSpin=Button_5 Genre=Button_6 Favorites=Button_7 [P2 Joystick] Enabled=false Joy=1 Threshold=40 Start=Button_1 Exit=Button_2 Up=Analog_Up Down=Analog_Down SkipUp=Analog_Left SkipDown=Analog_Right SkipUpNumber=Button_3 SkipDownNumber=Button_4 HyperSpin=Button_5 Genre=Button_6 Favorites=Button_7 [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=Sega 32X Last_Rom=T-Mek (USA, Europe) 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:\Progetti\HS ArcadeVerse Skin\HyperSpin_1.5.1\Keymapper Profiles\ Please test and report, you can change loadlogo.swf with another swf of your choice . Download https://1drv.ms/u/s!AlvG-_GLw_qag3iLq36wNrv8mqpR?e=4dkLLV Automatizing infopanels creation from .csv files for HTPCs themes (look at infopanel tutorial.zip on the ftp in dark13 folder) PNGs to SWFs automatized flash scripts Hyperspin Wheelset automatized template (photoshop's variables + batch) Aeon nox 4.13 W.I.P. hyperspin skin
Arcade4Fun Posted March 24, 2022 Posted March 24, 2022 Hi Dark13, you are always improving our Hyperspin to a new level!! Great work I’m not going to use it for a load screen but maybe in the future I use your work for another thing in HS. I have one question not related to this topic, and hope you can help me with your years of experience, it is about the animated swf Artwork. Do you know how can I keep always the same speed for the animated swf in Hyperspin, when I create them in Adobe are perfect but then testing in different PCs, the animation doesn’t respect the time I have given in the swf and play slow, fast or too fast (it depends too in the Optimizer options in HS I have Quality=BEST and Image Smoothing=True). When I play in Windows, not in Hyperspin, goes ok. I tried a lot of things in Animate and HS but without luck. What I’m doing wrong? Or it is a HS lack? Thanks for all of your work and keep improving!!
dark13 Posted March 24, 2022 Author Posted March 24, 2022 6 hours ago, Arcade4Fun said: I have one question not related to this topic, and hope you can help me with your years of experience, it is about the animated swf Artwork. Do you know how can I keep always the same speed for the animated swf in Hyperspin, when I create them in Adobe are perfect but then testing in different PCs, the animation doesn’t respect the time I have given in the swf and play slow, fast or too fast (it depends too in the Optimizer options in HS I have Quality=BEST and Image Smoothing=True). Well, if there's a trick to run swf at the correct speed in HS I still have to find it. Some years ago, while I was studying ActionScript3 for Aeon Nox, I tried some code that control frames with time listener in AS3, guess what? The code take its toll on the cpu so the framerate was different from one system to another lol. The only way to run a thing at the correct speed in HS is using a cinematic theme (Fullscreeen .mp4) or loading a .mp4 video inside a .swf with as3 code (pretty bugged in w10, I removed the code that loads video inside aeon nox's files because videos get stuck very often, in W7 it worked better than HS engine -.- ) Automatizing infopanels creation from .csv files for HTPCs themes (look at infopanel tutorial.zip on the ftp in dark13 folder) PNGs to SWFs automatized flash scripts Hyperspin Wheelset automatized template (photoshop's variables + batch) Aeon nox 4.13 W.I.P. hyperspin skin
Arcade4Fun Posted March 24, 2022 Posted March 24, 2022 1 hour ago, dark13 said: Well, if there's a trick to run swf at the correct speed in HS I still have to find it. Some years ago, while I was studying ActionScript3 for Aeon Nox, I tried some code that control frames with time listener in AS3, guess what? The code take its toll on the cpu so the framerate was different from one system to another lol. The only way to run a thing at the correct speed in HS is using a cinematic theme (Fullscreeen .mp4) or loading a .mp4 video inside a .swf with as3 code (pretty bugged in w10, I removed the code that loads video inside aeon nox's files because videos get stuck very often, in W7 it worked better than HS engine -.- ) Wow!! thanks for all your knowledge. Then I’ll continue creating my media as always, I prefer standard themes than cinematic themes in mp4 because in windows are pretty cool in 1080p but they look blurry played in Hyperspin. It's a shame now that I had managed to create themes with HD quality One more question, now i’m working on a new horizontal theme for Nintendo 64 and I’m creating an swf with the front and back cover, so it changes between them after a few seconds. I have thought that to solve the speed problem, It would be nice to use another artwork to show only the back cover when I press an specific key, do you know if its possible to read wich game is showing at that time to put the right back cover usong AS3? Sorry for this large message and thanks in advance!! PS: I used a lot of your work to adapt it to my Hyperspin. If u wanna take a look search me in Youtube.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.