Jump to content
Sign in to follow this  
Spektre

Visual Pinball File Format

Recommended Posts

If you have 7-zip, you can open a .vpt file by right clicking it. Then go to 7-zip and Open archive. You will see in the archive two folders called TableInfo and GameStg. Double click GameStg and scroll down and right click GameData and pick Edit. You can see all the script there.

 

7-zip says that the archive is a compound file, so if you find out how to create a program that can make a compound file you might be able to make your program.

 

Here is a project on sourceforge.

http://sourceforge.net/projects/openmcdf/files/Sample%20Compound%20File%20Viewer/

 

You could probably also rip the source code from VP too.

Share this post


Link to post
Share on other sites

Definitely suggest using the VP code as a starting point.   It's based on Microsoft's IStorage interface.    You definitely don't want to try and reverse engineer that mess if you don't have to.  :)

 

http://msdn.microsoft.com/en-us/library/windows/desktop/aa380015%28v=vs.85%29.aspx

http://winapi.freetechsecrets.com/ole/OLEIStorage.htm

Share this post


Link to post
Share on other sites

If you have 7-zip, you can open a .vpt file by right clicking it. Then go to 7-zip and Open archive. You will see in the archive two folders called TableInfo and GameStg. Double click GameStg and scroll down and right click GameData and pick Edit. You can see all the script there.

 

7-zip says that the archive is a compound file, so if you find out how to create a program that can make a compound file you might be able to make your program.

 

Here is a project on sourceforge.

http://sourceforge.net/projects/openmcdf/files/Sample%20Compound%20File%20Viewer/

 

You could probably also rip the source code from VP too.

 

Funny this. I actually tried the compound viewer a few days ago. It can save, but obviously the tables end up corrupted.

 

Still the best way to inject a script is by loading with autohotkey and replacing it on load unfortunatley, but it does the job.

Share this post


Link to post
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

Sign in to follow this  

×