Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Knight Templar on January 23, 2003, 03:41:57 pm
-
to quote myself from the DatDB PF, i'm having some trouble with some models.
As a first, i have one. It has to do with the Archangel. Whenever I add one to a mission in Fred, it locks up, I get this
Error: Can't open file
File:E:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\Model\ModelRead.cpp
Line: 1274
Call stack:
------------------------------------------------------------------
------------------------------------------------------------------
And my comp locks up for about 10 minutes. I tried it once with the stuff out of the VP and once with the one off Stratt's site and I got the same result.
Edit: Ok I tried it with normal fred and the same thing. I also get the same problem with the Raynor.
I put er' in Fred and it locks up and this. Anyone wanna give it a try?
-
What version?
EDIT: This looks like it might be the problem. Bobboau?
1299: //reads a binary file containing a 3d model
2.6 bobboau 1300: int read_model_file(polymodel * pm, char *filename, int n_subsystems, model_subsystem *subsystems, int ferror)
1.1 penguin 1301: {
1302: CFILE *fp;
1303: int version;
1304: int id, len, next_chunk;
1305: int i,j;
1306:
1307: #ifndef NDEBUG
1308: strcpy(Global_filename, filename);
1309: #endif
1310:
1311: fp = cfopen(filename,"rb");
2.15 |bobboau 1312: if (!fp){
| 1313: if(ferror == 1)Error( LOCATION, "Can't open file <%s>",filename);
| 1314: return -1;
1.1 penguin 1315: }
1316:
1317: // code to get a filename to write out subsystem information for each model that
1318: // is read. This info is essentially debug stuff that is used to help get models
1319: // into the game quicker
-
goober beat me to it
-
lol... ;)
Might be something Bobboau was working on in debug and never removed. This "rb" whatever was added in the most recent code update, and if DatDB is using Bobboau's recent build, this might be the problem.
-
"rb" is needed to read the model file.
from the looks of it, you may have spelt the model file wrong in the table
-
That could easily be the problem. Both the ships that you're having the problem with KT have been through several different versions with several different filenames. I'd double check those refrences just to be sure. I still have all the pofs in my models directory together, and I haven't tried them in the FSOpen versions, so I don't know whether it's the models or the code. I should also note, for the record, that both the Raynor and the Archangel are extremely high poly with a lot of UV maps. They were also both converted using PCS version 1.1.01 and thus have some faces that are triangulated but still dissapear as if they were nonplaner.
-
We are Tarded'
Yes we are. :D
-
rb == read binary
the thing I added was a flag to not show an error if it couldn't find the file, this was to help get past the warp model giveing an error mesage when not found
-
Um... :wtf:
Okay, well two things. First, fix the error message, and second, fix the warp thing so that you don't need warp.pof.
-
Ok sorry, I missed the part where I am told what I can do to fix the problem So I can go back to Fredding :p
-
he was talking to bob
-
Yea I know.. So what do I do? Is someone fixing whatever problem it is?
*Note: I'm not nagging, I just want to know
-
KT, you've had problems with those two ships in the past too, haven't you? They both work perfectly well for me in Fred2_open and Fred2DTP and show up in-game fine. On the flipside, I've run into an error on the latest official FS2_open build (don't know how far back it goes) but it won't open the mission simulator. Whenever I try, it crashes. This isn't helpful for model testing purposes, as making a dedicated campaign file isn't really feasable.
-
Yes I've had trouble with them, but that was because My version of modelview was 2 years old. Those are the only ships that don't work in Fred, and they don't work in Fred2 or the Latest Public Fred2_Open
-
Originally posted by Goober5000
Um... :wtf:
Okay, well two things. First, fix the error message, and second, fix the warp thing so that you don't need warp.pof.
[color=66ff00]Please?
[/color]
-
So what's the word on this?
-
ask Bobboau
-
well , what's the word bob?
-
KT, the ships work fine for me in-game, do you want me to e-mail you my copies of them? As you may know, half of the shield *.anis don't work for me...
-
The shield ani's don't work for me either, but they all work for you ingame? the Raynor and Arch?
well go for it then. :sigh:
-
EDIT: Nm...
-
As in, feel free to send them over any time.
-
ah' did send em...
-
which email?
EDIT: errr I guess you somehow got my hotmail account..:sigh:
-
hangon...outlook is being *****y...
-
Originally posted by Knight Templar
which email?
EDIT: errr I guess you somehow got my hotmail account..:sigh:
I am sending to scoobymg -at- sonic -dot- net
-
Graci Senor :D
-
meh...outlook doesn't want to send it...I'll try splitting it into individual files...
-
:wtf:
how big is it?
-
outlook just flipped out on me...so you may have multiple copies of the e-mails...
-
*lights a joint*
:thepimp:
-
Originally posted by Knight Templar
:wtf:
how big is it?
each model i ~800 kbytes...
-
Originally posted by Knight Templar
*lights a joint*
:thepimp:
did you get them..?
-
woa man you're liek all talking so fast man.. cill out mann...
no.
-
damn...I'll try again tomorrow...if all else fails I can upload them to an FTP...
gahh...I'm packing it in for tonight...see you peeps l8er...
-
:(
ok. Guess I wasn't going to use them anytime soon anyways :p
Laterz d00dz :thepimp: *hiccup*
-
so is this just confirmation of the title? j/k
-
KT, it may sound strange, but could I have a list of all files that you have in the following directories:
- FS2 Main
- data/models
- data/maps
as well as the contents of the custom vp files that you have in the directory for the effected program. I know we've tried fixing this thing before by resending the files, with little result, when it was a bug in modelview. I have a couple of theories about the problem, but I need the file lists to point you toward possible solutions.
-
Main = nothing out of the ordinary oither than the VP
Models = zilch
Maps = notta
Oh, I fixed the model view problem awhile ago, My modelview was just outdated.. this only happens with the Raynor and Archangel and only in fred
-
well Crisis averted.. Anaz's models worked. Archanglebeta01 and Raynor work fine. I had regular Arch last time and Raynor 2 :doubt:
-
strange, very strange. Must have been a corrupted transfer or something from the first time you picked those models up...
-
Nooobody Knows :confused: