Jump to content

Backdrop Question


Recommended Posts

Hello everybody
first of all I congratulate the whole community for the wonderful work they do in creating tables and preserving the roms.
I'm new to the world of pinball and recently started with virtual pinball x.
I've a questions about backdrop management:


If I modify the backdrop of tables that already have one, perhaps by importing a new image, some element of the table almost always disappears such as a bumper or the aluminum profile.

do you know this problem?


Thanks everyone for the replies!

 

GiranGi

Edited by GirangiGo
Link to comment
Share on other sites

  • GirangiGo changed the title to Backdrop Question

Thanks for your replay Cliffy.

 

It seems like I've solved it and maybe I've figured out how to avoid this problem.
I add my backdrop, launch a table from Visual Pinbal, exit, save the table to the same file, then some elements disappear (look Indy, loses the table graphics).
If instead I save the table with a new name, then I have no problem.


I tried on 6 tables and had no problems.


I hope it helps.

 

GiranGi

 

after.png

loses graphic

 

Before.png

all ok

 

Edited by GirangiGo
Link to comment
Share on other sites

6 minutes ago, GirangiGo said:

Thanks for your replay Cliffy.

 

It seems like I've solved it and maybe I've figured out how to avoid this problem.
I add my backdrop, launch a table from Visual Pinbal, exit, save the table to the same file, then some elements disappear (look Indy, loses the table graphics).
If instead I save the table with a new name, then I have no problem.


I tried on 6 tables and had no problems.


I hope it helps.

 

GiranGi

 

after.png

loses graphic

 

Before.png

all ok

 

It seems you might be running in 32 bit. Use 64 bit vpx/vpinmame so that you don't lose those textures.

Link to comment
Share on other sites

I'm already at 64 for both.

 

As soon as I understand some details better I would like to share with the community some customized backdrops for each pinball machine (for those who play in desktop mode like me).


I take this opportunity to ask you about the DMD: how does it move once the table is loaded?
I read about dmddevice.ini but I didn't understand how to use it...

 

Thanks!!

 

GiranGi

Link to comment
Share on other sites

  • Content Provider
16 hours ago, GirangiGo said:

I'm already at 64 for both.

 

As soon as I understand some details better I would like to share with the community some customized backdrops for each pinball machine (for those who play in desktop mode like me).


I take this opportunity to ask you about the DMD: how does it move once the table is loaded?
I read about dmddevice.ini but I didn't understand how to use it...

 

Thanks!!

 

GiranGi

 

If you are talking moving the DMD to a certain position for each table, you can add these script commands to the Table Init Sub in the table script.

 

THIS IS JUST AN EXAMPLE USING NFL ROM. (You would replace "nfl" with whatever rom your table is calling for.)

 

    Controller.Games("nfl").Settings.Value("dmd_pos_x")=0
    Controller.Games("nfl").Settings.Value("dmd_pos_y")=0
    Controller.Games("nfl").Settings.Value("dmd_width")=493
    Controller.Games("nfl").Settings.Value("dmd_height")=220

 

If you set the first 2 lines to =0, the dmd will be placed in the upper left corner of screen.

You probably don't need to use the 3rd and 4th line.

But with those first 2 lines, you can position the DMD anywhere on the screen.

 

If the Table Init Sub has a "With Controller" command, then you would leave off the "Controller" in the position command like so...

 

    .Games("nfl").Settings.Value("dmd_pos_x")=0
    .Games("nfl").Settings.Value("dmd_pos_y")=0

Edited by xenonph
added more info.
Link to comment
Share on other sites

19 hours ago, xenonph said:

 

If you are talking moving the DMD to a certain position for each table, you can add these script commands to the Table Init Sub in the table script.

 

THIS IS JUST AN EXAMPLE USING NFL ROM. (You would replace "nfl" with whatever rom your table is calling for.)

 

    Controller.Games("nfl").Settings.Value("dmd_pos_x")=0
    Controller.Games("nfl").Settings.Value("dmd_pos_y")=0
    Controller.Games("nfl").Settings.Value("dmd_width")=493
    Controller.Games("nfl").Settings.Value("dmd_height")=220

 

