Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Angelus on February 12, 2008, 08:35:00 am

Title: Problem to put a model in BtrL
Post by: Angelus on February 12, 2008, 08:35:00 am
Hi, i'm new to FS2 modding.

I work on a mod/ mission for BtrL.
I found in TBP a model, which could be useful for my mod ( have permission to use it), but i have problems open it in PCS/ PCS2.
I tried to put it ingame, but FRED gives me an error message:

Error: Bad ID in model file <moonland.pof>
File  : D:\C++\Freespace\fs2_open 3.6.9\code\Model\ModelRead.cpp
Line : 2014
[This filename points to the location of a file on the computer that build the executable]

call stack:

Any ideas how to fix that?

thx in advance.
Title: Re: Problem to put a model in BtrL
Post by: Hellstryker on February 12, 2008, 09:15:48 am
Why even use PCS? Cant you just throw its model file into the VP along with the table entries?
Title: Re: Problem to put a model in BtrL
Post by: Angelus on February 12, 2008, 09:22:05 am
Why even use PCS? Cant you just throw its model file into the VP along with the table entries?

Tried that, but FRED gives me that error i posted above.

PCS gives me an error too:

"This file is not a POF file - PSPO signature check failed."
Title: Re: Problem to put a model in BtrL
Post by: Kazan on February 12, 2008, 09:49:33 am
that error is self explainatory
Title: Re: Problem to put a model in BtrL
Post by: Jeff Vader on February 12, 2008, 09:54:45 am
Why even use PCS? Cant you just throw its model file into the VP along with the table entries?
Throwing something in a vp can be ignored at this point. The first part is to get the damn model working, and indeed as you said, it is recommended to get the proper table entries to go along with it.
Title: Re: Problem to put a model in BtrL
Post by: Angelus on February 12, 2008, 10:13:24 am
that error is self explainatory


If the engine don't recognize that as model in BtrL, why does it show up in TBP? I thought they share the same engine.
Title: Re: Problem to put a model in BtrL
Post by: Wanderer on February 12, 2008, 12:14:09 pm
Where did you extract the model and with what?

For example using VPView with the large TBP 3.4 vp file most often produces corrupted files. If that is the case use some other VP file extractor/archiver like WMC's Maja or some other such.
Title: Re: Problem to put a model in BtrL
Post by: Angelus on February 12, 2008, 12:49:36 pm
Where did you extract the model and with what?

For example using VPView with the large TBP 3.4 vp file most often produces corrupted files. If that is the case use some other VP file extractor/archiver like WMC's Maja or some other such.

Thx, i used Maja to extract them ( hint by Karajorma ), but it didn't worked for some reason. Just found Maja express 0.81 and it worked!

THX to everyone!! :)
Title: Re: Problem to put a model in BtrL
Post by: shiv on February 12, 2008, 01:07:52 pm
Why not jsut to use VPView?
Title: Re: Problem to put a model in BtrL
Post by: Jeff Vader on February 12, 2008, 01:11:36 pm
Why not jsut to use VPView?
using VPView with the large TBP 3.4 vp file most often produces corrupted files.
VPView has a nasty habit of not being able to handle large files.

Besides, Maja is cross-platform.
Title: Re: Problem to put a model in BtrL
Post by: shiv on February 12, 2008, 01:43:31 pm
For me Vpview handled big files such as BtRL vps or TBP vps.
Title: Re: Problem to put a model in BtrL
Post by: blowfish on February 12, 2008, 06:24:38 pm
For me Vpview handled big files such as BtRL vps or TBP vps.

Apparently not for everyone though.
Title: Re: Problem to put a model in BtrL
Post by: Getter Robo G on February 13, 2008, 12:32:27 pm
Different tools seem to work for people differently so just go with whatever works for you.

I often got corruption form Maja when it first came out (don't know about updates?). 0 kb pof files

Worse case scenario get the files directly from the creators (no extractions) or at least a correctly extracted one.

Title: Re: Problem to put a model in BtrL
Post by: karajorma on February 14, 2008, 04:11:43 pm
VPView 1.3 can handle them. VPView 2.0 beta chokes.