Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Tools => Topic started by: m!m on March 04, 2013, 05:25:53 am
-
Hello everyone,
I hereby present you a little project of mine, a new VP viewer and editor.
Features:
- Fast VP opening
- Opening entries with the default application
- Editing the VP structure
- Auto-update (can be disabled)
- Drag and Drop support
- Navigable browser-like history, use mouse buttons 4 and 5
Requirements:
- .Net Framework Version 4.5, that means only Windows Vista or later is supported
Sadly no other platform is supported
Download here (https://asarium.github.io/vpgui/update/setup.exe)
The source is available on github (https://github.com/asarium/vpgui). If possible please add issues with the application there so I can manage them better.
Changelog:
Version 0.3.1:
- Added drag to explorer feature
Version 0.3.0.4:
- Directories can now be created
Version 0.3.0.3:
- Added temporary path customization
Version 0.3:
Screenshots (these are taken using the default theme):
Blank starting screen
(http://img705.imageshack.us/img705/5307/blankg.png)
Opened Root_fs2.vp
(http://img834.imageshack.us/img834/1029/rootfs2.png)
Folder structure changed
(http://img853.imageshack.us/img853/6315/changesm.png)
Special Thanks
- I thank achtung for providing me a place to host the files for this project
- Thanks to BlasterNT for providing a beautiful icon for the application
-
- Drag and Drop support (sadly dragging items to the explorer does not work)
Damn! But I like the prospect of not having to extract files to open them up ! :yes:
-
I'd really like to add that feature but it seems to be a non-trivial task to do so and I didn't want to hold off release just for that feature. I'll see if I can add it.
-
hey cool stuff :yes:
-
Small update released, you can now specify the temporary directory the application will use. Specify this on the options page with the extraction location drop down list.
-
New version! I managed to implement full drag and drop support for windows explorer.
-
New version! I managed to implement full drag and drop support for windows explorer.
:BISON YES!!:
-
I'd take a look at this myself if not for the Vista-and-above restriction, but it looks like good work. :yes:
-
It may be possible to change the .Net framework version to 4.0 which includes Windows XP support but I'm not entirely sure if that's possible given that I'm using features from the newest version.
-
So much WIN! right here!
-
This is fantastic work.
-
I saw the Screenshots and thought "Why did he bother writing this ugly ui skin?" Then I remembered this is what Win8 looks like :banghead:
-
Those screenshots were actually taken on Windows 7.
-
Yeah its still the Win8 style like vs12 tho
-
Yes, that's right. I thought you meant that it looks like that because it's run on Windows 8.
-
Any plans to make this work offline? It throws an exception at me if it can't download an update.
-
That is not intended, I'll take a look at it.
EDIT: Should be fixed now.
-
Haha, "Always On DRM"
-
awesome, thanks. also, do you need an icon?
-
Sure, an icon would be great.
-
In keeping with the metro-ness, how about
(https://dl.dropboxusercontent.com/u/215663/EMP%20Transfer/VPGUI/VPGUI2.png) ?
http://sdrv.ms/YYU0bC
-
In keeping with the metro-ness, how about
(https://dl.dropboxusercontent.com/u/215663/EMP%20Transfer/VPGUI/VPGUI2.png) ?
http://sdrv.ms/YYU0bC
ALL MY YES
That is absolutely gorgeous and befitting of the file type.
-
Thank is fantastic! :yes: I updated the application to include the new icon.
-
Hmm, so I'm playing with it a bit more, and it looks like the click-to-run is being quite the hassle. For one, that means the app icon in the start menu has no icon, and it also means I have to dig for the really really obscure (C:\Users\Chen Ye\AppData\Local\Apps\2.0\6NTTJ20Q.HA9\OBTPONOM.ZV2\vpgu..tion_0000000000000000_0000.0003_caef5661a7f34f77 orly) click to run application path in order to associate .vps with the app. No idea how you'd alleviate this without breaking the autoupdate though.
-
Hmm, I never had a problem with the deployment process. Uninstalling (via the standard Windows software dialog) it and reinstalling it could solve that though. The application will also create a shortcut in the Start menu so you don't have to dig though your files to find it.
-
Nice :) I have a question, how did you make so nice UI? :)
I see you're using C#, is it WPF or just Windows Forms? Or maybe you did write it alone? :)
-
It's using WPF for the UI which is also a reason why this application is not available for other platforms than Windows.
-
Hmmm can't extract with this, tried extracting from the root.vp and got "Open Error: The filename, directory name, or volume label syntax is incorrect."
-
The error does not occur on my side. Is the path you try to extract to a special path or something protected like Program Files? The application is not run as an administrator which may cause trouble in some special cases.
-
It's using WPF for the UI which is also a reason why this application is not available for other platforms than Windows.
Nice! Did you use any tutorial on creating that beautiful UI or just your own skills? ;)
-
Well, I needed a lot of tutorials to get used to WPF and also C#/.NET. The UI mostly just used the features of the "Metro"-framework provided but is mostly nothing else than a simple version of most file system applications with a tree and directory list.
-
Why when I'm trying to save a modified VP File it gives me an error that this .vp file is already used by another process? I have all programs closed, only VPGui opened.
-
Since the installer no longer works (it requires FSMods), I compiled a build.
http://www.mediafire.com/file/czbkwhuyj3u9ycd/VPGUI.7z
-
I fixed the download system by moving the files over to GitHub. Here is the new link: https://asarium.github.io/vpgui/update/setup.exe
You probably need to uninstall the old version since the new version uses another URL for detecting updates so it won't update automatically. Apart from the new hosting location there are no further changes in the new build.
-
Having the same problem as bckq.
-
I've mirrored the new setup file on fsfiles: https://sectorgame.com/fsfiles/uploads/Resources%20and%20Tools/Tools/VP%20Viewers/setup_vpgui.exe
-
I'm also having the same problem as bcKq and Asteroth. It just gives me a write error saying that the VP I'm trying to save is open in another process. If anyone could look into this, it would be appreciated.
-
That happened to me, and I think I had the same VP open in another window already.
-
AFAIK VPGUI does not close and remain in the memory, even if you click on "Close". So check if there is still another VPGUI.exe process in the Task Manager.
-
Are you perhaps thinking of VPMage? I've never seen that happen with VPGUI.
-
:bump:
In case you're still fixing issues with VPGUI, the app encountered an exception when I tried to open PImain.vp in any version of The Procyon Insurgency installed via Knossos.
System.Windows.Markup.XamlParseException: 'Provide value on 'System.Windows.Markup.StaticResourceHolder' threw an exception.' Line number '4' and line position '6'. ---> System.Exception: Cannot find resource named 'appbar_error'. Resource names are case sensitive.
at System.Windows.StaticResourceExtension.ProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference)
at System.Windows.StaticResourceExtension.ProvideValue(IServiceProvider serviceProvider)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
--- End of inner exception stack trace ---
at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)
at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlObjectWriter objectWriter)
at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
at System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren)
at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
at System.Windows.FrameworkElement.ApplyTemplate()
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint)
at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
The app also shows the following additional messages on a sidebar to the right that I've never seen before:
Reading the VP-File generated some messages:
Couldn't add directory "sounds": Item already exists.
Couldn't add directory "voice": Item already exists.
By the way, "information" is an uncountable noun, so it's almost always referred to as one item, even if it actually consists of multiple pieces.