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

0 Members and 1 Guest are viewing this topic.

Offline RandomTiger

  • Senior Member
  • 211
Fred2_Open OGL Beta exe
Wow, I cant remember the last time I even posted in this forum...

Anyway heres a beta exe for you that I've been working on. I'm hoping you guys, since you know an lot more about it than I do, will be interested enough to test it out. Try loading your biggest craziest missions etc. Please note the following:

1. Please report any bugs to our new bug system 'Mantis'. http://mgo.maxgaming.net/mantis/login_page.php

2. Graphical text is not working, this is a known bug, coordinates and ship info will not display in the main window. Please dont report this as a bug

3. This uses the OGL engine Phreak put together for us, if you have any problems with OGL fs2_open you will likely have the same problem with OGL Fred. Please note this when reporting it.

4. Please try not to report any generic Fred bugs as OGL Fred bugs. If you can, check any problems you have dont happen with the current Fred2_open.

5. This, for the moment is non htl OGL so it will still be slow if lots of ships are around. Hopefully it might be a wee bit faster though.

So after the text issue is sorted it (I think) will be fairly finished asside from any bugs you guys find, how long it takes to sort that out depends on how much help I get from you guys.

http://mysite.freeserve.com/thomaswhittaker/c_code/freespace/fred2_open_ogl_d.rar

The result of a successful Fred2 OGL port will be hopefully a better Fred for you guys and freedom for coders to make big changes to fs2_open.

- RT
« Last Edit: January 18, 2004, 08:36:13 pm by 848 »

 

Offline aldo_14

  • Gunnery Control
  • 213
Neat - maybe this won't crash like the other fred open builds I've been using.

 
see da siggy, i'm no FREDder

i can get it to run, open a file, show a model, and i think i figured out some camera controlls. mouse movement and menus are fine, movement of the camera, and drawing a selection box is laggy. if you want my system specs, here they are more info can be provided:

P3 800
192MB SDRAM
win98SE
RIVA TNT2 16MB
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 RandomTiger

  • Senior Member
  • 211
Quote
Originally posted by aldo_14
Neat - maybe this won't crash like the other fred open builds I've been using.


Its based on the same code it it will probably act the same.

THanks for the test kasperl, when you say laggy, is it *more* laggy than a non OGL version of fred?

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Voila your new FRED_OGL category in Mantis. ;)

Administrating Mantis is very straightforward, RT.  If you need anything else like this, just shoot me an email.

 
Quote
Originally posted by RandomTiger


Its based on the same code it it will probably act the same.

THanks for the test kasperl, when you say laggy, is it *more* laggy than a non OGL version of fred?


i never used FRED open before, and i haven't got another versionhandy, but i remember FRED vanilla going rather smooth. but, i just remembered i had kazaa running in the background. i'll test again.
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 Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Giving me a whole bunch of apparently random errors

Warning: Unable to find WEAPON_LIST_TYPE string "Flail"
in ship: GTF Ulysses's primary banks.


Warning: ships.tbl(2749):
Error: Required token = [$Power Output:], found [$Shields:            0]
in ship: GTDR Amazon Advanced.

Warning: ships.tbl(3744):
Error: Required token = [$POF file:], found [+Tech Description:]
in ship: GTSG Mjolnir.

etc.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
I don't know code, but it looks like it's looking for a specific tag on a specific, probably numbered, line... I hope it doesn't need to be so strict, as to have one too many "returns" in the table would throw it all out of order... :blah:
Freelance Modeler | Amateur Artist

 

Offline aldo_14

  • Gunnery Control
  • 213
Quote
Originally posted by RandomTiger


Its based on the same code it it will probably act the same.


I had hoped it was a problem with the renderer, which openGL might have fixed (because I'm guessing original fred is directX or software - is it?).... but my machine basically froze and died, as per bloody usual.

 

Offline RandomTiger

  • Senior Member
  • 211
Quote
Originally posted by Goober5000
Voila your new FRED_OGL category in Mantis. ;)


Thanks Goob.

kasperl, keep me up to date on what you find.
aldo_14, what are your system specs? I take it you arent getting an error before it freezes? The original is software, if it was DX then there wouldnt be a need to do this.

Black Wolf, I dont want to be mean but I know nothing about the inner workings of Fred, tables, sexps and all that stuff. I'm just here to upgrade the graphics. Sounds like a data error to me, if you think not could you see if the same thing happens if you run a non OGL version of Fred?

