Jump to content



Photo
* * * * * 5 votes

Call for testing


  • Please log in to reply
1624 replies to this topic

#1501 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,336 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 17 March 2023 - 03:44 AM

 

‘To turn it off

mainWindow.on("gamestarted", ev => { backglassWindow.showWindow(false); });

‘To turn it on again when exiting table
mainWindow.on("gameover", ev => { backglassWindow.showWindow(true); });

My question is this:  Is there a way to exclude this from turning on and off for specific programs and tables?
I have Pinball Deluxe Reloaded as a game in my setup and I’ve created a custom Backglass PNG file that I load in PinballY - I set it to Keep the Backglass image up when I launch Pinball Deluxe in PinballY, but now that I have the above code added it ignores the “Hold Backglass” checkbox setting.

 

Yes, you can make it more selective.  The event object in ev contains information on the game being launched, in its property ev.game.  What you'll probably want to do is check the system type of the game being launched, and hide the window or not based on the system.  You can get the system description object from ev.game.system, and then check one of the properties of the system object to identify it as Pinball Deluxe Reloaded or something else.  Identifying a system is a bit ad hoc - I wasn't able to come up with any sort of invariant universal identifier per system since I wanted to leave things open so you can add new systems at any time.  An easy way to identify a system is to look at its display name, in the displayName property.  You'll probably have to fix this up to match the exact text you entered for Pinball Deluxe Reloaded's display name in your own system, but here's how the code would look with the test:

mainWindow.on("gamestarted", ev => {
  if (ev.game.system.displayName == "Pinball Deluxe Reloaded")
    backglassWindow.showWindow(false);
});

Here are the relevant help sections for more details.

 

Launch event parameters (scroll down to "Properties"): http://mjrnet.org/pi...aunchEvent.html

 

GameInfo object (the type of object in ev.game): http://mjrnet.org/pi...p/GameInfo.html

 

GameSysInfo object (the type of object in ev.game.system): http://mjrnet.org/pi...ameSysInfo.html


Edited by mjr, 17 March 2023 - 03:44 AM.


#1502 wpilot

wpilot

    Enthusiast

  • Platinum Supporter
  • 130 posts
  • Location:Michigan

  • Flag: United States of America

  • Favorite Pinball: Attack from Mars

  • PS3 Gamer Tag: NA
  • 360 Gamer Tag: NA

Posted 17 March 2023 - 07:40 PM

Thank you mjr !
I'll give that code a try!

Updated: Unfortunately that setup didn't work.
I guess I'm just too code dumb to figure it out.

I don't suppose there's a way to make the Black Backglass window that loads in PinballY  completely alpha transparent instead?

Otherwise I'll just live with Pinball Deluxe having no Backglass. Thanks anyway!


Edited by wpilot, 17 March 2023 - 08:28 PM.

MARK PAULIK
DESIGN • ILLUSTRATION • ANIMATION
shoeboxtheater.tumblr.com


#1503 pureinstinct

pureinstinct

    Hobbyist

  • Members
  • PipPip
  • 13 posts

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

  • Favorite Pinball: Stern Star Trek, Theatre of Magic, Elvis, Breakshot

Posted 29 April 2023 - 03:32 PM

Hello,

 

A few questions about setup:

 

1. Is it possible for me to add a new table type? For example, I would like to create a type called DMD, but can't figure out how to do so.

2. Is it possible to filter by type?

3. If not, where is the category Information stored? I would like to manually edit/add categories for tables as opposed to doing so through the Game Setup menu.

 

Thanks!



#1504 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,336 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 29 April 2023 - 06:29 PM

> 1. Is it possible for me to add a new table type? For example, I would like

> to create a type called DMD, but can't figure out how to do so.

 

The table type is defined as the type assigned by IPDB, so it's not something you can add to.  (Although I agree it would be nice if IPDB's classifications were finer-grained, beyond lumping everything solid-state into one category.)

 

What you can define on your own is Categories.  That's completely custom and unlimited, in that every game can be tagged with as many categories as you want.  If you want to identify your DMD games, just create a DMD category, and tag all of the DMD games with that category.

 

3. If not, where is the category Information stored? 

 

See the help under Files & Folders.



#1505 d8thstar

