Jump to content
HorsePin

[New VP10 Alert] Evil Dead (HorsePin 2018)

Recommended Posts

You need to register this controller. Copy that file to the C:\P-ROC\Tools. Like it says in the guide at the very top. This controller has .GetSettings

python register_vpcom_solenoids_skeleconfig.py --register

Share this post


Link to post
Share on other sites

Thanks. I have moved the 2.7 README to the top of the post to try avoid any more confusion.

" If i try to load an ancient p-roc table (cactus canyon) i can see the script without pbs .. i dont get it why it makes that only on your table ??? "

Because the table is locked. There was no other input apart from Dozer and I think you're covered in the general editing needed.

  • If you need to change the views you can edit the "Evil Dead.pov".  Make sure same name as the table.
  • Physics are in the service.
  • DirectB2S is in the service.
  • There is a script reference in the download so you can get to DOF/B2S numbers

Share this post


Link to post
Share on other sites

ah ok . I didnt knew that a table could be non editable . No pbs for me.

 

So i managed to launch the table (yehaaa) , i have some bugs . first i tried a quick play and the table crashed with python errors. (i had the dmd running )

 

I relaunched the table ans before the loading of the dmd was complete i had another crash with many python errors.

 

So i closed vpx. restart x. relaunch the table, create a player , launched a game, yesss it worked.

 

play a little but when i lost my ball i had this new crash , here is the log

2018-01-12 18:58:16,171 - ballsearch - INFO - Disabled
2018-01-12 18:58:16,171 - game - INFO - Skel: preparing to notify modes of event evt_ball_ending.
2018-01-12 18:58:16,171 - game - INFO - base game mode trough changed notification ('ball_ending - again=False, last=False')
2018-01-12 18:58:16,171 - game.modes - INFO - Removed LampShowMode  pri=3.
2018-01-12 18:58:16,174 - game.modes - INFO - Added LampShowMode  pri=3.
2018-01-12 18:58:16,174 - game.modes - INFO - Removed ModeInfo  pri=3.
2018-01-12 18:58:16,174 - game - INFO - Total Game Time :00:00:00
2018-01-12 18:58:16,174 - game - INFO - Game was tilted???False
2018-01-12 18:58:16,174 - game.sound - ERROR - ERROR SOUND KEY NOT FOUND: ball_drain
2018-01-12 18:58:16,174 - game.modes - INFO - Added Bonus  pri=30.
2018-01-12 18:58:16,174 - game - INFO - Bonus game.mode started
2018-01-12 18:58:16,174 - game - INFO - 
Total Time: 97.779 Seconds
2018-01-12 18:58:16,174 - game - INFO - Loops: 455382
2018-01-12 18:58:16,174 - game - INFO - Overall loop rate: 5204.485Hz
2018-01-12 18:58:16,174 - game - INFO - Frame rate: 23.989FPS
2018-01-12 18:58:16,176 - game - INFO - DMD Updates: 2099
2018-01-12 18:58:16,176 - game - INFO - loops between dmd updates: 216.000
2018-01-12 18:58:16,176 - game - INFO - Waiting for the OSC Server thread to finish
2018-01-12 18:58:16,176 - game - INFO - OSC Server thread is done.
2018-01-12 18:58:16,177 - vpcom - INFO - PYTHON FAILURE (Visual Pinball Bridge is now broken)
2018-01-12 18:58:16,177 - vpcom - INFO - Exception Name AttributeError: 'Bonus' object has no attribute 'TotalBonus'
2018-01-12 18:58:16,177 - vpcom - INFO - Traceback (most recent call last):
2018-01-12 18:58:16,177 - vpcom - INFO -   File "C:\P-ROC\Tools\register_vpcom_solenoids_skeleconfig.py", line 298, in RunGame
2018-01-12 18:58:16,177 - vpcom - INFO -     self.game.run_loop()
2018-01-12 18:58:16,177 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\skeletongame.py", line 1403, in run_loop
2018-01-12 18:58:16,177 - vpcom - INFO -     super(SkeletonGame, self).run_loop(min_seconds_per_cycle)
2018-01-12 18:58:16,178 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\game.py", line 761, in run_loop
2018-01-12 18:58:16,178 - vpcom - INFO -     self.modes.tick()
2018-01-12 18:58:16,178 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\mode.py", line 417, in tick
2018-01-12 18:58:16,178 - vpcom - INFO -     mode.dispatch_delayed()
2018-01-12 18:58:16,178 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\mode.py", line 278, in dispatch_delayed
2018-01-12 18:58:16,178 - vpcom - INFO -     handler()
2018-01-12 18:58:16,178 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\modes\trough.py", line 239, in check_switches
2018-01-12 18:58:16,178 - vpcom - INFO -     self.drain_callback()
2018-01-12 18:58:16,178 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\skeletongame.py", line 1028, in __ball_drained_callback
2018-01-12 18:58:16,178 - vpcom - INFO -     self.notifyModes('evt_ball_ending', args=(shoot_again,last_ball), event_complete_fn=self.end_ball)
2018-01-12 18:58:16,178 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\skeletongame.py", line 666, in notifyModes
2018-01-12 18:58:16,178 - vpcom - INFO -     self.notifyNextMode()
2018-01-12 18:58:16,178 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\skeletongame.py", line 563, in notifyNextMode
2018-01-12 18:58:16,178 - vpcom - INFO -     d = next_handler.handle_game_event(self.event,params=self.args)
2018-01-12 18:58:16,178 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\advancedmode.py", line 71, in handle_game_event
2018-01-12 18:58:16,178 - vpcom - INFO -     return fn(params)
2018-01-12 18:58:16,178 - vpcom - INFO -   File "C:\P-ROC\Games\evildead\my_modes\BaseGameMode.py", line 385, in evt_ball_ending
2018-01-12 18:58:16,178 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\mode.py", line 380, in add
2018-01-12 18:58:16,180 - vpcom - INFO -     mode.mode_started()
2018-01-12 18:58:16,180 - vpcom - INFO -   File "C:\P-ROC\Games\evildead\my_modes\Bonus.py", line 34, in mode_started
2018-01-12 18:58:16,180 - vpcom - INFO -   File "C:\P-ROC\Games\evildead\my_modes\Bonus.py", line 69, in displayBonusFrames
2018-01-12 18:58:16,180 - vpcom - INFO -   File "C:\P-ROC\Games\evildead\my_modes\Bonus.py", line 212, in saveProfile
2018-01-12 18:58:16,180 - vpcom - INFO - AttributeError: 'Bonus' object has no attribute 'TotalBonus'
2018-01-12 18:59:49,466 - game - INFO - Waiting for the OSC Server thread to finish
2018-01-12 18:59:49,466 - game - INFO - OSC Server thread is done.
2018-01-12 18:59:49,466 - game - INFO - calling cleanup

 

