Jump to content



Photo
- - - - -

vp9 crashes


  • Please log in to reply
32 replies to this topic

#21 Itchigo

Itchigo

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,765 posts
  • Location:Chicago, Illinois

  • Flag: United States of America

  • Favorite Pinball: All




  • Trophies:

Posted 29 November 2010 - 10:38 PM

QUOTE (destruk @ Nov 24 2010, 09:03 PM) <{POST_SNAPBACK}>
Does the uploaded 9.09 here say it accepts PNG file formats? Or do you mean it crashes for you on the latest build with all the fixins?


Latest build, crashes during editing or playing randomly. I installed 9.09 and 8.1.1 on a new laptop. Also vp8 games open in vp9 editor.

I was in the wrong thread sorry.. Having the same problem though.

Edited by Itchigo, 29 November 2010 - 10:45 PM.

Founder of Rogue Pinball! https://roguepinball.com/index.php                 Making Pinball great again!!

 

partylikeits1776-.jpg


#22 sleepy

sleepy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 705 posts

  • Flag: United States of America

  • Favorite Pinball: Tiny Tim and The Ghost of Christmas Present

Posted 17 December 2010 - 10:37 AM

Sheesh! I lost track of this thread.

Destruk, the VP 9.09 Image Manager lists .png in the "Files of type" window for file formats on the Import screen, so should I assume that .png is not available in VP after all?.

#23 destruk

destruk

    VPF Veteran

  • VPF Staff
  • 6,338 posts
  • Location:Colorado Springs, CO

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 17 December 2010 - 01:46 PM

Cupid has been working on adding PNG support with alpha blending. I always saw the dropdown box say Bitmap and JPG files - which would be bmp and jpg extensions, and didn't notice there was a png extension in the field at the end.
It should be working soon, however, it was an oversight that it was listed in all the VP9 revisions that don't support PNG file types. Sorry.

Build a fire, vipers love the heat.


#24 sleepy

sleepy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 705 posts

  • Flag: United States of America

  • Favorite Pinball: Tiny Tim and The Ghost of Christmas Present

Posted 17 December 2010 - 02:52 PM

No need to apologize. Alpha blending sounds like a great thing to have.
But I did encounter a crash in the scintilla script engine this morning when I entered some buggy code with box brackets. The thing to note is that the error message (see picture) indicates that the scintilla engine in VP909 still points to somebody's drive D:\...gdk\src, followed by a VB6 Runtime error message, that either the runtime or program made "an unusual request". I've forgotten which.

Shouldn't that path be removed, or liquified?



I was toying with the VPinMame object and used this incredibly stupid line at the time:
CODE
Controller.ShowPathesDialog([hParentWnd as 1])

Edited by sleepy, 17 December 2010 - 02:53 PM.


#25 cupid

cupid

    Enthusiast

  • VP Dev Team
  • PipPipPip
  • 496 posts

  • Flag: Germany

  • Favorite Pinball: Dr Who

Posted 17 December 2010 - 04:33 PM

QUOTE (sleepy @ Dec 17 2010, 03:52 PM) <{POST_SNAPBACK}>
No need to apologize. Alpha blending sounds like a great thing to have.
But I did encounter a crash in the scintilla script engine this morning when I entered some buggy code with box brackets. The thing to note is that the error message (see picture) indicates that the scintilla engine in VP909 still points to somebody's drive D:\...gdk\src, followed by a VB6 Runtime error message, that either the runtime or program made "an unusual request". I've forgotten which.

Shouldn't that path be removed, or liquified?



I was toying with the VPinMame object and used this incredibly stupid line at the time:
CODE
Controller.ShowPathesDialog([hParentWnd as 1])


You can load PNGs and Alpha blend at least ramps in the latest Build. But Yes: i have also seen PNG in one of the file requesters and wondered... So that Bug is already fixed.

