Jump to content



Photo
* * * * * 2 votes

PinScreenGen - Automatically Generates Playfield & BG Images & HP XML for VP/FP Tables


  • Please log in to reply
69 replies to this topic

#21 bladexdsl

bladexdsl

    Joined the elite ranks

  • Banned
  • PipPipPipPip
  • 1,234 posts
  • Location:Queensland

  • Flag: Australia

  • Favorite Pinball: Scared stiff and Congo

Posted 01 June 2011 - 03:53 PM

but it runs in that resolution in vp/hp

#22 DedRok_V

DedRok_V

    Crazed Pinball Wizard (Australia's Former #1)

  • Platinum Supporter
  • 2,238 posts
  • Location:Newcastle, Australia

  • Flag: Australia

  • Favorite Pinball: Avengers Blue LE : Judge Dredd : Cosmic Princess

Posted 01 June 2011 - 04:01 PM

QUOTE (bladexdsl @ Jun 2 2011, 01:53 AM) <{POST_SNAPBACK}>
but it runs in that resolution in vp/hp

Whats your
Playfield res
Backglass res




Blueprint game : up to date list http://www.vpforums....s...st&p=147107

#23 bladexdsl

bladexdsl

    Joined the elite ranks

  • Banned
  • PipPipPipPip
  • 1,234 posts
  • Location:Queensland

  • Flag: Australia

  • Favorite Pinball: Scared stiff and Congo

Posted 01 June 2011 - 04:06 PM

playfield 1080p
backglass 1280 x 1024
in vp

it doesnt take pics of bg in vp though i'm not using fp on my cab.

i think i'll have better luck just downloading them from the media packs

Edited by bladexdsl, 01 June 2011 - 04:16 PM.


#24 settingsons

settingsons

    Pinball Fan

  • VIP
  • 959 posts
  • Location:Switzerland

  • Flag: Switzerland

  • Favorite Pinball: Terminator 2 and many EM machines



Posted 01 June 2011 - 06:10 PM

The ini file has two sections - one for FP and one for VP. The first section is for Future Pinball - you need to change the 2nd section.

If you look at your ini file you do not have co-ordinates defined for VP. This is telling the program to capture nothing. You said it originally worked with the 1366 settings which was probably before you changed the ini file.

You have this in the VP section right at the end of the ini file:

;Playfield_Image_Capture_X_Y_H_W = "0,0,1920,1080"

You need to remove the ; semi colon which is a comment as follows:

Playfield_Image_Capture_X_Y_H_W = "0,0,1920,1080"

Also you said the program doesn't capture the backglass for VP. This is impossible because they are not part of the VP table - you need to download these with the UVPs. I hope this helps.

If I release a newer version I will add some validation to the code and possiblly a menu to allow the co-ordinates to be chosen by the user.

Edited by settingsons, 01 June 2011 - 06:13 PM.


#25 bladexdsl

bladexdsl

    Joined the elite ranks

  • Banned
  • PipPipPipPip
  • 1,234 posts
  • Location:Queensland

  • Flag: Australia

  • Favorite Pinball: Scared stiff and Congo

Posted 01 June 2011 - 06:35 PM

ah that friggin colon i always forget about it. works now...except for indiana jones it was the only table it did not take a pic of instead it got the desktop

#26 DedRok_V

DedRok_V

    Crazed Pinball Wizard (Australia's Former #1)

  • Platinum Supporter
  • 2,238 posts
  • Location:Newcastle, Australia

  • Flag: Australia

  • Favorite Pinball: Avengers Blue LE : Judge Dredd : Cosmic Princess

Posted 02 June 2011 - 10:41 AM

QUOTE (DedRok_V @ Jun 2 2011, 01:49 AM) <{POST_SNAPBACK}>
So the playfield isnt showing at 1920 1080.

You have the 1920 x 1080 still commented out and the 1366 x 766 commented.
Change it around

;---- TODO - Define the capture co-ordinates for the playfield and backglass
;---- Settings for 1366 x 766 Playfield and 1280 x 1024 ----
Playfield_Image_Capture_X_Y_H_W = "0,0,1366,766"
Backglass_Image_Capture_X_Y_H_W = "1367,0,2646,1024"

;---- Settings for 1920 x 1080 Playfield and 1280 x 1024 ----
;Playfield_Image_Capture_X_Y_H_W = "0,0,1920,1080"
;Backglass_Image_Capture_X_Y_H_W = "1921,0,3201,1024"


Didnt I mention the commenting? tongue.gif






Blueprint game : up to date list http://www.vpforums....s...st&p=147107

#27 bladexdsl

bladexdsl

    Joined the elite ranks

  • Banned
  • PipPipPipPip
  • 1,234 posts
  • Location:Queensland

  • Flag: Australia

  • Favorite Pinball: Scared stiff and Congo

Posted 02 June 2011 - 02:30 PM

is there a way to just take snaps of certain tables like new ones you add instead of it having to go through all the tables again?

#28 blur

blur

    Pinball Fan

  • VIP
  • 1,500 posts

  • Flag: Croatia

  • Favorite Pinball: Amazing Spiderman, Black Hole, Totem



Posted 02 June 2011 - 02:37 PM

of course:

set

Override_Existing_Images = true

to false

But

be sure to do it in right section - Visual Pinball - cause vp and fp have different settings, and fp is the first one so you might end up editing wrong section


#29 museumsteve

museumsteve

    Neophyte

  • Members
  • Pip
  • 4 posts

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

  • Favorite Pinball: Amazing Spiderman

Posted 21 August 2011 - 11:13 PM

I'm a complete newbie to the VP world, but this utility is outstanding...many thanks for taking the time, putting the effort in and of course sharing it smile.gif

#30 museumsteve

museumsteve

    Neophyte

  • Members
  • Pip
  • 4 posts

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

  • Favorite Pinball: Amazing Spiderman

Posted 21 August 2011 - 11:39 PM

QUOTE (museumsteve @ Aug 21 2011, 11:13 PM) <{POST_SNAPBACK}>
I'm a complete newbie to the VP world, but this utility is outstanding...many thanks for taking the time, putting the effort in and of course sharing it smile.gif


lol..and leading on from that, once I'd finished running it and took a look at the table images..they are all of my desktop background :s I sat and watched FP open etc and all looked to be doing what it should..any ideas?
I'm running W7 witha Radeon card (catalyst 11.6)

#31 museumsteve

museumsteve

    Neophyte

  • Members
  • Pip
  • 4 posts

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

  • Favorite Pinball: Amazing Spiderman

Posted 22 August 2011 - 09:56 AM

QUOTE (museumsteve @ Aug 21 2011, 11:39 PM) <{POST_SNAPBACK}>
QUOTE (museumsteve @ Aug 21 2011, 11:13 PM) <{POST_SNAPBACK}>
I'm a complete newbie to the VP world, but this utility is outstanding...many thanks for taking the time, putting the effort in and of course sharing it smile.gif


lol..and leading on from that, once I'd finished running it and took a look at the table images..they are all of my desktop background :s I sat and watched FP open etc and all looked to be doing what it should..any ideas?
I'm running W7 witha Radeon card (catalyst 11.6)


I wanted to stick on this thread for a bit..I did some searching last night and it seems using prtscrn funtion in W7 is pretty much a disaster and maybe the reason I'm struggling. I went to FP properties and used a compatibility setting that had been suggested to others and whilst this solved the problem of taking a piccie of my desktop..it now just shows me a black image where the piccie should be sad.gif
I only say this because I assume the AHK script uses a prtscrn type option.
Any help would be appreciated smile.gif

#32 blur

blur

    Pinball Fan

  • VIP
  • 1,500 posts

  • Flag: Croatia

  • Favorite Pinball: Amazing Spiderman, Black Hole, Totem



Posted 22 August 2011 - 10:08 AM

yup - known problem with fp and win7

there is no any solution except to go to winxp

maybe there are some drivers where printscreen works but as i remember then backglass doesn't work - so either you get printscreen not working or backglass not working with various driver versions.

anyway - i suggest xp if you really want to run fp on your cab.

#33 museumsteve

museumsteve

    Neophyte

  • Members
  • Pip
  • 4 posts

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

  • Favorite Pinball: Amazing Spiderman

Posted 22 August 2011 - 10:53 AM

QUOTE (blur @ Aug 22 2011, 10:08 AM) <{POST_SNAPBACK}>
yup - known problem with fp and win7

there is no any solution except to go to winxp

maybe there are some drivers where printscreen works but as i remember then backglass doesn't work - so either you get printscreen not working or backglass not working with various driver versions.

anyway - i suggest xp if you really want to run fp on your cab.


thanks for the reply smile.gif
Mine isn't a dedicated pinball cab, it's actually a cocktail table project (almost finished) with mame, other emus, hyperpin and touch screen features..so I really need to stick with W7.
I'll just go back to the old fashioned way wink.gif

#34 settingsons

settingsons

    Pinball Fan

  • VIP
  • 959 posts
  • Location:Switzerland

  • Flag: Switzerland

  • Favorite Pinball: Terminator 2 and many EM machines



Posted 26 August 2011 - 11:07 PM

QUOTE (museumsteve @ Aug 22 2011, 11:53 AM) <{POST_SNAPBACK}>
QUOTE (blur @ Aug 22 2011, 10:08 AM) <{POST_SNAPBACK}>
yup - known problem with fp and win7

there is no any solution except to go to winxp

maybe there are some drivers where printscreen works but as i remember then backglass doesn't work - so either you get printscreen not working or backglass not working with various driver versions.

anyway - i suggest xp if you really want to run fp on your cab.


thanks for the reply smile.gif
Mine isn't a dedicated pinball cab, it's actually a cocktail table project (almost finished) with mame, other emus, hyperpin and touch screen features..so I really need to stick with W7.
I'll just go back to the old fashioned way wink.gif

Hi museumsteve - Blur is right that in W7 there is something dodgey with the printscreen. I am basically capturing an area of the screen using a call to a Windows DLL function so it is unfortunately out of our control. I do recall some members are successfully using this tool with W7 so it might be related to the nVidia driver version. 260.99 certainly won't work but maybe earlier versions do. Unfortunately I don't have a W7 PC so cannot test it. What is your driver version?

Edited by settingsons, 26 August 2011 - 11:09 PM.


#35 dejanne

dejanne

    Hobbyist

  • Members
  • PipPip
  • 36 posts

  • Flag: Belgium

  • Favorite Pinball: indiana jones-road girls

Posted 01 January 2012 - 01:59 PM

everything went well till i got that notepad with the xlm, just cut and paste in the database of hyperpin, can't be easier
but when i want to click paste it is not possible, what am i doiing wrong here?


#36 settingsons

settingsons

    Pinball Fan

  • VIP
  • 959 posts
  • Location:Switzerland

  • Flag: Switzerland

  • Favorite Pinball: Terminator 2 and many EM machines



Posted 01 January 2012 - 10:32 PM

QUOTE (dejanne @ Jan 1 2012, 02:59 PM) <{POST_SNAPBACK}>
everything went well till i got that notepad with the xlm, just cut and paste in the database of hyperpin, can't be easier
but when i want to click paste it is not possible, what am i doiing wrong here?

The tool actually creates a file called VP.XML or FP.XML which is the one that is opened in Notepad at the end of the screen capture process. You could try and open this file directly in Notepad and cut and paste the XML into the Hyperpin XML file.

#37 Arcade4

Arcade4

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,686 posts
  • Location:Beaumont, TX.

  • Flag: United States of America

  • Favorite Pinball: AC/DC

Posted 03 January 2012 - 01:24 AM

Here are the settings for Pinscreengen if you are running a 1920 x 1080 playfield and a 1920 x 1080 backglass on your cabinet.

Playfield_Image_Capture_X_Y_H_W = "0,0,1920,1080"
Backglass_Image_Capture_X_Y_H_W = "1921,0,3842,1080"

This will allow you to capture the entire backglass without anything getting lost.

#38 settingsons

settingsons

    Pinball Fan

  • VIP
  • 959 posts
  • Location:Switzerland

  • Flag: Switzerland

  • Favorite Pinball: Terminator 2 and many EM machines



Posted 03 January 2012 - 06:40 PM

QUOTE (Arcade4 @ Jan 3 2012, 02:24 AM) <{POST_SNAPBACK}>
Here are the settings for Pinscreengen if you are running a 1920 x 1080 playfield and a 1920 x 1080 backglass on your cabinet.

Playfield_Image_Capture_X_Y_H_W = "0,0,1920,1080"
Backglass_Image_Capture_X_Y_H_W = "1921,0,3842,1080"

This will allow you to capture the entire backglass without anything getting lost.


Thanks for confirming they worked Arcade.

Just want to repeat what I posting in the FP thread....

If anyone gets an issue where there are several instances of FP open while running PinScreenGen then please let me know. This shouldn't normally happen as I try to close FP normally and if it doesn't close I try to kill it and if that fails the program should tell you there was an error closing FP and ask if you want to continue.

Capture Problems
I wrote the program and uploaded it last Christmas and it has been downloaded over 300 times which is quite surprising as I didn't think there were so many people using VP/FP in cabinet mode.. To date no one has reported any issues with the VP screen capture, and for FP the only issues seem to be related to Windows 7 PCs where screenshots are not captured correctly (they are blank or are of the desktop). According to several of forums on the internet Microsoft somehow messed up the printscreen capture of some games running in fullscreen - however it works for some W7 FP users and I think blur/blitz found it was related to the nVidia driver (although that might be out of date now).

New Version
I was planning to release a new version of the tool which will mainly include more XML generation options and a HTML report of missing HP objects. If anyone can think of anything else then please let me know. I don't think unattended video capture is possible at this stage which has been mentioned before.

Cheers

#39 Arcade4

Arcade4

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,686 posts
  • Location:Beaumont, TX.

  • Flag: United States of America

  • Favorite Pinball: AC/DC

Posted 04 January 2012 - 01:02 AM

QUOTE (settingsons @ Jan 3 2012, 12:40 PM) <{POST_SNAPBACK}>
QUOTE (Arcade4 @ Jan 3 2012, 02:24 AM) <{POST_SNAPBACK}>
Here are the settings for Pinscreengen if you are running a 1920 x 1080 playfield and a 1920 x 1080 backglass on your cabinet.

Playfield_Image_Capture_X_Y_H_W = "0,0,1920,1080"
Backglass_Image_Capture_X_Y_H_W = "1921,0,3842,1080"

This will allow you to capture the entire backglass without anything getting lost.


Thanks for confirming they worked Arcade.

Just want to repeat what I posting in the FP thread....

If anyone gets an issue where there are several instances of FP open while running PinScreenGen then please let me know. This shouldn't normally happen as I try to close FP normally and if it doesn't close I try to kill it and if that fails the program should tell you there was an error closing FP and ask if you want to continue.

Capture Problems
I wrote the program and uploaded it last Christmas and it has been downloaded over 300 times which is quite surprising as I didn't think there were so many people using VP/FP in cabinet mode.. To date no one has reported any issues with the VP screen capture, and for FP the only issues seem to be related to Windows 7 PCs where screenshots are not captured correctly (they are blank or are of the desktop). According to several of forums on the internet Microsoft somehow messed up the printscreen capture of some games running in fullscreen - however it works for some W7 FP users and I think blur/blitz found it was related to the nVidia driver (although that might be out of date now).

New Version
I was planning to release a new version of the tool which will mainly include more XML generation options and a HTML report of missing HP objects. If anyone can think of anything else then please let me know. I don't think unattended video capture is possible at this stage which has been mentioned before.

Cheers



I got it to work on multiple tables now!!!
Don't know why I did not think of this before.
All I did was right click and run the .exe and the FP batch file in XP Compatibility mode (Service Pack 3)
I also clicked run as administrator, but not sure if that made any difference.
Anyway, no more crashing or multiple programs running. smile.gif

#40 open6l

open6l

    Pinball Fan

  • VIP
  • 639 posts
  • Location:Ontario, Canada

  • Flag: Canada

  • Favorite Pinball: TRON Legacy

Posted 22 January 2012 - 05:39 AM

Anyone have an updated 'non-MegaUpload' link?

thanks

open6l___gaming.png