Author Topic: BUGS: It is a bad day for me & FS2open  (Read 2502 times)

0 Members and 1 Guest are viewing this topic.

Offline Lightspeed

  • Light Years Ahead
  • 212
BUGS: It is a bad day for me & FS2open
Okay, first the good news:

I have completed the fourth set of my nebula backgrounds.

Now... the bad ones.

When putting everything together I ran into several things that shouldn't be happening:


(1) Although I had been told the limit in stars.tbl had been bumped to ~150, I found out that FRED2open will still only show as much background images as were permitted in standard FS2.
 


"Well," I thought "they prolly only forgot to compile that into FRED, i'll just use NotePad to do the job..."


(2) Now, I had re-included the standard FS2 backgrounds. I started the game only to find out that if any background image that will not show up in FRED is used, the game will crash after loading the mission.


Now, I thought the bumping just wouldnt have been done, but I found out later, that the game will display any of the first background images (the ones that still show up in FRED) okay, and only crashes on those that come after the stars.tbl limit (which is still the same as in FSretail). Older builds simply do not show up ANY background images, if the stars.tbl limit is exceeded. So - the bumping has been (at least partially) done, but doesn't work.


(3) So, I tossed out all my other sets to at least test it in-game once. I then discovered that the lighting in the new build (with diffuse in again) is indeed odd, as the actual background nebula  images are rendered too bright and look a bit odd - as well as the ships (see my post in the recent builds forum). I think the problem is that 'diffuse light' and ambient light add together, and so the general light factor is way too strong. The solution probably would be to get rid of diffuse lighting again, and have ambient as the replacement (as it will look better with in-game effects (sun lighting, beam hits, etc) ).

 

(4) Then, I wanted to test with the new env_2 build, to get some nice screenies even *with* the odd brightness, but when I hit the run button on the launcher, FS2open immediately dumped me back to desktop with an illegal operation. (before even opening it's screen)


So ~ as a summary of the day:

- The limit in stars.tbl needs fixing, so we need a new version of FRED as well as FS2 that will handle the new limit okay.

- Something has to be done with the lighting

And to encourage you to fix things:


(I know it's a bad screenie, but I was too frustrated to come up with anything better)
Modern man is the missing link between ape and human being.

 

Offline Sticks

  • 29
BUGS: It is a bad day for me & FS2open
This out of control limits bumping is what is making FSOpen go crazy with mem usage in the first place. And when did anyone disable diffuse lighting?
"Napalm is good as a quickfire solution, literally..." -- cngn

"Shh... [Kazan's] schizophrenia allows him to multitask." -- Goober5000

Why am I still coding at 12:35am?

SCP: Templum sanctus ingeniosus

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
BUGS: It is a bad day for me & FS2open
there was a bug, it got killed acedentaly when I fixed the way shockwaves are rendered
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 Lightspeed

  • Light Years Ahead
  • 212
BUGS: It is a bad day for me & FS2open
Quote
Originally posted by Sticks
This out of control limits bumping is what is making FSOpen go crazy with mem usage in the first place.


It shouldnt be. Stars.tbl is only holding name references (almost no memory needed) - And FS2 loads only the nebulae that are used anyway (I hope).

So from this point of view, there shouldn't be any visible difference in mem usage.

On things that do take up loads of memory (weapons / ships tables, because they store loads of values and stuff) I 100% agree with you.
Modern man is the missing link between ape and human being.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
BUGS: It is a bad day for me & FS2open
well it isn't the valuses that (generaly) cause huge memory useage, it's textures and the like (each background immage has a texture assosiated with it)
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 Lightspeed

  • Light Years Ahead
  • 212
BUGS: It is a bad day for me & FS2open
exactly. But where you had ~14 different background textures with FSretail, you still have 14 different background textures now.

The only thing is, the way of using those 14 backgrounds has changes drastically :)

(Using the same 14 for all missions --> Different Sets à 14 backgrounds)
Modern man is the missing link between ape and human being.

 

Offline Setekh

  • Jar of Clay
  • 215
    • Hard Light Productions
BUGS: It is a bad day for me & FS2open
Sweet background, LS. :)
- Eddie Kent Woo, Setekh, Steak (of Steaks), AWACS. Seriously, just pick one.
HARD LIGHT PRODUCTIONS, now V3.0. Bringing Modders Together since January 2001.
THE HARD LIGHT ARRAY. Always makes you say wow.

 

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
BUGS: It is a bad day for me & FS2open
Quote
Originally posted by Sticks
This out of control limits bumping is what is making FSOpen go crazy with mem usage in the first place. And when did anyone disable diffuse lighting?


Someone should have introduced Volition to the miracle of dynamic memory allocation.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline Lightspeed

  • Light Years Ahead
  • 212
BUGS: It is a bad day for me & FS2open
Quote
Originally posted by Setekh
Sweet background, LS. :)


I can release the very second the bugs are fixed :)
Modern man is the missing link between ape and human being.

 

Offline Inquisitor

BUGS: It is a bad day for me & FS2open
Bob are you on this one?
No signature.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
BUGS: It is a bad day for me & FS2open
bumping the background limit?
sure I guess
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 Lightspeed

  • Light Years Ahead
  • 212
BUGS: It is a bad day for me & FS2open
How about another command line thingy to turn diffuse off? :)
Modern man is the missing link between ape and human being.

 

Offline Inquisitor

BUGS: It is a bad day for me & FS2open
Wasn't sure if you were or not, didn't rememebr covering it in IRC, is it in Mantis?
No signature.

 

Offline Lightspeed

  • Light Years Ahead
  • 212
BUGS: It is a bad day for me & FS2open
no, it's not in mantis - technically it's not bugs :rolleyes:
Modern man is the missing link between ape and human being.

 

Offline Sticks

  • 29
BUGS: It is a bad day for me & FS2open
That's why there's the "Feature" option in Mantis. :sigh:
"Napalm is good as a quickfire solution, literally..." -- cngn

"Shh... [Kazan's] schizophrenia allows him to multitask." -- Goober5000

Why am I still coding at 12:35am?

SCP: Templum sanctus ingeniosus