Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Clone to emulator #555

Open
gorgatron1 opened this issue Oct 26, 2024 · 6 comments
Open

[Feature Request] Clone to emulator #555

gorgatron1 opened this issue Oct 26, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@gorgatron1
Copy link

Is your feature request related to a problem? Please describe.

I recently bought a VR headset and there are a few features that would help me manage it. The application (a Popper add-on) is described here and the second video is about setting it up:

One of the recommendations is that you make a new emulator type, e.g. Visual Pinball VR, because it needs custom start/stop scripts to run. You have to set this up in Popper Config (fine) but after that there are some things that it would be great if they could be done in VPin Studio. I still have a cabinet and so I want to be able to manage a mixed set of VR and cabinet tables -- many of them will be the same tables, just a second copy.

Specifically I would like to pick a table and make a duplicate with a new name and a new emulator id. How that is done I don't care too much. It could be a duplicate & set emulator in one step or a duplicate and then an edit step.

This is how it looks in Popper Config:

  • be able to set the emulator type -- I am not sure how this is determined right now, but I would like to be able to pick it from a list (actually I only care about setting it to this new one)
image

You can kind of do it here, but I don't want to re-import the table (ideally):

image

As I mentioned I want to duplicate a table and give it an alternate name, e.g. duplicate The Addams Family (Bally 1992) G5k 2.4.41 -> The Addams Family [VR] (Bally 1992) G5k 2.4.41 (and copy its associated files)

A workaround (I think) is to mount the drive of my cabinet and upload the tables that are already present.

@gorgatron1
Copy link
Author

gorgatron1 commented Oct 26, 2024

Actually I am not sure what re-uploading an existing file as a clone did ... I didn't see a new table created.

I take that back -- I put it in a VR folder and it actually did re-import with the new emulator, but it didn't actually clone the previous. That is I have a new vpx file but no copy of the backglass, etc.

So that might be a bug: if you import & clone it doesn't duplicate the assets properly if you put it in a subfolder.

@gorgatron1
Copy link
Author

gorgatron1 commented Oct 26, 2024

It looks like there is trouble in posting back to VPin Studio:

image

OK, that is the VPin Studio addition to the launch script for the new emulator type, see option 1 on this page:

It is an ;ahk file -- I think it may not be a normal batch file. It looks like Run,curl ... would do it in this file.

@gorgatron1
Copy link
Author

After messing with this some more I might just use 2d on my cabinet in popper. I have a batch script I can run to switch the default VPX binary from normal (DX11) to GL (for VR).

Duplicating a table might still be interesting, but importing the table from the mounted tables directory did work (as long as I didn't use a subfolder).

@syd711
Copy link
Owner

syd711 commented Nov 3, 2024

So that might be a bug: if you import & clone it doesn't duplicate the assets properly if you put it in a subfolder.

Yes, I reproduced and fixed that, will be shipped with the next release.

It is an ;ahk file -- I think it may not be a normal batch file. It looks like Run,curl ... would do it in this file.

Mmmh, a bit annoying the another script type is used here, but I'm afraid here that the Studio server will generate the curl call anyway, even if manually fixed for ahk. I wasn't aware of this emulator setup before.

@syd711
Copy link
Owner

syd711 commented Nov 3, 2024

So the actual task that can be resolved here is a "clone to emulator" action for tables, so that they can be setup for VR, right?

@gorgatron1
Copy link
Author

So the actual task that can be resolved here is a "clone to emulator" action for tables, so that they can be setup for VR, right?

Yes, though based on my experience I am not bothering with that -- maintaining two sets of tables is too much trouble (but I am a table hoarder so my experience may be atypical). Anyway, that (have a version of the tables for VR) is the recommended approach per these various videos and write-ups.

I ended up using some bat files to swap out the PinballX.ini and the .starter files -- put the machine in cabinet or VR mode.

@syd711 syd711 changed the title VR Support - a couple features that might help [Feature Request] Clone to emulator Dec 6, 2024
@syd711 syd711 added the enhancement New feature or request label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants