Author Topic: Announcing VPEdit  (Read 10435 times)

0 Members and 1 Guest are viewing this topic.

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
System.unauthorizedAccessException: Access to the path 'C:\VPedit\maintemp' is denied.
Already checked changing the properties of the folder and putting it into read and write enabled but it keeps coming back to read-only, I'm guessing is that what's bugging the program.
el hombre vicio...

 

Offline Tinman

  • 27
  • Released: WCS mini campaign
Well anyway it is good that it runs.

Indeed.  :yes:

Quote
By the way what is the directory separator on OSX?

Downloads/VPEdit/VPEdit.exe, so /, same as on Linux I think

 

Offline Water

  • 210
Some of the FSPort vp's crash VPEdit.

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'C:\VPEdit\maintemp' is denied.

Maja reports
Note: Imported VP lacked ending backdirs

http://fsport.freespacemods.net/releases/fsport-hi_res.zip fsport-hi_res.zip is the smallest zip I could find - 6Mb

 

Offline maxim4o

  • 25
I got to make it able to open VP files with little defects...
I am not able to open some Babylon Project files too.

 

Offline maxim4o

  • 25
VPEdit 0.15 is ready, it is a small release
-directory separators are no-longer hardcoded, the program should work well on other OS-es now
-when setting the backup option from the menu entry in VPEdit the change is saved in the configuration file
-packages with corrupted dirs, backdirs, and nameless files should be opened flawlessly now, the program gives a report of the errors after import is finished

Enjoy :)
noinstall version is added again

[attachment stolen by Slimey Goober]

 

Offline Water

  • 210
It handled all the vp's without problem.  ;)

The warnings on some of the packages may be a bit strong. For a zip file when I see the word corrupt it usually can't be opened. Maja's way of describing the problems is a bit more restrained     Note: Imported VP lacked ending backdirs -    Basically a small technical error rather than should I trust any of the data in the corrupt vp.


If you start a new project and import a maps directory, (forgot data) Then create a new dir and rename to data, and then drag maps onto data.
When you export the vp, you end up with

--data-------->maps
--maps

The other option would be to place any imported directory (except data) in data

 

Offline maxim4o

  • 25
Yes will check that problem.

 

Offline maxim4o

  • 25
VPEdit 0.16 is ready - only drag-and-drop improvements here
-drag-and-drop bugs reported by Water should be fixed
-drag-and-drop between tabs
-not so strong warning on package damage

Enjoy!

[attachment stolen by Slimey Goober]

 

Offline Tinman

  • 27
  • Released: WCS mini campaign
VPEdit 0.16 is ready [...]
-not so strong warning on package damage
Enjoy!

Impressive! Works well on MacOS X, too.  :yes:

Small typo in the "damaged VP" info   :)

 

Offline maxim4o

  • 25
Quote
Impressive! Works well on MacOS X, too. 
Great! I got to VPEdit as good as possible overall, because after 2 days school begins :(   :mad:
By the way, did anybody test it on Linux(I think that if it runs under MacOS X, it will run on Linux too)

I will work on the typo too :D

Any suggestions for 0.17?
« Last Edit: January 02, 2009, 09:53:30 am by maxim4o »

 

Offline Water

  • 210
Minor install bug.  ;)
Wants to make work directory R/W, tries and fails. (doesn't exist yet)
Once the program is launched it creates the work directory

Another crash

************** Exception Text **************
System.IO.IOException: Source and destination path must be different.

New project
import map directory
import model directory
create new directory
Drag both onto new directory
Rename new directory to data
Since it's still called New Folder - rename again - then it crashes.


Suggestions: Add the first two icon tasks to the import menu eg.
Import Files(s)
Import Directory

Would it be possible to add another two items - Export File(s) and Export Directory

If it could remember the last used import and export directories from the last session would be good.

 

Offline maxim4o

  • 25
So you renamed it and it still was New Folder?

 

Offline Water

  • 210
So you renamed it and it still was New Folder?
Yup. If you name it and drag the other folders onto it then  it's fine. But if you try rename it to data with folders inside it, the first time doesn't work. Second time crashes.

 

Offline maxim4o

  • 25
Yes, I figured it out it's because of the sorting...
I fixed, gonna add some other things and release.
I got a plan for dropping from the list to explorer directly, but it's not that easy...
I can't think how will I drop 2 different data types- one for the internal drag-drop and another for the external.

 

Offline Aardwolf

  • 211
  • Posts: 16,384
I can't think how will I drop 2 different data types- one for the internal drag-drop and another for the external.

What's the issue? I know a thing or two about Java (although I've never used the built in dnd classes), maybe I can help.

 

Offline maxim4o

  • 25
Well nice you want to help.
The issue is that I have to do two things when dragging and dropping an item from the tree list:
1. If the item is dropped into the same tree list or in a tree list in other program tab, moving the item must be done
2. If the item is dropped outside the program, copying must be done

I can now either do internal dropping or do external dropping. But not both,
because the DataFormat for dropping a item in the tree list is absolutely different from the DataFormat for dropping the item in Explorer, for example.
I can't carry two DataFormats with one drag-drop. I can change the DataFormat that is used for the tree list, but how can I identify where the item is dropped - outside or inside - there are no notifiers...

 

Offline maxim4o

  • 25
VPEdit 0.17 is ready
-added Import directory, Import files, Export selected directory, and Export files from selected directory in the menu
-Renaming bug should be fixed
-new icon added(the previous was really unhealthy for the eyes :D)
-the Export entries now refuse to export if there are no files in the selected tab

Enjoy!

[attachment stolen by Slimey Goober]

 

Offline Water

  • 210
The drag and drop seems to be ok. Get a minor error about lack of directories on open (after renaming a non empty data) If I do it properly it's fine. (create data and then drag stuff on to it)

Crash on exit - Caused by viewing item in external application. eg. PCS2, Infranview

VPEdit will then crash on each attempted start until the external application has been closed. (maintemp not empty)

************** Exception Text **************
System.IO.IOException: The process cannot access the file 'C:\VPEdit\maintemp\1\data\maps' because it is being used by another process.


I hope these ones are minor  :nervous:

Crash exporting single file

************** Exception Text **************
System.IO.IOException: The filename, directory name, or volume label syntax is incorrect.


Crash on exporting directory

************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\FreeSpace2\TVWP\data\intelanims\JC.ani'.



 

Offline maxim4o

  • 25
Yummy so many bugs :)
For the crash on exit - the external application opens the file from the external directory.  If a file is used the directory cannot be emptied(which happens after closing).
After that, at startup, it tries to empty the folder again, but if a file in it is used, it fails again.

Quote
Get a minor error about lack of directories on open (after renaming a non empty data) If I do it properly it's fine. (create data and then drag stuff on to it)
Hmm, I couldn't understand that?

Yes, the others are minor, it's a new functionality :D... Do errors occur with them all the time? Because they mostly work on my PC.


  

Offline Water

  • 210
Yummy so many bugs :)
Yes, the others are minor, it's a new functionality :D... Do errors occur with them all the time? Because they mostly work on my PC.
The export directory problem - I have managed to get it to work a couple of times. But couldn't figure why it worked those times.

The export file problem- crash every time.

Quote
Get a minor error about lack of directories on open (after renaming a non empty data) If I do it properly it's fine. (create data and then drag stuff on to it)
Hmm, I couldn't understand that?
New project
import map directory
import model directory
create new directory
Drag both onto new directory
Rename new directory to data (renaming and crash bug gone  ;) )
Export vp
open vp by association
Gives warning about lack of directories