Author Topic: Shocking new build  (Read 20777 times)

0 Members and 1 Guest are viewing this topic.

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Quote
Originally posted by WMCoolmon
Edit: Actually, it was later than that, when I noticed it was crashing every 1-2 missions reliably. Sorry, I haven't been making too many memory-allocation changes lately and haven't felt the need to take it slow... The things I think might be most troublesome would be the updates I made awhile back to try and make the ship tables dynamic (I didn't, really, I rolled back that change). I should go back and double-check those sometime, the online CVS browser would be very handy for that, but it's currently broken... :blah:

If you want to do an easy test try changing the MIN_SUBSYS_STATUS_SIZE define to something like 350.  That should be enough for any current mission and if any kind of fragmentation is at fault then that should fix it.  If it doesn't help then I'm not sure what the problem may be and something else is going on which is causing the error at free.  Fragmentation was causing a couple of crashes for Personas in the early tests but I fixed that (I hope) before it went in CVS.  It always happened on allocation or duing the parse though and never when it was free()'d.

And the CVS thing sucks.  I get used to browsing like that and especially annotating the files.  It's tough to deal without it.

 

Offline WMCoolmon

  • Purveyor of space crack
  • Moderator
  • 213
Hmm, I'll try that.

Incidentally, I DID run into a problem when I tried to malloc() Personas before it started realloc()ing it. I don't remember the exact error, but it made it basically unplayable IIRC. (I only tested if from debug before I put it back to be the way it was).
-C

 
Okay.... I downloaded the new ZIP-File AND the Processor-specific builds...
And now there's an even bigger Problem!
They won't run at all!
When I try to use the Launcher, an error appears:
Fatal: Failed to read flag file...
This happens with all builds:
fs2_open_C01202005.exe
fs2_open_C01202005_d.exe
fs2_open_C01202005_P.exe
fs2_open_C01202005_PPro.exe

And when I try to run it, it just does nothing...
There's no difference if I run it from the launcher or if I run the exe directly...
It doesn't work at all :(

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Quote
Originally posted by Mr_Maniac
When I try to use the Launcher, an error appears:
Fatal: Failed to read flag file...

Make sure you have the DevIL dlls.  In your FS2 directory you should have devil.dll, ilu.dll and ilut.dll.  If you don't have them then download my last build which includes the dlls and just copy them into your FS2 directory.

Soon this will no longer be an issue since I've coded out the DevIL reliance but for now that should fix it.

 
I have the dlls...
They're not the Problem!
The BUILDS are the problem... And that's for sure!
First I downloaded the Processor-Optimized builds...
They didn't work...
But the OLD (first) C01202005 build still worked...
Then I downloaded the "new" (fixed) C01202005 build... And it's NOT working...
All other builds are working...
So it have to be this build...
I hope that get's fixed soon...
Because I really like those new features! :)

 

Offline WMCoolmon

  • Purveyor of space crack
  • Moderator
  • 213
I'm beginning to wonder if it may be a result of the optimizations (SSE2 in particular, I think I had that enabled for all processors when ti should've only been enabled for the first one, which was optimized for P4). What type of processor do you have Mr_Maniac?
-C

 

Offline Cobra

  • 212
  • Snake on a Cain
    • Skype
    • Steam
    • Twitter
i didn't have any problems with my pentium builds, except one of them draining my virtual memory. it's probably just a pc-related issue.
To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of Chios
I wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Recently while I was reinstalling FS2, I tried to run FSO from the launcher, but I got the failure to read flags file.  Even copying one from my previous instellation didn't work, as FSO would immediately delete it.  What I had to do was run the exe without the launcher, right from the Windows' "Run" option, with no flags at all.  Everything inside looked like crap (...I mean, Retail), but when I exited and loaded up the Launcher, TADDA!!!, the flags were detected.

That may work for you, or it may not.

