Jump to content



Photo
* * * * * 5 votes

B2S Backglass Designer (WIP)


  • Please log in to reply
503 replies to this topic

#121 Herweh

Herweh

    Backglass fan

  • VIP
  • 452 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Yes

Posted 15 October 2012 - 09:05 PM

So Herweh is the thinking that it would be possible to distribute the 'master files' for a B2S that could be 'compiled' using your editor? Be really nice to keep the open nature of the community with these files, since you can't currently edit the .exe files. I know if I made a backglass that I'd be happy to share my master graphics for anyone who wanted to edit them.

Yes, to keep everything open is the idea. Right now the designer is supporting two output types: A visual studio 2010 project, immediatelly compilable. And a *.directb2s file which is a XML description of the backglass for the B2S.Server. If you want to open the directb2s file with a standard editor (like Notepad) and have a look inside.
Both types have their advantages and disadvantages: An EXE file allows much more when you're having some programming skills. Running videos or stuff like this, absolut new crazy backglass ideas are no problem. But it is as you said an exe and is not really open. The directb2s file is easy to handle, pretty fast to generate and normally easy to use without changes at the table. But right now the server is totally ROM controlled. We will see where the journey goes.
When the designer is done for some first beta tests I will of course add the SORCERER project (and maybe ROLLING STONES or other projects) to get the look inside them.

herwehb2s-avatar-jr-100.pngbreakshot-sig-small3.pngatlantis-sig-small.pngmousinaround-sig6.pngsc-badge1.pnglw-sig.pngembryon-logo0.pngladyluck.pngapollo13_badge3.pngwhirlwind_badge.png


#122 Dazz

Dazz

    Pinball Fan

  • Banned
  • PipPipPipPip
  • 858 posts
  • Location:Keller, Texas

  • Flag: United States of America

  • Favorite Pinball: Twilight Zone and Cyclone

Posted 15 October 2012 - 09:12 PM

This is the error that I'm getting upon launching the Mod table.

Attached File  vb_err.png   5.47KB   95 downloads

Attached File  script.png   27.24KB   94 downloads

Checking task manager has no instance of B2S running and there is no evidence of it trying to load.


Several things of note:
OS is a FRESH install of XP32 SP3 with updates applied.
Fresh install of .NET 4.
Not loading from HyperPin.
I am able to launch normal B2S tables as well as UVP enabled tables.
Posted Image

#123 Herweh

Herweh

    Backglass fan

  • VIP
  • 452 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Yes

Posted 15 October 2012 - 09:16 PM

Can't get any easier than this. The backglass runs smooth as butter even during multiball. Never noticed any lag or slow down even during heavy scenes. Also I didn't have to edit my Hyperpin .xml which is always a plus. A++ work my friend ! Can't wait to start using the editor.

One question, where did you get the backglass art for this table? The one I have is crappy. Id like to use this one while I'm browsing through Hyperpin. Also, what resolution is the backglass? The very bottom of the art is cut off so, for instance, the game over light is cut a bit. Probably on my end. Thanks !

My specs:
Windows 7 64bit
8GB of Ram
Intel i5 2500K
Geforce 460 (bg + play field)