d8thstar

    Hobbyist

  • Members
  • PipPip
  • 43 posts

  • Flag: United States of America

  • Favorite Pinball: not sure

Posted 08 August 2023 - 12:21 AM

so i have pinbally up and running with VPX and pinball fx3. i tried adding future pinball but no games get listed / imported, the wheel just says no tables available.

i followed the PY set up, did exactly as stated i. the documentation. the log that gets output list all the apps and the games associated with them, INCLUDING FP. specifically says all the games were found and lists them all.

i can switch systems, view only VPX or FX3 tables and FP is in that list but selecting that is just a wheel with a bunch of No tables

and fyi, FP with BAM runs fine outside of PY.

this is driving me crazy! any thoughts folks?

#1506 licwip

licwip

    Enthusiast

  • Platinum Supporter
  • 194 posts

  • Flag: United States of America

  • Favorite Pinball: Space Cadet

Posted 14 October 2023 - 09:00 PM

MJR, is there any way to control the table selections during attract mode, so that the next table is randomly chosen from the prior one? Or chooses the next alphabetical one? Thanks!



#1507 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,336 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 15 October 2023 - 10:08 PM

is there any way to control the table selections during attract mode, so that the next table is randomly chosen from the prior one? Or chooses the next alphabetical one? Thanks!

 

That's basically what it does, actually - it picks a random number from 1 to 10 and then advances that many games forward from the current game.  But I could probably add a Javascript event that would let you intercept and change the default choice of the next game, so that you can replace the selection rule with whatever new rule you preferred.  I'll make a note of it.



#1508 csdf28

csdf28

    Enthusiast

  • Members
  • PipPipPip
  • 73 posts
  • Location:Abu Dhabi

  • Flag: United Kingdom

  • Favorite Pinball: Addams Family

Posted 16 October 2023 - 11:51 AM

Whilst we're on requests, can I request a way to delete a table from the database from within the UI (rather than having to manually edit the XML file)?

#1509 licwip

licwip

    Enthusiast

  • Platinum Supporter
  • 194 posts

  • Flag: United States of America

  • Favorite Pinball: Space Cadet

Posted 18 October 2023 - 09:38 PM

That would be great! Yeah, if I could change that 10 to N-1, where N is the number of tables I have, I'd be thrilled. 

 

is there any way to control the table selections during attract mode, so that the next table is randomly chosen from the prior one? Or chooses the next alphabetical one? Thanks!

 

That's basically what it does, actually - it picks a random number from 1 to 10 and then advances that many games forward from the current game.  But I could probably add a Javascript event that would let you intercept and change the default choice of the next game, so that you can replace the selection rule with whatever new rule you preferred.  I'll make a note of it.

 


Edited by licwip, 18 October 2023 - 09:39 PM.


#1510 csdf28

csdf28

    Enthusiast

  • Members
  • PipPipPip
  • 73 posts
  • Location:Abu Dhabi

  • Flag: United Kingdom

  • Favorite Pinball: Addams Family

Posted 05 November 2023 - 05:01 AM

pinemhi, when run by PinballY, is failing to read certain NVRAM files and I cannot see a reason for it.
 
Take the tomy_500.nv file, which is for The Who's Tommy The Pinball Wizard.  This file is present in my vPinMAME/nvram folder and I have explicitly named it in the PinballY database.xml file.
If I run pinemhi from the command line ("pinemhi tomy_500.nv") pinemhi correctly reports the high scores stored in the nvram file.
 
