syd711 / vpin-studio

Competition, table, and player management for VPins.
MIT License
28 stars 2 forks source link

[Feature Request] VBS Table Script Extractor #180

Closed Ltek closed 5 months ago

Ltek commented 6 months ago

clearly not critical but really cool option for those of us that mod tables... https://github.com/lempface/VPX-VBS-Extractor

syd711 commented 6 months ago

The project utlizes the -exportvbs command line parameter of VPX. I also did that in early version until I switched to reading the file directly (the script reader button and table analyzing). What I've never researched is what can actually be done with the extracted script. Why is this interesting for mod tables? Is the extracted script still read by VPX instead of the embedded? That would open some other possibilities.

Ltek commented 6 months ago

Ideally we'd be able to extract and insert/update.

today...

vs extract & offline editing...

  1. Above never needing to remote into a PC
  2. VPX is not required for offline editing
  3. People can play a VPX table while we edit offline
  4. No need to separate dev enviro (which is a maintenance pain for VPX)
  5. offline editing reduces time and steps.
syd711 commented 6 months ago

Duplicates https://github.com/syd711/vpin-studio/issues/140

zestef commented 5 months ago

I support this request. Editing the vbs script could be a killer feature for some usecase like adding the Dual Boot Puppack option (Option 3 on this page)

syd711 commented 5 months ago

Delivered with 2.16.0

Ltek commented 5 months ago

Tried yesterday - works well. I've been heavily moding a table, remote editing would have been save me a ton of time. Since the VPS editor is very basic, I'm copying the script into Notepad++ to get search/replace/etc functionality. Would be really cool if you had an each way for people to assign a 3rd party editor that VPS used natively. Just a thought

syd711 commented 5 months ago

I wasn't sure how intense this will be used. But yes, you could link e.g. Visual Studio to the file type and the Studio could monitor the file change. I'll open at least a feature ticket.