Content Provider freneticamnesic Posted December 11, 2015 Content Provider Share Posted December 11, 2015 Not yet, there's not really a list of what commands we can and can't use with the VPROC controller, so I was going to just mark the ones that do work and start from there, copy those and change the script until the other solenoids work For example the ballrelease works and the drain works, well mostly, so most other solenoids probably need a rewrite to match the way those are scripted Link to comment Share on other sites More sharing options...
luvthatapex Posted December 11, 2015 Share Posted December 11, 2015 The thing thats puzzling is the BartPopper is coded the same way as the MinePopper. The BartPopper works and the MinePopper doesn't. Solenoids, switches are confirmed. So strange. And of course it works fine in vpinmame mode. I tried 5 different versions of the CC table. I can fake it by having a ball create at the minepopper and trigger the switch when that happens but thats not the way I want to have it to work, lol. Not yet, there's not really a list of what commands we can and can't use with the VPROC controller, so I was going to just mark the ones that do work and start from there, copy those and change the script until the other solenoids work For example the ballrelease works and the drain works, well mostly, so most other solenoids probably need a rewrite to match the way those are scripted Link to comment Share on other sites More sharing options...
Content Provider freneticamnesic Posted December 11, 2015 Content Provider Share Posted December 11, 2015 I'll try it with a rom test table and make sure the solenoids are operating properly... that should be as close a link as we can get by removing most of the vbs files from the equation Link to comment Share on other sites More sharing options...
stefanaustria Posted December 12, 2015 Share Posted December 12, 2015 i dont get away this fkin Screen, when i start ccc.vpt, "dmd" only works fine Link to comment Share on other sites More sharing options...
Content Provider freneticamnesic Posted December 12, 2015 Content Provider Share Posted December 12, 2015 where is your game map yaml located Link to comment Share on other sites More sharing options...
Administrators Dazz Posted December 12, 2015 Author Administrators Share Posted December 12, 2015 I take it this doesn't work with Win10, eh? Can't get the python installer to install the necessary files. Link to comment Share on other sites More sharing options...
Content Provider CarnyPriest Posted December 12, 2015 Content Provider Share Posted December 12, 2015 I have Evil Dead working with Win10. Granted, though, that I had installed all the pyproc stuff before I made that transition from Win 7 to Win 10. Link to comment Share on other sites More sharing options...
stefanaustria Posted December 12, 2015 Share Posted December 12, 2015 vp_game_map.yaml is in C:\P-ROC\shared\config\also in C:\P-ROC\games\cactuscanyon\ i havent game_map.yaml File ... just found one at horseys Files, added to my, the same ... Abort with Error.cc_13:# Path to the game directory - relative path from tools/register_vpcom.py# so this is C:\P-ROC\games\cactuscanyonpath: /../games/cactuscanyon# the CCGame class is in the game.py filekls: game.CCGame# Path to YAML - seems to be ignored anywayyaml: /../games/cactuscanyon/config/cc_machine.yaml And i try to start CCC.vpt from C:\P-ROC\Visual Pinball\Tableswith VPinball991.exe from C:\P-ROC\Visual Pinball\VP Script:Const cController = 4 'Choose Controller: 1-VPM, 2-UVP, 3-B2S, 4-VPROCConst cGameName = "cc_13"Sub LoadVPM(VPMver, VBSfile, VBSver)On Error Resume NextIf ScriptEngineMajorVersion < 5 Then MsgBox "VB Script Engine 5.0 or higher required"ExecuteGlobal GetTextFile(VBSfile)If Err Then MsgBox "Unable to open " & VBSfile & ". Ensure that it is in the same folder as this table. " & vbNewLine & Err.DescriptionSelect Case cControllerCase 1:Set Controller = CreateObject("VPinMAME.Controller")If Err Then MsgBox "Can't Load VPinMAME." & vbNewLine & Err.DescriptionIf VPMver>"" Then If Controller.Version < VPMver Or Err Then MsgBox "VPinMAME ver " & VPMver & " required."If VPinMAMEDriverVer < VBSver Or Err Then MsgBox VBSFile & " ver " & VBSver & " or higher required."Case 2:Set Controller = CreateObject("UltraVP.BackglassServ")Case 3:Set Controller = CreateObject("B2S.Server")Case 4:Set Controller = CreateObject("VPROC.Controller")End SelectOn Error Goto 0End Sub Link to comment Share on other sites More sharing options...
Content Provider freneticamnesic Posted December 13, 2015 Content Provider Share Posted December 13, 2015 Try renaming the one on your cactuscanyon folder so it defaults to the shared config folder Sent from my XT1585 using Tapatalk Link to comment Share on other sites More sharing options...
HorsePin Posted December 13, 2015 Share Posted December 13, 2015 Windows 10 is possible. I don't have win10 here but I did manage to run a setup over Teamviewer for Angrim. Without knowing what's going on your end, I'll take a guess and say it could be the pywin32Com module. If you ran the "setuphelper.py", this pyCom setup is the first app that requires you to install by clicking next on. There are several versions of these but you could try running admin rights and things like that. The setup for that will be in the _tempHorse folder that the setuphelper creates. You could also check that by registering the vp_com.py. If the pycom is bad, it won't say registered. Try running game by cmd line in the game folder.......python game.py. Checking games runs without VP first is always good. Link to comment Share on other sites More sharing options...
HorsePin Posted December 13, 2015 Share Posted December 13, 2015 One thing I just checked after I posted that........ If you are running the files from my post.... edit game.py def main(): try: game = CCGame() game.run_loop() finally: del game if __name__ == '__main__': main() Put this is the bottom of the game.py and then you can run the game the same as before. Python game.py Link to comment Share on other sites More sharing options...
stefanaustria Posted December 13, 2015 Share Posted December 13, 2015 Thanks for your help, fren, but sorry, always get the "Permission denied" Error at VP start ... wah i could cry Also tryed some Ways from horsey ... but i guess i could have a OS Problem also ... maybe ... Could move all to Cab ( and try again ), but i first i will get it to run fine here. Also i have config.yaml in Users/myUserName/.pyprocgame/ ... thats right ?And a /dmd_cache was written beforefont_path:- C:\P-ROC\games\cactuscanyon\dmd\- C:\P-ROC\games\cactuscanyon\shared\dmdconfig_path:- C:\P-ROC\games\cactuscanyon\config\#dmd_cache_path: ~/.pyprocgame/dmd_cachecolor_desktop: True#pinproc_class: procgame.fakepinproc.FakePinPROC#use_desktop: Falsedesktop_dmd_scale: 4horsey, if i try to start your Folder with CMD, i think WITH yours is complete,and i wonder, why i cant start it over CMD.After i Change /cactuscanyon Folder back to my "working old", it run again and fine ... (but sorry NO VP ) I have developed a "mini Facebook" ( www.digisystems.at ), modified Game Emulators, a logic for a chess game, programmed many web-tool, but that is a mystery i think, its just a bit what i have to do ... but what. you talked about TeamViewer ... Link to comment Share on other sites More sharing options...
HorsePin Posted December 13, 2015 Share Posted December 13, 2015 CCC might run that config path without VP. You have to see the post above you and add that to game.py to run standalone. Link to comment Share on other sites More sharing options...
stefanaustria Posted December 13, 2015 Share Posted December 13, 2015 Thanks, but the same "Permission denied" ... Maybe i try it again, later: 1. proc_env_insatller.exe 2. Yours (setupHelper.py) 3. create /game/cactuscanyon 4. put in game, dmd and Sound files 5. overwrite with Yours ... Then i edited some .yaml Files, always get it ton run with: > python C:\P-ROC\games\cactuscanyon\cc.py fakepinproc Hmmm cc.py ? ... i followed this https://pinside.com/pinball/forum/topic/how-to-install-cactus-canyon-continued-on-windows-7-or-xp-pcs-step-by-step of course with other paths ... Link to comment Share on other sites More sharing options...
luvthatapex Posted December 13, 2015 Share Posted December 13, 2015 OK, if you have this game running, I switched the minepop with the saloon pop and was able to play a complete game (without the pop up bad guy targets, but at least a full game)! I know its wrong, but at least we can play the game now until we figure out the right way to code the minepopper. ' BEFORE 'Sub MineHole1_Hit() : ClearBallid : MineHole1.DestroyBall : PlaySound "KickerEnter" : vpmTimer.AddTimer 500, "bsMinePop.Addball" :PopMine():End Sub 'Sub MineHole2_Hit() : ClearBallid : MineHole2.DestroyBall : PlaySound "KickerEnter" : vpmTimer.AddTimer 500, "bsMinePop.Addball" :PopMine():End Sub 'AFTER Sub MineHole1_Hit() : ClearBallid : MineHole1.DestroyBall : PlaySound "KickerEnter" : vpmTimer.AddTimer 1000, "bsSaloonPop.Addball" :End Sub '12-13-15 Sub MineHole2_Hit() : ClearBallid : MineHole2.DestroyBall : PlaySound "KickerEnter" : vpmTimer.AddTimer 1000, "bsSaloonPop.Addball" :End Sub '12-13-15 I just got a hilarious mode "Drunk Multiball" where the flippers were opposite, so left flipper press flips the right flipper and vice versa! Here is a screenie Link to comment Share on other sites More sharing options...
HorsePin Posted December 13, 2015 Share Posted December 13, 2015 Then i edited some .yaml Files, always get it ton run with: > python C:\P-ROC\games\cactuscanyon\cc.py fakepinproc You have to run Python Game.py . I did mention that file "Game.py" 3 times in the post. Game.py game.py game.py game.py You're making it overly complicated. I can't imagine how many times you have done the same installation, when you don't need to. Your vp_game_map.py is not right. Double check, treble check. You shouldn't be editing ANY files either, apart from that VP_GAME_MAP.py Link to comment Share on other sites More sharing options...
stefanaustria Posted December 13, 2015 Share Posted December 13, 2015 So, got it to run, thank you very much luvthatapex !Thanks also horsey, thanks Fren. horsey, you are right, but before, always i did a test with "cc", that was the only working ... until now Also i wonder, i had much less Files in my /Python26 Folder ... whatever, and always thought, when cc.py run, it cant be total wrong. Haleluja ... lets try some Games ... ( but VP start with a RunTime Error )( vp_game_map - you mean .yaml ? ) Link to comment Share on other sites More sharing options...
Content Provider CarnyPriest Posted December 13, 2015 Content Provider Share Posted December 13, 2015 I have Judge Dredd running well. Horsey's source code adaptation for VP: http://vpuniverse.com/forums/topic/2286-cactus-canyon-continued-proc-in-vp/page-3#entry25259 the Visual Pinball folder has the table script and the entry for vp_game_map.yaml You can adjust the size and location of the DMD with config.yaml in the root folder Judge Dredd media assets linked in this thread: http://www.pinballcontrollers.com/forum/index.php?topic=1626.0 Dozer's latest VPX beta table http://vpuniverse.com/forums/topic/2286-cactus-canyon-continued-proc-in-vp/page-3#entry25260 Link to comment Share on other sites More sharing options...
HorsePin Posted December 14, 2015 Share Posted December 14, 2015 horsey, you are right, but before, always i did a test with "cc", that was the only working ... until now Haleluja ... lets try some Games ... ( but VP start with a RunTime Error ) ( vp_game_map - you mean .yaml ? ) It had to be altered to not use that file. That CC.py is just a loader (unneeded for VP). Run time error should be common knowledge by now. https://bitbucket.org/horseyhorsey/pyprocgame-evildead/wiki/gameLaunch Yes, its a yaml file. Link to comment Share on other sites More sharing options...
luvthatapex Posted December 16, 2015 Share Posted December 16, 2015 Has anyone figured out how whatscript changes are needed in the Cactus canyon vpt to get the drop targets, train and mine popper working correctly? It appears some of the mech commands are different with the vproc controller vs the vpinmame controller. So far these mechs don't work in the VB script. * 4 drop targets * mine popper * train *in-lane pop-up posts This is really fun playing but its difficult to progress through the game without those items working. Link to comment Share on other sites More sharing options...
stefanaustria Posted December 17, 2015 Share Posted December 17, 2015 atm. i have just a bit knowledge about this extended code, but can try something next days ... Can you provide me your actually Code, if something has changed ? Link to comment Share on other sites More sharing options...
luvthatapex Posted December 19, 2015 Share Posted December 19, 2015 bump! Anyone want to look at the visual pinball script for Cactus Canyon when running the vproc controller and see if we can get those solenoids to work? Link to comment Share on other sites More sharing options...
DozerAUS Posted December 29, 2015 Share Posted December 29, 2015 I'm working on this in my spare time - I've ported the game to VP10, have the trough working properly, the mine mech has been recoded and works now but other stuff including the mine popper is still broken. The mine popper works in attract mode if you throw a ball into it manually so I don't think the vb script is the issue, it looks like it has something to do with the game code or timing. The train shouldn't be too hard to build without using the vpm mech routines but I haven't looked yet. I'll post updates as the game comes to life (or not depending on unsolvable issues if there are any). Link to comment Share on other sites More sharing options...
DozerAUS Posted December 29, 2015 Share Posted December 29, 2015 Chepas found a game breaker in the game code that resulted in a lot of this stuff not working. Mine popper is working now - Bad guys should work too but I've not yet tested this. Coding new Train mech tonight - so far so good - game is progressing slowly but surely. Link to comment Share on other sites More sharing options...
DozerAUS Posted December 30, 2015 Share Posted December 30, 2015 Mine, trough, train, mine popper, gun fight lock posts are working now - bad guys are still broken. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now