Author Topic: Fred2_Open OGL Beta exe  (Read 14963 times)

0 Members and 1 Guest are viewing this topic.

I am still getting buffer swap errors with the latest r build. The htl build does not have that problem, however some ship models fail to show up or just their turrets do. Also when I rotate the camera in a mission with an Arcadia in it an image of the installation fills the screen and I can only look through the hole in the installation. I would post a screen shot of it but I don’t have any way of hosting the image right now.
Si Vis Pacem Para Bellem
         "If you wish for peace, prepare for war."

 

Offline RandomTiger

  • Senior Member
  • 211
Bugs bugs bugs...

Clearly htl is worth a bit of pain to get working so I'll give it my best shot.

If someone could provide me with a mission that crashes that would be useful, anyone got one that uses default FS2 data?

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
It seems to happen with all the FS2 campaign missions (with default tables) as far as I could tell; try one of those. It basically gives an illegal operation error while loading the mission and then exits out.

 

Offline RandomTiger

  • Senior Member
  • 211
Mmmm thats what I've been testing it with.
Could you quote the exact error?

  

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Loading up sm3-08.fs2 for example gives the following error:

Quote
Fred2_open_r has caused an error in
.
Fred2_open_r will now close.

If you continue to experience problems,
try restarting your computer.


Here is what the VC debug spew points to, if that helps any:
Quote
028B0818   mov         edi,dword ptr [esi]

 

Offline RandomTiger

  • Senior Member
  • 211
Wow, thats a bad message.
I'll post a debug exe soon and hopefully that will give a bit more info. I take it this doesnt happen with non OGL Fred2?

For future reference, if you report a bug / crash always give exact account of the errors.

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Yeah, it loads up fine in the 01_20_2004 Fred2. I should mention that a few of the dogfight missions seem to work fine - mdh-01.fs2 loads up without any trouble - but others like mdh-02.fs2 gives the error.

 

Offline RandomTiger

  • Senior Member
  • 211
Sorry CP5670, I cant replicate your crashes on my system, those missions work fine, so we are going to have to do this the difficult way.

Heres the debug exe, it now offers you a choice between htl and non htl. http://mysite.freeserve.com/thomaswhittaker/c_code/freespace/fred2_open_d.rar

I would like to get non htl bugs cleared up first. But I see what Lightspeed means, it can be very slow so bug free htl will be a priority.

 

Offline Flipside

  • əp!sd!l£
  • 212
RT, one tiny request while you are in there...

If possible, could you adjust the limits on the 'number of stars' slider so it starts at 0 and ends on, say, 6-7000? It would just be a tiny timesaver rather than opening the file in notepad after you've saved it :)


Thanks,

Flipside :)

 

Offline Lightspeed

  • Light Years Ahead
  • 212
My crashing problems happen both in the OGL and the 20_1 non-OGL FRED versions.

However an older FRED version works fine.
Modern man is the missing link between ape and human being.

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Someone like Redmenace should add some of these exe links onto the "latest version of everything" thread in the SCP section.

Later!
The Trivial Psychic Strikes Again!

 
not really, this is still very much a WIP, so it isn't fully supported. but if that's clearly stated it should be fine.
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Quote
I would like to get non htl bugs cleared up first. But I see what Lightspeed means, it can be very slow so bug free htl will be a priority.


I just tried the debug version; the missions load up without problems with HTL off, so this is an HTL bug. Maybe a memory issue or something?

One other thing I noticed is that if a mission is saved with any of these OGL builds, either with or without HTL, the other FRED2s cannot read it at all for some reason. Both the original 1.2 and the 01_20_2004 editors just say "Unable to read mission file" upon opening a file, although the 01_20_2004 FS2 seems to parse it fine.

 

Offline RandomTiger

  • Senior Member
  • 211
Quote
Originally posted by Flipside
RT, one tiny request while you are in there...

If possible, could you adjust the limits on the 'number of stars' slider so it starts at 0 and ends on, say, 6-7000? It would just be a tiny timesaver rather than opening the file in notepad after you've saved it :)


Thanks,

Flipside :)


I wouldnt go over that limit if I was you, I havent had a change to trace through the code but on a quick look I saw an array of length MAX_STARS (or something) which was 2000. It could be the case that setting it 7000 scrubs memory or it might just be ignored.

Im still working on a build, will post when I have something.

 

Offline RandomTiger

  • Senior Member
  • 211
The next build will see non htl mode have the model and texture detail reduced to try and keep the speed issues down.

 

Offline aldo_14

  • Gunnery Control
  • 213
Well, best to keep the turrets and subobjects displayed if you're considering dropping a LOD.

NB:  It works now... I reinstalled FS2.  Before you ask why I never did that before... I did.  'cept this time it works, for god knows what reason.

 

Offline RandomTiger

  • Senior Member
  • 211
> turrets and subobjects

Its looks OK to me but you can tell me yourself when I post a new version. And this is only for non htl. Its simply to make it usable until I can get htl finished off, its turning out to be a total pain.

I hear you with the reinstall, I had to do that a month ago and Im meant to know how half of the damn thing works :)

 

Offline Flipside

  • əp!sd!l£
  • 212
Ok, understood with the stars thing, I know you guys haven't had the time to look at the Background stuff with regards to HT&L, but it would be good enough just to be able to set it to 0 ;)

 

Offline RandomTiger

  • Senior Member
  • 211
I will try and take a look after the code freeze.
The point of it being we're not meant to be coding new stuff :)

Im only getting away with OGL Fred because most changes are in a seperate code base and its completion will open some interesting possibilities once the main codebase is released again.
« Last Edit: February 12, 2004, 06:08:27 pm by 848 »