gtxjoe Posted January 11, 2016 Share Posted January 11, 2016 Slydog,Not sure why wrong exe is used, since each PBX system has an assoc exe. Are you using the <alternateExe> xml tag? PBXRecorder does have to guess about the file extension as it is not provided in the XML file, so if a vpt file and a vpx file exist in the same folder with the SAME name, it will default to the vpt file. Send me your log file if you want me to investigate, but maybe no need if you try below and that does what you want.Anyways if you want to only process one xml, just create a new dir called PinballXTemp and create a Config folder and Database folder. In the Config folder, copy the PinballX.ini and in there disable all systems but the one system you want to run. In the Database folder, create the desired system folder and put your one xml file there. Point PBXrecorder to that and it should run and create all the Media paths and files. Nicco, I will take a look at your post later this week, but to be honest, if you want use PBXRecorder, one option is to just remove those special characters from the Description tag and table filenames, this problem will go away . I will make some tweaks but without an Italian system to try this on, it is just trial and error for me 1 Quote Link to comment Share on other sites More sharing options...
nicco84 Posted January 11, 2016 Share Posted January 11, 2016 no problem joe, are really few tables with special charachters.i understand you've not italian system and it's not simple for me beta test every time.special charachters apart pbxrecorder works great! and thanks again.if am i not wrong pbxrecorder.exe is pbxrecorder.ahk compiled right?if it's so is a problem for you link to me 1.02 beta2 and 4 .ahk??in my free time i'd like to try some test with my italian layout Quote Link to comment Share on other sites More sharing options...
gtxjoe Posted January 12, 2016 Share Posted January 12, 2016 Here is a beta 05 that drops all invalid chars like : / \ * ? " < > |, so AC/DC and Star Trek: and Terminator 2: should work now For the "Elvis#174; (Stern 2004)", it will create "Elvis#174; (Stern 2004).f4v". Or do you want it to create "Elvis (Stern 2004).f4v"?PBXrecorder_1.2beta05.zip Quote Link to comment Share on other sites More sharing options...
nicco84 Posted January 12, 2016 Share Posted January 12, 2016 What i wrote is the complete output filename with extension.Elvis® (Stern 2004Â[emoji768]® (Stern 2004).f4vIt repeats twice producer and year. It happened for me only with beta4, not with beta 2Inviato dal mio iPhone utilizzando Tapatalk Quote Link to comment Share on other sites More sharing options...
nicco84 Posted January 12, 2016 Share Posted January 12, 2016 sorry joe, forgive what i write in upper post. it repeat twice because it reads probably an old output filenew test with few tables with last beta5- ac/dc and Star trek: now works great!! no more issue due to / and :- same issue with Elvis#174; (Stern 2004)- now when ffmpeg finish to work to create f4v, a window appear and you have to click end to proced with next table (if it works on PF or in BG), if it work on both PF and BG two windows appear.i think that the ® issue we could do it manually whitout problem!thanks joeVisual Pinball Physmod5.xml Quote Link to comment Share on other sites More sharing options...
nicco84 Posted January 12, 2016 Share Posted January 12, 2016 Sorry for multipost and for stress but i found a solution for the ® joe!in beta5 ahk script i delete completely this;Special handling for Italian ® in the Table Name. Change ® to ® IfInString, XTable, ® { StringGetPos, start, XTable, & TestTable := SubStr(XTable, 1, start) TestTable2 := SubStr(XTable, start+7) XTable = %TestTable%®%TestTable2% }and in this section ;Special handling for ® in the Description. Change ® to #174; IfInString, Description, ® { StringGetPos, start, Description, ® TestTable := SubStr(Description, 1, start) TestTable2 := SubStr(Description, start+7) Description = %TestTable%#174;%TestTable2% }i made this changes (in red) ;Special handling for ® in the Description. Change ® to ® IfInString, Description, ® { StringGetPos, start, Description, ® TestTable := SubStr(Description, 1, start) TestTable2 := SubStr(Description, start+7) Description = %TestTable%®%TestTable2% }now it reamin the window with end button issue after that you could pass from beta to gold Quote Link to comment Share on other sites More sharing options...
gtxjoe Posted January 12, 2016 Share Posted January 12, 2016 Thanks for testing and fixing. I needed to to do this special handling at some point so now it is done For the "end" pop up. I forgot to delete that. Just search for "msgbox end" and delete that Quote Link to comment Share on other sites More sharing options...
nicco84 Posted January 12, 2016 Share Posted January 12, 2016 Really Thanks Joe, now I could start to record my play field of vpx!!! [emoji16]Inviato dal mio iPhone utilizzando Tapatalk Quote Link to comment Share on other sites More sharing options...
slydog43 Posted January 12, 2016 Share Posted January 12, 2016 gtxjoe, sorry for wasting your time. It was all on my end. Another benefit of this program is to check your xmls for correctness. Your program found 2 small mistakes I had in my XML's. Thanks for a great program. Will continue running it today and see how it works after my corrections. Thanks. you should post this over at VPForums for others to use Quote Link to comment Share on other sites More sharing options...
Carny_Priest Posted January 12, 2016 Author Share Posted January 12, 2016 Sorry for multipost and for stress but i found a solution for the ® joe!in beta5 ahk script i delete completely this;Special handling for Italian ® in the Table Name. Change ® to ® IfInString, XTable, ® { StringGetPos, start, XTable, & TestTable := SubStr(XTable, 1, start) TestTable2 := SubStr(XTable, start+7) XTable = %TestTable%®%TestTable2% }and in this section ;Special handling for ® in the Description. Change ® to #174; IfInString, Description, ® { StringGetPos, start, Description, ® TestTable := SubStr(Description, 1, start) TestTable2 := SubStr(Description, start+7) Description = %TestTable%#174;%TestTable2% }i made this changes (in red) ;Special handling for ® in the Description. Change ® to ® IfInString, Description, ® { StringGetPos, start, Description, ® TestTable := SubStr(Description, 1, start) TestTable2 := SubStr(Description, start+7) Description = %TestTable%®%TestTable2% }now it reamin the window with end button issue after that you could pass from beta to gold Just curious about the registered copyright symbol. It doesn't appear PinballX displays correctly for me if I use the symbol in the description tag. Does it display for you, or are you just trying to get media filenames to match ipdb? Quote Link to comment Share on other sites More sharing options...
nicco84 Posted January 12, 2016 Share Posted January 12, 2016 When I add new tables I click in description form game manager and I add one is in the list. I think Pinballx utilize correct description from ipdb.I already had som tables with registered copyright character and during import I copied description and paste in new video filename. Some have this special characters and Pinballx read it. If I delete it from filename Pinballx couldn't read anymore. Pinballx skip only characters you couldn't put in file name like : ; \ / ...Inviato dal mio iPhone utilizzando Tapatalk Quote Link to comment Share on other sites More sharing options...
gtxjoe Posted January 13, 2016 Share Posted January 13, 2016 Yeah, the Pinballx Game Manager pulls the table names from the ipdb list and it doesn't filter/remove any of the special characters. I ran into some of theses issues when I was creating PBXrecorder, I took the easy way out and just modified my xml descriptions to not use them Anyways If you select Harley Davidson ® (Stern 2002), the Game Managers stores it in the xml tag as Harley Davidson ® (Stern 2002); but PinballX does display the trademark char Harley Davidson ®, when browsingThe Media file needs to be named Harley Davidson ®.f4v. When I tried to fix this yesterday I was actually geting Harley-Davidson ® (Stern 2002).f4v, and Pinballx did not like it. Anyways did something using WinMerge to remove the  and now it creates Harley Davidson ®.f4v correctly for me. Nicco84, can you test this final beta version when you have time?PBXrecorder_1.2beta06final.zip 1 Quote Link to comment Share on other sites More sharing options...
Carny_Priest Posted January 13, 2016 Author Share Posted January 13, 2016 Thanks, I had tried that numeric character reference before without much luck. What it needs is the semicolon like this -®Of course, then I have to name my media files the same as the game name element so that PBX can tie all the media together. Spider-Man Stern is not in the ipdb that Game Manager uses, except as Black Spider-Man. The listing at ipdb.org is Spider-ManTM.If you want to match that in the description tag then the numeric character reference is™I went ahead and renamed most of the media, xml, etc. to better match the ipdb listings. It's probably better that way in the long run.EditOk, got the file names with special characters figured out as well. Quote Link to comment Share on other sites More sharing options...
nicco84 Posted January 13, 2016 Share Posted January 13, 2016 Yeah, the Pinballx Game Manager pulls the table names from the ipdb list and it doesn't filter/remove any of the special characters. I ran into some of theses issues when I was creating PBXrecorder, I took the easy way out and just modified my xml descriptions to not use them Anyways If you select Harley Davidson ® (Stern 2002), the Game Managers stores it in the xml tag as Harley Davidson ® (Stern 2002); but PinballX does display the trademark char Harley Davidson ®, when browsing The Media file needs to be named Harley Davidson ®.f4v. When I tried to fix this yesterday I was actually geting Harley-Davidson ® (Stern 2002).f4v, and Pinballx did not like it. Anyways did something using WinMerge to remove the  and now it creates Harley Davidson ®.f4v correctly for me. Nicco84, can you test this final beta version when you have time? - after 30 seconds recording (my option) it starts correctly to encode but without closing vp. so it open more and more instances of vp. - i don't know if it's my issue but pbxrecorder starting from the first release has never opened Visual pinball system... Ok with pm5 (mine other system2 in pinbalx.ini) and vpx (mine other sytem 3) Quote Link to comment Share on other sites More sharing options...
gStAv Posted January 13, 2016 Share Posted January 13, 2016 I got: error line 257. The following variable contains an illegal character: "["[VisualPinball]"" when trying final6 :'(the precompied version 4 workds for me though Quote Link to comment Share on other sites More sharing options...
slydog43 Posted January 14, 2016 Share Posted January 14, 2016 Great program, going through my huge list of VP tables now (over 1000). program works great except every once and while the backglass does not close. I think its related to when the backglass is actually an exe (old style of B2s). Is this a known limitation? Still trying to prove when it stops exiting backglass. Trouble is when it stops exiting the backglass all tables after it capture the same backglass. Quote Link to comment Share on other sites More sharing options...
Carny_Priest Posted January 14, 2016 Author Share Posted January 14, 2016 Are you handy with ahk? You can grab the rosveClose subroutine from the FPLaunch WIP10 source and add it to the script. Call it when VP is shutdown after the capture. Quote Link to comment Share on other sites More sharing options...
gtxjoe Posted January 15, 2016 Share Posted January 15, 2016 Tthe PBX recorder script should have these 3 lines to kill the 1) VP executable used, 2) the DirectB2S Server executable and 3)Any process that matches the table name with .exe at the end, i,e TableName.exe (this should kill the table B2S.exe - worked during my testing) Run, taskkill /IM %Executable% /F,,UseErrorLevelRun, taskkill /F /IM B2SBackglassServerEXE.exe,,UserErrorLevelRun, taskkill /F /IM %XTable%.exe,,UserErrorLevel let me know if you can find the culprit and then we can investigate I guess I should figure out an additional way to find and taskkill anything with *B2S.exe at ending.... Quote Link to comment Share on other sites More sharing options...
gtxjoe Posted January 15, 2016 Share Posted January 15, 2016 Here is the script change with the FPLaunch way of killing the b2s.exe.Change this section from: Run, taskkill /IM %Executable% /F,,UseErrorLevelRun, taskkill /F /IM B2SBackglassServerEXE.exe,,UserErrorLevelRun, taskkill /F /IM %XTable%.exe,,UserErrorLevel to Run, taskkill /IM %Executable% /F,,UseErrorLevelRun, taskkill /F /IM B2SBackglassServerEXE.exe,,UserErrorLevelRun, taskkill /F /IM %XTable%.exe,,UserErrorLevelIfInString, XTable, B2S.exe, WinKill, Form1 Quote Link to comment Share on other sites More sharing options...
slydog43 Posted January 17, 2016 Share Posted January 17, 2016 do I have to compile the ahk script and rename to PBXrecorder.exe or does pbxrecorder call the ahk script. thanks (I asked cause I made the changes to the script and reran the pbxrecroder.exe and still does not close backglasses thqt are exe's) Thanks Quote Link to comment Share on other sites More sharing options...
gtxjoe Posted January 17, 2016 Share Posted January 17, 2016 Slydog - hmm. You can run it as ahk or exe. Behavior is should be the same. Try running the exe as admin and see if that helps, otherwise send me a B2S.exe that won't close so I can try on my machine. ============================= New Version: Version 1.2 adds basic support for automatic Wheel image download via FTP if you have Pinballx FTP access. To enable FTP support, open the FTPLoginInfo.txt file and put in your user info. If you do not have FTP access, the log file will always report a list of any missing wheel images. https://drive.google.com/open?id=0B2XD_HKVvzV1S19UOWJPb2k2WWc PBX Recorder will walk through all the VP tables found in Pinballx, launch each table and record/capture all your videos and/or images automatically. By default, PBX Recorder is setup to find and record missing media. There are options to re-record all media if desired. What to record and length of videos are all configurable. Edit: fixed download link 1 Quote Link to comment Share on other sites More sharing options...
gStAv Posted January 17, 2016 Share Posted January 17, 2016 hey gtxjoe!Can't click on the provided link for 1.2,,, can you please re-post it Sir? Quote Link to comment Share on other sites More sharing options...
Carny_Priest Posted January 17, 2016 Author Share Posted January 17, 2016 do I have to compile the ahk script and rename to PBXrecorder.exe or does pbxrecorder call the ahk script. thanks (I asked cause I made the changes to the script and reran the pbxrecroder.exe and still does not close backglasses thqt are exe's) ThanksIf you have AutoHotkey installed on your cabinet then you can just reference the ahk. If you are making changes on another computer and transferring it over onto your cabinet and it does not have AutoHotkey installed then you will need to compile (right-click -> Compile Script). Quote Link to comment Share on other sites More sharing options...
gtxjoe Posted January 17, 2016 Share Posted January 17, 2016 Oops... Link fixed 1 Quote Link to comment Share on other sites More sharing options...
nicco84 Posted January 18, 2016 Share Posted January 18, 2016 hey joe... it works great!!!it's fantastic! on click and you have al what you want! i have try with wheel too and no problem!only one thing... i think it's my issue because it has never worke since 1.1script works only for pm5 and vp... it doesn't read system visual pinball (vp992 is the exe) and system future pinball.attached pbx and pbxrecorder .ini .... if it's not a problem could you take a look? thanks manPinballX.iniPBXrecorder.ini 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.