Jump to content

Recommended Posts

Posted

I thought of collecting tools which might help with the VPX standalone version for iOS and upcoming Android releases.

 

I will start with a simple script for windows which creates the *.vpxz files from your tables collection. (work in process)

Posted (edited)

PackVPXiOS:

 

This little script will take all *.vpx files and extract which rom is used and pack it together as described in https://github.com/vpinball/vpinball/blob/10.8.1/standalone/docs/ios/README.md

It will never be a 100% script... it is just something I throwed together for me personally, but I think it can save some braincells NOT having to do this manually :)

 

table/
      <table.vpx>
      pinmame/
              roms/
                  <rom.zip>

 

into tablename.vpxz

 

Double click the script in a folder full of table.vpx files and it will create the table.vpxz files automatically. The only prerequisit is to have 7zip installed.

 

in the top lines of the script the path to 7zip and your rom folder has to be updated:

 

Quote

@echo off

REM Set these two variables

set romfolder=C:\vPinball\VisualPinball\VPinMAME

set zip=C:\Program Files\7-Zip\7z.exe

REM Set these two variables

 

UPDATES

  • 15.10.2024 PackVPXiOS V1 Now more tables should be supported and now tries to include everything with the romname to the zip.
    One change in the script, you now need to specify the VPinMAME folder rather than the rom folder!

 

PackVPXiOSV1.zip

Edited by jarr3
Posted

@jarr3

There are some Tables the Rom isn't added e.g. Demolition Man -> https://fss-pinball.com/YYZ00101_Demolition_Man_(Williams1994).php

I couldn't find out why or how to modify the vpx-script so your script is working.

 

By the way 

IMG_1010.jpeg

  • 2 weeks later...
Posted (edited)

Interesting that the vpxz package doesn't work with macOS builds. I would have thought that macOS and iOS were similar enough that the macOS build would recognize vpxz files but they don't. 

Edited by foofoorabbit
Posted
On 11/10/2024 at 2:21 PM, foofoorabbit said:

Interesting that the vpxz package doesn't work with macOS builds.

If you find out, and tell me... I might be able to fix it?!?!?

  • 4 weeks later...
Posted (edited)

excellent thankyou .. i used it on my PC in a folder on an external USBC drive that i then connect to my ipad to copy the Z files over works great  and about 25% of the few tables i tried worked OK. possibly older less sophisticated tables? at least Addams family works!!

its a shame that the Ipad App works in Iphone mode but im sure this will change soon. 

 

i thought about changing the parameters in the INI file but im thinking that its not as simple as that!

 

Edited by cgg7777
  • 4 weeks later...
Posted

Hi Amazing work. Thanks so much. I could not create any tables that imported correctly. Now I ran your tool and it created the files - over 100 of them. Most worked!! Really appreciated :)

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
×
  • Create New...