Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: WMCoolmon on August 21, 2003, 02:31:02 am
-
I've made coloring definitions for ships.tbl in Crimson Editor (http://www.crimsoneditor.com). The zip (with install instructions) is located here (http://members.cox.net/~wmcoolmon/crimedit.zip).
Enjoy. :D
-
Cool :D thanks for do that
-
[color=66ff00]Nice one! Worthy of a news post methinks. :nod:
[/color]
-
Trying to make Sandy's php thing useless, eh? :p
-
A bit of competition can't hurt... ;)
His will probably work better with non-retail TBLs, actually :nervous:
-
Originally posted by Raa Tor'h
Trying to make Sandy's php thing useless, eh? :p
What php thing ?
-
This one: http://www.hard-light.net/forums/index.php/topic,16537.0.html
:hopping:
...kidding!! :p
Anyway, I've gotten sucked up into replaying (and hopefully finishing this time) Homeworld, which is why the TBL parser I did is on hold. But I've reworked the whole parser according to the flowchart I drew out (and posted, I might add), and it works pretty well, so I'll hopefully update that thread in a bit.
As for this one, I'm assuming this Crimson editor is something akin to TextPad (http://www.textpad.com), with color-coding and parsing for various programming languages, scripts, and stuff.
The main difference, Snipes, is that whereas his is a simple way to navigate a .TBL file easier (one of the reasons I only edit HTML code in Homesite and not notepad is the color coding), my parser has the potential to do a lot more. Currently it will parse the file, seperate it into field names, variables, and comments, horizontally align all the variables in the same column, etc. But because it does that seperation into elements, it has the potential to go as far as storing a complete .TBL file in a MySQL database and output selective ship entries into a custom .TBL file. :)
-
Originally posted by Sandwich
The main difference, Snipes, is that whereas his is a simple way to navigate a .TBL file easier (one of the reasons I only edit HTML code in Homesite and not notepad is the color coding), my parser has the potential to do a lot more. Currently it will parse the file, seperate it into field names, variables, and comments, horizontally align all the variables in the same column, etc. But because it does that seperation into elements, it has the potential to go as far as storing a complete .TBL file in a MySQL database and output selective ship entries into a custom .TBL file. :)
Hey Sandwich. You might want to take a look at BitFlux. Its an entirely browser based XML editor. It might be possible for you to turn your TBL browser into a full fledged editor. :D
http://www.bitfluxeditor.org/
By the way, what's up with that MySQL thing? Use PostgreSQL like a sane human being. ;)
-
Originally posted by mikhael
Hey Sandwich. You might want to take a look at BitFlux. Its an entirely browser based XML editor. It might be possible for you to turn your TBL browser into a full fledged editor. :D
http://www.bitfluxeditor.org/
Will check it out - eventually. ;)
Originally posted by mikhael
By the way, what's up with that MySQL thing? Use PostgreSQL like a sane human being. ;)
PostgreSQL - ~3,910,000 pages (http://www.google.com/search?q=postgresql)
MySQL- ~14,800,000 pages (http://www.google.com/search?q=mysql)
:D
-
Originally posted by Sandwich
PostgreSQL - ~3,910,000 pages (http://www.google.com/search?q=postgresql)
MySQL- ~14,800,000 pages (http://www.google.com/search?q=mysql)
:D
It takes 14 million MySQL servers to push the same amount of data as 3.9 million PostgreSQL servers. ;)
Besides, MySQL is a pretty bad at locking semantics, fails the ACID test (or did last time I poked at it) and lacks subselects. Oh yeah, and you can't dynamically adjust schema properly in-situ. You have to dump the table and recreate it to even defrag a table. That's... pathetic. Even MS Access doesn't require that.
-
Originally posted by mikhael
It takes 14 million MySQL servers to push the same amount of data as 3.9 million PostgreSQL servers. ;)
Besides, MySQL is a pretty bad at locking semantics, fails the ACID test (or did last time I poked at it) and lacks subselects. Oh yeah, and you can't dynamically adjust schema properly in-situ. You have to dump the table and recreate it to even defrag a table. That's... pathetic. Even MS Access doesn't require that.
And this concludes our lesson for today, kiddies - never get into an argument over database types with someone who knows more than you do. But hey, at least you can try this at home. ;)
And Mikh - your ifirst rejoinder there is pathetic. That's based upon two obviously fallacious assumptions:
- That the Google count of pages mentioning either database is in any way indicative of the number of servers using such databases out there
- Even if the above were true, and there were 14mil MySQL servers compared to 3.9mil PostgreSQL servers,, there is nothing to indicate that those sum total of servers are pushing the same amount of data.
(http://linker.kturby.com/forums/html/emoticons/nahnah.gif)
-
Originally posted by Sandwich
And Mikh - your ifirst rejoinder there is pathetic. That's based upon two obviously fallacious assumptions:
- That the Google count of pages mentioning either database is in any way indicative of the number of servers using such databases out there
- Even if the above were true, and there were 14mil MySQL servers compared to 3.9mil PostgreSQL servers,, there is nothing to indicate that those sum total of servers are pushing the same amount of data.
(http://linker.kturby.com/forums/html/emoticons/nahnah.gif) [/B]
Well yeah. I was being rather silly, as I suspect you were when you used a GoogleFight as a response in the first place. :D
My subsequent serious points, however, stand.
-
Originally posted by mikhael
Well yeah. I was being rather silly, as I suspect you were when you used a GoogleFight as a response in the first place. :D
"GoogleFight" - lol! Is that an official term nowadays? :p
-
Originally posted by Sandwich
"GoogleFight" - lol! Is that an official term nowadays? :p
Official Term? Its a whole web phenomenon! (http://www.googlefight.com/)
Ever wonder about Wing Commander vs Freespace (http://www.googlefight.com/cgi-bin/compare.pl?q1=Freespace&q2=%22Wing+Commander%22&B1=Make+a+fight%21&compare=1&langue=us)? GoogleFight resolves all battles. ;)
-
*Suggests fight for the hall of fame* :D
-
Much funnier response... (http://www.googlefight.com/cgi-bin/compare.pl?q1=Freespace&q2=porn&B1=Make+a+fight%21&compare=1&langue=us)