I used the backglass of the last UVP animated backglass here in the forum and resized the image from 2382x1506 to 1667*1054 pixels with the designer. This is the size the backglass is using.
I have had the same issue with the cutted backglass on my backglass monitor. I have detected that my monitor is not able (and I don't know why) to show the whole windows screen. When I size an window to fullscreen at this monitor there is a little bit missing at the edges. I reduced the resolution in my B2S screenres.txt file a little bit and for B2S backglasses this is working fine. But I have to say I have no idea what Windows XP is doing here.
Here is a screenshot of the backglass loaded in the designer, with the illumination on and showing all the bulb frames. A nice feature is to filter the bulb frames as there are too many of them to get the perfect overview:
Attached File  B2SBackglassDesigner121015.jpg   181.2KB   86 downloads

herwehb2s-avatar-jr-100.pngbreakshot-sig-small3.pngatlantis-sig-small.pngmousinaround-sig6.pngsc-badge1.pnglw-sig.pngembryon-logo0.pngladyluck.pngapollo13_badge3.pngwhirlwind_badge.png


#124 ArcadiusMaximus

ArcadiusMaximus

    Quit throwing trash into my dimension !

  • Members
  • PipPipPip
  • 310 posts
  • Location:PITZBORG, PA

  • Flag: United States of America

  • Favorite Pinball: Attack from Mars, Scared Stiff, White Water

Posted 15 October 2012 - 09:40 PM

This is the error that I'm getting upon launching the Mod table.

Attached File  vb_err.png   5.47KB   95 downloads

Attached File  script.png   27.24KB   94 downloads

Checking task manager has no instance of B2S running and there is no evidence of it trying to load.




Several things of note:
OS is a FRESH install of XP32 SP3 with updates applied.
Fresh install of .NET 4.
Not loading from HyperPin.
I am able to launch normal B2S tables as well as UVP enabled tables.


Hi Dazz. Not sure if this is true but my script keeps changing periods "." to spaces " " . I see your code says: Set Controller = CreateObject ("B2s.Server") . Mine says: Set Controller = CreateObject ("B2s Server"). Try deleting the "." and reentering it maybe?


Can't get any easier than this. The backglass runs smooth as butter even during multiball. Never noticed any lag or slow down even during heavy scenes. Also I didn't have to edit my Hyperpin .xml which is always a plus. A++ work my friend ! Can't wait to start using the editor.

One question, where did you get the backglass art for this table? The one I have is crappy. Id like to use this one while I'm browsing through Hyperpin. Also, what resolution is the backglass? The very bottom of the art is cut off so, for instance, the game over light is cut a bit. Probably on my end. Thanks !

My specs:
Windows 7 64bit
8GB of Ram
Intel i5 2500K
Geforce 460 (bg + play field)

I used the backglass of the last UVP animated backglass here in the forum and resized the image from 2382x1506 to 1667*1054 pixels with the designer. This is the size the backglass is using.
I have had the same issue with the cutted backglass on my backglass monitor. I have detected that my monitor is not able (and I don't know why) to show the whole windows screen. When I size an window to fullscreen at this monitor there is a little bit missing at the edges. I reduced the resolution in my B2S screenres.txt file a little bit and for B2S backglasses this is working fine. But I have to say I have no idea what Windows XP is doing here.
Here is a screenshot of the backglass loaded in the designer, with the illumination on and showing all the bulb frames. A nice feature is to filter the bulb frames as there are too many of them to get the perfect overview:
Attached File  B2SBackglassDesigner121015.jpg   181.2KB   86 downloads


My monitor appears to be doing that too when set to full screen. I will try and shrink things via Nvidia control panel and see if that helps rather than edit the b2s configuration first. Thanks.
~ Mr. John E. Smith III Esq.

#125 Herweh

Herweh

    Backglass fan

  • VIP
  • 452 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Yes

Posted 15 October 2012 - 09:44 PM

Well I've followed all the instructions and keep getting

Oops,the 'B2S backglass server' is NOT registered. Have you started this app as 'Administrator'?
(Cannot create ActiveX component.)

I even re-downloaded everything and started over.. Still nothing...

Okay, your system is not able to register the B2S.Server. What I'm doing in my register app is
  • locating your .Net framework 4 because I need an EXE called 'regasm.exe'. Maybe it is at 'C:\Windows\Microsoft.NET\Framework\v4.0.30319'?
  • calling this regasm.exe in your VP tables folder to register the B2SBackglassServer.DLL
So maybe you can do this on your own: Open your command window (cmd) as admin and locate it to your VP tables folder. It should look something like this:
Attached File  B2SBackglassDesigner121015_2.jpg   47.69KB   72 downloads

Then try to register the backglass server dll with regasm. The command should look similiar to this:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "B2SBackglassServer.dll" /codebase

And this is my result:
Attached File  B2SBackglassDesigner121015_3.jpg   94.15KB   34 downloads

Hope this helps a little bit.

(I have to improve the register app to get better error messages)

Edited by Herweh, 15 October 2012 - 09:46 PM.

herwehb2s-avatar-jr-100.pngbreakshot-sig-small3.pngatlantis-sig-small.pngmousinaround-sig6.pngsc-badge1.pnglw-sig.pngembryon-logo0.pngladyluck.pngapollo13_badge3.pngwhirlwind_badge.png


#126 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 15 October 2012 - 09:44 PM

Set Controller=CreateObject("B2S.Server") is correct. You need the period.

Do you have a b2s.vbs and screenres.txt file? You need the VBS and the txt file (which shows the resolutions of your monitors)

#127 Dazz

Dazz

    Pinball Fan

  • Banned
  • PipPipPipPip
  • 858 posts
  • Location:Keller, Texas

  • Flag: United States of America

  • Favorite Pinball: Twilight Zone and Cyclone

Posted 15 October 2012 - 10:04 PM

Set Controller=CreateObject("B2S.Server") is correct. You need the period.

Do you have a b2s.vbs and screenres.txt file? You need the VBS and the txt file (which shows the resolutions of your monitors)

Of course I have everything... B2S is working fine for me.

I re-registered the .dll, and it says re-registered...

Attached File  reg.png   25.25KB   23 downloads

When launching table I'm still getting:

Attached File  vb_err.png   5.47KB   23 downloads
Posted Image

#128 Herweh

Herweh

    Backglass fan

  • VIP
  • 452 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Yes

Posted 15 October 2012 - 10:08 PM

This is the error that I'm getting upon launching the Mod table.

Attached File  vb_err.png   5.47KB   95 downloads

Attached File  script.png   27.24KB   94 downloads

Checking task manager has no instance of B2S running and there is no evidence of it trying to load.


Several things of note:
OS is a FRESH install of XP32 SP3 with updates applied.
Fresh install of .NET 4.
Not loading from HyperPin.
I am able to launch normal B2S tables as well as UVP enabled tables.

Maybe this is it: Are you using the Y flip option of B2S?
If yes please have a try to switch it off for a test.

herwehb2s-avatar-jr-100.pngbreakshot-sig-small3.pngatlantis-sig-small.pngmousinaround-sig6.pngsc-badge1.pnglw-sig.pngembryon-logo0.pngladyluck.pngapollo13_badge3.pngwhirlwind_badge.png


#129 Dazz

Dazz

    Pinball Fan

  • Banned
  • PipPipPipPip
  • 858 posts
  • Location:Keller, Texas

  • Flag: United States of America

  • Favorite Pinball: Twilight Zone and Cyclone

Posted 15 October 2012 - 10:12 PM


This is the error that I'm getting upon launching the Mod table.

Attached File  vb_err.png   5.47KB   95 downloads

Attached File  script.png   27.24KB   94 downloads

Checking task manager has no instance of B2S running and there is no evidence of it trying to load.


Several things of note:
OS is a FRESH install of XP32 SP3 with updates applied.
Fresh install of .NET 4.
Not loading from HyperPin.
I am able to launch normal B2S tables as well as UVP enabled tables.

Maybe this is it: Are you using the Y flip option of B2S?
If yes please have a try to switch it off for a test.


Yes, I am... and just tested and that's exactly what the problem is. I turned off the Y flip and the B2S Server launches. Works really well, the digits/font looks much more realistic than current B2S. I'm impressed. Just need to fix that pesky Y flip option.

Edited by Dazz, 15 October 2012 - 10:51 PM.

Posted Image

#130 Herweh

Herweh

    Backglass fan

  • VIP
  • 452 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Yes

Posted 15 October 2012 - 11:14 PM

Yes, sorry, was my fault. I'm trying to flip a non existing DMD image and that's no good idea. Will be fixed in the next version, maybe pretty soon with the brand new LEDs.

herwehb2s-avatar-jr-100.pngbreakshot-sig-small3.pngatlantis-sig-small.pngmousinaround-sig6.pngsc-badge1.pnglw-sig.pngembryon-logo0.pngladyluck.pngapollo13_badge3.pngwhirlwind_badge.png


#131 Aurich

Aurich

    Enthusiast

  • Members
  • PipPipPip
  • 306 posts
  • Location:Southern California

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

  • Favorite Pinball: Scared Stiff

Posted 15 October 2012 - 11:45 PM

When the designer is done for some first beta tests I will of course add the SORCERER project (and maybe ROLLING STONES or other projects) to get the look inside them.


Awesome, looking forward to it. :)

#132 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 15 October 2012 - 11:56 PM

Yes, I confirmed thats the same thing I get on my pin2k vpin. If I switch off the Y flip in the screenres.txt Sorceror works great.
Makes sense why I didn't see this problem on my 2 screen test machine.

Of course we need the Y flip for any B2S tables that show display on the third monitor....

#133 ICPjuggla

ICPjuggla

    Early Retirement

  • VIP
  • 1,193 posts

  • Flag: United States of America

  • Favorite Pinball: Star Wars

Posted 16 October 2012 - 12:27 AM


Well I've followed all the instructions and keep getting

Oops,the 'B2S backglass server' is NOT registered. Have you started this app as 'Administrator'?
(Cannot create ActiveX component.)

I even re-downloaded everything and started over.. Still nothing...

Okay, your system is not able to register the B2S.Server. What I'm doing in my register app is
  • locating your .Net framework 4 because I need an EXE called 'regasm.exe'. Maybe it is at 'C:\Windows\Microsoft.NET\Framework\v4.0.30319'?
  • calling this regasm.exe in your VP tables folder to register the B2SBackglassServer.DLL
So maybe you can do this on your own: Open your command window (cmd) as admin and locate it to your VP tables folder. It should look something like this:
Attached File  B2SBackglassDesigner121015_2.jpg   47.69KB   72 downloads

Then try to register the backglass server dll with regasm. The command should look similiar to this:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe "B2SBackglassServer.dll" /codebase

And this is my result:
Attached File  B2SBackglassDesigner121015_3.jpg   94.15KB   34 downloads

Hope this helps a little bit.

(I have to improve the register app to get better error messages)


well before I go and even try this, I'll load it on my cab running XP and see if it works down there. I'm not a programmer and all that seems confusing to me and I don't wana go Fing something up on my laptop.

cosmicgunfight-sig2.png breakshot-sig-small3.png atlantis-sig-small.png mousinaround-sig6.png hurricane-sig16.png sc-badge1.png lw-sig.png embryon-logo0.png icp-3.png apollo13_badge(1).png whirlwind_badge0.png playboy_badge0.png oxo1.png raven_logo.png rambo_logo4.png


#134 Aaron James

Aaron James

    <<< Grand Champion >>>

  • VIP
  • 1,408 posts
  • Location:Shelby Township, Michigan

  • Flag: United States of America

  • Favorite Pinball: Docking Complete...Negative...You Must Redock...Redock Now!



Posted 16 October 2012 - 01:00 AM

fing...lol

vpsig.jpg


#135 ICPjuggla

ICPjuggla

    Early Retirement

  • VIP
  • 1,193 posts

  • Flag: United States of America

  • Favorite Pinball: Star Wars

Posted 16 October 2012 - 01:07 AM

fing...lol


Yup, "F" ing

cosmicgunfight-sig2.png breakshot-sig-small3.png atlantis-sig-small.png mousinaround-sig6.png hurricane-sig16.png sc-badge1.png lw-sig.png embryon-logo0.png icp-3.png apollo13_badge(1).png whirlwind_badge0.png playboy_badge0.png oxo1.png raven_logo.png rambo_logo4.png


#136 Aaron James

Aaron James

    <<< Grand Champion >>>

  • VIP
  • 1,408 posts
  • Location:Shelby Township, Michigan

  • Flag: United States of America

  • Favorite Pinball: Docking Complete...Negative...You Must Redock...Redock Now!



Posted 16 October 2012 - 01:27 AM

ahhh..lol. that's funny dude.

vpsig.jpg


#137 open6l

open6l

    Pinball Fan

  • VIP
  • 639 posts
  • Location:Ontario, Canada

  • Flag: Canada

  • Favorite Pinball: TRON Legacy

Posted 16 October 2012 - 06:12 PM

this program kicks some serious ass... can't wait til its released!

open6l___gaming.png


#138 htamas

htamas

    Pinball Wizard

  • VIP
  • 2,227 posts
  • Location:California

  • Flag: Hungary

  • Favorite Pinball: cannot pick just one, and they change anyway



Posted 16 October 2012 - 07:01 PM

fing...lol

Actually, "fing" in my mother tongue means "fart" :D

#139 mistermixer

mistermixer

    Enthusiast

  • Members
  • PipPipPip
  • 201 posts

  • Flag: Belgium

  • Favorite Pinball: eightballdeluxe

Posted 16 October 2012 - 08:58 PM

Thanx Herweh for your efforts , just installed sorcerer and it's magic !!! What a lightingFX

So in the near future will it be possible with your app to adjust B2S backglasses others made ? I have a 2 screen cabinet and the
B2S DMD tables have the grill ( AFM,scared stiff .. ),but i want to cut this grill from the backglass. So the remaining part ( the actual picture ) can be stretched
to fit the screen , like the nonDMD backglasses ( sorcerer ... ) If this could be done ... whoooww

#140 Herweh

Herweh

    Backglass fan

  • VIP
  • 452 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Yes

Posted 16 October 2012 - 09:46 PM

Thanx Herweh for your efforts , just installed sorcerer and it's magic !!! What a lightingFX

So in the near future will it be possible with your app to adjust B2S backglasses others made ? I have a 2 screen cabinet and the
B2S DMD tables have the grill ( AFM,scared stiff .. ),but i want to cut this grill from the backglass. So the remaining part ( the actual picture ) can be stretched
to fit the screen , like the nonDMD backglasses ( sorcerer ... ) If this could be done ... whoooww

Hello mistermixer,
yes, this will be possible, but should be possible already now. I'm running the AFM B2S table at my cab without the grill. This backglasses are compiled with and without the grill in one EXE file. Please open the B2S-ScreenResEditor. Look at the values you have entered for 'LED Display X Offset' and 'LED Display Y Offset'. When you have entered the value 0 in both fields you will get the backglass with grill and maybe with a B2S DMD centered in this grill (i.e. in Funhouse). When you have entered other values than 0 you get the backglass without grill and with a B2s DMD located to this point. As AFM and Scared Stiff are B2S tables without a special B2S DMD but with the standard DMD you vary with these both fields the grill visibilty.

Edited by Herweh, 16 October 2012 - 10:54 PM.

herwehb2s-avatar-jr-100.pngbreakshot-sig-small3.pngatlantis-sig-small.pngmousinaround-sig6.pngsc-badge1.pnglw-sig.pngembryon-logo0.pngladyluck.pngapollo13_badge3.pngwhirlwind_badge.png