Share this post


Link to post
Share on other sites

Can you edit that post please because it's too long.

Just the last part will do.

Did you copy over the 10.5 update files? ( I know for a fact you didn't actually :) )

 

PS.  I have been meaning to make a log reader and to disable logging only apart from critical

Share this post


Link to post
Share on other sites

Grab the 1.0.5 + 1.0.6.

Fix crash on longest ball time when using a profile. (due to updating)

Only shows errors in the log (may give a little performance boost)

User can set the config.yaml OSC to false to give a boost maybe.

Share this post


Link to post
Share on other sites

just a dumb question : how can i grab the new releases ? with a python command ?

 

Another dumb question; how can i open the service menu you mention for db2S config and so on ? (its text editing in the pov file or there is a menu when playing ?

 

Edit; sorry for the new releases i didnt see the links in the post , its ok now :rolleyes:

Share this post


Link to post
Share on other sites

Trouble with what just happened is it's pretty impossible to test every possible scenario. I'm hoping it will be good for a little while now, then I can work on small updates whilst it being fully playable with no issues (actually have been wanting a break but put another 2 days work into it). It won't be a constant barage of small updates.

You have to go to the actual download release page to see them and you can view the changelog there also.

--------------------------------------

I think Dozer did a good job on the cab view and I doubt most people would need to touch it.

  • Get a pen and piece of paper or open up notepad
  • Push F6
  • Write down value you changed.

    <fullscreen>
        <inclination>15.000000</inclination>
        <fov>38.000000</fov>
        <layback>36.000000</layback>
        <rotation>270.000000</rotation>
        <xscale>1.090000</xscale>
        <yscale>1.160000</yscale>
        <zscale>1.000000</zscale>
        <xoffset>137.199066</xoffset>
        <yoffset>3.000000</yoffset>
        <zoffset>0.000000</zoffset>
    </fullscreen>

You're probably only going to need to adjust a couple of these. You can create multiple POVs anyway and I think you can use a command to load the pov with table.

-------------------------------------------

Service mode buttons are the same as any pinmame rom.

0 - enter

7- exit

8 - 9 left - right

Share this post


Link to post
Share on other sites

Hi horsepin. the Dmd works , but can't launch the table  (line 37 83 51 need controler).

maybe because my visual pinball is installed on D:/Visual Pinball   (i'm not 100% sure)

quote:

PinballX - System Config - Copy the ProcPinXBefore.exe to C:\P-ROC or wherever

[System_4]
Name=P-ROC
WorkingPath=C:\Visual Pinball
Executable=VPinballX_10.4.0.exe
LaunchBeforeWorkingPath=C:\P-ROC
LaunchBeforeExecutable=ProcPinXBefore.exe
LaunchBeforeParameters=
Enabled=True
TablePath=C:\Visual Pinball\Tables
Parameters=-play "[TABLEPATH]\[TABLEFILE]"
LaunchBeforeEnabled=True
LaunchBeforeWaitForExit=False
LaunchAfterEnabled=False
LaunchAfterWorkingPath=
LaunchAfterExecutable=
LaunchBeforeHideWindow=False
LaunchAfterWaitForExit=False
LaunchAfterHideWindow=False
LaunchAfterParameters=
SystemType=1
NVRAMPath=
Bypass=True

/quote

=> is it possible to get it work with D:/Visual Pinball? how to edit that?

thanks

Share this post


Link to post
Share on other sites

It is possible but it's not something I have done for a while. It's just easier to create a seperate C:\Visual Pinball & C:\P-ROC. You can just copy your Visual Pinball directory as it's portable.

  • Adjust the vp_game_mapping .yaml path for the game.
  • Adjust paths in config.yaml
  • Adjust the pinballX config above to your paths

Share this post


Link to post
Share on other sites
2 hours ago, HorsePin said:

Trouble with what just happened is it's pretty impossible to test every possible scenario. I'm hoping it will be good for a little while now, then I can work on small updates whilst it being fully playable with no issues (actually have been wanting a break but put another 2 days work into it). It won't be a constant barage of small updates.

You have to go to the actual download release page to see them and you can view the changelog there also.

--------------------------------------

I think Dozer did a good job on the cab view and I doubt most people would need to touch it.

  • Get a pen and piece of paper or open up notepad
  • Push F6
  • Write down value you changed.

    <fullscreen>
        <inclination>15.000000</inclination>
        <fov>38.000000</fov>
        <layback>36.000000</layback>
        <rotation>270.000000</rotation>
        <xscale>1.090000</xscale>
        <yscale>1.160000</yscale>
        <zscale>1.000000</zscale>
        <xoffset>137.199066</xoffset>
        <yoffset>3.000000</yoffset>
        <zoffset>0.000000</zoffset>
    </fullscreen>

You're probably only going to need to adjust a couple of these. You can create multiple POVs anyway and I think you can use a command to load the pov with table.

-------------------------------------------

Service mode buttons are the same as any pinmame rom.

0 - enter

7- exit

8 - 9 left - right

Thanks !

 

yes the cabview is perfect , just wanted to see if i can adjust other things like DOF.

 

I will see that tomorrow , great to play your table again after one year :D

Share this post


Link to post
Share on other sites

Nothing changed in the DOF department and led to belive that was all done. Dozer did it initially then got taken over by the DOF master so it should all be covered.

No worries, the troubles you had helped making the instructions a little easier. Enjoy.

Share this post


Link to post
Share on other sites

I,m getting this error when trying to register vpcom_solenoids_skeleconfig.py

C:\P-ROC\tools>python register_vpcom_solenoids_skeleconfig.py --register
register_vpcom_solenoids_skeleconfig.py:194: SyntaxWarning: import * only allowed at module level
  def Run(self, extra_arg=None):
Traceback (most recent call last):
  File "register_vpcom_solenoids_skeleconfig.py", line 63, in <module>
    from win32com.server.exception import COMException
  File "C:\Python27\lib\site-packages\win32com\__init__.py", line 5, in <module>
    import win32api, sys, os
ImportError: DLL load failed: The specified module could not be found.

Share this post


Link to post
Share on other sites

Try force installing, run as admin in the command prompt:

python -m pip install pypiwin32

If that says already installed then maybe you can run this, I seem to remember having to run this but it's not in the script:

python C:\Python27\Scripts\pywin32_postinstall.py -install

 

Share this post


Link to post
Share on other sites

Hello,

 

installed the 1.0.5 and 1.06.

 

Much better ! i managed to launch a quick game this time without crash.

I played a whole game without pbs. :)

the next game i had a crash with the shelly mode, as soon as i touch a gun target it crashed , here is the log

2018-01-13 10:29:04,957 - game.config - INFO - pyprocgame configuration found at ./config.yaml
2018-01-13 10:29:04,967 - game.config - INFO - pyprocgame configuration found at ./config.yaml
2018-01-13 10:29:05,368 - game.sound - INFO - Initializing sound...
2018-01-13 10:29:15,167 - game.dmdcache - WARNING - Loading image file with caching disabled; set dmd_cache_path in config to enable.
2018-01-13 10:29:16,237 - game.sound - ERROR - Sound registration error: file ./assets/sound/sfx/MENU B_Select.ogg does not exist!
2018-01-13 10:29:18,141 - game.sound - ERROR - Sound registration error: file ./assets/sound/sfx/Cellar-AlrightnowAngry.ogg does not exist!
2018-01-13 10:29:18,142 - game.sound - ERROR - Sound registration error: file ./assets/sound/sfx/CellarRamp/Cellar-AlrightnowAngry2.ogg does not exist!
2018-01-13 10:29:18,160 - game.sound - ERROR - Sound registration error: file ./assets/sound/sfx/CellarRamp/CellarLetMeout.ogg does not exist!
2018-01-13 10:29:18,542 - game.sound - ERROR - Sound registration error: file ./assets/sound/sfx/Cheryl/disturbed.ogg does not exist!
2018-01-13 10:29:18,869 - Trough - WARNING - No switches have been tagged 'trough'.  Switches with names that start Trough will be used.
2018-01-13 10:29:19,084 - ballsearch - INFO - Disabled
2018-01-13 10:29:32,894 - ballsearch - INFO - Enabled (waiting)
2018-01-13 10:29:43,088 - trough - INFO - Autoplunging ball; num left to autoplunge is 0
2018-01-13 10:29:43,674 - trough - WARNING - expected to have more balls than current; not launching [curr trough count=3 - pending=0] < [expected_trough_count=4] --retry in 1s
2018-01-13 10:29:53,789 - ballsearch - INFO - Disabled
2018-01-13 10:29:53,792 - game.sound - ERROR - ERROR SOUND KEY NOT FOUND: ball_drain
2018-01-13 10:29:59,828 - ballsearch - INFO - Disabled
2018-01-13 10:29:59,832 - ballsearch - INFO - Enabled (waiting)
2018-01-13 10:30:07,594 - game.sound - ERROR - ERROR SOUND KEY NOT FOUND: sling
2018-01-13 10:30:07,709 - game.sound - ERROR - ERROR SOUND KEY NOT FOUND: sling
2018-01-13 10:30:10,778 - game.sound - ERROR - ERROR SOUND KEY NOT FOUND: target_hit
2018-01-13 10:30:11,151 - game.sound - ERROR - ERROR SOUND KEY NOT FOUND: target_hit
2018-01-13 10:30:15,016 - game.sound - ERROR - ERROR SOUND KEY NOT FOUND: target_hit
2018-01-13 10:30:20,815 - game.sound - ERROR - ERROR SOUND KEY NOT FOUND: random_voice
2018-01-13 10:30:22,150 - game.sound - ERROR - ERROR SOUND KEY NOT FOUND: target_hit
2018-01-13 10:30:28,029 - game.sound - ERROR - ERROR SOUND KEY NOT FOUND: random_voice
2018-01-13 10:30:35,155 - vpcom - INFO - PYTHON FAILURE (Visual Pinball Bridge is now broken)
2018-01-13 10:30:35,155 - vpcom - INFO - Exception Name AttributeError: 'Game' object has no attribute 'user_profiles'
2018-01-13 10:30:35,155 - vpcom - INFO - Traceback (most recent call last):
2018-01-13 10:30:35,155 - vpcom - INFO -   File "C:\P-ROC\Tools\register_vpcom_solenoids_skeleconfig.py", line 298, in RunGame
2018-01-13 10:30:35,155 - vpcom - INFO -     self.game.run_loop()
2018-01-13 10:30:35,155 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\skeletongame.py", line 1425, in run_loop
2018-01-13 10:30:35,155 - vpcom - INFO -     super(SkeletonGame, self).run_loop(min_seconds_per_cycle)
2018-01-13 10:30:35,155 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\game.py", line 787, in run_loop
2018-01-13 10:30:35,155 - vpcom - INFO -     self.process_event(event)
2018-01-13 10:30:35,155 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\game.py", line 667, in process_event
2018-01-13 10:30:35,155 - vpcom - INFO -     self.switch_event(event)
2018-01-13 10:30:35,155 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\game.py", line 693, in switch_event
2018-01-13 10:30:35,155 - vpcom - INFO -     self.modes.handle_event(event)
2018-01-13 10:30:35,157 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\mode.py", line 411, in handle_event
2018-01-13 10:30:35,157 - vpcom - INFO -     handled = mode.handle_event(event)
2018-01-13 10:30:35,157 - vpcom - INFO -   File "C:\P-ROC\games\evildead\procgame\game\mode.py", line 236, in handle_event
2018-01-13 10:30:35,157 - vpcom - INFO -     result = handler(self.game.switches[accepted.name])
2018-01-13 10:30:35,157 - vpcom - INFO -   File "C:\P-ROC\Games\evildead\my_modes\Shelly.py", line 193, in sw_Target4_active
2018-01-13 10:30:35,157 - vpcom - INFO -   File "C:\P-ROC\Games\evildead\my_modes\Shelly.py", line 206, in shellyHit
2018-01-13 10:30:35,157 - vpcom - INFO -   File "C:\P-ROC\Games\evildead\my_modes\Shelly.py", line 238, in shelly_check
2018-01-13 10:30:35,157 - vpcom - INFO - AttributeError: 'Game' object has no attribute 'user_profiles'

i have a question also, i have some sounds errors in the log (sounds missing) . is there a more complete asset for sounds somewhere ?

 

Thanks . 

 

Your service mode is top notch ! could used it with my door buttons like on a real flip.

One question; is it possible to activate DOF in this service menu ? I didnt find how. (maybe its not ?)

Edit: ok i reread all the comment int this post, i have not installed the 1.00 first (didnt see the download link in the changelog for that one too before :o), so i will reinstall the table from scratch and test again :-)

 

Edit 2: still the crash with the shelly mode if a hit a gun target 

Share this post


Link to post
Share on other sites

i still have the 2 old direct2bs files..  (if you want i can put them on my dropbox) . tried to active one with the service menu.. but now i have a new error when i launch the table (before the dmd launch), cant launch a proc table anymore.. i tried to stop vp10, stop my pincab but now i have always this error.. darn just when everything was running fine .. i m in a hurry now, i will post the error message tomorrow.

 

Share this post


Link to post
Share on other sites

Here is my error when i launch a proc table now

 

Line 40

Namespace Manager or XsltContext needed. This query has a prefix, variable or user-defined function.

 

I got this pop up twice (i have to click ok to shut it) and then i have a python error

 

Line 51: Unexpexted Python Error: Taceback (most recent call last):

File "C:\Python27\lib\site-packages\win32com\server\policy.py", line 324 in, 

InvokeEx_

rertun_self._invokeex_(dispid,lcid, wFlags, args, kwargs, serviceProvider)

File "C:\Python27\lib\site-packages\win32com\server\policy.py", line 585, in

invokeex_

return func(*args*)

File "C:\P-ROC\Tools\register_vpcom_solenoids_skeleconfig.py", line 324, in

Stop

self.game.end_run_loop()

AttributeError: 'NoneType' object has no attribute 'end_run_loop

 

My vpcom is corrupted ?

 

if i try to run the game with game.py it runs fine (i have the dmd )

But whenever i try to launch a proc table with vp10 i have this error now

 

Edit; ok i took the game_user_config from the 1.0.0 package and no more error..  :Dmaybe when i quit the service mode after modifying some values , the file was corrupted. now i can try the shelly mode again :)

Share this post


Link to post
Share on other sites

If anything does fail you always get a trailing dialog message from python in VP, which you can ignore. It's the first one you worry about and that is something to do with XML, which leads me to believe something do to with B2S.

I haven't seen this before, maybe @Thalamus has.

 

No, it's not corrupted, disable config/game_user_settings.yaml

VPTranslite: {DirectB2S: 0}

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×