Author Topic: Announcing VPEdit  (Read 10438 times)

0 Members and 1 Guest are viewing this topic.

Offline ssmit132

  • 210
  • Also known as "Typhlomence"
    • Steam
    • Twitter
He's invented a time travel program!  :p :lol:

 

Offline maxim4o

  • 25
Ops now, I forgot to set the time :D
Actually I can't figure out how exactly to produce Unix time?   :lol:

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
when opening huge vp files such us the new media vps, the program takes a long time to open, that's the only thing I've noticed so far.
el hombre vicio...

 

Offline maxim4o

  • 25
Yes that is because it unpacks the entire VP file into the work directory.
I have to think of a way to minimize the performance impact though.

 

Offline maxim4o

  • 25
VPEdit 0.13 is ready
-a context menu is added for the tree list
-read-only VPs can be imported, too
-entries get correct timestamps when VP is extracted(at least I think so :D)
-Extract directory renamed to Extract all
-Better handling of some errors

I have added a version without installation too, you can try if it works on Linux :)
Remember, you need to install Mono on Linux first(and do not set file associations)

[attachment stolen by Slimey Goober]

 

Offline Water

  • 210
Found another crash. In the tabs if you select close all except this tab you get

************** Exception Text **************
System.IO.IOException: The directory is not empty.

May be clearer to rename close file to close tab and export all to export tab  :nervous:


When closing a tab that had saved a new vp I got this.

************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\FreeSpace2\a\1'.


This app *can delete* the directories used in the setup phase. (on some crashes) I wasn't 100% sure before due to testing it late. You may want to take creation of those directories out of the users hands. It will recreate them but any other data in them is gone.

 

Offline maxim4o

  • 25
Happy New Year by the way!

It crashes this way because it(for now) tries to delete the entire directory, and if the directory is opened in Explorer or some other program... you know what happens :D
That's why the program is still 0.1x, because it's pretty unstable... I hope some work will bring it closer to Maja...

 

Offline Water

  • 210
Happy New Year by the way!
Cheers  ;)

The thing is, you are asking people to choose two directories. So one of my choices the day before was C:\FreeSpace2  ;)    Some people here may have a minor problem with this  :p

That's why I'm wondering why the directories are a user choice. Shouldn't the software create it's own working directories leaving a users data safe. If someone set their mod directory as a path, with no real backup it could be a bit more than a minor issue.

 

Offline maxim4o

  • 25
Lol I have never thought of that.
Reminds me of a CD burning program that had an option "Delete files' folder after burning".
If you selected that option and added something directly from C:...
I gets fun! :D

I will make the folders not be deleted entirely, but just emptied of their contents.
This will fix many bugs I hope.

Any suggestion about the "hard-coded" temporary folders?
It should be something the user isn't going to create in the VPEdit directory... this way his info might be overwritten!

 

Offline Water

  • 210
A user won't be messing about in the VPEdit directory. Keep your software seperate from the data. If it is in Program Files then there are two ways to use it. Either from the start menu or from association with a vp.

Keep the working directory in the VPEdit directory. You will either be importing files mostly from a data\* directory to create vp's or as a viewer/extractor for vp's

Do you really need the backup directory? How do you use the current backup folder? When saving a vp with the same name you get the standard do you want to replace? dialog box

 

Offline maxim4o

  • 25
For now the backup directory saves only the currently edited file, so it can be quickly restored to the original one.
However in that version I am adding a new option.
In when extracting a VP another VP is overwritten, if VPEdit crashes both VPs are gone.
Now there is an option to move the overwritten VP file to the backup directory, so it will be safe there, and even if the program crashes, the VP file will still be in that backup folder.
Additionally, VPEdit now notifies the user when the backup directory isn't empty, and asks if it should be emptied.

 

Offline Water

  • 210
Why not rename the old one to file.bak write the new one, when that completes delete file.bak

 

Offline maxim4o

  • 25
Well I guess I can remove the backup directory...

 

Offline maxim4o

  • 25
VPEdit 0.14 is ready

-the backup directory is gone
-directories are now emptied, not deleted entirely
-a new About box
-optional backup for overwritten files during export
-the working directory is no longer chosen by the user - however it can be changed by editing the config2.txt file in the VPEdit folder

Enjoy! (I have added a noinstall version, too, hope it works on Linux)


[attachment stolen by Slimey Goober]

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
I get an access error every time I try to import any VP, I checked the maindump folder and edited it so it's r/w able but it still crashes.
Is there an error log where I can get the message from? it's quite large to type directly.

might as well want to disable the export button if the explored vp contains no files.
el hombre vicio...

 

Offline maxim4o

  • 25
@Rodo
Did the program ask you about new first-start settings?
You can try to open config2.txt in the program folder and post it here.
By the way I-ve found a bug by myself - the Backup option isn't saved in the config file except the first time the config file is made.
« Last Edit: January 01, 2009, 09:10:33 am by maxim4o »

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
@Rodo
Did the program ask you about new first-start settings?
You can try to open config2.txt in the program folder and post it here.
By the way I-ve found a bug by myself - the Backup option isn't saved in the config file except the first time the config file is made.
It did asked if I wanted to make back ups and if I wanted to make VPEdit as the default .vp tool, I checked both.
the config file seems to be congruent with my earlier choice.
el hombre vicio...

 

Offline maxim4o

  • 25
That's good.
Can you post only the exception text(it's usually only one row).
It should say something like System.xxx.xxx.xxxException.

 

Offline Tinman

  • 27
  • Released: WCS mini campaign
I tested VPEdit_0_1_4 on MacOS X and Mono2.0.
Is is importing a vp-file but I get this files in the parent folder -> see PNG

so I think the file-management is windows only and it will most likely run with the same issues under Linux

[attachment stolen by Slimey Goober]

  

Offline maxim4o

  • 25
Well anyway it is good that it runs.
I will try to improve the file management.
By the way what is the directory separator on OSX?