Jump to content



Photo
* * * * * 1 votes

P-ROC example game with Skeleton LCD framework


  • Please log in to reply
68 replies to this topic

#61 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,258 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 11 October 2015 - 06:44 AM

Yes, for the helper the command line only involves typing in Y or N when the installers for pywin and pill have completed.

15 minutes sounds about right, but it's fairly well automated. Thanks again for putting these steps together.


Sent from my iPad using Tapatalk

#62 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,982 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 09 December 2015 - 09:38 AM

chepas, also got you CCC to run ?



#63 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 09 December 2015 - 07:08 PM

So I got a little further this time trying to get the VP/P-roc bridge to work with VP9.91 and CCC using cactus canyone high noon 1.31 version vpt.

The p-roc code works fine. I can see the CCC dmd and the game fully works in color without visual pinball.

I got the vpcom to register.

When I run the visual pinball table with the vproc.controller added, I am stuck with the next error when register_vpcom.py calls init function.

 

2015-12-09 12:46:38,736 - game.config - INFO - pyprocgame configuration found at ./config.yaml
2015-12-09 12:46:38,756 - vpcom - INFO - S11 is ...False
2015-12-09 12:46:38,767 - game.config - INFO - pyprocgame configuration found at ./config.yaml
2015-12-09 12:46:38,779 - game.config - INFO - pyprocgame configuration found at ./config.yaml
2015-12-09 12:46:42,119 - game.sound - INFO - Initializing sound...
2015-12-09 12:46:42,276 - vpcom - INFO - game instantiation error(TypeError: __init__() takes at least 2 arguments (1 given))
2015-12-09 12:46:42,276 - vpcom - INFO - PYTHON FAILURE (Visual Pinball Bridge is now broken)
2015-12-09 12:46:42,276 - vpcom - INFO - Exception Name __init__() takes at least 2 arguments (1 given)
2015-12-09 12:46:42,276 - vpcom - INFO - Traceback (most recent call last):
2015-12-09 12:46:42,276 - vpcom - INFO -   File "C:\P-ROC\tools\register_vpcom.py", line 221, in Run
2015-12-09 12:46:42,276 - vpcom - INFO -     self.game = klass()
2015-12-09 12:46:42,276 - vpcom - INFO - TypeError: __init__() takes at least 2 arguments (1 given)
 
I assume the vp_game_map.yaml is being checked for game name and location. Here is my section of the cc_13 of the vp_game_map
 
cc_13:
    # Path to the game directory - relative path from tools/register_vpcom.py
    path: /../games/cactuscanyon
    # the CCGame class is in the game.py file
    kls: game.CCGame
    # Path to YAML - seems to be ignored anyway
    yaml: C:\P-ROC\shared\config\cc.yaml
 
Do you see anything wrong with this? What is the second argument its looking for?
 
I think I got it ... It looks like the problem is CCC subclasses BasicGame so the vp game map yaml can't call it.
 
Look at the JD game config compared to CCC config in the vp game map yaml.
jd_l7:
    # Path to the game directory - relative path from tools/register_vpcom.py
    path: /../games/jd
    # jd is the python file name, Game is the class in that file
    kls: jd.Game
    # Path to the machine-specific YAML
    yaml: C:\P-ROC\shared\config\JD.yaml
cc_13:
    # Path to the game directory - relative path from tools/register_vpcom.py
    path: /../games/cactuscanyon
    # game is the python file name, CCGame is the class in that file
    kls: game.CCGame
    # Path to YAML - seems to be ignored anyway
    yaml: /../games/cactuscanyon/cc_machine.yaml
 
Calling CCGame won't initialize the python code since the class in CCGame is actually CCGame(Game.Basicgame) as opposed to just CCGame(Game) like most games.
It looks like register_vpcom.py needs to be modified in order for CCC to work.


#64 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 16 December 2015 - 03:34 PM

Just a bump and big thanks to chepas, I finally got CCC running on my PC but the VPROC controller must have some differences with support for mechs since the following mechs don't work:

 

* 4 drop targets

* mine popper

* train

*inlane pop-up posts

 

I think if we could get these to work, it would be awesome for anyone that wants to run this on their PC. I've tried different ways to code the drop targets and mine popper and can't get the to work. It also doesn't matter what cactus canyon visual pinball table that you use, simply changing the VPinmame controller to VPROC controller gets them to run, but these mechs don't work. So close ... yet unable to really enjoy the gameplay without these things working. This is the VP script issue with regards to the vproc controller.

 

Does anyone know the mechs that the VPROC controller doesn't support or how to code them differently? Of course everything works fine with the vpinmame controller.

 

For example: 

 

This popper works fine:

' Saloon Popper
Set bsSaloonPop = New cvpmBallStack : With bsSaloonPop
.InitSw 0,42,0,0,0,0,0,0
.InitKick BartPopper, 90, 10
.InitExitSnd "Solenoid2", "Solenoid"
End With
 

But this popper doesn't even though its coded the same?

' Mine Popper
Set bsMinePop = New cvpmBallStack : With bsMinePop
.InitSw 0,41,0,0,0,0,0,0
.InitKick MinePopper, 270, 10
.InitExitSnd "Solenoid2", "Solenoid"
End With

Edited by luvthatapex, 16 December 2015 - 03:35 PM.


#65 parabolic

parabolic

    Enthusiast

  • Silver Supporter
  • 225 posts
  • Location:Greenville, SC

  • Flag: United States of America

  • Favorite Pinball: revenge from mars

Posted 10 January 2016 - 04:11 AM


 

 

R6034 application attempted to run the C library .......

Yep, this is the one you just ignore or skip with the autohotkey.

 

Okay - Im getting this error - It works to skip it by clicking on it but I have it in a cab so Id like to do the autohotkey - but im not sure how to do that.


Parabolic Technologies - 3D printers and 3D design printing

"Transforming YOUR Ideas into a Reality!"

[email protected]

https://www.facebook...f_type=bookmark


#66 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,258 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 10 January 2016 - 01:51 PM

Use Chepas's vp_proc_loader.exe


Sent from my iPad using Tapatalk

 

Link to a script I coded for P-ROC Evil Dead. Same principle applies:

 

http://www.gameex.in...edia-generator/


Edited by Carny_Priest, 10 January 2016 - 02:28 PM.


#67 charlieshakur

charlieshakur

    Hobbyist

  • Members
  • PipPip
  • 11 posts

  • Flag: United Kingdom

  • Favorite Pinball: Big Bang Bar (Capcom 1996)

Posted 20 March 2019 - 10:53 AM

Hey all thought i would try this out myself as im really wanting to try evil dead currently 

Im step 2b chepas guide 
2b.
PIL Libary = http://effbot.org/do...win32-py2.6.exe

but the all in one installed installed 2.7 python what should i do ? this part wont install saying need 2.6 python any help on this would be great 
can i just ignore this part and move on :(



#68 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 20 March 2019 - 02:21 PM

PIL is needed. Can you type this from command prompt?

pip install PIL

 

This should install the library.



#69 VPGamer75

VPGamer75

    Neophyte

  • Platinum Supporter
  • 5 posts

  • Flag: United States of America

  • Favorite Pinball: Terminator 2

Posted 24 June 2022 - 10:31 PM

Hello I’m kinda behind on P-ROC! Last time ninuzzgot me instructions how to pythons installed. Proc working cactus canyon on 2017 pythons ver. 2.7 I had fun with it including JD and Evil Dead. Now I have struggles clicking links pythons for update to Windows 10. I following directions on First pages most of the link are dead