Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Bar » Possible new utility for creating testbeds
Re: Possible new utility for creating testbeds Tue, 24 February 2009 19:55 Go to previous messageGo to previous message
PaulCr

 
Chief Warrant Officer 3
Stars! V.I.P

Messages: 187
Registered: February 2007
Location: An Island that kinda look...
Altruist wrote on Wed, 25 February 2009 00:11

PaulCr wrote on Tue, 24 February 2009 23:39

The file is 35kb in size, the xml unzipped is 543kb, the original m file was 18kb so the zipped size isn't bad given it has the same information but now it can be read by anybody, the url to get it is http://stars.atlantissoftware.co.uk/admiral2.zip


What the heck do you mean by "now it can be read by anybody"?
Completly bewildered by the ignorance of some about the ignorance of others *grin



I didn't say it would be easy but if you want to know whats in the file the info is there, try reading the original stars files, reading xml will seems like childs play in comparison.

It does help if you load it into something that formats it so that you can collapse of expand elements, IE and Firefox can manage it but they don't have a collapse all which is annoying given you might have to collapse 100s of elements or go scroll through 1000s of lines to find the bit your looking for. I'll probably also modify the dumper to remove unused elements, ie anything where the bytes attribute is 0 such as all the race settings from races you've met that just show has 0 because they aren't actually in the files and I'll probably add the description attribute back to the output so you'll see something like <Structure13 description="Full Planetary Information"> rather than <Structure13>

I'll probably also write a proper viewer for it at some point, it'll probably also have the ability to select a set of objects and dump the contents to a csv file.

I might even add the ability to create CSV or TSV files into the xml dumper app, I'm currently imagining something along the lines of having config files named Structure13.csv which would have 2 lines in it along the lines of
PlanetID,OwnerID,StarbaseID,Report Age,Population ...
[PlanetID],[OwnerID],[StarbaseID],0,[Population] ....

That could probably be used as the equivelent of a .px file although the planets names would show as 0,1,2 etc as would the races and starbase names.

Edit: People who play stars are generally intelligent and computer knowledgable, it they weren't they stick to tvs and xboxes. I probably do assume to much though, I have the same problem playing poker, I tend to assume the other players know what they are doing which a lot of them on the site I play obviously don't given they call big raises with K3o


[Updated on: Tue, 24 February 2009 20:01]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Revival of an interesting idea?
Next Topic: 0.2% Minimum Damage
Goto Forum:
  


Current Time: Mon May 13 23:54:57 EDT 2024