Carny_Priest Posted January 11, 2015 Share Posted January 11, 2015 This hobby is not for the faint of heart. That is for sure. Seems like getting these various programs working together would be more straightforward with keyboard based controllers. Joypad button support seems to be more of an afterthought. Quote Link to comment Share on other sites More sharing options...
frodus Posted January 12, 2015 Share Posted January 12, 2015 My setup:40", 28" and a 15" for the DMDIntel i5 4690K quad core, 3.5GHz8GB RAM128GB Toshiba SSDEVGA GTX 660 Superclocked Signature 2, 2GBVirtuaPin Digital Plunger kit V2Software:Windows 7 pro, 64bitPinballxNukelauncher FX2Nukelauncher PBAxpadderx360cePinball FX2 (steam)Pinball Arcade (steam)I set up xpadder to emulate all of my button and x360ce mapped for nudge and plunger controls. I have 4 menu buttons on the front of the cab and two flippers.Mappings:- two flipper buttons mapped to right and left shift- top menu button mapped to keyboard key ENTER- second menu button mapped to keyboard key B- third menu button mapped to keyboard key X- bottom menu button mapped to keyboard key ESCIn nukelauncher, esc is set to exit table. In pinball x, esc is mapped to exit emulator and exit pinballx. I have my pinballx mapped only to keyboard inputs and use the R/L shift, ENTER, B, X and ESC keys in pinballx. I set the same buttons up in FX2 and PBA. Keyboard emulation works perfectly and everything exits correctly.I'm just having some issues with FX2 and PBA with the plunger, but thats just a work in progress. FX2 doesn't register the really fast plunger release, and PBA has proved impossible to set up to a joystick axis. Quote Link to comment Share on other sites More sharing options...
time299 Posted January 12, 2015 Author Share Posted January 12, 2015 Hey AllI feel it's time to jump in on this and hopefully clear up some confusion.See "Pinball Arcade" and "Pinball FX2" have no native key for a instant exit or quit. So I wrote NukePA and NukeFX to overcome this limitation by manually simulating three different exit methods. All three methods rely on one crucial thing the exit key-binding you set in the NukePA.ini or NukeFX.ini file. By default it is set to "esc".The only people having issues exiting are using a joystick vs keyboard.I wrote NukeLauncher for maximum flexibility so you can change it to any key-binding / joystick binding you want. NukeLauncher was written with AHK (Auto Hot Key) and mapping joystick commands is a little more difficult than keyboard commands. Take a look at the link below and see if you can use the test script that they refer to in the joystick section.http://www.autohotke...ocs/KeyList.htmSee if you can figure out the exact command for the your joystick button that you want to use for your exit button. Then edit the line KB_Escape near the bottom of your NukeLauncher.ini, in the section labeled [KeyBindings] it should look something like this.KB_Escape = esc Where the "esc" is, enter the joystick button command you figure out using the test script from joystick section on the autohotkey.com site. That should correct your issue, I can't do this for your because most joystick configurations are numbered and mine would most likely be different from yours. So my understanding is that joy1 should be your joystick ones button 1 and joy2 should be your joystick ones button 2 and so on but if you have 2 joysticks then you need to add a number 2 in front of the joy like this 2joy1 should be your second joysticks button 1 and 2joy2 should be your second joysticks button 2 and so on. Here are examples:KB_Escape = joy1or try joy1 through joy12 KB_Escape = 2joy1or try 2joy1 through 2joy12 Hopefully you get the idea. You should not need any other scripts or work around. Carny_Priest - After looking at some of your other posts, I think you could dump your script and just enter KB_Escape = Joy8Mpad - You should be using the same exit key for everything NukePA / NukeFX and PinballX, mine are all set to "esc", but yous will be a joy button once you figure out the proper one to use. Jeff / Time299 Quote Link to comment Share on other sites More sharing options...
Carny_Priest Posted January 12, 2015 Share Posted January 12, 2015 Thanks, works for me! (KB_Escape = Joy8) At least for NukeLauncher (FX2). This means that I can dump antimicro, one less process to deal with. So that's good. However, my custom script didn't involve any key/button mapping. I still use it to flip the DMD. I noticed that you have an executable launcher defined in NukePA.ini. Is that feature going to make its way into the NukeLauncher for FX2 at some point?My problem with NukePA is with menu navigation at this point, not exiting. I can't dump my script just yet. But I was inspired enough by NukePA to a better job getting analog nudging and plunger working via x360ce and mapping my Exit button to a subroutine to kill the process and get back into PinballX. Again, I only have one table installed as a placeholder for the day that there is better cab support. My script is good enough for one table. Quote Link to comment Share on other sites More sharing options...
mpad Posted January 12, 2015 Share Posted January 12, 2015 ok, thanks Jeff for clearing that up. I will definetly try the joy mapping, but for the moment I have xpadder running fine after disabling the internal plug in in pinballx.Last thing I am confused about is the exitemulator function in pinballx. This doesn't work for me when set to the same key, let's say "esc". So far I understand it has a similar kill function which interferes with nukelauncher. It exits to pbx before nukelauncher can rotate back and everything gets messed up. So for now I have to set this to an extra button to use with VP only. Quote Link to comment Share on other sites More sharing options...
time299 Posted January 13, 2015 Author Share Posted January 13, 2015 Hey MpadI don't know why your setup is so different. I have both PinballX and NukePA set to "esc" and everything works on all of my tests systems and I have tried both "full screen" and "windowed" full screen and both setting work properly.When you hit your exit key NukePA sends the keyboard command to change your rotation back and then Alt+F4 with no delay, so it should be instant.So I am at a loss as to why your having any problems. Just a thought - very early on you mentioned that you have your system overclocked can you try setting up your system to not be overclocked and see if that clears up your timing and exiting and full screen/rotation issues?Jeff /Time299 Quote Link to comment Share on other sites More sharing options...
mpad Posted January 13, 2015 Share Posted January 13, 2015 I'm at a loss, too.Did reset everything to standard clocks when you first suggested it. But didn't help.Some other things bugging me so maybe I just do a fresh start with win7 and get finally get rid of stupid win8.1 on the way...Now that I know how to set everything up it should be done in 2 hours... Or so Just don't forget the backups!!! Quote Link to comment Share on other sites More sharing options...
zero1975 Posted January 21, 2015 Share Posted January 21, 2015 Hi im looking for a bit help setting this up, ive got pinballfx2 working great, but im stuck as to why nukepa.exe wont work? It appears its not seeing the "[TABLEFILE]" parameter in my settings as no matter how many times I try , It keeps throwing up an error regarding bad or missing parameters, even though i know its right as ive checked and triple checked, everything else is in place so this is holding me back. Thanks in advance Quote Link to comment Share on other sites More sharing options...
time299 Posted January 22, 2015 Author Share Posted January 22, 2015 Can you post your files?Pinballx.iniNukeFX.iniPinball Arcade.xmlTell us your file locations as well, also tell us the version of Pinball Arcade you are using.Also try removing the quotes and then re-adding them through the PinballX - Settings.exe program.I have see cases were people copy and pasted the quotes into the PinballX.ini and they are a slightly different style quote and mess things up.Also have you tried from the admin / command prompt - see documentation.http://www.nukelauncher.com/item.asp?iid=33#CommandPromptTry it and let us know if that works.Thanks,Jeff / Time299 Quote Link to comment Share on other sites More sharing options...
zero1975 Posted January 22, 2015 Share Posted January 22, 2015 hi jeff thanks for replying , This only happens when I click on the nukepa.exe byitself, It actually started working from pinballx last night, and tryed it again today and its just selecting attack from mars all the time. guess this is just a timing issue & im gonna try a few things there. Im running a legit steam version & only have the season 1 tables, just the nukepa error thats baffling me.Just tried from the command line ,it loaded pinball arcade straight up with no error , but didnt select table right as the timings out i think. heres my configs[Display]Monitor=0rotate=270Windowed=FalseWindowWidth=480WindowHeight=720WindowX=0WindowY=65PlayFieldBrightness=230WheelTextColor=ffffffffWheelTextOutlineColor=ff000000InfoTextColor=ffffffffInfoTextOutlineColor=ff000000FilterTextColor=ffffffffFilterTextOutlineColor=ff000000MenuColor=ffffa500[backGlass]monitor=1x=0y=0width=1024height=768[DMD]Enabled=Truemonitor=2x=0y=0width=900height=300[FileSystem]EnableFileMatching=True[interface]DesktopModeEnabled=FalseEnableAdditionalDetail=TrueShowSystem=TrueShowRatings=True[Audio]StreamVolume=90SampleVolume=90PlaySoundInVideos=True[startup]playsound=Trueplayvideo=FalseStartWithWindows=No[KeyCodes]quit=69left=37right=39select=13rotate=82pageleft=33pageright=34exitemulator=81ingame=80screenshot=83screenshotbackglass=66instructions=73volumedown=109volumeup=107[JoyCodes]quit=10left=0right=1select=2rotate=3pageleft=4pageright=5exitemulator=6ingame=13instructions=14[Text]Line1=Free PlayLine2=Press Start[FuturePinball]Enabled=TrueWorkingPath=C:\Games\Future Pinball\BAMTablePath=D:\PinballX\Future pinball TablesExecutable=FPLoader.exeParameters=/STAYINRAM/open "[TABLEPATH]\[TABLEFILE]" /play /exit /arcaderenderLaunchBeforeEnabled=falseLaunchBeforeWorkingPath=LaunchBeforeExecutable=notepad.exeLaunchBeforeHideWindow=FalseLaunchBeforeWaitForExit=TrueLaunchAfterEnabled=FalseLaunchAfterWorkingPath=LaunchAfterExecutable=notepad.exeLaunchAfterHideWindow=FalseLaunchAfterWaitForExit=TrueMouseClickFocus=TrueFPRAMPath=C:\Games\Future Pinball\fpRAM[VisualPinball]Enabled=TrueWorkingPath=C:\Program Files (x86)\Visual PinballTablePath=C:\Users\Mick\Desktop\vp tablesExecutable=VPinball991.exeParameters=/play -"[TABLEPATH]\[TABLEFILE]"LaunchBeforeEnabled=falseLaunchBeforeWorkingPath=LaunchBeforeExecutable=notepad.exeLaunchBeforeHideWindow=FalseLaunchBeforeWaitForExit=TrueLaunchAfterEnabled=FalseLaunchAfterWorkingPath=LaunchAfterExecutable=notepad.exeLaunchAfterHideWindow=FalseLaunchAfterWaitForExit=TrueNVRAMPath=C:\Program Files (x86)\Visual Pinball\Vpinmame\nvram[ExitScreen]Enabled=TrueEnableExit=TrueEnableShutdown=True[startupProgram]Enabled=falseWorkingPath=Executable=notepad.exeParamaters=HideWindow=trueWaitForExit=false[ExitProgram]Enabled=falseWorkingPath=Executable=notepad.exeParamaters=HideWindow=FalseWaitForExit=[AttractMode]Enabled=TrueTimer=1ShowFor=15[system_1]Name=Pinball FX2Enabled=TrueWorkingPath=C:\Program Files (x86)\SteamTablePath=Executable=NukeLauncher.exeParameters="[TABLEFILE]LaunchBeforeEnabled=FalseLaunchAfterEnabled=FalseLaunchBeforeWorkingPath=D:\PinballX\scripts\pinballfx2LaunchBeforeExecutable=PinballFX2.exeLaunchBeforeParameters=[TABLEFILE]LaunchAfterWorkingPath=D:\PinballX\scriptsLaunchBeforeWaitForExit=FalseLaunchBeforeHideWindow=FalseLaunchAfterWaitForExit=FalseLaunchAfterHideWindow=False[system_2]Name=MAMEEnabled=FalseWorkingPath=C:\- EMULATORS -\- MAME -TablePath=C:\Executable=mamep64.exeParameters=[TABLEFILE][AutoExit]Enabled=FalseMinutes=10[Login]Enabled=True[internal]lastselected=Black Knight (Williams 1980)Black KnightSystem_4filter_year=filter_company=filter_custom=filtername=Tableslastwheelcachematchsize=-1123[setupWizard]EmuPath1=C:\EmulatorsAssetPath1=C:\AssetsRomPath1=C:\RomsDefaultPathPrompt=TrueDownloadDatabasePrompt=TrueDownloadEmulatorPrompt=TrueWizardMode=2CustomArray=Other SystemsSearchArray=SavePosition=FalseSectionIndex=19SearchText=EmulatorIndex=0EmulatorGroupIndex=0DaphneIndex=0HTMLAppsIndex=0ExternalAppsIndex=0RadioStationsIndex=0NewsFeedsIndex=0MappedDrivesIndex=0SystemIndex=3ShowPanel=TrueFontSize=1WindowState=0WindowSize=650,478WindowLocation=243,240[GameListManager]onlinemode=false[system_3]Name=Visual pinball physmodEnabled=TrueSystemType=1WorkingPath=C:\Program Files (x86)\Visual PinballTablePath=C:\Users\Mick\Desktop\Visual pinball physmodExecutable=VP_physmod5.exeParameters=/play -"[TABLEPATH]\[TABLEFILE]"LaunchBeforeWorkingPath=LaunchBeforeExecutable=LaunchBeforeParameters=LaunchAfterWorkingPath=[system_4]Name=Pinball arcadeSystemType=0WorkingPath=C:\Program Files (x86)\SteamExecutable=NukePA.exeParameters="[TABLEFILE]"LaunchBeforeWorkingPath=LaunchBeforeExecutable=LaunchBeforeParameters=LaunchAfterWorkingPath=Enabled=TrueLaunchBeforeEnabled=FalseLaunchAfterEnabled=FalseTablePath=; Downloaded from http://www.NukeLauncher.comSoftware Written by Jeff Diamond / Time299; Full documentation available at http://www.nukelauncher.com/item.asp?iid=33; Full support available at http://www.gameex.info/forums/topic/15308-app-new-nukelauncher-for-the-pinball-arcade/; My email address is [email protected];; I really love and need the help of the pinball community!; I think my code is faster and better than anything else out there, so if I have; saved you time or made your pinball life any better please make a donation via paypal; ************************* Please donate via paypal ***************************; https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5Z2AVMPZMZUSW[NukePA]Version = 1.3Database = D:\PinballX\Databases\Pinball Arcade\Pinball Arcade.xml StartDelay = 15000 ScreenDelay = 1500MovementDelay = 100 AutoStart = true Startson = previousseasonsRotate = 0BlockInput = false ExitMethod = kill PinballTables = Attack From Mars,Big Shot,Black Hole,Black Knight,Bride Of Pin-Bot,Cirqus Voltaire,Creature from the Black Lagoon,Elvira and the Party Monsters,Funhouse,Genie,Gorgar,Harley-Davidson,Medieval Madness,Monster Bash,No Good Gofers,Ripleys Believe It or Not,Scared Stiff,Star Trek The Next Generation,Tales of the Arabian Nights,Taxi,Theatre of Magic,Twilight Zone[KeyBindings]KB_Left_Flip =KB_Right_Flip =KB_Left_Nudge = zKB_Right_Nudge = /KB_Center_Nudge =KB_Ball_Launch =KB_Escape = escKB_ViewChange = tabKB_UP =KB_DOWN =KB_LEFT =KB_RIGHT =KB_Instructions = iKB_Pause = p[Launch]LaunchBefore =LaunchAfter = and the xml is the season 1 xml from your website. Many thanks in advance Quote Link to comment Share on other sites More sharing options...
time299 Posted January 23, 2015 Author Share Posted January 23, 2015 Hey Zero1965Clicking on the nukepa.exe by itself will always result in that message, because you have not specified a table name to load so NukePA dose not know what table you want to load. That is why you were getting the following message.Bad or Missing command line parameter, You must pass a game name to NukePA.exe and it must be in quotesThe rest of your config looks good, as far as I can see. Yes you will have to make adjustments to your timing.Jeff / Time299 Quote Link to comment Share on other sites More sharing options...
mpad Posted February 16, 2015 Share Posted February 16, 2015 *hm thought I posted this yesterday but maybe it was to late and I forgot to hit the send button *hey all, just wanted to report that I have finally found the issue with my crashing TPA and most likely this was also the culprit for unstable nukePA performance:x360ce!!! that buggy piece of s*** after doing a clean windows install everything worked until I put those controler files back into place, it causes an issue with TPA not closing properly = the whole exit from pinballx mess, and most likely also causes delays (milliseconds?) in the overall navigation with nukePA.so now everything is working fine for me with 2200, 2000, 60 timings. pffff.guess I have to go without analogue nudge and plunger in TPA for the moment.Their cab support is just around the corner anyway :-PP.S. is there a stable x360ce alternative? I thought I read something somewhere? Quote Link to comment Share on other sites More sharing options...
Les73gtx Posted February 16, 2015 Share Posted February 16, 2015 *hm thought I posted this yesterday but maybe it was to late and I forgot to hit the send button *hey all, just wanted to report that I have finally found the issue with my crashing TPA and most likely this was also the culprit for unstable nukePA performance:x360ce!!! that buggy piece of s*** after doing a clean windows install everything worked .... in TPA for the moment.》》》》》Their cab support is just around the corner anyway :-P 《《《《《Mpad, where did you read about this? I would like to see what they are saying. I believe you 100% I just would like to be a part of that discussion, If you can link it that would be cool ... thanks Quote Link to comment Share on other sites More sharing options...
Carny_Priest Posted February 16, 2015 Share Posted February 16, 2015 Yes, just around the corner. Hope springs eternal!I don't know what button interface you use. A couple of us with VirtuaPin kits, a joystick emulator, have conflicts between PBX and TPA/FX2, etc with whatever we map our Exit button to. In other words, you should not map Exit in x360ce. As you are using NukePA, you can just map your button in the KeyBindings section in the ini! KB_Escape = Joy8, for example.If you are truly looking for an alternative, you might try antimicro:https://github.com/Ryochan7/antimicro Quote Link to comment Share on other sites More sharing options...
mpad Posted February 16, 2015 Share Posted February 16, 2015 @ les73gtx: that was me being sarcastic But over at Pinball arcade fans mike of the dev team said he had the graphics done and is now working on input and nudge support...I'd say 1-2 years.http://pinballarcadefans.com/showpost.php?p=190717@carny_priest: thanks, but x360ce was causing a general crash of TPA. No matter what config I tried it crashes with the x360ce files installed. I remember I was lucky once when I didn't use certain axes or buttons, but I don't remember and don't want to do trial and error again.Without it TPA works.Will have a look at antimicro...thanks. 1 Quote Link to comment Share on other sites More sharing options...
mpad Posted February 16, 2015 Share Posted February 16, 2015 cool. antimicro looks promising. I remember it from a year ago or so but I thought it was just a xpadder rip off. (xpadder is so awesome btw!!!)dind't know it could do the controller mapping, maybe it couldn't back then.so its basicly xpadder+x360ce, nice.will test on the cab in a few days... Quote Link to comment Share on other sites More sharing options...
Carny_Priest Posted February 16, 2015 Share Posted February 16, 2015 Cool! Keep us updated. I wound up not using antimicro largely because I could not figure out the command line instruction set. It's documented, somewhat. But I couldn't get anything working when I tried it. I'd need it to launch different profiles from a script. x360ce works just fine for me, but it's configuration utility crashes... a lot. If I want to tweak then I can count on just having to start all over again from scratch which is a hassle. Quote Link to comment Share on other sites More sharing options...
mpad Posted February 17, 2015 Share Posted February 17, 2015 Can you provide me with your x360ce setting? A Screenshot maybe what you assigned and what you set on the advanced tab?It is very delicate and sometimes a button decides if it works or not.I only set left stick to nudge and right stick to plunger. The rest I do in xpadder.I am also curious which dll you use? 1_3? Quote Link to comment Share on other sites More sharing options...
Carny_Priest Posted February 20, 2015 Share Posted February 20, 2015 Can you provide me with your x360ce setting? A Screenshot maybe what you assigned and what you set on the advanced tab?It is very delicate and sometimes a button decides if it works or not.I only set left stick to nudge and right stick to plunger. The rest I do in xpadder.I am also curious which dll you use? 1_3?Here you go: Quote Link to comment Share on other sites More sharing options...
mpad Posted February 20, 2015 Share Posted February 20, 2015 Thanks.Have it almost identical.I see you have the magically pressed left trigger too. Had to assign a dummy button there, otherwise it would result in instant crash of TPA.And you have a right stick x axis set, which I haven't.Will give it a last try with those settings...Which dll name are you using for x360ce output files? Default 1_3? Quote Link to comment Share on other sites More sharing options...
Carny_Priest Posted February 20, 2015 Share Posted February 20, 2015 Yeah, it's listed at the right bottom of the window. Quote Link to comment Share on other sites More sharing options...
mpad Posted February 20, 2015 Share Posted February 20, 2015 Aah. I see. Quote Link to comment Share on other sites More sharing options...
frodus Posted February 21, 2015 Share Posted February 21, 2015 How the heck do you guys set the different controls in tpa? I can't set nudge or plunger for the life of me. It won't register the plunger with or without x360ce. I can't do tilt without unmounting my sensor. Really wish you could scroll through the options like in fx2. Quote Link to comment Share on other sites More sharing options...
mpad Posted February 21, 2015 Share Posted February 21, 2015 First I set the controller with my xbox controller and set every button that I don't use with X, a dummy button I later did not assign in x360ce! After that I mapped all essential functions in the keyboard setup and assign them with xpadder to my vpin controler. So the important stuff is "fake" keyboard input which is more stable in TPAOnly thing I did map with x360ce is the two axes for nudge and plunger.All that reached my brain capacity and nearly drove me nuts.Can't wait for TPA to natively support pinball controllers.... Quote Link to comment Share on other sites More sharing options...
Carny_Priest Posted February 21, 2015 Share Posted February 21, 2015 Let's be clear. I've only bought into the launch pack for TPA when they offered it for a penny in the last Steam summer sale. Out of that pack, only Black Hole was a table that I did not already have in VP, so that is the only one I have set up for PinballX. I don't have 2nd flipper/magna save buttons assigned at all because of the mysterious left trigger always engaged issue. I'm not sure what to do about that if the time ever comes to buy whatever Farsight is selling.In any case I just went through the GUI to assign buttons to events in the normal way. Nothing hard about that. You just have to write down how you mapped your cab buttons in X360ce so that you have that as a reference. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.