Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Black Wolf on September 17, 2013, 10:20:56 pm

Title: Thought bubble - FRED Spellchecker?
Post by: Black Wolf on September 17, 2013, 10:20:56 pm
Would this be even vaguely conceivable? I'm thinking about the wavy red lines you get in Word and Firefox and such things when you type in an unrecognized word. I know that you can always copy your briefings, debriefings and messages into OpenOffice or something and check them. Then copy them back, but adding the functionality directly to FRED would make it much harder to forget that particular step. It would be far from perfect, of course, but it might help eliminate some of the more easily missed little errors and typoes that can be so immersion breaking when you notice them ingame.

Of course, I want to reiterate that this is purely a thought bubble. I have no idea how it might be implemented, or whether it would be viable or not. Just putting it out there.

Title: Re: Thought bubble - FRED Spellchecker?
Post by: Trivial Psychic on September 17, 2013, 10:27:07 pm
This would simplify matters.  :yes:
Title: Re: Thought bubble - FRED Spellchecker?
Post by: chief1983 on September 18, 2013, 11:27:08 am
Mention it to z, there are open source spellcheckers out there that could probably do the trick and be integrated into wxFRED.
Title: Re: Thought bubble - FRED Spellchecker?
Post by: Dragon on September 18, 2013, 11:36:59 am
That would be nice indeed. It'd need a customizable dictionary (so it can spellcheck words such as "Vasudan" or "jumpdrive"), but I think this would really come in handy for everyone.
Title: Re: Thought bubble - FRED Spellchecker?
Post by: Goober5000 on September 18, 2013, 11:47:50 am
Pah.  All y'all need to learn to spell. :p

Alternatively, you can use the Voice Acting Manager to export all your text to a file and then run a spellchecker on that.
Title: Re: Thought bubble - FRED Spellchecker?
Post by: mjn.mixael on September 18, 2013, 11:51:25 am
Pah.  All y'all need to learn to spell. :p

Alternatively, you can use the Voice Acting Manager to export all your text to a file and then run a spellchecker on that.

I'm not convinced you read the first post....
Title: Re: Thought bubble - FRED Spellchecker?
Post by: Kopachris on September 18, 2013, 06:59:24 pm
Mention it to z, there are open source spellcheckers out there that could probably do the trick and be integrated into wxFRED.

Thinking GNU aspell?  I think the GPL is incompatible with FS2_Open, but what about LGPL?
Title: Re: Thought bubble - FRED Spellchecker?
Post by: Goober5000 on September 18, 2013, 08:09:14 pm
I'm not convinced you read the first post....

I just skimmed it. :nervous:
Title: Re: Thought bubble - FRED Spellchecker?
Post by: SypheDMar on September 19, 2013, 08:10:17 pm
Mention it to z, there are open source spellcheckers out there that could probably do the trick and be integrated into wxFRED.

Thinking GNU aspell?  I think the GPL is incompatible with FS2_Open, but what about LGPL?
Does incompatible with FS2_Open mean it's incompatible with wxFRED? If not, all we have to do is release wxFRED under GPL too, right?

I don't oppose the implementation if it speeds up development. If someone decides to try and implement this, there should be tests to ensure that the spell-checker does not act as a bottleneck in any circumstances. As a non-coder, I don't really know if a spell checker can even do that, so it might not even be a concern. If it does nothing to a mission file in, say, BP2, then I'm all for it.
Title: Re: Thought bubble - FRED Spellchecker?
Post by: Admiral Nelson on September 19, 2013, 08:15:13 pm
I just spell check missions using Notepad++.  I just add all the Freespace "words" to the custom dictionary, and after a few missions are run through it only picks up misspellings in messages, briefings, etc...  There is no need to copy and paste at all.
Title: Re: Thought bubble - FRED Spellchecker?
Post by: MatthTheGeek on September 20, 2013, 01:00:24 am
Does incompatible with FS2_Open mean it's incompatible with wxFRED? If not, all we have to do is release wxFRED under GPL too, right?
wxFRED, much like FRED2, has to use FS code.
Title: Re: Thought bubble - FRED Spellchecker?
Post by: karajorma on September 20, 2013, 01:35:12 am
Well the question is whether we can stick a different licence on the wxFRED bit from everything else.

A spell checker wouldn't actually have to interact with any of the :v: code at all. It would have already finished it's work before any of the volition data structures were touched.
Title: Re: Thought bubble - FRED Spellchecker?
Post by: z64555 on September 20, 2013, 07:11:05 am
wxFRED currently does not have anything of :v:'s creation, aside from the general layout of the windows and dialogs, and button graphics for the main editing window.

This will likely change once the drawing canvas gets implemented and hooks into the graphics rendering code, and maybe also once the mission import/export functions get put in.

Other than those bits, I have no clue as to what can/can't be done regarding licensing.