Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Test Builds => Topic started by: phreak on March 19, 2005, 07:26:16 pm
Title: FRED?
Post by: phreak on March 19, 2005, 07:26:16 pm
Right i figured out why I couldn't compile FRED. Anyway, once I did i fixed the rendering problems that effect the waypoints and ship grid positions.
AS OF APRIL 14: 1) Dockpoints and paths now draw correctly in HTL. 2) Distances draw correctly in HTL 3) Background bitmaps show up again. 4) Jump nodes can now be renamed!112 5) Jump nodes now don't throw errors if loaded from a mission 6) Background bitmaps draw in non-HTL 7) Backgrounds show up when a mission is loaded instead of having to go into the background editor. 8) The OpenGL driver issue is resolved for those with 5.3 Catalysts 9) Background bitmaps/suns will now change position whenever you edit them rather than having to double-click on the bitmap, or exiting the background editor. IN CVS, SEE GOOBER'S 4/14 BUILD OR LATER 10)Working ambient light sliders. IN CVS, SEE GOOBER'S 4/14 BUILD OR LATER http://www.penguinbomb.com/phreak/fso_builds/fred2_open_r_03242005.zip
FUTURE FIXES: 1) Need to get FRED to compile after WM's round of latest commits 2) Briefing icons still don't show up in htl mode. 3) Subobject boxes / Ship Models don't appear in the correct place 4) Opening a file should take into account where its loaded and which mod is currently being used. 5) Continuously adding and deleting bitmaps will screw up the buffer rendering. 6) Pay taxes
Title: FRED?
Post by: Taristin on March 19, 2005, 08:10:38 pm
Ooooooooooooooohhhhhhhh.
Title: FRED?
Post by: Axem on March 19, 2005, 08:45:16 pm
Hallelujah!
I am gonna have fun tonight! :D
EDIT: Uh okay, maybe not. When I try to run some missions, they give me an illegal operation from MFC42.DLL and fred2_open_r_03192005.exe. Not all of them do this though, but its pretty consistant with the missions its not loading, so it doesn't seem like a totally random crash.
2nd EDIT: Yeah nevermind, -fredhtl flag seems to fix this.
Title: FRED?
Post by: Singh on March 19, 2005, 08:59:45 pm
All hail Phreak! Saviour of FRED!! :D
Title: FRED?
Post by: Jake101 on March 19, 2005, 09:04:09 pm
Maybe I'm a n00b to working with builds or something but what do I do when I've got this:
Error: ships.tbl(2780): Error: Required token = [$Power Output:], found [$Shields: 0] in ship: GTDR Amazon Advanced.
And then after this display, the program will not run. Is it only a tbl problem?
Title: FRED?
Post by: Solatar on March 19, 2005, 09:05:32 pm
If I try to rename a jump node, doesn't matter what it's named, it says that the name is already taken and to press ok to continue or whatever. I can't get out of the waypoint/jump node editor unless I exit the program from the task manager.
EDIT: It isn't a showstopper, as I can just use older versions of FRED to name my jump nodes.
Title: FRED?
Post by: Trivial Psychic on March 19, 2005, 09:15:20 pm
1st of all... THANK YOU!!!! :wakka: 2nd - for some reason, the "lighting from suns" option doesn't do anything, whether on or off.
3rd - I noticed that its rendering things at full LOD, unlike previous builds. Was this intentional or by accident?
Title: FRED?
Post by: phreak on March 19, 2005, 10:05:54 pm
Axem: Yea i didn't bother to test in non-htl :) Jake: Its a table problem. I don't know whether you're using retail or a mod though Solatar: Mantis TP: 1) np 2) didn't notice that. 3) intentional
Title: FRED?
Post by: Ransom on March 20, 2005, 12:35:28 am
THANK YOU SIR!
You know what, this is really cool. Possibly even too cool for school
So cool in fact that it deserves a special award: (http://img104.exs.cx/img104/9100/ebolaapprove2sq.jpg)
PhReAk and his magical FRED build are officially approved by Ebola Virus Man. :yes:
Ransom has experienced no problems aside from the jump node thingy so far.
Title: FRED?
Post by: WMCoolmon on March 20, 2005, 12:55:48 am
Yeah, that's probably my fault.
Actually, I'm impressed they don't crash and burn. I completely redid the way jump nodes were accessed in the code and implemented them in FRED with *no* testing, except making sure they compiled without any errors.
Okay, I'm done bragging. :nervous:
Title: FRED?
Post by: Cobra on March 20, 2005, 12:57:46 am
hmm, i got some errors, but i know what the last 2 are for.
Error: The required OpenGL extension 'GL_EXT_draw_range_elements' is not supported by your graphics card, please use the Glide or Direct3D rendering engines.
Title: FRED?
Post by: WMCoolmon on March 20, 2005, 01:01:12 am
Sounds like there are some missing entries in those two soundtracks.
Title: FRED?
Post by: Cobra on March 20, 2005, 01:04:23 am
no, they work fine, just that in Exodus the arrival music plays at the same time the main part does.
Title: FRED?
Post by: Jake101 on March 20, 2005, 01:25:12 am
Okay, fixed my problem, and yes - it was a mod. Of course, I still don't understand why FRED2 wouldn't run because of altered table entries...?
Title: FRED?
Post by: Flaser on March 20, 2005, 01:30:33 am
Quote
Originally posted by Jake101 Okay, fixed my problem, and yes - it was a mod. Of course, I still don't understand why FRED2 wouldn't run because of altered table entries...?
That's because just like the main exe, Fred looks into those to determine what models, sounds ect. ect. to load and use. This is why FRED is so good to modders actually - just pop in a mod like any user and you're ready to churn out missions.
Title: FRED?
Post by: WMCoolmon on March 20, 2005, 01:31:02 am
Probably because the fields were out of order or some required fields were missing.
Title: FRED?
Post by: Jake101 on March 20, 2005, 03:09:10 am
Ah, it seems that whenever I try to implement some of the new SEXP's, such as the cutscenes options like time compression and setting the camera, it gives me errors. Not cool.
Title: FRED?
Post by: Starman01 on March 20, 2005, 03:45:17 am
Finally, this makes my day. Thanks Phreak ;)
Though I'm getting a small error after loading my missions, guess there is something in our mod-data that this build don't like :
Is this something serious (or in other words do I risk breaking parts of the mission when resaving it with this error) or can I ignore it (more or less).
What's type 14 referring to, maybe there is a error in the data I wasn't aware of. ?
Title: FRED?
Post by: WMCoolmon on March 20, 2005, 03:48:07 am
Congratulations, you win the most obscure error award! :D
It's a jump node problem, probably an error check in FRED that I missed. (Object type 14 is a jump node)
I'd suggest not resaving it; FRED has a habit of messing up mission files if anything goes wrong. I lost a command briefing screen and a couple messages by using the wrong character. (Quotation marks in the messages, not sure what killed the CB)
Title: FRED?
Post by: karajorma on March 20, 2005, 03:52:50 am
Quote
Originally posted by Cobra no, they work fine, just that in Exodus the arrival music plays at the same time the main part does.
They may have worked but they weren't correct. The new versions of FRED and FS2_Open are MUCH more strict about this sort of thing than the old ones. You'll find that both of them break tables that previously seemed to work okay.
When you consider that those tables were responsible for unexplained locks and crashes that's probably no bad thing cause it forces people like you who release stuff without running it through a debug build first to correct their work rather than just bodging it together until it looks okay and then using it.
Hmmm. That sentence may come off a little harsh but I can't be bothered to rewrite it :D
EDIT : Goober's equivalence testing for string variables doesn't seem to be working in this build though. I was really looking forwards to playing with that. :(
Good work on fixing the other bugs though :yes:
Title: FRED?
Post by: starfox on March 20, 2005, 04:23:16 am
Totally outstanding work, PhReAk. downloading now !
Download complete and testing, I also seem to have "rename jump node" problem. Here's more interesting problem: I can only see the cockpit (and the pilot) of the Hercules, nothing more
Title: FRED?
Post by: Black Wolf on March 20, 2005, 04:58:38 am
Err... I see the menus, I see the buttons... but I don't see the display window. I used -fredhtl and all - anything else I might be doing wrong?
Title: FRED?
Post by: Starman01 on March 20, 2005, 05:02:30 am
@WMCoolman :
Thanks for the info, in this case I will wait a little and continue with the old build for the time, but I'm still glad to see some progress here :)
When we are already at it, I have another strange error, but this one appears since the first HTL-Build of FRED :
"Serious problem loading model "insert name here", XX normals capped to zero".
I'm getting this error with two models sofar (a destroyer with "34 normals" and a highpoly satelliet with "240 normals") , but besides this message when loading and saving, everything is fine (works also without problems ingame, so I'm ignoring it fully) Builds before 3.6.5 seem to ignore this problem.Just thought I mention it ;)
Title: FRED?
Post by: RandomTiger on March 20, 2005, 05:30:00 am
Fantastic work Phreak, thanks very much for that. I would love to know how you fixed the viewing system problem.
Could anyone looking at the build please update me on any bugs that still need fixing with regard to it moving to OpenGL.
Title: FRED?
Post by: Blitzerland on March 20, 2005, 09:06:01 am
Just fix these bugs and it'll be perfect, right?
*can hardly wait*
Title: FRED?
Post by: phreak on March 20, 2005, 02:19:55 pm
Ok here's what i've fixed this afternoon:
1) Dockpoints and paths now draw correctly in HTL. 2) Distances draw correctly in HTL 3) Background bitmaps show up again.
I just need to fix those various jump node problems and we'll call it good. *bashes WMC*
Title: FRED?
Post by: Solatar on March 20, 2005, 02:24:49 pm
*gives PhReAk a nice pat on the back*
Title: FRED?
Post by: StratComm on March 20, 2005, 03:13:59 pm
Does it recognize animation flags in the tables as it parses yet? I know it doesn't really need them to operate, but the version I'm using right now stops parsing once it hits one.
Title: FRED?
Post by: Blitzerland on March 20, 2005, 03:20:20 pm
Quote
Originally posted by PhReAk Ok here's what i've fixed this afternoon:
1) Dockpoints and paths now draw correctly in HTL. 2) Distances draw correctly in HTL 3) Background bitmaps show up again.
I just need to fix those various jump node problems and we'll call it good. *bashes WMC*
*eagerly awaits new version*
All these years of broken FRED, and now PhReAk fixes it so quickly. :lol:
Title: FRED?
Post by: Bobboau on March 20, 2005, 03:28:00 pm
yeah, he must have found that broken = true; line and changed it.
Title: FRED?
Post by: WMCoolmon on March 20, 2005, 04:18:14 pm
I knew that -fixbugs command line would come in handy.
I'm in Linux right now, so, uh, it'd be a bit hard to test FRED. Well, I think I do have winex installed... :p
I'll take a look when I boot to windows.
Edit: And how did you fix the viewing system problem?
Title: FRED?
Post by: Bobboau on March 20, 2005, 04:22:38 pm
probly a veiw matrix forgetting to be reset.
Title: FRED?
Post by: phreak on March 20, 2005, 05:05:32 pm
or the matrices being set when they weren't supposed to.
just diff fredrender.cpp and take a look
Strattcomm: It has everything as of 3/19 in it.
Title: FRED?
Post by: phreak on March 20, 2005, 06:10:42 pm
updated the build as of March 20th (link at top)
1) Dockpoints and paths now draw correctly in HTL. 2) Distances draw correctly in HTL 3) Background bitmaps show up again. 4) Jump nodes can now be renamed!112 5) Jump nodes now don't throw errors if loaded from a mission
rats, i just discovered a minor bug. If you load a mission with a background, it won't show up until you open the background editor.
Title: FRED?
Post by: Ferret on March 20, 2005, 07:49:21 pm
PhReAk, how many of your babies can I have? I want them all! :O
Title: FRED?
Post by: WMCoolmon on March 20, 2005, 09:10:14 pm
He can have babies? :wtf: Phreak, have you been modded?
(Thanks for fixing the jump node bugs btw.)
Title: FRED?
Post by: phreak on March 20, 2005, 09:15:53 pm
I'm running retail.
Title: FRED?
Post by: Cobra on March 20, 2005, 09:18:02 pm
retail?
i want a d3d fred_open.
you can do that, right phreak? huh? huh? huh?
Title: FRED?
Post by: phreak on March 20, 2005, 09:21:09 pm
.
Title: FRED?
Post by: Taristin on March 20, 2005, 09:34:11 pm
hehe
so I got bored... whoopdie do. I needed to use my wacom more anyway
Title: FRED?
Post by: Cobra on March 20, 2005, 09:36:07 pm
:lol: wait... I DO NOT PISS MY PANTS.
Title: FRED?
Post by: Taristin on March 20, 2005, 09:45:43 pm
I dunno. My pic proves otherwise... :nervous:
Title: FRED?
Post by: Cobra on March 20, 2005, 09:46:34 pm
*gives Raa the finger*
Title: FRED?
Post by: Taristin on March 20, 2005, 09:47:29 pm
*bites Cobra*
Title: FRED?
Post by: phreak on March 20, 2005, 09:48:43 pm
quit the spam. before goob bans us all
Title: FRED?
Post by: Taristin on March 20, 2005, 09:53:25 pm
I dunno. A banning would probably help my social life verily.
Title: FRED?
Post by: WMCoolmon on March 20, 2005, 10:00:20 pm
:sigh:
I tried your build of FRED under Linux with wine...it tells me it can't be run from a root directory.
Title: FRED?
Post by: Goober5000 on March 20, 2005, 10:34:32 pm
Quote
Originally posted by PhReAk quit the spam. before goob bans us all
*finger hovers over ban button*
:drevil:
Title: FRED?
Post by: Ferret on March 20, 2005, 10:41:44 pm
Goob really does hate us all. :O
Title: FRED?
Post by: Cobra on March 20, 2005, 10:46:53 pm
OK... shutting up now. :nervous:
Title: FRED?
Post by: Trivial Psychic on March 20, 2005, 10:48:23 pm
OK, there's a weird thing going on with subobject rendering and alpha textures. Now, under 3.6.5 and the LOD rendering distances, unless you got to point-blank, you would never see anything of Bob's Deimos but its LOD1 mutli-part turrets. On the other hand, Bob's Hercules displayed apparently normally under 3.6.5, because you were always seeing LOD1. If you zoom in so that LOD0 is visible, suddenly the ship disappears and all you see is the cockpit sub-object. Now, since you've reverted to the previous LOD viewing distances, the LOD0 of the Deimos is now typically visible, but the LOD0 of Bob's Hercules only displays the cockpit sub-object. Also, the alpha textures on the Deimos are completely invisible and you can see right though the ship there. I don't suppose that these will be easy to fix eh?
Title: FRED?
Post by: Taristin on March 20, 2005, 11:14:32 pm
Aren't LOD levels controlled by both the table, and the slider in the options windw?
Title: FRED?
Post by: StratComm on March 20, 2005, 11:15:51 pm
Not in FRED, it's always been an arbitrary constant there. The problem is that the Herc uses tga textures, which FRED cannot load. The result is an invisible ship. You really should have low-quality pcx placeholders for any in-game graphic besides effects, if just to make FRED happy. I'll bet the wireframe shows up fine. Or it crashes, because wireframing a high-poly ship is apparently something the render engine cannot do.
Title: FRED?
Post by: Cobra on March 20, 2005, 11:16:49 pm
something else they need to fix. :D
Title: FRED?
Post by: Taristin on March 20, 2005, 11:38:52 pm
Quote
Originally posted by StratComm Not in FRED,
Ah. I'm terribly unfamiliar with fred, these days.
Title: FRED?
Post by: StratComm on March 21, 2005, 12:44:44 am
Why Fred and FS2 don't share a common render engine is a little beyond me (not from a SCP standpoint, but from a FS2 one). I do understand that it was a non-advertised and virtually unsupported bonus, at least in theory, and its development would have been secondary to that of FS2 proper, but come on. Could the devs have not at least used the same rendering code that they did for the game to make it work? ST:Armada's editor mode that lets you use the engine to make a map seems so much easier to keep working than a seperate rendering package. What WMC's working on with his Lab mode is close, but I guess it'd take too radical a restructuring of FRED code to do it.
Title: FRED?
Post by: Black Wolf on March 21, 2005, 03:55:09 am
Quote
Originally posted by Black Wolf Err... I see the menus, I see the buttons... but I don't see the display window. I used -fredhtl and all - anything else I might be doing wrong?
NM, fixed, though Phreak I have a new bug for you. Running FRED with non crash causing table bugs (ie. the ones you can OK past) cause this bug. You've gone and made me fix my tables. Bastard. :p
Title: FRED?
Post by: phreak on March 21, 2005, 09:09:38 am
make sure you're using -jpgtga before attempting to use models with JPG or TGA textures.
Title: FRED?
Post by: StratComm on March 21, 2005, 10:24:54 am
Fred supports jpgtga? Cool. Now we just need a Fred launcher.
Title: FRED?
Post by: Starman01 on March 21, 2005, 01:49:16 pm
Works pretty good now. That's really enjoyable working with a correct line of view (mean the y-axis thing), thanks Phreak (and of course all others involved) :)
Since the hard bugs are now solved, can we expect the small but very annoying ones be eradicated in the near future (meaning the "loosing of wing-edit departure-target", the "loosing of wingmen-entries" (both happen when either the ship is moved, or you skip through ships-and wingedit) and also the possibilty to alter the enemy secondary weapons in type and amount ? (or is this error related to all ships, don't know right now )
I know, I know, I should be grateful for what I get today, but I couldn't helped myself and had to ask :D
Title: FRED?
Post by: Cobra on March 21, 2005, 04:25:29 pm
Quote
Originally posted by StratComm Now we just need a Fred launcher.
why don't they make one? then i might get FRED_Open to reneder everything.
i don't get a layout of the mission area, just the toolbars. that's what i get with 3.6+.
oh and can anybody give me a d/l link for FRED_Open 3.0 and 3.5? i searched and looked at the site, and i couldn't find it.
apparently, one of those (i forgot which one) works on my comp.
Title: FRED?
Post by: Black Wolf on March 22, 2005, 04:46:32 am
Quote
Originally posted by Cobra i don't get a layout of the mission area, just the toolbars. that's what i get with 3.6+.
I had this probalem as well. Make sure you have nice, clean, bugless tables. If neccesary, extract a new set from root.vp to confirm it'll fix your problem. If it doesn't, then, err... tis a new bug I guess.
Title: FRED?
Post by: Cobra on March 22, 2005, 10:25:59 am
ah, thanks. :D
Title: FRED?
Post by: Starman01 on March 22, 2005, 02:34:36 pm
Hm, has someone else noticed entire system-freezes when Fred tries to open or save missions, which had still errors in it (like a messed up player-ship for example) ? I'm getting these quite often with this fred-version.
(I can't even access the taskmanager anymore to end the application, the keyboard is blocked. Funny thing, the mouse still moves, but the desktop is not accessable, means frozen).
Title: FRED?
Post by: Slasher on March 22, 2005, 03:28:55 pm
Backgrounds don't show up when using this build with The Babylon Project 3.1. Could it be a mod specific problem by any chance?
Title: FRED?
Post by: phreak on March 22, 2005, 03:29:52 pm
Quote
Originally posted by Slasher Backgrounds don't show up when using this build with The Babylon Project 3.1. Could it be a mod specific problem by any chance?
use the "-jpgtga" command line If you load a mission with a background, it won't show up until you open the background editor.
Title: FRED?
Post by: StratComm on March 22, 2005, 04:35:04 pm
I'm still not seeing backgrounds though. Not Lightspeed's, not the stock ones, nothing. I get the suns though without a problem.
Title: FRED?
Post by: Jake101 on March 22, 2005, 04:37:09 pm
Again, any chance of knowing why the new SEXP's are not working or perhaps some info on how they work?
Title: FRED?
Post by: karajorma on March 22, 2005, 05:06:19 pm
Which new SEXP's aren't working?
Title: FRED?
Post by: WMCoolmon on March 23, 2005, 04:19:00 am
The SEXP problems are probably because I updated/modified some of the SEXPs I already added, but didn't adequately test 'em when I did that (or never really got them completely tested in the first place.) This is one of the reasons why recent builds are posted...a new build is added and a coder wants to show it off and get a little extra testing done on the side.
Meh.
If you can get some kind of list of problems (even a works-doesn't work list), that'd be nice.
*starts* The documentation for show-subtitle is completely FUBAR'd. ;)
General overview of how stuff works -
camera SEXPs set the camera position. Does some fancy smooth rotation stuff. Call reset-camera when you're done. Player controls still work, the camera just changes, so you should probably use player-use-ai or something.
set-fov and reset-fov change the field of view and reset it to default instantaneously.
show-subtitle is supposed to spit some text out (fade it in and out, actually, at a rate you specify).
lock-perspective forces the camera to one of the specified ones, eg the in cockpit one.
set-time-compression sets the time multiplication factor and how long it takes to get to that point, and if you want, you can force the time compression to a multiplier instantaneously. Both multipliers are in %s.
set-cutscene-bars and unset add and remove the letterbox bars. They're the same size as on the FS cutscenes. Rate is the one you specify.
fade-in and fade-out fade in and out respectively, at the rate you specify.
Title: FRED?
Post by: Slasher on March 23, 2005, 04:58:24 am
Quote
Originally posted by StratComm I'm still not seeing backgrounds though. Not Lightspeed's, not the stock ones, nothing. I get the suns though without a problem.
Same here. Are there any other special tags I should have enabled/disabled to see backgrounds in the editor again?
Title: FRED?
Post by: phreak on March 23, 2005, 09:07:29 am
whats your fred command line?
Title: FRED?
Post by: Ferret on March 23, 2005, 10:18:52 am
I am also getting no background, bar suns and stars.
I run it with no command lines, and with "-jpgtga". I try to add them in myself, I try to load existing missions, no background. I open the editor and no change.
They work in FS2 of course.
Title: FRED?
Post by: StratComm on March 23, 2005, 10:27:58 am
Mine's just the exe with -jpgtga added (and a mod, but that doesn't affect anything)
Title: FRED?
Post by: Ransom on March 23, 2005, 10:37:07 am
Odd. The background shows for me. And I don't have -jpgtga in the commandline.
Title: FRED?
Post by: Slasher on March 23, 2005, 12:17:44 pm
I've got a shortcut to the FRED2Open exe that looks like this:
No backgrounds with or without the -jpgtga extension, but I can see suns and stars just fine.
Title: FRED?
Post by: phreak on March 23, 2005, 12:56:28 pm
add the -fredhtl command line. and make sure -mod XXX is the last parameter
Title: FRED?
Post by: Ferret on March 23, 2005, 01:11:30 pm
-fredhtl makes them appear. Thanks a lot. :D This build pwns.
Title: FRED?
Post by: phreak on March 23, 2005, 01:17:01 pm
yea i'll work on fixing that
Title: FRED?
Post by: Slasher on March 23, 2005, 01:24:40 pm
-fredhtl worked for me too! :yes: The backgrounds kinda move around when I look around though, like they're not "bolted down," but I can deal with that. Thanks for the awesome build and help!
Oh, what exactly does -mod XXX do? Am I supposed to replace the XXX with something else or does this just tell FRED2Open that it sould look for a mod?
Title: FRED?
Post by: phreak on March 23, 2005, 02:19:02 pm
i fixed the lack of backgrounds in non-htl, though i'm going to update the build whenever i manage to fix the briefing icon bug.
Title: FRED?
Post by: Ferret on March 23, 2005, 02:40:46 pm
I havn't really had any other problems with this yet. Guess I've got no excuse now...
Title: FRED?
Post by: StratComm on March 23, 2005, 02:54:12 pm
Lol, my mistake. I had no idea that Fred wasn't HTL by default now :rolleyes: Yay for a fixed Fred!
Title: FRED?
Post by: Slasher on March 23, 2005, 03:59:26 pm
Does anyone know why red nebulas might be showing up blue and vice versa in the editor?
Title: FRED?
Post by: StratComm on March 23, 2005, 04:45:08 pm
It's not doing it for me, so I don't know. Are the source files (all of them) the same, especially if you have both PCX and TGA versions.
Title: FRED?
Post by: Slasher on March 23, 2005, 05:41:16 pm
Thanks, that's just the tip I needed. I checked the .vp file and both a .jpg and another format of each background is included, so I removed the -jpgtga tag and kept the -fredhtl and now the graphics show as they should.
Title: FRED?
Post by: Trivial Psychic on March 23, 2005, 07:44:20 pm
I was testing a bit in HTL mode, and there are still bugs... granted, I have only one to report, I just decided to pluralize it since that it is likely that this isn't the only one. Anyway, on to the bug. If you place a ship on the grid, and move it away from the center of the screen, the ship render won't move as fast or as far as the actual location. It'll be rendered slightly off. Just thought I'd mention that.
Title: FRED?
Post by: StratComm on March 23, 2005, 08:59:17 pm
I'd be willing to bet that FRED isn't displaying jpegs correctly. This isn't the first I've heard of this, and if taking jpgtga away renders them correctly, that just about points exclusively to the jpg display as the cause.
Title: FRED?
Post by: Cobra on March 23, 2005, 09:02:58 pm
uhm, where are the command lines for FRED_Open?
Title: FRED?
Post by: StratComm on March 23, 2005, 09:38:19 pm
If you mean where do you enter them, that's why I said we need a launcher. To use a command line argument, the easiest thing to do is to create a shortcut to the exe you're using and opening it's properties window. Then in the "target" field add the command lines you want to use after the executable name.
Title: FRED?
Post by: Ferret on March 23, 2005, 09:42:23 pm
I think he means, what are the available command lines.
I wouldn't mind knowing either.
Title: FRED?
Post by: StratComm on March 23, 2005, 09:53:19 pm
That too. I think they are basically all graphics-related (or they should be) so there shouldn't be too many to worry about.
Title: FRED?
Post by: Cobra on March 23, 2005, 10:02:33 pm
i want to switch to D3D rendering, what's the command line for that?
Title: FRED?
Post by: Taristin on March 23, 2005, 10:08:32 pm
You can't, AFAIK.
Title: FRED?
Post by: Cobra on March 23, 2005, 10:24:04 pm
nah, there's an error that says either switch to D3D rendering and something else.
Title: FRED?
Post by: StratComm on March 23, 2005, 10:26:28 pm
^ What he said. FRED's OGL exclusive. If for whatever reason your card can't handle OGL, you're stuck with software rendering.
Phreak, is there a reason my backgrounds turn into Shards-O-Death whenever I save? Doesn't seem to effect anything else and it goes away as soon as I open the background window, but it looks mighty funky.
Title: FRED?
Post by: WMCoolmon on March 23, 2005, 11:02:31 pm
Quote
Originally posted by Cobra nah, there's an error that says either switch to D3D rendering and something else.
I think this bug was fixed in CVS, so the next FRED build should work with you.
Title: FRED?
Post by: Cobra on March 23, 2005, 11:07:40 pm
cool! that's actually the only thing keeping me from using SCP, is that one rendering problem. when will it be released?
Title: FRED?
Post by: Jake101 on March 23, 2005, 11:10:00 pm
Quote
Originally posted by WMCoolmon The SEXP problems are probably because I updated/modified some of the SEXPs I already added, but didn't adequately test 'em when I did that (or never really got them completely tested in the first place.) This is one of the reasons why recent builds are posted...a new build is added and a coder wants to show it off and get a little extra testing done on the side.
Meh.
If you can get some kind of list of problems (even a works-doesn't work list), that'd be nice.
*starts* The documentation for show-subtitle is completely FUBAR'd. ;)
General overview of how stuff works -
camera SEXPs set the camera position. Does some fancy smooth rotation stuff. Call reset-camera when you're done. Player controls still work, the camera just changes, so you should probably use player-use-ai or something.
set-fov and reset-fov change the field of view and reset it to default instantaneously.
show-subtitle is supposed to spit some text out (fade it in and out, actually, at a rate you specify).
lock-perspective forces the camera to one of the specified ones, eg the in cockpit one.
set-time-compression sets the time multiplication factor and how long it takes to get to that point, and if you want, you can force the time compression to a multiplier instantaneously. Both multipliers are in %s.
set-cutscene-bars and unset add and remove the letterbox bars. They're the same size as on the FS cutscenes. Rate is the one you specify.
fade-in and fade-out fade in and out respectively, at the rate you specify.
And basically - all of those are not working for me. :confused:
Title: FRED?
Post by: WMCoolmon on March 23, 2005, 11:16:31 pm
You need to be using a build that supports the SEXPs for them to work...the Cutscenes ones should definitely be implemented by the time of my tri-build, otherwise, look in the features list and see if they're listed in the build's thread.
Title: FRED?
Post by: Grug on March 24, 2005, 05:26:39 am
So what are the flags that I should be using? -fredhtl -mod xxx and is that all?
Title: FRED?
Post by: Slasher on March 24, 2005, 09:02:35 am
Quote
Originally posted by StratComm ^ What he said. FRED's OGL exclusive. If for whatever reason your card can't handle OGL, you're stuck with software rendering.
Phreak, is there a reason my backgrounds turn into Shards-O-Death whenever I save? Doesn't seem to effect anything else and it goes away as soon as I open the background window, but it looks mighty funky.
Happens to me too, though like you said, if I reopen the background editor the nebulas revert from their violent pileup state. :)
Title: FRED?
Post by: Ferret on March 24, 2005, 10:05:42 am
The only time mine have turned into shards of death was when I opened SM1-01, but I opened the editor and they all came back.
Title: FRED?
Post by: karajorma on March 24, 2005, 12:44:43 pm
Quote
Originally posted by Grug So what are the flags that I should be using? -fredhtl -mod xxx and is that all?
-jpgtga (If you're using either format as backgrounds or textures) -no_warn (Turns off all the warning messages. Use with care. Some of them are there for a reason!).
Title: FRED?
Post by: Grug on March 24, 2005, 02:05:55 pm
Thankee.
Title: FRED?
Post by: phreak on March 24, 2005, 03:44:37 pm
Build updated with some minor fixes. Link in first post
Title: FRED?
Post by: DaBrain on March 24, 2005, 03:48:58 pm
Is it possible that textures are only supported up to 1024².
I have a 2048² map there that just won't show up on the model. (It works fine in-game)
Title: FRED?
Post by: Ferret on March 24, 2005, 03:55:49 pm
Again big thanks to you Phreak, I've nearly finished the first mission I've done in aaaaaages because Fred 2 Open has generally always been unusable for me. Now it works like a charm!
Title: FRED?
Post by: Blitzerland on March 24, 2005, 10:14:13 pm
Hello, FRED has been fixed. Newsify this! Finally, Briefings can be pain-free again!
All the wasted years...
Edit: Thanks, Phreak, because of your noble actions, I finally got around to making that seven stage briefing I'd had in the works. :yes:
Title: FRED?
Post by: Trivial Psychic on March 24, 2005, 11:02:56 pm
Ship models are still being rendered out of position in HTL mode (March 24th build).
Title: FRED?
Post by: phreak on March 25, 2005, 12:11:13 am
Quote
Originally posted by Trivial Psychic Ship models are still being rendered out of position in HTL mode (March 24th build).
yea i haven't gotten around to it yet.
Title: Re: FRED?
Post by: Trivial Psychic on March 25, 2005, 01:16:01 am
Quote
Originally posted by PhReAk AS OF MARCH 24: 2) Distances draw correctly in HTL
I wasn't sure exactly what that entailed, so I decided to re-post the problem just incase.
Additionally, I've noticed that when I save a mission for the first time, it thinks that I've selected some ship other than Alpha 1 as the player ship. Selecting Alpha 1 and clicking the "set as player ship" button then resaving, seems to solve it... its just weird. Also, I was FREDing a mission in non-HTL mode and as soon as I added a Fenris (HTL model), all the other models suddenly got a blueish glow on them, as though there was a bright blue light in the area. The Fenris went all funky with colors, especially on the details. Also, I was using -jpgtga.
Later!
Title: FRED?
Post by: StratComm on March 25, 2005, 02:10:08 am
I've seen the colors on the Fenris too. I think that loading a model of that complexity in non-htl mode is a bad idea regardless of what it actually does, but that's a little beside the point.
Title: FRED?
Post by: karajorma on March 25, 2005, 04:34:24 am
Any chance that you can fix the load and save dialog boxes so that they open in the data\missions folder of whereever -mod points to rather than using the last used folder?
It's only a low grade annoyance the way it is now but it is still an annoyance.
Title: FRED?
Post by: Trivial Psychic on March 25, 2005, 12:02:06 pm
2nded
Title: FRED?
Post by: phreak on March 25, 2005, 11:16:56 pm
arg i was very close to fixing the load/save annoyance, but i thought i was doing something wrong and started over (i was actually on the right track). blah
Title: FRED?
Post by: karajorma on March 26, 2005, 03:02:15 am
Been there. Done that before.
Title: FRED?
Post by: Luigi30 on March 26, 2005, 10:52:23 am
FRED crashed after I saved my mission and now it refuses to start. I've got a screenshot of the error here (luigi30.com/fred.jpg). Well, it starts if I hit OK, but nothing is drawn in the grid area and I can't interact with the program.
Title: FRED?
Post by: karajorma on March 26, 2005, 11:41:39 am
That's a table error. What mods are you running? Do you have media vp files installed?
Title: FRED?
Post by: Luigi30 on March 26, 2005, 11:49:27 am
I have the War mission, it comes with a table to make the Deimos playable and not crash vanilla FS2. It worked last night and earlier this morning. I got FRED to start, but the mouse cursor disappears when it's in the FRED window.
Title: FRED?
Post by: Blitzerland on March 26, 2005, 12:30:49 pm
Quote
Originally posted by Luigi30 I have the War mission, it comes with a table to make the Deimos playable and not crash vanilla FS2. It worked last night and earlier this morning. I got FRED to start, but the mouse cursor disappears when it's in the FRED window.
Try getting rid of the table.
Title: FRED?
Post by: Boomer on March 28, 2005, 01:18:42 pm
I'm still getting an error. Reads like this. Error: The required OpenGL extension 'GL_EXT_draw_range_elements' is not supported by your graphics card, please use the Glide or Direct3D rendering engines.
Call stack: ------------------------------------------------------------------ FRED2_OPEN_R_03242005.EXE 0060a146() FRED2_OPEN_R_03242005.EXE 005040c9() FRED2_OPEN_R_03242005.EXE 004324be() FRED2_OPEN_R_03242005.EXE 0042ce5b() MFC42.DLL 5f401f1b() MFC42.DLL 5f401cea() MFC42.DLL 5f401c73() MFC42.DLL 5f401bfb() MFC42.DLL 5f401bba() KERNEL32.DLL bff63613() KERNEL32.DLL bff848f7() ------------------------------------------------------------------ What can I do?
Title: FRED?
Post by: phreak on March 28, 2005, 03:23:15 pm
What video card do you have?
Title: FRED?
Post by: Boomer on March 28, 2005, 03:55:08 pm
NVIDIA 32MB GeForce2 MX (Dell)
Oldie but goodie
Title: FRED?
Post by: phreak on March 28, 2005, 04:49:36 pm
that should work, i had one of those a while back and it worked fine for OGL development. Have you upgraded your drivers recently?
Title: FRED?
Post by: Boomer on March 28, 2005, 04:58:31 pm
No, don't think so where should I go?
Sorry for being such an idiot, just got wisdom teeth taken out and I'm still screwed up on meds.
Title: FRED?
Post by: phreak on March 28, 2005, 05:34:41 pm
ouch
http://www.nvidia.com/content/drivers/drivers.asp
Title: FRED?
Post by: WMCoolmon on March 28, 2005, 06:04:37 pm
Ahh, I remember getting my wisdom teeth out. :D Well, I remember sitting in the chair, getting a light sedative...then stumbling out a while later. Good times. :D
Title: FRED?
Post by: Boomer on March 29, 2005, 06:36:00 am
Yes!!! I finally works! All hail PhReAk, lord of FRED!
*Pops Vikadin*
Ah, thank you PhReAk. When I get around to finishing the campaign I was trying to start you'll be first to know.