Jump to content

  •  

Close Open
Close Open
Photo

Tutorial: How To Setup Dwjukebox In Hyerpin Via Fplaunch


  • Please log in to reply
14 replies to this topic

#1 bent98

bent98

    Advanced Member


  • Show your thanks for this VPU Content Provider.
    Buy this member a beer!





    Amount:
  • Content Provider
  • PipPipPip
  • 365 posts

Posted 26 February 2013 - 05:01 PM

Rev 1.0   2/26/2013

 

First want to give a very big Thank YOU to Blur and all the users who have added code to FPlaunch.

 

I Figured I would create a tutorial thread that clears up the confusion about setting up various new features of FPlaunch. Since many users were having issues or confused about setting up this color feature I figured why not start with this first.

 

 

How to set up Pinjukebox


1) Create a table in your VP tables folder called jukebox.vpt and it’s very important to delete the script info from the table so its completely empty.


2) Add Jukebox to vp hyperpin XML (listed below)


<game name="jukebox">
<description>jukebox</description>
<manufacturer>dwjukebox</manufacturer>
<year>2013</year>
<type>SS</type>
</game>

 

I put a "1" infront of the word jukebox so it appears at the very beginning of the Hyperpin wheel. Its merly a suggestion and ofcoruse you can leave it as is but for testing you may want to as its a pain to scroll all the way to letter "J" everytime you test.


3) Download a copy of dwjukebox and configure Video, controller, screen resolution


http://dwjukebox.com/download/

 

Put file in a folder called “dwjukebox” and place it in the root of your Hyperpin folder.

Config Jukebox.ini with following settings: (You can of course config anything else you want but these are the bare minimums you should change)

MonitorAspectRatio = STRETCH

Mouse = Disabled

SongPath1 = set this to where ever you want to put you mp3’s for example c:\mp3

gfx_card = GDIB

Make sure gfx_card is not commented out with a # symbol otherwise it will not read

 

 

Now its time to edit the controls.ini

Open controls.ini in notepad and delete everything after KEY_CAPSLOCK = BTN_PLAYSTIMULATOR

 

Also make sure you change these keys. You have to edit this to your own keyboard settings as mine maybe different but you get the idea. Its setup to have left and right is controlled by flippers, up and down by nudge keys, and select by the launch button. My esc key is mappedto “e” so change that aswell otherwise fplaunch wont work.

KEY_E = BTN_SHUTDOWN Exit
KEY_Z = BTN_GUI_UP left nudge up arrow
KEY_SLASH = BTN_GUI_DOWN right nudge down arrow
KEY_LSHIFT = BTN_GUI_LEFT left flipper left arrow
KEY_RSHIFT = BTN_GUI_RIGHT right flipper right arrow
KEY_ENTER = BTN_GUI_SELECT launch button select

 

4) Download ledblinky and configure

 

http://dndw.com/ledblinky/Download.htm

 

Put file in a folder called “ledblinky” and place it in the root of your Hyperpin folder.

 

  1. Its important you buy and register your version of ledwiz otherwise the lights wont work when playing music.
  2. Run ledblinkyconfig.exe
  3. Click on FE
  4. Select Other Front-End
  5. Click on Audio animation tab and config audio device and input (Sound card and “wave”
  6. Select desired Audio animation mode
  7. Now its time to config your ports
  8. Click on tools from the pull down at the top
  9. You need to know what ports your flashers are mapped to on your LEDBlinky board.
  10. Select port number that your R G and B is assoated with for each flasher.
  11. Select a port label (This really doesn’t matter as long as each led has its own label
  12. LED Type Will be R or G or B. Important to assign the right color to the right port
  13. And then select a input code. I just made them all Keycode A. It doesn’t matter
  14. Then hit set port
  15. When finished don’t just close out of this window with selecting save in the upper left, failure to do so will require you remap everything. Infact I usually save after every few I put in.
  16. Once conmpleted and SAVE, exit out of this menu and go back to the audioanimation tab.
  17. Hit Test button
  18. Open up an mp3 and play it. You should see the assigned lights start to dance with the music.
  19. You got the lights mapped and ledblinky setup

 


5) Download PinJukeLaunch and config video resolution

 

http://vpuniverse.co...-backglass-100/

 

Put file in a folder called “pinjukelaunch” and place it in the root of your Hyperpin folder.

 

Make sure your config file looks like this. I disabled wallpaper and also changed resolution to 1360x768. Of course if you are running a different resolution on you backglass adjust accordingly.

[app_config]

appExe=C:\HyperPin\dwjukebox\wincab.exe

runExe=true

appWindowName=DWJukebox

appWindowXpos=1921

appWindowYpos=0

appWindowWidth=1360

appWindowHeight=768

appTitlebarOffset=28

 

[wallpaper_config]

changeWallpaper=false

startWallpaper=juke_logo.bmp

startWallPaperTiled=0

startWallPaperStretch=0

endWallpaper=pinball_logos.bmp

endWallPaperTiled=1

endWallPaperStretch=0


6) Download latest FPlaunch (Miniumum requirement  FPLaunch1.295wip10.zip   )
 

http://vpuniverse.co....outines/page-1

7) Make jukebox.bat and put the following info in: (Place this bat file in the root of Hyperpin folder)


start C:\HyperPin\ledblinky\LEDBlinky\LEDBlinky.exe audio.lwax
start /wait C:\HyperPin\PinJukeLaunch\PinJukeLaunch.exe launch_juke.cfg
start C:\HyperPin\ledblinky\LEDBlinky\LEDBlinky.exe 2

 