If you set the first 2 lines to =0, the dmd will be placed in the upper left corner of screen.

You probably don't need to use the 3rd and 4th line.

But with those first 2 lines, you can position the DMD anywhere on the screen.

 

If the Table Init Sub has a "With Controller" command, then you would leave off the "Controller" in the position command like so...

 

    .Games("nfl").Settings.Value("dmd_pos_x")=0
    .Games("nfl").Settings.Value("dmd_pos_y")=0

I thank you for the answer xenonph
I opened the Popeye table because I would like to move the dmd to the left, but I'm really a beginner because I didn't find any Table Init Sub content and I don't know how to insert the code you sent me...

Link to comment
Share on other sites

2 hours ago, GirangiGo said:

I thank you for the answer xenonph
I opened the Popeye table because I would like to move the dmd to the left, but I'm really a beginner because I didn't find any Table Init Sub content and I don't know how to insert the code you sent me...

Hit F1 in game and uncheck show dmd window and then check use external dmd. You can now size and drag the dmd with your mouse wherever you like, right click on it as save for this table only. It will then be added to the dmddevice.ini

popeye-tastywasps.jpg

Edited by Cliffy
Link to comment
Share on other sites

21 hours ago, Cliffy said:

Hit F1 in game and uncheck show dmd window and then check use external dmd. You can now size and drag the dmd with your mouse wherever you like, right click on it as save for this table only. It will then be added to the dmddevice.ini

 

I thank you for the answer.
there is something wrong... F1 in the game, I open the options but they are not in focus, I have to use TAB to select them.

When uncheck "show dmd/display window" and then check "use external dmd" the pinmame's dmd disappears and remains only the table's dmd.

 

Let's take stock of my configuration:
-Visual Pinball x 10.8.0 x64 OGL
-vpinmame 1.42 x64
-video/graphics settings (screenshot)


As you can see from the screenshots I would like to build backdrops for each pinball and position the DMD in a specific point.

Thanks for your help!

Desktop Screenshot 2024.02.21 - 21.25.52.99.png

F1 and uncheck "show dmd/display window" and then check "use external dmd"

 

 

 

Base Profile Screenshot 2024.02.21 - 21.26.37.15.png

remains only the table's dmd.

 

Desktop Screenshot 2024.02.21 - 21.23.43.70.png

Edited by GirangiGo
Link to comment
Share on other sites

Yes I and others have made backdrops as well. You're seen many of mine all over VPU and discord I'm sure. The backdrop is inconsequential to your dmd placement UNLESS you make a specific location cutout or framed for it.

It sounds to me like you havent yet installed the external dmd dll's.  I recommend you start by getting Freezy's latest x86 and x64 dmddevice.dll's installed in your vpinmame folder. Read up here https://vpuniverse.com/forums/topic/9051-new-release-v220-final/

 

Link to comment
Share on other sites

14 hours ago, Cliffy said:

Yes I and others have made backdrops as well. You're seen many of mine all over VPU and discord I'm sure. The backdrop is inconsequential to your dmd placement UNLESS you make a specific location cutout or framed for it.

It sounds to me like you havent yet installed the external dmd dll's.  I recommend you start by getting Freezy's latest x86 and x64 dmddevice.dll's installed in your vpinmame folder. Read up here https://vpuniverse.com/forums/topic/9051-new-release-v220-final/

 

Thank you for yet another reply.
Unfortunately I haven't seen much, I'm really new to the world of virtual pinball, but I see that there are many resources!

 

Anyway I still have problems with DMDs... I downloaded dmdext-v2.2.0-x64 and put everything inside the Vpinmame folder.
When I'm in game, the DMD is not in focus. I've to use TAB, it is placed above the table but then if I want to play I've to move the focus to the table and I lose the DMD. In any case, the default table DMD remains, it is not removed.
Popey is an example. Hook instead disappear completely.

I just don't understand what's going wrong...

 

 

my dmddevice.ini with dlls

1.png

 

 

vpinMAME root

2.png

 

no pinmame dmd, no table dmd

