Author Topic: VP Maker Help  (Read 3672 times)

0 Members and 1 Guest are viewing this topic.

Offline NFSRacer

  • 27
  • Professional aircraft crasher!
    • Steam
Hey!  Dose anyone know how to make or edit a VP file?  I've got this idea of combining a few mods.
"Said 'It was up to us.  Up to us, to decide.  You've become a virus that eating up it host.  We've been watching you with all our eye, and what you seem to value most.  'So much potential'.  Or so we used to say.  Your greed, self-importance, and your arrogance, you p*** it all away.'" - NIN from Year Zero

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Just use a VP editor. Maja works well, I've heard.
(´・ω・`)
=============================================================

 

Offline NFSRacer

  • 27
  • Professional aircraft crasher!
    • Steam
Just use a VP editor. Maja works well, I've heard.

Can you post a mirror or download link?
"Said 'It was up to us.  Up to us, to decide.  You've become a virus that eating up it host.  We've been watching you with all our eye, and what you seem to value most.  'So much potential'.  Or so we used to say.  Your greed, self-importance, and your arrogance, you p*** it all away.'" - NIN from Year Zero

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
(´・ω・`)
=============================================================

 

Offline NFSRacer

  • 27
  • Professional aircraft crasher!
    • Steam
Cool!  Thanks, man!