8) Launch Hyperpin and select jukebox. Enjoy

 

 

 

I will also be including an artwork theme pack for thisas well as a DWjuke skin. THK and Jeep guy are working on this for me now. As soon as its ready I will upload to forums.

 





 


  • jasonsmith and SirCheddar like this

#2 DeeGor

DeeGor

    Advanced Member

  • Content Provider
  • PipPipPip
  • 345 posts
  • LocationLas Vegas

Posted 26 February 2013 - 05:05 PM

Nice work guys.

 

Keeps getting better and better.


LEGO-Batpin.png ledwiz-sig2_zpsf953c267.png

#3 jasonsmith

jasonsmith

    Advanced Member

  • Members
  • PipPipPip
  • 119 posts
  • LocationBC, Canada

Posted 26 February 2013 - 08:11 PM

Well done bent, much appreciated.

#4 Zarquon

Zarquon

    Advanced Member

  • Content Provider
  • PipPipPip
  • 71 posts
  • LocationVancouver

Posted 27 February 2013 - 04:09 AM

Thanks.  Worked perfectly.

 

Looking forward to the Media Pack.



#5 jasonsmith

jasonsmith

    Advanced Member

  • Members
  • PipPipPip
  • 119 posts
  • LocationBC, Canada

Posted 27 February 2013 - 04:12 PM

Hey bent, how do I get rid of the HP wheel when the jukebox is running?



#6 bent98

bent98

    Advanced Member


  • Show your thanks for this VPU Content Provider.
    Buy this member a beer!





    Amount:
  • Content Provider
  • PipPipPip
  • 365 posts

Posted 27 February 2013 - 05:52 PM

Thats something you would needto ask Blur as it has to do with his launching script.



#7 jasonsmith

jasonsmith

    Advanced Member

  • Members
  • PipPipPip
  • 119 posts
  • LocationBC, Canada

Posted 27 February 2013 - 06:38 PM

This is normal behavior correct or is something broke on my rig?



#8 bent98

bent98

    Advanced Member


  • Show your thanks for this VPU Content Provider.
    Buy this member a beer!





    Amount:
  • Content Provider
  • PipPipPip
  • 365 posts

Posted 27 February 2013 - 07:09 PM

Normal.

#9 JaronSenna

JaronSenna

    Newbie

  • Members
  • Pip
  • 4 posts
  • LocationMeppel, Netherlands

Posted 28 February 2013 - 10:15 AM

Thanks for this, Bent! I setup my cab with your tutorial but without the ledblinky stuff. However, one comment and one question: I had to set mouse = disabled,not mouse = false. And I run my back glass monitor at 1920x1080 but it seems dwjukebox does not support that. I get an error when trying to start it up. Same with 1360x768. Then tried 1024x768, which works but not full screen... Anybody else got this too?

#10 bent98

bent98

    Advanced Member


  • Show your thanks for this VPU Content Provider.
    Buy this member a beer!





    Amount:
  • Content Provider
  • PipPipPip
  • 365 posts

Posted 28 February 2013 - 02:22 PM

You shouldnt bed running backglass at 1080p anyway. Do you have MonitorAspectRatio = STRETCH?

 

Ill take a look at the mouse setting. Thanks for the FYI on that,



#11 JaronSenna

JaronSenna

    Newbie

  • Members
  • Pip
  • 4 posts
  • LocationMeppel, Netherlands

Posted 28 February 2013 - 02:45 PM

Why not? Everything else runs fine at 1080p. And I get the same error when starting it at the resolution in your tutorial... :blink:

#12 bent98

bent98

    Advanced Member


  • Show your thanks for this VPU Content Provider.
    Buy this member a beer!





    Amount:
  • Content Provider
  • PipPipPip
  • 365 posts

Posted 28 February 2013 - 03:08 PM

because it kill performance!



#13 SteveB69

SteveB69

    Member

  • Members
  • PipPip
  • 17 posts

Posted 12 August 2013 - 04:03 PM

Can't get this going, any help going?

I have two problems + another one!

 

1. When I launch Pinjukelaunch.exe I get error message 1024 x 768 Resolution Not Supported.

My width in jukebox.ini is

Width = 1024
Height = 768

 

My launch_juke.cfg is

[app_config]
appExe=C:\Pinball Software\PinballX\DWJukebox\wincab.exe
runExe=true
appWindowName=DWJukebox
appWindowXpos=3021
appWindowYpos=0
appWindowWidth=1024
appWindowHeight=768
appTitlebarOffset=20
 
This is to go on monitor 2 & I have switched its resolution between 1024 x 768 & 1360 - 768

 

2. I am trying to do this in PinballX. I created a blank vpt table by opening one & deleting all the script & renaming it jukebox.vpt

However when I load the (table) it shows the old tables playfield & Jukebox does not launch?

 

3. Button mapping

How do I find out what my ipac button numbers are.

IE I want my right flipper to navigate down. I put KEY_RSHIFT = BTN_GUI_RIGHT right flipper right arrow but when Jukebox launch it came up with an error message highlighting this buttons non existence?



#14 boiydiego

boiydiego

    Newbie

  • Members
  • Pip
  • 9 posts
  • LocationBelgium , Vlaams Brabant

Posted 22 March 2014 - 05:14 PM

why the resolution can be set to 1920x1080?



#15 legtod2

legtod2

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 28 March 2014 - 05:49 AM

My back glass has the image located halfway centred
AppwindowXpos=1921
AppwindowYpos=0
Screen res 1024x768
What should my appwindowxpos and appwindowxpos be set to ?


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users