Jump to content



Photo
* * * * * 1 votes

P-ROC example game with Skeleton LCD framework


  • Please log in to reply
68 replies to this topic

#41 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 31 August 2015 - 01:51 PM

I tried copying config.yaml to c:\p-roc\pyprocgame-dev\procgame  (still errors)

I tried copying config.yaml to c:\p-roc\game\SkeletonVP10\procgame (still errors)

I even tried to put it in the c:\p-roc\shared\config folder and it still errors.

 

How do I register the config.yaml like Dozer did?



#42 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 31 August 2015 - 01:57 PM

.


Edited by chepas, 08 December 2022 - 01:01 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#43 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 31 August 2015 - 02:19 PM

ok, I have a config.yaml in the c:\users\admin\.pyprocgame folder. Here is the contents.

 

font_path

c:\p-roc\shared\dmd\

config_path:

c:\proc\share\confic

 

vp_game_map_file: /p-roc/shared/config/vp_game_map.yaml

desktop_dmd_scale: 4

 

 

So it seems for some reason the vp_game_map isn't seeing your game and crashing.

vp_game_map.yaml entry for your game:

 

SkeletonProc:

path: /../games/SkeletonVP10

kls: Game.Game

yaml: /--/games/SkeletonVP10/config/GameConfig.yaml

 

 

 

You referenced the Download the ZIP of the GitHub project here? There is no link in that "here" ...

What GitHub project? Michaels, yours? I have michaels PyProcGameHD-SkeletonGame-master installed



#44 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 31 August 2015 - 02:29 PM

.


Edited by chepas, 08 December 2022 - 01:01 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#45 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 31 August 2015 - 02:51 PM

ok, I tried re-registering vp_com, verifying the paths were correct in the vp_game_yam, ran the python setup develop and still get the error trying to find the config.

 

Thanks for the your help, you've been most patient. I will reinstall from scratch another day following exact instructions as I must have missed a step somewhere along the way.



#46 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 31 August 2015 - 02:59 PM

.


Edited by chepas, 08 December 2022 - 01:01 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#47 Kaan

Kaan

    Enthusiast

  • Members
  • PipPipPip
  • 118 posts

  • Flag: Turkey

  • Favorite Pinball: medieval madness

Posted 26 September 2015 - 08:42 PM

I'm writing about it here like you said, it was my fault. I extracted the file from setup 4 into pyprocgame-master instead of a new folder(total misreading) and extracted step 5 files into pyprocgame-master's tools folder instead. The reason for that was because you only said extract it into tools folder without saying create it first. I thought there was a mistake in writing and used that other folder instead of creating it myself. You did say create a folder in step 2, so I guess I expected it again.

 

Btw, https://www.dropbox..../SETUP.txt?dl=0

 

"pip install opencv_python-2.4.11-cp26-none-win32.whl" this should be "pip install opencv_python-2.4.12-cp26-none-win32.whl" instead. The other file doesn't exis



#48 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 26 September 2015 - 08:49 PM

.


Edited by chepas, 08 December 2022 - 01:01 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#49 FreeMason

FreeMason

    Pinball Pur-Fection

  • Members
  • PipPipPip
  • 219 posts
  • Location:Netherlands

  • Flag: Netherlands

  • Favorite Pinball: Tz

Posted 28 September 2015 - 09:48 PM

Thanks for this tutorial, it took me two hours but I got it working.

For future reference, when you edit the vp_game_map.yaml the spaces before the entries must be included too :P



#50 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 28 September 2015 - 10:26 PM

.


Edited by chepas, 08 December 2022 - 01:01 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#51 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 07 October 2015 - 01:32 AM

.


Edited by chepas, 08 December 2022 - 01:01 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#52 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 07 October 2015 - 05:31 PM

I followed your new one step install with a clean windows 7 32bit.

First, I went back to page 1 and did the one click install in step #1 as instructed.
1. One click install. If install fails at any point just keep re-running it and it should install all you need.
(this proceeded fine)

Next, I downloaded the new automation file above https://www.dropbox....Helper.zip?dl=0
I extracted the contents to the c:\P-ROC folder and proceeded to install from C:\p-roc with python setupHelper.py

This timed out due to incorrect filenames. I looked at your script and found the names they should be:

SDLttf.zip should be SDL2_ttf-2.0.12-win32-x86.zip
SkeletonGame.zip should be PyProcGameHD-SkeletonGame-master.zip

etc, etc all 9 needed to be renamed.

I ended up just manually downloading all 9 files and renaming them for the script to work.
I copied all of the files into the _TempHorse folder.
Once I renamed all files to what your script was looking for the install went fine.

I was able to test python and the pyprocHD game window worked too.

I also noticed the one step install created c:\p-roc\games\SkeletonProc whereas the configs were looking for c:\p-roc\games\SkeletonVP10, so I created another folder SkeletonProc in the games folder and copied the contents from skeletonvp10 into it. Both folders are there so whatever its looking for should be found.

Next I ran the visual pinball install in the c:\p-roc\visual pinball
this worked fine. I was able to run the sample table built in.
I made sure there was config.yaml and vp_game_map.yaml in the c:\users\myprofile\.pyprocgame (with admin rights)

I tried to run your skeletonproc.vpx table and it crashes with these errors:
R6034 application attempted to run the C library .......
next one is dll error libfreetype-g.dll procedure entry point interlocked
last one is python error register_vpcom something about c:\p-roc-games=skeletonvp10\game.py calling skeletongam.py, desktop and window init. file desktop_pysdl2.py was the last file referenced.

I reran the vpcom_register to make sure it wasn't that and I get the same errors.

Edited by luvthatapex, 07 October 2015 - 05:34 PM.


#53 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 08 October 2015 - 12:05 AM

.


Edited by chepas, 08 December 2022 - 01:01 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#54 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 09 October 2015 - 06:17 PM

Hi, some notes:

 

I tend to transfer files to the cabinet using an exteranl USB drive, and I install from the drive if I can. The installer did not work correctly from the external drive. I had to copy the installer to the cabinet hard drive and execute from there as administrator.

 

The helper appeared to function correctly, and placed files in the correct folders from what I can tell.

 

I copied vpinballx along with bass.dll, freeimage.dll, and sciLexer.dll to C:\P-ROC\Visual Pinball but I got VBScript errors on trying to play the SkeletonProc table.

 

Next step, I removed Visual Pinball and used the full installer for VP991 to re-install to C:\P-ROC\Visual Pinball. Then I copied vpinballx and associated dlls again. I get the same error.

 

error1a.png

 

error2a.png

 

error3a.png



#55 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 09 October 2015 - 06:28 PM

.


Edited by chepas, 08 December 2022 - 01:01 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#56 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 09 October 2015 - 06:41 PM

Thanks. That folder currently has only one file, SDL2_ttf.dll. I'll give the helper another try later on.



#57 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 09 October 2015 - 07:36 PM

.


Edited by chepas, 08 December 2022 - 01:01 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#58 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 09 October 2015 - 10:42 PM

No problem. I'm used to the command line, but I very much appreciate the one click install and the helper app. I think that it will help with adoption. All of the steps seemed kind of intimidating even for me.

#59 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 10 October 2015 - 07:36 PM

The latest helper file placed the remaining DLLs. Skeleton table is working. Next step is to give Evil Dead a trial.

 

I simply double-clicked the helper file from a Windows Explorer window (Windows 7). I guess then in theory (aside from the check after Step 1) someone could install this without needing to go to the commandline and entering instructions. Hopefully more users will give this a go. It's safe!



#60 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 11 October 2015 - 05:22 AM

.


Edited by chepas, 08 December 2022 - 01:01 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000