Jump to content

B2S - Python Script to generate frames

    Create an account or sign in to download this
download_no_perm
565 Views
11 Downloads
5 From 2 reviews
4.12 kB File Size

3 Screenshots

About This File

Hello,

 

The script is now useless if you use Vpin Studio because it is integrated from version 4.3.0 :)

 

Here's a small, unpretentious script that generates frames from .b2s files or images (.png or .jpg) to center your 16:9 backglass instead of having black bars on the sides of the backglass.

 

Three frames are generated:
- One in "ambilight" style, which uses the pixels on the edge of the backglass to generate the frame. (see AC/DC screenshot)
- One that creates a sort of blurred zoom of the backglass. (see 301 Bullseye screenshot)
- One that creates a sort of blurred mirror reflection. (see Black & Red screenshot)

 

It's far from perfect and far from being as good as the Protomech frames I use whenever possible, but it provides a quick option when no frames exist while waiting to create a better one manually ;)

 

Usage:
- Put the .py file in an empty folder. - Place your .b2s and desired images in a "sources" folder at the same level as the .py file.
- Run the .py script.

- The frames are generated in the "frames" folder, with a subfolder for each variant.

Edited by Himura95
Precision that the script is now integrated into Vpin Studio 4.3.0

User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Nicolainuke

  

A great utility for creating backglass frames! This saves an incredible amount of time, and the results are very, very good.

If the source image includes a speaker grill, it will show up in the resulting frame. So, some manual editing may be required to the source image to achieve the desired results for your build.

SixOfTwelve

  

YOU BASTARD!

 

I just got done doing this sort of thing by hand for about 500 of my tables! Load the table, fix the table's .res file, start the table, take a screenshot of the backglass with the PRINT key, load the image in Photoshop, mirror it, blur it and darken it... rinse, and repeat.

 

Couldn't you have come out with this a month or two earlier? You would've saved me so much work 😅

 

In all seriousness though: Thank you for this. This will make things easier for a lot of folks, I'm sure.

×
  • Create New...