I think that randy started to implement PNGs (a stub of a library for different file formats was in the code), but i don't think that other file formats like jpg and bmp were supported yet.

That path seems to be in the scintilla part, that is used by vpinball. We should update the scintilla engine in the future. I have not yet looked at the scintilla part of VP yet... has anybody checked if an update is possible?


The world is devided into people who think they are right.

#26 sleepy

sleepy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 705 posts

  • Flag: United States of America

  • Favorite Pinball: Tiny Tim and The Ghost of Christmas Present

Posted 17 December 2010 - 06:34 PM

QUOTE
You can load PNGs and Alpha blend at least ramps in the latest Build.


You mean in ver. 9.09?
Because that's the version that crashes here when I try to import a .png in the Image Manager.
I get an "Unknown Image Type" error message and then VP just closes.

If there is a newer version, then is it on the VP sourceforge dev site?

Edited by sleepy, 17 December 2010 - 06:37 PM.


#27 cupid

cupid

    Enthusiast

  • VP Dev Team
  • PipPipPip
  • 496 posts

  • Flag: Germany

  • Favorite Pinball: Dr Who

Posted 17 December 2010 - 06:46 PM

QUOTE (sleepy @ Dec 17 2010, 07:34 PM) <{POST_SNAPBACK}>
QUOTE
You can load PNGs and Alpha blend at least ramps in the latest Build.


You mean in ver. 9.09?
Because that's the version that crashes here when I try to import a .png in the Image Manager.
I get an "Unknown Image Type" error message and then VP just closes.

If there is a newer version, then is it on the VP sourceforge dev site?


No, not released yet. And just programmed last week. The sources are up to date if you want to compile your own build.

Noah is testing it and let's see what he finds out. I believe that decals are still buggy with alpha blend... But let's see what he says.
The world is devided into people who think they are right.

#28 tipoto

tipoto

    Enthusiast

  • VIP
  • 296 posts
  • Location:Los Angeles

  • Flag: France

  • Favorite Pinball: Elvira and the Party Monsters ; Terminator 2

Posted 18 December 2010 - 10:46 PM

QUOTE (cupid @ Dec 17 2010, 10:46 AM) <{POST_SNAPBACK}>
QUOTE (sleepy @ Dec 17 2010, 07:34 PM) <{POST_SNAPBACK}>
QUOTE
You can load PNGs and Alpha blend at least ramps in the latest Build.


You mean in ver. 9.09?
Because that's the version that crashes here when I try to import a .png in the Image Manager.
I get an "Unknown Image Type" error message and then VP just closes.

If there is a newer version, then is it on the VP sourceforge dev site?


No, not released yet. And just programmed last week. The sources are up to date if you want to compile your own build.

Noah is testing it and let's see what he finds out. I believe that decals are still buggy with alpha blend... But let's see what he says.


Just to make sure... Does it mean that we will be able to use alpha channels soon? And use the transparence with gradients?

If it’s the case, it’s going to be a huge improvement!!! smile.gif


#29 cupid

cupid

    Enthusiast

  • VP Dev Team
  • PipPipPip
  • 496 posts

  • Flag: Germany

  • Favorite Pinball: Dr Who

Posted 19 December 2010 - 10:29 AM

QUOTE (tipoto @ Dec 18 2010, 11:46 PM) <{POST_SNAPBACK}>
Just to make sure... Does it mean that we will be able to use alpha channels soon? And use the transparence with gradients?

If it’s the case, it’s going to be a huge improvement!!! smile.gif


Yes, if there are no bugs, you'll be able to upload png's with alpha channels and use it on ramps. Existing Tables won't be changed. I hope that it works well.
The world is devided into people who think they are right.

#30 gStAv

gStAv

    Pinball Lover

  • Members
  • PipPipPipPip
  • 1,331 posts

  • Flag: Sweden

  • Favorite Pinball: TOM, IJ, AFM, WC94

Posted 19 December 2010 - 08:25 PM

That sounds like great news.
So IF it works we will again have "true" transperecy in vp!? yahoo.gif

3rs054-6.png


#31 tipoto

tipoto

    Enthusiast

  • VIP
  • 296 posts
  • Location:Los Angeles

  • Flag: France

  • Favorite Pinball: Elvira and the Party Monsters ; Terminator 2

Posted 19 December 2010 - 10:52 PM

QUOTE (cupid @ Dec 19 2010, 02:29 AM) <{POST_SNAPBACK}>
QUOTE (tipoto @ Dec 18 2010, 11:46 PM) <{POST_SNAPBACK}>
Just to make sure... Does it mean that we will be able to use alpha channels soon? And use the transparence with gradients?

If it’s the case, it’s going to be a huge improvement!!! smile.gif


Yes, if there are no bugs, you'll be able to upload png's with alpha channels and use it on ramps. Existing Tables won't be changed. I hope that it works well.


Awesome!!!
Do you have any idea when it supposed to be released? (More or less)

By the way, I’m no longer using the version 9.09 since I noted some issues and a different feeling about the physic. For example with Elvira and the party monsters the left ramp doesn’t work, I guess it’s because this version doesn’t allow the ball to go off-screen... Also the flippers react strangely, I have to use them differently than what I do with version 9.08. So I’m still using v9.08.

Thanks!


#32 sleepy

sleepy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 705 posts

  • Flag: United States of America

  • Favorite Pinball: Tiny Tim and The Ghost of Christmas Present

Posted 06 January 2011 - 07:34 AM

I've been playing with VP909 and the Insert > ActiveX Control, but when I save the table, then reopen it, it crashes and the table file is apparently lost.
To duplicate this error:

Open a New Table.
On the Options menu click Backglass
At the top of the Editor, click Insert > ActiveX Control.
Click on the Backglass to place the Object.
In the menu that then appears, select
Microsoft Rich Textbox Control Version 6.0, then click O.K.
In the Options menu for ActiveX1, set the Control's X and Y positions and make sure it is centered in the Backglass view, or at least in sight.
Click Play and make sure that you can see the RichTextBox in all of its glory. Exit the Player.
Save the table and close Visual Pinball 909.
Reopen Visual Pinball and load the saved table.

The fill bar goes to three-quarters full, then Visual Pinball encounteres an error and must close.

What I noticed is that when I open VP909.exe as a File in the Visual Basic Express' Object Browser, looking at VBATestlib, the ActiveX Object is listed instead as a ComControl object.

Now, is the table file crashing because the ActiveX1 Object lib files are expected to be Embedded in the saved .vpt file and they are not in the saved file, or does it crash because the Object name (ActiveX1) does not match the name in the VBATestlib (ComControl, with or without an enumeration)? I have tried renaming the ActiveX1 Object that is created from the Insert menu to ComControl1, but either name makes no difference to the saved table crash error.

Maybe it's my bad luck?

Edited by sleepy, 06 January 2011 - 07:39 AM.


#33 sleepy

sleepy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 705 posts

  • Flag: United States of America

  • Favorite Pinball: Tiny Tim and The Ghost of Christmas Present

Posted 06 January 2011 - 07:56 AM

Just a note about ActiveX Controls.
While the table is still open, the Controls work more or less, but apparently without full access to all of the Object's Methods/parameters.
For instance, the ActiveX1.ForeColor = WindowText method for setting the Font color which is available in VBasic returns an error in VP. Maybe it takes a different syntax?

EDIT: I've tried this method using a direct statement in Sub Table1_Init() and then tried it using a With/End With statement with no luck.
DOUBLE EDIT: And the one method that I am most interested in that I'm having trouble getting to work is
ActiveX1.Visible = True/False.
Very useful when using a large RichTextBox for a display because it will stay on top like an overlay.

Edited by sleepy, 06 January 2011 - 08:12 AM.