Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: blasterpal on December 02, 2003, 01:25:58 pm

Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: blasterpal on December 02, 2003, 01:25:58 pm
OK This is the guy who posted a message a couple of months ago about using FSO to create a space simulator for my kids. Well I've completed most of the modifications for single player missions:

1. random mission loading (randomly loads missions);keeps on repeating when you leave a mission.
2. command line mission loader; supply a mission name and viola.
3. remote mission loader; a udp listener that waits for a mission name command and then loads that mission. Can also control behavior of game remotely. This was special for my needs. Keeps the young kids from having to navigate menus and allows the flow/logic of game to tie in another console app that acts as the "navigation" system.
4. Skip briefing with any of above when loading mission.

I will be posting pics of the ship I built soon inside and out. It's 57"w x 81"L x 61"H.  I went overboard!

Also letting the dev guys know that  I'd like to help out on FSO changes,modifications or debugging. I'm pretty good a C++ and would donate some time to work out issues. Who should I talk to about contributing?

I am not posting the EXE yet.  I can't get rid of the "debug spew" at this time and need to beta test fully. I think it is the DirectX runtime I have installed on my system. Is there another way to kill that debug spew?

Lastly, are there any files for the Star Wars conversion. I'd love to get some models and missions for the kids.
 
Thanks,
blasterpal
Title: Re: New/Weird FSO Modifications and Developer Ready to Assist
Post by: Goober5000 on December 02, 2003, 02:03:36 pm
Quote
Originally posted by blasterpal
debugging

How good at debugging? :) We have a nasty crash popping up that we're having trouble nailing down.  Look at the "debris crashing" thread for details.
Quote
Is there another way to kill that debug spew?

It sounds like you're running a debug build.  Change the configuration to "release" (in MSVC, Tools-->Set Project Configuration) and recompile.
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: blasterpal on December 02, 2003, 02:11:49 pm
I saw that one today. I can take a look. What fork should I download the newest on CVS, the DX8?

H
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: Goober5000 on December 02, 2003, 02:21:29 pm
All the latest stuff is in the main fs2_open tree.
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: blasterpal on December 02, 2003, 02:29:01 pm
Ackknowlegded. I'll look at it within a few days and see what I can see. No promises though. It's hard to scour through that much code quickly as you know.

blasterpal
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: Flipside on December 02, 2003, 02:41:52 pm
LOL Trust me, if theres one group of people you don't need to tell that to...... ;)

Welcome aboard, anyone who can help these guys make FS2 better is always a good sight.
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: kasperl on December 02, 2003, 02:45:07 pm
Goobm won;t this guy need internal/avatar?

not that i mean to interfere, but i feel you are forgetting something.....
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: blasterpal on December 02, 2003, 02:49:16 pm
internal/avatar? Hello kasperl I work for a Dutch company, can you guess which one?

blasterpal
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: Flipside on December 02, 2003, 02:56:08 pm
Clogs R Us?

;)
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: kasperl on December 02, 2003, 03:00:15 pm
Dutch, well, if you work tech, it's probably Philips. if you work management, it could be Stork, Ahold had some stuff in the states, but that's my end of the geussing. ASML is another dutch company in the states, but i don;t remember them having anything near atlanta, not sure though

and internal means internal forum acces, acces to an invisible (for non-coders) forum for the devs, and an avatar is the little SCP picture under your name.
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: blasterpal on December 02, 2003, 03:10:56 pm
Give that man a cookie first answer is gold. I haven't been to NL in a couple of years. Want to take my wife back one day. I really think Amsterdam is beautiful at night.

Back to business, what ever you think about the forum access and avatar icon. I just enjoy coding.

blasterpal
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: blasterpal on December 02, 2003, 03:36:14 pm
To Goober5000:

Regarding: It sounds like you're running a debug build. Change the configuration to "release" (in MSVC, Tools-->Set Project Configuration) and recompile.

I did that. I'll retry build nd kill all the object files. ...
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: KARMA on December 02, 2003, 03:48:20 pm
I think his custom modifications could be pretty useful in addition with persistent variables for some rts style campaigns, maybe using persistant variables to make some conditions for the random choice. And they also sound useful for multiplayer, aren't they?:)
welcome blasterpal
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: blasterpal on December 02, 2003, 04:04:02 pm
Again to Goober5000:

Regarding: It sounds like you're running a debug build. Change the configuration to "release" (in MSVC, Tools-->Set Project Configuration) and recompile.

I did that. I'll retry build nd kill all the object files. ...

I kill all the Obj and Lib, rebuilt all, still no dice. I still have ole "Debug Spew" is it because I have a debug version of DirectX or am I still mission something?

Here's my MSVC compile settings:

code:
/G5 /MT /w /W0 /GX /Ot /Ow /Og /Oi /Oy /Ob2 /I "." /D "_WINDOWS" /D "WIN32" /Fp"..\Release\Profile/code.pch" /YX /Fo"..\Release\Profile/" /Fd"..\Release\Profile/" /FD Fp"..\Release\Profile/code.pch" /c
Freespace:
/G5 /MT /w /W0 /GX /Ot /Ow /Og /Oi /Oy /I "code" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /FR"Release\Profile/"


blasterpal
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: Goober5000 on December 02, 2003, 04:45:43 pm
If you installed the debug version of the DX8.1 kit... then you're out of luck.  You have to remove it and use the release version.  Not sure how you uninstall it, but according to Kazan it's rather tricky.
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: blasterpal on December 02, 2003, 05:03:55 pm
Yeah I think I installed the DX8 Debug runtime. Does that mean exe's should "debug spew" on other machines or just mine? If so, I got to rip that crap out.

blasterpal
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: Johnmike on December 02, 2003, 06:40:40 pm
o.O;
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: Bobboau on December 02, 2003, 10:31:18 pm
if it's the DX runtime then it'll only be on your machine
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: Kazan on December 03, 2003, 12:20:52 am
basically if you installed dx8.1 debug you have to overwrite it with dx 9 release


even dx eradictors couldn't clean it up
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: Setekh on December 03, 2003, 04:07:25 am
Well, welcome back, blasterpal. :) The code is all sailing over my head but it's really great to see you back and willing to help. :nod:
Title: Code Modification, Opinions Please
Post by: blasterpal on December 03, 2003, 02:05:37 pm
OK to finish up the my space simulator  ( and free up time to help with other FSO code duties:) ) I need to wrap up my remote control system. I need an opinion.

Should I:

A)  statically compile my protocol/message types into the code with a predefined number of messages. For example:
     a. Shutdown FS2
     b. Start Mission X
     c.  Start Random Mode
     d. etc.

Or

B) create a protocol loader, using INI file or XML to set up message types and their respective actions (function calls or FS2 POSTs). The question here is does C++ allow me to convert a char or string into a function call? VB can do this. Or is this even worth it.

I think that A while not as flexible will be more reliable and almost as easy.

blasterpal
Title: New/Weird FSO Modifications and Developer Ready to Assist
Post by: Sticks on December 03, 2003, 03:22:48 pm
Option B would be cool as hell, that's for sure.