However, if I select the same table in PinballY, pinemhi apparently fails to read the high scores.  The relevant lines in the pinbally.log are: 
High score retrieval: getting high scores for The Who's Tommy Pinball Wizard
NVRAM file search: determining NVRAM path for The Who's Tommy Pinball Wizard
+ Game is VP/VPX
+ No explicit NVRAM setting in game; using VPinMAME NVRAM path = C:\VisualPinball\VPinMame\nvram
+ Game has ROM explicitly specified in database = tomy_500
+ NVRAM file tomy_500 not found
+ Specified ROM file doesn't exist; substituting .nv file = tomy_500
+ NVRAM file tomy_500 not found
+ No ROM file found that way; looking in DOF config
+ Guessing based on DOF ROM name = TOMY; scanning for matching files
++ Zero matches found, keeping TOMY
+ NVRAM file TOMY not found
+ Still no match; trying a fuzzy match on the friendly ROM names
+ The name so far doesn't end in .nv, so we're adding that -> TOMY.nv
+ NVRAM file TOMY.nv not found
High score retrieval: looking for ad hoc scores file C:\VisualPinball\Tables\The Who's Tommy Pinball Wizard (Data East 1994) VPWMod 1.2.1.pinballyHighScores
+ ad hoc scores file C:\VisualPinball\Tables\The Who's Tommy Pinball Wizard (Data East 1994) VPWMod 1.2.1.pinballyHighScores doesn't exist
+ No high score source found for The Who's Tommy Pinball Wizard
This is not a general problem as the PinballY/pinemhi combination works perfectly well with many other tables.  FWIW, I have updated pinemhi to the 3.3.1 version (the version installed with PinballY was much older).
 
Does anyone have an idea about what's going on here?

Edited by csdf28, 05 November 2023 - 05:03 AM.


#1511 Roadblock

Roadblock

    Enthusiast

  • Members
  • PipPipPip
  • 169 posts
  • Location:Moncton, NB

  • Flag: Canada

  • Favorite Pinball: Attack from Mars

Posted 28 November 2023 - 01:01 AM

Hi guys,

 

My PinballY is exhibiting odd behavior. When flipping thru the tables in the front end, it will crash out when I stop on a table that uses Freezy but only if that table is an exception to the rule in dmddevice.ini

like if it's set to virtualdmd instead of pindmd3

;Frankenstein
[frankst]
pindmd3 enabled = false
virtualdmd enabled = true
virtualdmd ignorear = true
stayontop = true
virtualdmd left = 4234
virtualdmd top = 945
virtualdmd width = 1148
virtualdmd height = 248


I don't even need to select that table, just stop there momentarily.


I'm using the latest Freezy 2.2.1 and Flex 1.9.0. I have the key set in dmddevice.ini for the PAC files and the path to Lucky's pin2color and pin2color64 DLLs and I have those in the VPinMame folder, and I have no serum file in VPinMame.

Oh and VPinMame is version sc 3.6 - 573.


I have a Pindmd3 and it lags, big time, with tables like Diner and BugsBunny, but that's another subject.

 

What is going on??



#1512 csdf28

csdf28

    Enthusiast

  • Members
  • PipPipPip
  • 73 posts
  • Location:Abu Dhabi

  • Flag: United Kingdom

  • Favorite Pinball: Addams Family

Posted 29 November 2023 - 04:00 AM

Can you post the relevant part of your pinbally.log file?



#1513 Tesla

Tesla

    Pinball Fan

  • Silver Supporter
  • 1,427 posts
  • Location:Texas, USA

  • Flag: United States of America

  • Favorite Pinball: Star Trek - TNG

Posted 29 November 2023 - 04:25 AM

Hi guys,

 

My PinballY is exhibiting odd behavior. When flipping thru the tables in the front end, it will crash out when I stop on a table 

I don't even need to select that table, just stop there momentarily.

What is going on??

 

That is some strangeness for sure. 

 

Thing is ... I don't think most of that stuff you mentioned is even running yet while you are still using PinballY Selector-Wheel.

 

Try turning-off sounds and just show a static pic of each table. Both are in Setup-Options in the GUI itself.

 

And turn-off the DMD in PinballY for now

 

Backup your \PinballY\ folder first. 

 

How many tables do you have setup in PinballY ? and are they all VPX ?

 

Only time I've ever seen PinballY crash is after I swapped one of my screens and I still needed to reset screen regions for all 3 displays in PinballY. It was an easy fix and something I needed to do anyway.


Edited by Tesla, 29 November 2023 - 04:29 AM.


#1514 Roadblock

Roadblock

    Enthusiast

  • Members
  • PipPipPip
  • 169 posts
  • Location:Moncton, NB

  • Flag: Canada

  • Favorite Pinball: Attack from Mars

Posted 30 November 2023 - 01:03 AM

Thanks for chiming in guys but I think I've fixed it.

I changed Freezy and Flex so many times (and reinstalled PinballY) that I was left with the wrong versions of both (sometimes you just need to step away for a while).