OK.  That VP editor you tipped me off to, I'm not sure what to make of all those CLASS files.  Could you help me out?
« Last Edit: July 10, 2008, 09:06:46 pm by NFSRacer »
"Said 'It was up to us.  Up to us, to decide.  You've become a virus that eating up it host.  We've been watching you with all our eye, and what you seem to value most.  'So much potential'.  Or so we used to say.  Your greed, self-importance, and your arrogance, you p*** it all away.'" - NIN from Year Zero

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
If you didn't understand from the "I've Heard", that means I haven't used it myself.
I personally use QVP, though I am not sure about its VP-making capabilities, it extracts just fine.
(´・ω・`)
=============================================================

 
Cool!  Thanks, man!

OK.  That VP editor you tipped me off to, I'm not sure what to make of all those CLASS files.  Could you help me out?

It's a Java executable. If your computer has Java installed, double-clicking the .jar file should run it.

Java's free, BTW, so if you don't have it it's easy to find and install.

Myself, I prefer using VPMage to do my editing... mainly because I haven't taken the time yet to figure out Maja. :p
"You need to believe in things that aren't true. How else can they become?" -DEATH, Discworld

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
In short:

1. Download Maja.
2. Download and install Java from www.java.com.
3. Run Maja (double-click it). If you are asked about what program you want to use to open it, select Java(TM) Platform SE binary.

I personally use QVP, though I am not sure about its VP-making capabilities
What vp-making capabilities?
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline NFSRacer

  • 27
  • Professional aircraft crasher!
    • Steam
...VPMage to do my editing...

Yea, I think I've found out how to build a VP file using VPMage, but, for some odd reason, when I click "Build VP", it start's working, but it seems like it'll take forever to do.  How long did it take for your VPMage to make a VP file?
"Said 'It was up to us.  Up to us, to decide.  You've become a virus that eating up it host.  We've been watching you with all our eye, and what you seem to value most.  'So much potential'.  Or so we used to say.  Your greed, self-importance, and your arrogance, you p*** it all away.'" - NIN from Year Zero

  
Depends on how large the VP file is. Small ones generally take only a few seconds, while larger ones (such as edits to Inferno's monster-sized VP) can take several minutes.

There is no progress bar or pop-up of any kind to indicate progress. After you hit "Build VP", wait a few minutes and a message will eventually appear to say that it is done.
"You need to believe in things that aren't true. How else can they become?" -DEATH, Discworld

 

Offline NFSRacer

  • 27
  • Professional aircraft crasher!
    • Steam
Depends on how large the VP file is. Small ones generally take only a few seconds, while larger ones (such as edits to Inferno's monster-sized VP) can take several minutes.

There is no progress bar or pop-up of any kind to indicate progress. After you hit "Build VP", wait a few minutes and a message will eventually appear to say that it is done.

So, take the FS2's "root_fs2.vp" file.  If I were to change the ship.tbl in the VP file and rebuilt it, how long would you say it would take?
« Last Edit: July 11, 2008, 11:05:41 pm by NFSRacer »
"Said 'It was up to us.  Up to us, to decide.  You've become a virus that eating up it host.  We've been watching you with all our eye, and what you seem to value most.  'So much potential'.  Or so we used to say.  Your greed, self-importance, and your arrogance, you p*** it all away.'" - NIN from Year Zero

 
I really hope you're not messing with the root.vp... but I would guess around 15-20 seconds.

(For frame of reference, root.vp is 6.10 MB. INFR1 is 251 MB.)

(No, I did not forget a decimal on the second one.)
"You need to believe in things that aren't true. How else can they become?" -DEATH, Discworld

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Depends on how large the VP file is. Small ones generally take only a few seconds, while larger ones (such as edits to Inferno's monster-sized VP) can take several minutes.

There is no progress bar or pop-up of any kind to indicate progress. After you hit "Build VP", wait a few minutes and a message will eventually appear to say that it is done.

So, take the FS2's "root_fs2.vp" file.  If I were to change the ship.tbl in the VP file and rebuilt it, how long would you say it would take?

Yeah, please don't do that. Maja won't let you do that at all, no override even, because it's pure and utter hell when somebody has a problem and they're working with things that look correct but has all kinds of mods in it that might be causing the problem.

Same goes for the media VPs as well.

Changing either set and then resaving with the original name is never necessary and can waste a lot of people's time troubleshooting. Just make a new VP with modular tables. That way you can get rid of everything (including the model and textures) all at once, and you can see exactly what mods you have just by looking at VP names.

As for VPMage, it can take a long time, since it basically has to copy all that data from one part of your hard drive to the other, but it can't do it all at once or as efficiently as the OS.
-C

 

Offline NFSRacer

  • 27
  • Professional aircraft crasher!
    • Steam
Yeah, please don't do that. Maja won't let you do that at all, no override even, because it's pure and utter hell when somebody has a problem and they're working with things that look correct but has all kinds of mods in it that might be causing the problem.

Same goes for the media VPs as well.

Changing either set and then resaving with the original name is never necessary and can waste a lot of people's time troubleshooting. Just make a new VP with modular tables. That way you can get rid of everything (including the model and textures) all at once, and you can see exactly what mods you have just by looking at VP names.

As for VPMage, it can take a long time, since it basically has to copy all that data from one part of your hard drive to the other, but it can't do it all at once or as efficiently as the OS.

So is there a simple fix, or better yet, I've got a better question.  How do the developers of the different mods get the SCP enhencements to work with their mod's VP files?  Does the SCP simple run off the MediaVPs?
"Said 'It was up to us.  Up to us, to decide.  You've become a virus that eating up it host.  We've been watching you with all our eye, and what you seem to value most.  'So much potential'.  Or so we used to say.  Your greed, self-importance, and your arrogance, you p*** it all away.'" - NIN from Year Zero

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Files from the VPs are used in alphabetical order, and modular tables take precedence in the same way as well. Using a -mod command line toggles loading of a directory within the main Freespace 2 directory, and when files from a mod folder are loaded, they are always used before files in the main Freespace 2 directory structure.

This is true in all cases except where you put files in the same directory as the EXE. Those should be loaded before everything else.

It doesn't matter what the VPs are called as long as the files inside are the same as Freespace 2 defaults ("ships.tbl"). There are also a few tables built into the EXE itself that can be overridden. Many tables support "modular tables", which are automatically loaded in addition to everything else (As long as there isn't an identically named modular table).

So if you want to make a ship and add it to the list of ships, all you have to do is create a -shp modular table, put it in a VP with the model and textures, and then put that in the Freespace 2 directory. Modular tables will also let you selectively change values, so:
Code: [Select]
#Ship Classes
$Name: GTF Ulysses
+nocreate
$Hitpoints: 9001
#End
will modify the GTF Ulysses entry in the main Freespace 2 ships.tbl so that the Ulysses has 9001 hitpoints. The +nocreate is there so if you do use a mod which overrides ships.tbl, the game won't try to create the GTF Ulysses ship.

As long as you put the -shp modular table in Freespace 2/data/tables, Freespace 2/<mod>/data/tables, or data/tables in a VP and put the VP in either "Freespace 2" or Freespace 2/<mod> (And activate the mod), the above table will be loaded and the Ulysses will be much harder to kill than normal.

In addition to the modular tables link above, I suggest you look at the first big section of FS2 Data Structure in the wiki.
« Last Edit: July 12, 2008, 03:32:19 pm by WMCoolmon »
-C