Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

[RESOLVED] Can I start a different .EXE based on chars in a table's filename?


Recommended Posts

  • MarkyMarkUK changed the title to Can I start a different .EXE based on chars in a table's filename?
Posted
7 hours ago, MarkyMarkUK said:

eg. 

If a table filename has 'VR ROOM ' at the beginning, can I configure PinballX to run 'VPinballX_GL.EXE' instead of the normal 'VPinballX.EXE'

Short answer : No. You cannaot run another EXE file based on the table name

But you can use "alternateexe" (see chapter 5.5 of the PinballX documentation or chapter 5.2.5 of the Database Manager user manual :P ).  This is a per table field in the xml file where you you can launch an alternative exe file instead of the system exe file.

If you are a gamemanager user, you need to add it manually with a text editor to the XML File.
If you you use Database manager, you can use the gui

Add the following if using Gamemanager
image.png.15ff1cf2368618667ff4905ddcb8dc3f.png

add full path if using DBM

image.png.86c60db2a2dc0add00346db39eadf776.png

 

So, it is not doing it automaticlly for all tables that starts with,  "xxxxx", but set it for those tables (VPW tables without the name "vr room" can also be played in VR mode).

My opinion : Create a separate system for VR. Vr is running very good with the 10.8 beta. So you can separate VR with VPX, and still using VP 10.7.3 for the latest releases.
I also changes settings that I need to use, running cabinet mode and VR (VP reg key's,  dmddevice.ini etc)

  • Like 2
Posted
24 minutes ago, MarkyMarkUK said:

Great! That will do, thanks

I'm pretty curious how you setup/use PinballX with cabinet/desktop mode and VR. Maybe you can make a post about it

Posted

I just have GL version 10.8 installed in another folder. Was working OK until recently when the external DMD suddenly stopped being scrapped from the pancake screen for VR (keeps getting blocked by a black box in the middle of the screen). Not a PinballX problem so won't spam this forum.

Posted

No, using the external DMD DLL for freezy. Vpx VR shows it on the flat screen and scrapes it and pastes into the DMD in the VR view. That all works as normal but vpx VR now keeps showing a black in the middle of the flat screen, overwriting most of the DMD. If I then click the DMD to get it over the top of the black box then the vpx program stops as it's lost focus.

Screenshot attached

735576057_Screenshot2023-01-13092613.png

Posted

Odd. Yeah, think you can better ask Toxie on the other forum for this.

What about reposition the dmd to the corner ? Is tha black screen moving as well?

Posted

FIXED IT by downloading the 32-bit version HERE, this version still displays the black box in the middle of the flat screen but it correctly runs the DMD in the top left of my screen and scrapes from there! Perfectly showing in the VR view and the app has focus as well!! Happy Days!

I was obviously running the 64-bit version which I guess has an issue.

  • MarkyMarkUK changed the title to [RESOLVED] Can I start a different .EXE based on chars in a table's filename?
Posted
3 hours ago, MarkyMarkUK said:

Which forum is that? (sorry, newbie newb here)

Best bet would be vpforums

3 hours ago, MarkyMarkUK said:

I was obviously running the 64-bit version which I guess has an issue.

I think i read somewhere (probably on vpforums :D) that vpinmame has some issues still in 64bit, so best to stick to 32bit for now for Visual Pinball related stuff.

  • Thanks 1
Posted
8 hours ago, scutters said:

I think i read somewhere (probably on vpforums :D) that vpinmame has some issues still in 64bit, so best to stick to 32bit for now for Visual Pinball related stuff.

Yes. I read the same.

12 hours ago, MarkyMarkUK said:

I can move the DMD but the software scrapes only the middle of the screen, regardless if the DMD is there or not.

Not true. It doesn't scrape it, it uses the dmddevice.dll to display the virtual dmd within the vr environment. I have my virtual displayed in the left upper corner.

On 1/12/2023 at 10:19 PM, MarkyMarkUK said:

Was working OK until recently when the external DMD suddenly stopped being scrapped from the pancake screen for VR

so it wasn't suddenly, but after an update of 10.8.xx 64 bit ? 

glad you solved it. 

Posted

Yeah, it seems I had 32-bit previously and it was all great, thought I'd get the latest version but got the 64-bit version (by mistake?), that has the DMD issue, when I went to the latest 32-bit version though, all was good again.

 

Thanks for your advise @Mike_da_Spike 🤜🤛

PS. Regarding your question about setups earlier, I just have AtGames Legends Pinball with VIBS board so I can connect it's two screen to my PC, PinballX with all tables, VPX 10.7.3 installed with all tables in same folder and external DLL Freezy installed and a single separate folder for VPX VR 10.8. 

In PinballX I configured all tables with 'VR ROOM' in the filename to run the alternate EXE (eg. the VPinballX_GL.EXE in the VPX VR 10.8 folder). I also setup filters for Bally, Williams, EMs, SS & VR Room tables.

I have over 100 VR ROOM tables so instead of manually configuring them in PinballX Database manager, I edited the Visual Pinball.XML file with Notepad++ and made a simple macro to search for VR Room in filename, cursor down a few times and paste in the line of code to add alternateexe.

It's Sat 14/Jan/23 and the current Wife No. 2 is out for a few hours so now I'll be hitting the Vpin big time with my Reverb G2! 😁

  • Like 1
Guest
This topic is now closed to further replies.
×
×
  • Create New...