Everyone: I could really do with a regular fred2_open user having a look at this for me.
« Last Edit: January 19, 2004, 12:24:02 pm by 848 »

 

Offline magatsu1

  • 210
Quote
Originally posted by kasperl
RIVA TNT2 16MB


Hurrah!
Blitzerland: Knows what he's talkin' about

 

Offline aldo_14

  • Gunnery Control
  • 213
Quote
Originally posted by RandomTiger


Thanks Goob.

aldo_14, what are your system specs? I take it you arent getting an error before it freezes? The original is software, if it was DX then there wouldnt be a need to do this.


Athlon XP2400+, Abit KF7-S mobo, 512MB RAM (runningat DDR266), GF FX5600, graphics card drivers are the latest ones.

I do get an error message - basically the standard windows 2000 warning... IIRC 'fred2_open.cpp has caused an error and is being shut down' type thing.  Happens with all versions of FRED, albeit normally the computer doesn't freeze - the normal effect is that it take s a while to kill the fred2.exe, which keeps on gobbling up memory until it crashes.

I think it's solely down to my Pc, not the code.... I've been having persistant problems with multiple apps since updating windows.

 

Offline RandomTiger

  • Senior Member
  • 211
Quote
Originally posted by aldo_14

Happens with all versions of FRED, albeit normally the computer doesn't freeze - the normal effect is that it take s a while to kill the fred2.exe, which keeps on gobbling up memory until it crashes.


So you can load it OK?

How does it perform asside from the quitting?

I'll see if I can find any memory leaks while Im working in there, thats the kind of thing that causes the problems you are talking about.

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Quote
Originally posted by RandomTiger

Black Wolf, I dont want to be mean but I know nothing about the inner workings of Fred, tables, sexps and all that stuff. I'm just here to upgrade the graphics. Sounds like a data error to me, if you think not could you see if the same thing happens if you run a non OGL version of Fred?


It works fine on normal FRED Open. And yes, I am using mods, but again, these work perfectly well on standard FRED Open, so I'm not really too sure what could be causing it...
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline aldo_14

  • Gunnery Control
  • 213
Quote
Originally posted by RandomTiger


So you can load it OK?

How does it perform asside from the quitting?

I'll see if I can find any memory leaks while Im working in there, thats the kind of thing that causes the problems you are talking about.


No, it crashes on load, but it takes about 30 secs to actually close the exe down.

 
it crashes when laoding a mission with a ship that can;t be found.

i just found out, it's the mission i opened, it has some huge thing in it, it looks like a hecate now i look at it, but the lighting is waay of. i haven't got a clue who made it or where it is from, so i am no sure if i can give it out.

and when i try to open the briefing editor, it gives me an illegal operation. this time i only had FRED, a windows exploreer window and mIRC running.
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 RandomTiger

  • Senior Member
  • 211
Quote
Originally posted by Black Wolf


It works fine on normal FRED Open. And yes, I am using mods, but again, these work perfectly well on standard FRED Open, so I'm not really too sure what could be causing it...


Actually I've just realised, it could just actually be because its a debug release, they are a lot more picky about table mistakes. I will try to post a release version for you.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
I tried it with an unmoddified version of FS2 and got this error on exit.

Error: Unable to swap buffers
Error code: 0
File:h:\projects\freespace\scp\fred_upgrade\code\graphics\gropengl.cpp
Line: 1489

Call stack:
------------------------------------------------------------------
    fred2_open_ogl_d.exe 0060e944()
    fred2_open_ogl_d.exe 004c4641()
    fred2_open_ogl_d.exe 004440d4()
    fred2_open_ogl_d.exe 0088def4()
    fred2_open_ogl_d.exe 0088d7f4()
    fred2_open_ogl_d.exe 0088b399()
    fred2_open_ogl_d.exe 0088b835()
    USER32.dll 77d43a50()
    USER32.dll 77d43b1f()
    USER32.dll 77d45b2c()
    USER32.dll 77d45b4b()
    OPENGL32.dll 5ed22ccf()
    USER32.dll 77d43a50()
    USER32.dll 77d43b1f()
    USER32.dll 77d444f5()
------------------------------------------------------------------

It did seem to actually work though. I only got the problem on exit.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 
 

Offline RandomTiger

  • Senior Member
  • 211
Quote
Originally posted by karajorma

It did seem to actually work though. I only got the problem on exit.


Thanks sounds like its trying to draw during the showdown process which is always a bad idea, I get onto that, with any luck thats whats causing aldo's problem.