Author Topic: RELEASE: Maja (VP Editor)  (Read 12908 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
RELEASE: Maja (VP Editor)
Screenshot

I've been working on this for awhile. It's Java-based, so it runs fairly seamlessly on Windows, Linux, and Mac OS X. The only functional difference is that there's a bug under Windows, which prevents Java from registering the right-click properly (I'm pretty sure this is easily fixable, unlike with wxWidgets).

Interface
At the top of the page are the tabs for the currently opened projects.

Each component window has five buttons. The first four allow you to choose what the component is. 1 is the files tree, 2 is the editor, 3 is the output component (Shows status, warning, and error messages), and 4 will be the list of all files that the current project depends on. "M" allows you to swap a smaller component with the large component on the right.

All components can be resized. (That's what the two little circles are - Mac OS X's way of telling you where to drag.)

The file/folder editor is fairly self-explanatory. You can import C/VPs as subdirectories, or entire folder trees, or just a batch of files into any directory. You can also export any directory or set of files. There's also a "Details" dialog, where you can dig up all the information about a VP entry that's stored in the project.

The editor supports text files as well as JPEG, PNG, BMP, WBMP, GIF, PCX, and (to some extent) TGA. You can't actually edit image files right now, though you can edit and save text files in the active project. I'm unclear on how feasible DDS support is. I've done some cursory searching and haven't been able to find any example source on decompressing DDS files. Sound support hasn't been started yet.

I've been considering redesigning the interface to use multiple windows. This has been a bit of a holdup for me. I'm pretty attached to the current design, because it's almost exactly what I planned since day one, but having multiple windows with only one component in each (No 1234 switching) seems like it would be much cleaner.

Under the hood
I've completely rewritten the VP loader I used for VPMage and Polonius, and been as careful as I could about writing VP files. Generally, it should either write a completely good VP file, or fail and erase the partial file with an error. (There are some special partial cases where it's unable to write a file, and will go on to write the rest of the file with a warning...but I think I'm going to remove that functionality)

Importing and exporting "package files" is done modularly. Adding new package types is pretty easy, mostly just a matter of deriving a new class and filling out the functions.

VP file support is complete. CVP read support is about 90% complete (But untested). Unfortunately, neither supports decryption of FS1-encrypted files at this point. Given that the algorithm is protected by licensing, it's unlikely that I'll end up including it in Maja.

I've done my best to keep the GUI separated from the underlying library, so a command line tool should be fairly straightforward to write.

One thing that's incomplete right now is better "Sync" and "disconnected" status support. Files that get removed are considered "disconnected", while files that are modified (outside of Maja) are considered to have gone out of sync. The interface doesn't have a good way of letting you reconnect moved files right now, for example.

Odds and ends

This is actually the program I've started going to whenever I need to consult a TBL file in a VP file. I haven't had to install VPView yet.

Click me for the release
« Last Edit: June 25, 2007, 12:26:08 am by WMCoolmon »
-C

 

Offline asyikarea51

  • 210
  • -__-||
Re: Maja (VP Editor) - Large screenshot
Quote
Odds and ends
This is actually the program I've started going to whenever I need to consult a TBL file in a VP file. I haven't had to install VPView yet.

I could use something like this. Extracting files is bothersome, besides, sometimes the TEMP doesn't get cleared out...

 
Re: Maja (VP Editor) - Large screenshot
As could I. I've been doing a lot of VP breaking and building for my mod, and this would make things much easier.
"You need to believe in things that aren't true. How else can they become?" -DEATH, Discworld

"You can fight like a krogan, run like a leopard, but you'll never be better than Commander Shepard!"

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Maja (VP Editor) - Large screenshot
 :yes:
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Devrous

  • SPARTAN-151
  • 26
  • RAMPANT AI
    • FS2H
Re: Maja (VP Editor) - Large screenshot
 :D :yes:

When will it be ready for the rest of us? *dizzy with anticipation*

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Maja (VP Editor) - Large screenshot
cool.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Tempest

  • 28
  • The Star Wars Conversion
    • The Fate of the Galaxy - SWC
Re: Maja (VP Editor) - Large screenshot
I'd love a VP editor like this. VPmage is...irritating in some ways. Release a beta!