3.png

4.png

Edited by GirangiGo
Link to comment
Share on other sites

15 hours ago, Cliffy said:

what does the dmddevice.log show in your vpinball folder (not vpinmame)

Thanks Cliffy.

I attach the dmddevice.log in the root of visual pinball.

 

This the log:

 [3] 2024/02/24 19:24:41.143  INFO | Starting DmdDevice API 2.2.0 (x64) through VPinballX.exe. 
 [3] 2024/02/24 19:24:41.184  INFO | Assembly located at H:\Emulators\Visual Pinball\VPinMAME\DmdDevice64.dll 
 [3] 2024/02/24 19:24:41.184  INFO | Running in H:\Emulators\Visual Pinball\tables 
 [3] 2024/02/24 19:24:41.276  INFO | Successfully loaded config from H:\Emulators\Visual Pinball\VPinMAME\DmdDevice.ini. 
 [3] 2024/02/24 19:24:41.441  INFO | [serum] Determined altcolor path from assembly path: H:\Emulators\Visual Pinball\VPinMAME\altcolor 
 [3] 2024/02/24 19:24:42.782  INFO | [dll] Open(0) 
 [3] 2024/02/24 19:24:42.782  INFO | [dll] PM_GameSettings(0, Hook_501, 0) 
 [3] 2024/02/24 19:24:42.782  INFO | Disabling game colorization 
 [3] 2024/02/24 19:24:42.782  INFO | Setting game name: Hook_501 
 [3] 2024/02/24 19:24:42.782  INFO | Setting color: #FFFF5820 
 [3] 2024/02/24 19:24:42.802  INFO | Opening virtual display... 
 [9] 2024/02/24 19:24:43.075  INFO | Added VirtualDMD renderer. 
 [9] 2024/02/24 19:24:43.075  INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False 
 [9] 2024/02/24 19:24:43.075  INFO | Applying default color to render graphs (#FFFF5820). 
 [9] 2024/02/24 19:24:43.109  INFO | Setting up 2-bit Passthrough Graph for 1 destination(s) [ Virtual DMD
 [9] 2024/02/24 19:24:43.109  INFO |   -> Connecting DmdDevice 2-bit Source to Virtual DMD (Gray2 => Gray2) - deduped 
 [9] 2024/02/24 19:24:43.132  INFO | Setting up 4-bit Passthrough Graph for 1 destination(s) [ Virtual DMD
 [9] 2024/02/24 19:24:43.132  INFO |   -> Connecting DmdDevice 4-bit Source to Virtual DMD (Gray4 => Gray4) - deduped 
 [9] 2024/02/24 19:24:43.132  INFO | Setting up RGB24 Passthrough Graph for 1 destination(s) [ Virtual DMD
 [9] 2024/02/24 19:24:43.132  INFO |   -> Connecting DmdDevice RGB24 Source to Virtual DMD (Rgb24 => Rgb24) 
 [9] 2024/02/24 19:24:43.132  INFO | Setting up Alphanumeric Passthrough Graph for 1 destination(s) [ Virtual DMD
 [9] 2024/02/24 19:24:43.359  INFO | Creating FBOs for 128x32 
[12] 2024/02/24 19:24:43.722  INFO | Resizing virtual DMD to 128x16 
 [9] 2024/02/24 19:24:43.722  INFO | Creating FBOs for 128x16 
 [3] 2024/02/24 19:25:48.237  INFO | [dll] Close(0) 
 [3] 2024/02/24 19:25:48.237  INFO | Closing up. 
 [3] 2024/02/24 19:25:48.248  INFO | Source for 1 renderer(s) stopped. 
 [3] 2024/02/24 19:25:48.248  INFO | Source for 1 renderer(s) stopped. 
 [3] 2024/02/24 19:25:48.248  INFO | Source for 1 renderer(s) stopped. 
 [3] 2024/02/24 19:25:48.248  INFO | Source for 0 renderer(s) stopped. 
 

 

DmdDevice.log

Edited by GirangiGo
Link to comment
Share on other sites

Create an account or sign in to comment

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

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
×
  • Create New...