I ran FlexDMDUI and it said I had different versions of Freezy and Flex wasn't registered. I fixed that and voila PBY works!

 

I still have problems with my real dmd being slow with some serum colorizations & alphanumerics on the backglass but that's for another thread.

 

Anyway, thanks again. I love this community!



#1515 Carny_Priest

Carny_Priest

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 22 December 2023 - 06:00 AM

Hi, I have coded an AutoHotkey script to capture video for playfield, backglass, and fullDMD screens for PinballY.

 

Why? 

 

I am capturing all three screens simultaneously, so it is a lot quicker than Pinball Y's built-in screen recorder. And it is cool to have the DMD display synchronous with action on the playfield. I built it for attract mode, but it could be adapted for gameplay capture on a cabinet.

 

It is OBS-Studio based. It will capture Future Pinball as well as Visual Pinball. It can be adapted to work with any games that players run on a cabinet. PinballY's GDI-based capture does not support Future Pinball.

 

It takes advantage of GPU-based encoding and hardware acceleration to perform near real-time single pass captures even on my modest hardware configuration - better quality output, done faster, and with smaller file sizes.

 

It's the latest step in the automated media capture work that I started back in 2014.

 

Script and instructions are linked on my Dropbox. Check it out!

 

 

https://www.dropbox.com/scl/fi/11tm0dmp1i12fa5bchfvv/CapScreensOBS.zip?rlkey=shd93kgdlowy5gfmu2c9wa1dm&dl=0


Edited by Carny_Priest, 22 December 2023 - 06:02 AM.


#1516 MisterCoffee

MisterCoffee

    Hobbyist

  • Members
  • PipPip
  • 15 posts

  • Flag: Germany

  • Favorite Pinball: Blood Machines

Posted 04 January 2024 - 09:06 AM

Hi,

 

recently I played VPX / Pinbally with some friends.

Pretty often we were not sure for how many players a table is designed for.

Is there a way to show this in Pinbally for example in the status line or the infobox?

 

I´ve got three ideas about this:

1. The number of players is located in the ipdbTableList.csv. --> Original tables must be added manually.

2. I already have categories set up, like 2_Players, 4_Players etc. Maybe this tag can be taken.

3. Maybe I can expand the vpinmame.xml database below the last field called "rating".

 

Another question goes in half the same direction: Can the InfoBox, for example, be expanded with individual text for each table?
I'm thinking of general information about the history of the table or possibly game-specific information.
Of course that would have to be written in manually by me.

 

Thanks.

 

Regards

MrCoffee



#1517 Tesla

Tesla

    Pinball Fan

  • Silver Supporter
  • 1,427 posts
  • Location:Texas, USA

  • Flag: United States of America

  • Favorite Pinball: Star Trek - TNG

Posted 04 January 2024 - 04:19 PM

 

recently I played VPX / Pinbally with some friends.

Pretty often we were not sure for how many players a table is designed for.

 

 

My family and I also like to play MultiPlayer.

 

My experience is that the popular (ie, Williams/Bally) arcade-tables from the 90's can all allow 4-Players.

 

If some only allowed 1 or 2 ... I suppose I would note that in my Excel spreadsheet of installed tables. I could then add it to the table's Rules-Card. You could also add these few tables to a special Category in your Front-End to segregate them. 



#1518 MisterCoffee

MisterCoffee

    Hobbyist

  • Members
  • PipPip
  • 15 posts

  • Flag: Germany

  • Favorite Pinball: Blood Machines

Posted 05 January 2024 - 09:11 AM

Thank you Tesla.

This sounds like a good idea with manageable workload.

Just keep it simple ;-)



#1519 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,871 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 05 January 2024 - 04:59 PM

Hi,

 

recently I played VPX / Pinbally with some friends.

Pretty often we were not sure for how many players a table is designed for.

 

Look at backglass image in pinball Y

Can usually tell by the number of scores the backglass will display


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#1520 MisterCoffee

MisterCoffee

    Hobbyist

  • Members
  • PipPip
  • 15 posts

  • Flag: Germany

  • Favorite Pinball: Blood Machines

Posted 06 January 2024 - 12:35 AM

Ouch... This hurts :-) I cant remember what tables we talked about, but I am sure nobody had that in mind.

Guess this covers a large percentage of tables.

 

Thank you wiesshund.