Author Topic: We are Tarded'  (Read 6900 times)

0 Members and 1 Guest are viewing this topic.

Offline Knight Templar

  • Stealth
  • 212
  • I'm a magic man, I've got magic hands.
to quote myself from the DatDB PF, i'm having some trouble with some models.

Quote
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?
Copyright ©1976, 2003, KT Enterprises. All rights reserved

"I don't want to get laid right now. I want to get drunk."- Mars

Too Long, Didn't Read

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
What version?

EDIT: This looks like it might be the problem.  Bobboau?

Code: [Select]
                     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

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
goober beat me to it
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
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.

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
"rb" is needed to read the model file.

from the looks of it, you may have spelt the model file wrong in the table
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
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.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline SKYNET-011

  • 28
  • O_o
Quote
We are Tarded'


Yes we are. :D
Petrach and a few other escaped in a pod but were covered in watermelon juice....it was horrible :eek2: :shaking: -dan87uk

OMFGWTFAOLBBQBATMAN!!!!!11114111-MicroPsycho

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
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
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 Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
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.

 

Offline Knight Templar

  • Stealth
  • 212
  • I'm a magic man, I've got magic hands.
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
Copyright ©1976, 2003, KT Enterprises. All rights reserved

"I don't want to get laid right now. I want to get drunk."- Mars

Too Long, Didn't Read

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
he was talking to bob
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Knight Templar

  • Stealth
  • 212
  • I'm a magic man, I've got magic hands.
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
Copyright ©1976, 2003, KT Enterprises. All rights reserved

"I don't want to get laid right now. I want to get drunk."- Mars

Too Long, Didn't Read

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
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.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Knight Templar

  • Stealth
  • 212
  • I'm a magic man, I've got magic hands.
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
Copyright ©1976, 2003, KT Enterprises. All rights reserved

"I don't want to get laid right now. I want to get drunk."- Mars

Too Long, Didn't Read

 

Offline Martinus

  • Aka Maeglamor
  • 210
    • Hard Light Productions
Quote
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]

 

Offline Knight Templar

  • Stealth
  • 212
  • I'm a magic man, I've got magic hands.
So what's the word on this?
Copyright ©1976, 2003, KT Enterprises. All rights reserved

"I don't want to get laid right now. I want to get drunk."- Mars

Too Long, Didn't Read

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
ask Bobboau

 

Offline Knight Templar

  • Stealth
  • 212
  • I'm a magic man, I've got magic hands.
well , what's the word bob?
Copyright ©1976, 2003, KT Enterprises. All rights reserved

"I don't want to get laid right now. I want to get drunk."- Mars

Too Long, Didn't Read

 

Offline Anaz

  • 210
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...
Arrr. I'm a pirate.

AotD, DatDB, TVWP, LM. Ph34r.

You WILL go to warpstorm...

 

Offline Knight Templar

  • Stealth
  • 212
  • I'm a magic man, I've got magic hands.
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:
Copyright ©1976, 2003, KT Enterprises. All rights reserved

"I don't want to get laid right now. I want to get drunk."- Mars

Too Long, Didn't Read