- View New Content
-
Getting Started
-
Tutorials
Tutorial Categories
Tutorials Main Page Installation and Setup Downloadable TutorialsROM Adjustments
Number of Balls Adjustments Volume Adjustments
-
Visual Pinball Tables
VP 8 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP 9 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP9 Cabinet Tables
All Full Screen Cabinet Full Screen B2S Cabinet Spanned Cabinet Tables Media Packs ROMsVPX Tables
All VPinMAME Recreations VPX- - /VPinMAME - MOD Tables VPX Recreations VPX Originals Media Packs ROMs VR
-
Frontend Media & Backglass
Media Packs
Complete Media Packs Wheel Logos VideosBackglasses
dB2S Animated Backglasses UVP Animated Backglasses Topper Images
- Future Pinball Tables
-
Design Resources
Main Resources
Table Templates Playfield Images Image Library Sound Library Key CodesVP Guides
VP8 Guide - English VP8 Guide - Deutsch VP9 Guide - English VP9.1.x Guide - English VP Object Guide VPM DocumentationFuture Pinball Resources
Playfield Images 3D Model LibraryFuture Pinball Guides
FP Script Guide Big Draco Script Guide FP Table Design Guide FP DMD Guide
- Other Features
- Bug Tracker
- Image Gallery
- Blogs
-
More
Executing an app from FP
Started By
BarryS
, Oct 25 2010 07:55 PM
15 replies to this topic
#2
Posted 26 October 2010 - 12:11 PM
QUOTE (BarryS @ Oct 25 2010, 09:55 PM) <{POST_SNAPBACK}>
Is it possible to have FP launch an external app (say foo.exe) from the initialization script?
There is thread at gopinball about creation of external objects outside the script. I've already tested CreateObject method and failed with standard windows, or custom objects. It seems that the script has no permission to do that.
Executing just exe is even more complicated thing and VB doesn't support that with any command (it could be realized by external object created by CreateObject).
Sebek74
Visit http://futurepinball.mm.com.pl/ for my tables download: Ignition, Beat-Box, Nightmare, Billion Dollar Gameshow, Wild West
http://futurepinball...om.pl/Gfx2DmdF/ for Gfx2DmdF font conversion
http://picasaweb.google.com/sebek74 - personal photo gallery
Visit http://futurepinball.mm.com.pl/ for my tables download: Ignition, Beat-Box, Nightmare, Billion Dollar Gameshow, Wild West
http://futurepinball...om.pl/Gfx2DmdF/ for Gfx2DmdF font conversion
http://picasaweb.google.com/sebek74 - personal photo gallery
#3
Posted 26 October 2010 - 01:41 PM
QUOTE (Sebek74 @ Oct 26 2010, 05:11 AM) <{POST_SNAPBACK}>
QUOTE (BarryS @ Oct 25 2010, 09:55 PM) <{POST_SNAPBACK}>
Is it possible to have FP launch an external app (say foo.exe) from the initialization script?
There is thread at gopinball about creation of external objects outside the script. I've already tested CreateObject method and failed with standard windows, or custom objects. It seems that the script has no permission to do that.
Executing just exe is even more complicated thing and VB doesn't support that with any command (it could be realized by external object created by CreateObject).
Yeah, I tried that with no success...
#4
Posted 26 October 2010 - 05:59 PM
QUOTE (BarryS @ Oct 26 2010, 03:41 PM) <{POST_SNAPBACK}>
QUOTE (Sebek74 @ Oct 26 2010, 05:11 AM) <{POST_SNAPBACK}>
QUOTE (BarryS @ Oct 25 2010, 09:55 PM) <{POST_SNAPBACK}>
Is it possible to have FP launch an external app (say foo.exe) from the initialization script?
There is thread at gopinball about creation of external objects outside the script. I've already tested CreateObject method and failed with standard windows, or custom objects. It seems that the script has no permission to do that.
Executing just exe is even more complicated thing and VB doesn't support that with any command (it could be realized by external object created by CreateObject).
Yeah, I tried that with no success...
I referred to global high scores idea thread. I believe further tries are pointless.
The only idea I still have is that Black added reference to some object in script that is not documented (and can be used for some useful purposes). If you know anything about script engine processing: script can be extended from ouside by some objects that you can refere by name. I assume that for every on table object one interface is added so you can call it's methods directly. The same method is used for adding Request/Response/Server to ASP script processor.
I'm presenting below my idea of global highscore system. As I said it cannot be realized until external object creation is not allowed.
Edited by Sebek74, 27 October 2010 - 07:40 AM.
Sebek74
Visit http://futurepinball.mm.com.pl/ for my tables download: Ignition, Beat-Box, Nightmare, Billion Dollar Gameshow, Wild West
http://futurepinball...om.pl/Gfx2DmdF/ for Gfx2DmdF font conversion
http://picasaweb.google.com/sebek74 - personal photo gallery
Visit http://futurepinball.mm.com.pl/ for my tables download: Ignition, Beat-Box, Nightmare, Billion Dollar Gameshow, Wild West
http://futurepinball...om.pl/Gfx2DmdF/ for Gfx2DmdF font conversion
http://picasaweb.google.com/sebek74 - personal photo gallery
#5
Posted 27 October 2010 - 06:45 PM
I believe that running ActiveX and COM objects was purposely blocked by Black due to vpinmame being hacked to FP without his permission at one point in the past. At least that is what I recall. So calling of outside objects will never work unless he has a change of heart.
#7
Posted 29 October 2010 - 03:09 PM
It may have turned into a rom thing, but I'm not 100% sure that was the sole originaltor being this limitation. I think I recall a chat conversation with Black from a long time ago that there was always the possibility someone could use the ability to execute external code into something malicious, so at least part of the original intent may have been a security thing. I could be wrong though; that really was a long time ago; I think not long after he did the jumpman game.
#9
Posted 29 October 2010 - 06:54 PM
QUOTE (The Loafer @ Oct 29 2010, 05:09 PM) <{POST_SNAPBACK}>
It may have turned into a rom thing, but I'm not 100% sure that was the sole originaltor being this limitation. I think I recall a chat conversation with Black from a long time ago that there was always the possibility someone could use the ability to execute external code into something malicious, so at least part of the original intent may have been a security thing. I could be wrong though; that really was a long time ago; I think not long after he did the jumpman game.
You are totally correct. Black thought that having the ability to create activeX object (or other type, it's not the point), is / was a major security hole.
Webmaster of FPRelease
#10
Posted 29 October 2010 - 07:32 PM
And just how many malicious, unsafe objects have been created and used with Visual Pinball? Name one. Just because you could open a wshell and execute format c: doesn't mean people would do this. But Black knows best - it's for your own good he says...and no, you won't be able to utilize 90% of possible external functionality until that is changed, or he adds custom support for what you want in a new exe.
Build a fire, vipers love the heat.
#12
Posted 30 October 2010 - 12:20 AM
In that case I think if he could prevent people from using copyrighted images and copyrighted sounds in Future Pinball, he would want to do that too. But that's just my POV. The short and skinny summary of this thread is - no, you can't access a highscore system on the internet with Future Pinball at this time - maybe the next version will add a solution, and it would probably want to synchronize the scores by the client pc specs since FP will play differently based on that.
Build a fire, vipers love the heat.
#14
Posted 31 October 2010 - 05:21 PM
QUOTE (BarryS @ Oct 31 2010, 03:04 AM) <{POST_SNAPBACK}>
I really did not mean for this to be a VP vs FP post.
You'll learn that on this particular forum, it's more or less always the same... specially when FP is the main topic.
Edited by TheNalex, 31 October 2010 - 05:22 PM.
Webmaster of FPRelease
#15
Posted 31 October 2010 - 06:44 PM
I don't see where this turned into VP vs FP.

You'll also learn that I have been handing out warnings to those flaming the FP community on this site. Let's not be so judgmental of 'the site' when I've put a lot of effort into setting up an FP section and making an entire community of 'FPugees' feel welcome.
You'll also learn that I have been handing out warnings to those flaming the FP community on this site. Let's not be so judgmental of 'the site' when I've put a lot of effort into setting up an FP section and making an entire community of 'FPugees' feel welcome.

My Photobucket Resources
Whether You Believe You Can, Or You Can't, You Are Right." - Henry Ford
The future of pinball lives, it just needs to be nurtured!
If you're here to stab me in the back, you're going to have to get in line.



Top






Contributor














are all trademarks of VPFORUMS.