Home » Stars! Clones, Extensions, Modding » FreeStars » New Technology Browser
New Technology Browser |
Mon, 28 November 2005 15:44 |
|
Orion | | Crewman 2nd Class | Messages: 15
Registered: November 2005 Location: Strasbourg, France | |
|
Hello,
these last weeks, I have created a Technology Browser for XML files in the FreeStars format. You can download it from : http://pascal.wassong.free.fr/Etoiles/Etoiles.html
It needs Java 1.5 (or greater). Read the file README.txt included in the distribution to get more informations.
Enjoy it !
Report message to a moderator
|
|
| | |
Re: New Technology Browser |
Sun, 15 January 2006 07:01 |
|
Madman | | Officer Cadet 1st Year | Messages: 228
Registered: November 2003 Location: New Zealand | |
|
Orion wrote on Mon, 16 January 2006 00:29 | If I loose all interest in this code, I'll make the source public. I think that in the current state, the code is not of great interest : who is interested by just a tech browser ?
|
Well, I suppose I haven't been clear about my interest. I'd quite like to find some way of contributing to the FreeStars project (I'm looking at the code at the moment but running into some problems as mentioned in another thread).
One option is to look at writing a client that can run on Linux (most of the effort I see is going into Windows versions, which I can't work on - I only have Wine to run Windows stuff, and no Windows development tools).
My natural choice for this would be Java (my language of choice for this level of problem, I dislike languages without garbage collection), except that it would mean I can't use any of the currently written C++ code. For a Java client, a tech browser would suddenly becomes quite useful.
Could I get you to PM me an email address, so if I was to go this route (unlikely, because of the current code base that I can't use), I could contact you to request the code? Of course I would only be able to use it if you were prepared for it to go into a GPL project, and only used GPL-compatible libraries.
Report message to a moderator
|
|
|
More screenshots available |
Sun, 05 February 2006 12:59 |
|
Orion | | Crewman 2nd Class | Messages: 15
Registered: November 2005 Location: Strasbourg, France | |
|
Some people interested in the Technology Browser told me that they don't have Java 1.5 installed on their computer. To give them a better feel of what the Etoiles 0.1 is, I have added more screenshots at my site :
http://pascal.wassong.free.fr/Etoiles/Etoiles.html
Orion
Report message to a moderator
|
|
| |
Java 1.5 release date |
Sun, 05 February 2006 14:27 |
|
Orion | | Crewman 2nd Class | Messages: 15
Registered: November 2005 Location: Strasbourg, France | |
|
Java 1.5 was officially released the 2004-09-29. Version 1.6 is currently in beta stage and will be out this year.
You can always download the latest version at : http://java.com
Orion
Report message to a moderator
|
|
| | | | | | | |
Re: Nice tech browser |
Fri, 24 February 2006 06:38 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
PricklyPea wrote on Fri, 24 February 2006 12:28 | 1) The EXE has tables of data on the items. This can be dumped. However, it does not have extra things e.g. enigma pulsar has engine stats such as fuel usage, but cloaking and MJ ability is hardcoded via a check. Therefore, any tech viewer needs to implement this separately.
|
I see. So, it's only (or mainly) MT items, then?
I compiled years ago a few html pages comprising most items (including MT), with stats, tech reqs and icons and all. Static, of course, but I've been toying with the idea of turning them dynamic (using that allitems table + some simple javascript code) since forever.
One of these weekends, perhaps...
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
| |
Re: Nice tech browser |
Sat, 25 February 2006 05:36 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
PricklyPea wrote on Fri, 24 February 2006 13:21 |
m.a@stars wrote on Fri, 24 February 2006 06:38 |
I see. So, it's only (or mainly) MT items, then?
|
Mainly. Pen scan ranges on scanners are hard-coded etc. I guess there are many exceptions which becomes a pain. PRT/LRT restrictions are also hard-coded.
|
Ouch. So, a secondary table for penscans, and another for MT items... And of course the one for PRT/LRT influences on tech. Are there any more things to take into account?
- - - - - - -
While tinkering with the main allitems table (as extracted from the EXE) in order to display it in a nice flat html page, I noticed a few things:
- penscan ranges for planetary scanners can be guessed by manipulating the negative range shown.
- penscan ranges for ship scanners need a secondary table, but there's only 3 items in that one.
- most (or all) PRT/LRT-specific or MT items are clearly labelled as such, wich makes it relatively easy to link them to the extra info needed.
- The MJ and OT carry a wrong "class" flag, possibly inherited from other, earlier gadgets.
- All cloaks carry bit-packed "property" flags, possibly telling stealth percentages, and/or PRT restrictions, but I don't know yet how to decode these.
- Planetary defenses also carry "property" info which might be the base percentage of defense of individual defenses against one or both types of bombs. No time to delve into these, eiter, yet.
- Ship and starbase hulls carry bitpacked slot info which I think I know how to decode, but I'm not sure how to display.
- Engine fuel tables should be easier to display once I can decide on how to do it.
- Explanatory text and/or images (if any) for each item must come from another source.
[Updated on: Mon, 27 February 2006 05:21]
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
| | |
Re: Nice tech browser |
Mon, 27 February 2006 10:04 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
PricklyPea wrote on Mon, 27 February 2006 15:02 | - All cloaks carry bit-packed "property" flags, possibly telling stealth percentages, and/or PRT restrictions, but I don't know yet how to decode these.
This is documented in the guts of cloaking (and also the help files). There's a non-linear formula for cloaking.
|
Thanks for the heads up. I had little time to think of perusing the good ole' helpfile. Amazing what one can forget.
Turns out the math is quite simple. The down side is the SS cloaks seem to lack any clear telltale of their PRT-exclusiveness.
Quote: | If you write php code to do the display either of the above, I would be interested in incorporating into the starpedia.
|
Who needs php when you have JavaScript?
I can hijack some of my habtool code (actually, Henk Poel's code) to display the fuel graphs. I guess the Defense curves would not be too hard, either, provided I had a clue about the math they follow. Ship slots, now that would be fun, but probably out of the scope of my still-quite-plain-and-simple itemdata dumper.
[Updated on: Mon, 27 February 2006 10:43]
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
| |
Re: Nice tech browser |
Mon, 27 February 2006 10:41 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
PricklyPea wrote on Mon, 27 February 2006 16:22 | >Who needs php when you have JavaScript?
Javascript is also fine, but with php, I can link to the backend database so that the starpedia automatically updates for mods (I'll be preparing a separate starpedia for my new mod).
|
Heh, I use a statically-generated js table for that. I could "upgrade" it to copy-paste inside a form (Javascript has its limits), but as long as items don't change more than once a day, it's simple enough...
Quote: | >Ship slots, now that would be fun, but probably out of the scope of my still-quite-plain-and-simple itemdata dumper.
I've got the details of how to decode the ship slots, but hate writing UI code so if someone is willing to do that, then we have enough skill knowledge to do it combined
|
The is in the details, as they say. I got some old specs on how to tell kinds of slots and number of items they hold. Things like location are hazier. I wouldn't mind tinkering with your recipe book for these. And you'd be amazed how simple it can be drawing square boxes with plain old portable html.
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
| | | |
Goto Forum:
Current Time: Thu May 09 10:23:51 EDT 2024
|