I'd also like to be able to edit .fs2 and .fc2 files in a .vp. It'd be great if we didn't even have to extract the .vp to do any raw data editing. Plus, default save/load directories and a temp file for last load location are a must. I hate programs that don't have that, because I have to find everything again. Although it has trained me to be able to get to my fs2 directory REALLY quickly...
"... and the klingons also were the soviet's space program. i mean can you really believe that a bunch of communist farmers can make rockets like that?"
-Axem

My photobucket: with all my shiny new stuff on it! http://s118.photobucket.com/albums/o116/Tempest_77/

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Maja (VP Editor) - Large screenshot
:D :yes:

When will it be ready for the rest of us? *dizzy with anticipation*

Summer 2007 seems like a good guess. :p

I'd also like to be able to edit .fs2 and .fc2 files in a .vp. It'd be great if we didn't even have to extract the .vp to do any raw data editing. Plus, default save/load directories and a temp file for last load location are a must. I hate programs that don't have that, because I have to find everything again. Although it has trained me to be able to get to my fs2 directory REALLY quickly...

Ehg, that's a good point, but it'd require the addition of a config file, unless Java has a built-in registry/config file library. Right now you can just double-click on the .jar and go, no extra files required. (Besides Java, of course)

You will have to rebuild VPs after they're edited. Right now, what happens is that you set an output path for the project. Maja treats this like an on-disk repository of all the changed files. The nice thing about this is that if you import the 'data' directory of a mod directory, and then set the output path to the aforementioned mod directory, you can make any last-minute changes and they'll still be reflected in the original mod.

Or you can set the output path to a temp directory and the mod files will remain untouched.

However you still have to export the VP, because the idea of 'fragmented VP files' is iffy for me. If you're writing a VP file, you should already be past the stage of frequently editing it and be planning on either using or distributing it. In either case I don't see a good reason to spend all the time it would take to save barely any time in finishing the VP, or writing a VP with unused parts and so is larger than necessary.
-C

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Maja (VP Editor) - Large screenshot
Yay, evolution / improvement is always good.
SNazzy, i'm assuming theres a drag/drop system in place too. ? (zip style)
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Maja (VP Editor) - Large screenshot
Not yet. I have a bookmark to a good code sample which covers it.
-C

 

Offline Topgun

  • 210
Re: Maja (VP Editor) - Large screenshot
ok, how do you pronounce it? (maya?) :wtf:

  

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: Maja (VP Editor) - Large screenshot
so we have a new vp editor, nice!
and it's in java... eh, er.... a new VP editor! yay!
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Maja (VP Editor) - Large screenshot
Bumping this up. Drag and drop is now supported for:
1) Dragging within the same content tree
2) Dragging between two content trees, eg from the left pane to the main pane
3) Dragging outside files into Maja

Still todo/considering:
4) Dragging files out of Maja.
5) Dragging files between two instances of Maja.
6) Dragging files between projects.

I assume everybody is happy with the GUI, as opposed to a multi-window setup?
-C

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Maja (VP Editor) - Large screenshot
This is now my VP Suite of chice.




Kudos + 10'000
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline MP-Ryan

  • Makes General Discussion Make Sense.
  • Global Moderator
  • 210
  • Keyboard > Pen > Sword
Re: Maja (VP Editor) - Large screenshot
Can the rest of us poor slobs download this yet, or are you just being a tease? =)
"In the beginning, the Universe was created.  This made a lot of people very angry and has widely been regarded as a bad move."  [Douglas Adams]

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Maja (VP Editor) - Large screenshot
Sorry. :nervous:

I need to fix one more known bug before I do a final bugchecking pass and release.
-C

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Maja (VP Editor) - Large screenshot
*bites nails*

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: Maja (VP Editor) - Large screenshot
I wouldn't mind looking through the VP/CVP code once you're done. I'm assuming the source will be available?
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Probably at some point.

Here's a quick alpha release. I'm pretty sure you can't export VPs under OS X (Because there's no filename field :wtf:) and TGA reading still isn't fixed. However, I'd rather release it now and get some feedback, since I'm going to be even more busy over the next few weeks.

[attachment deleted by admin]
-C

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: RELEASE: Maja (VP Editor)
Oops, sorry:

Operating Instructions

You must have Java 1.5 or higher installed, regardless of which OS you are using

Windows - Download, unzip, and double-click on the .jar file.
Linux - Download and unzip the file. Then do "java -jar Maja.jar" from a console window
OS X - Download, unzip, and double-click on the .jar file.
-C