Later!
The Trivial Psychic Strikes Again!

 
Quote
Originally posted by Trivial Psychic
Recently while I was reinstalling FS2, I tried to run FSO from the launcher, but I got the failure to read flags file.  Even copying one from my previous instellation didn't work, as FSO would immediately delete it.  What I had to do was run the exe without the launcher, right from the Windows' "Run" option, with no flags at all.  Everything inside looked like crap (...I mean, Retail), but when I exited and loaded up the Launcher, TADDA!!!, the flags were detected.

That may work for you, or it may not.

Later!


Nope! When I try to run the build, NOTHING happens...
Only my mouse cursor flickers one time...

@WMCoolmon:
I have a AMD Athlon Thunderbird with 1.33 GHz
A GeForce 3 with 64MB DDR-VRAM
512 MB RAM (133MHz-non-DDR)

 
I was having problems with the newly fixed C01202005 build and tried the Pentium optimised build just for the fun of it. (I have an XP3000 Barton) I haven't crashed yet and it actually seems faster...

 

Offline Fury

  • The Curmudgeon
  • 213
Not sure how difficult it would be, but it would help immensely the masses if all optimizations are in the same build but enabled only if the CPU supports it.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Quote
Originally posted by Mr. Fury
Not sure how difficult it would be, but it would help immensely the masses if all optimizations are in the same build but enabled only if the CPU supports it.

The optimizations are build time only.  Specific compile time optimizations can give a really good speed boost but at the cost of compatibility with other processors.  Another thing optimizations tend to show is bugs, in strange ways, and possibly create them in a few cases.  I've found and fixed numerous small code issues that were causing tons of warnings in the Linux 64-bit builds.  As all of those changes get into CVS in the coming month I think that these optimized builds for Windows will benefit as well.  All of the other code fixes for GCC in Linux and OSX will undoubtedly help Windows too.

 

Offline Fury

  • The Curmudgeon
  • 213
Well, at least SSE and SSE2 support in generic builds would be nice if not SSE3 and 3DNow! too. Those are supported by most current games. Although I don't know how big of a performance improvement they would offer in fs2_open engine. I think vanilla FS2 engine supported MMX only.
« Last Edit: January 25, 2005, 12:54:11 pm by 173 »

 

Offline MrBigMr

  • 21
    • http://labyrinth.sof2files.com
I don't want to be a total bastard here, but is there a fix to the /model problem Nuke was having? I'm a real fan of the Freespace series and crap has been pouring down from the sky on me. First my joystick is out of order for few months; then it starts working, but I can't get Freespace 2 to work on my new machine; after I download and install all of the Source Project files, it works, but only for few missions untill I get this.
I just wanted to fly some ships and fry some Shivans, and now I'm stuck with a non-working piece of silicon. Just my luck. Even Battlezone 2 won't work on my PC.
But I don't wanna be a nag, cuz I know how hard it is to mod games, been there and still doing it.
Labyrinth Productions

I am merely a fool who created a monster I am now powerless to stop and so I will play my role to the bloody end

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
MrBigMr. I've just answered how to solve that problem here

Check my post on that thread.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Cobra

  • 212
  • Snake on a Cain
    • Skype
    • Steam
    • Twitter
To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of Chios
I wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

 

Offline MrBigMr

  • 21
    • http://labyrinth.sof2files.com
Oh, thankyouthankyouthankyouthankyouthankyou...
Finaly it works. And the game looks absolutely amazing. For some reason I get little lagging from some effects, but it's worth it by far.
Labyrinth Productions

I am merely a fool who created a monster I am now powerless to stop and so I will play my role to the bloody end

 
Lag from these effects is very normal, Unless you have a current gen vid card you will get some slowdown.

 

Offline MrBigMr

  • 21
    • http://labyrinth.sof2files.com
Oh, not all of them, just the warp effect (and some up close explosions), but It's all fixed now. I got an GeForce FX 5200 card, which is more than enought for me.
Labyrinth Productions

I am merely a fool who created a monster I am now powerless to stop and so I will play my role to the bloody end

 

Offline WMCoolmon

  • Purveyor of space crack
  • Moderator
  • 213
Okay, I've redone the camera system, so whenever I figure out the physics stuff I'll have a new build up (Still pretty buggy though).
-C