Stars! API |
Thu, 22 March 2012 21:51 |
|
cf this post, I have begun organising a Stars! API. At this stage it is (only) a shared folder on Dropbox with copies of a few tools available from the wiki, and decompiled sources for PaulCr's SHC, SHE and SSH tools(and the decompiler).
The intention is that it will remain an essentially closed source project however anyone who is interested in helping out feel free to contact me. I have already sent shared folder invitations to XyliGUN, PaulCr, m.a@stars, Wumpus, nmid, craebild & Ron. Also the Nova guys ekolis, Daniel. FurFuznel & Aeglos: I have no email addresses for you two.
First steps in the plan are:
- to define the (en/de)cryption
- to define a data model for Stars! exodata, the data in the hst, m, x, h & xy files and corresponding encrypted file formats.
- to design a suitably secure API model to allow manipulation of data
- to port PaulCr's existing work to Java
With the exception of the (en/de)cryption and the source code itself, the intention is to make publicly available as much detail as possible.
[Updated on: Thu, 22 March 2012 21:52] Report message to a moderator
|
|
|
Re: Stars! API |
Fri, 18 May 2012 06:46 |
|
Progress...
Ron, nmid & m.a@stars are sharing the stars API folder. In which, I have created an Eclipse project and begun porting PaulCr's StarsHost* to Java and pseudocode the main aim being to understand the Stars! files (I'm largely coming into this cold). Also added Wumpus' 'magic' file and a structlook file from StarsGutsandMods.
Extending from XyliGUN's excellent work, I have been building on this wiki article as a means of recording the semantic structure of Stars! files as I learn it.
Correspondingly, this category has been populated with a number of related articles and utilities and will eventually (probably) hold all of the Stars! technical details.
|
|
|
Re: Stars! API |
Fri, 18 May 2012 18:10 |
|
GarganRoo
Messages: 3 Registered: May 2012 Location: Cincinnati
|
Civilian |
|
|
Hi, I've been lurking the autohost community for several years, but I'd like to throw in my full support for helping any Stars!-related projects to come alive.
I am willing to donate space and bandwidth on my Linode VPS, any coding or development, and ultimately my time to the project(s).
I came here looking for a dissemination of the file structure so as to interface with a true web application that would allow autohost games to operate seperately from any particular admin's attention (e.g. w/o sending emails to Ron Miller and eliminating tedious steps when starting and joining games); it'd essentially be a completely new hands-free online web application that would allow users to create and join games while monitoring all of the relevant information.
Here's a web application interface I'm just now designing for Dwarf Fortress using the same concept:
http://dfb.smagno.com/ - (HTML5/JavaScript required)
(The game: http://www.bay12games.com/dwarves/)
This is kind of copypasta from what I just posted in the Poll, but I figured that I'd crosspost since this was updated today as opposed to last month. Let me know if there's anything I can do to help organize the project (e.g. project management systems, dev hosting, etc).
http://grimeethics.net/
[Updated on: Fri, 18 May 2012 19:00] Report message to a moderator
|
|
|
Re: Stars! API |
Mon, 21 May 2012 17:16 |
|
GarganRoo wrote on Sat, 19 May 2012 10:10 | Hi, I've been lurking the autohost community for several years, but I'd like to throw in my full support for helping any Stars!-related projects to come alive.
| Awesome
Quote: | I came here looking for a dissemination of the file structure...
| That, right there, is the plan. ATM it's just me muddling along as I can...which isn't particularly fast but, unlike the shoulders I'm stomping on, I'm making it available as I go via the wiki. Send me an email (link at the bottom of this post with your email and I'll share the folder with you ...it doesn't really give you much extra info besides my work in progress stuff, though you will be able to see exactly how slow I am
Quote: | ... so as to interface with a true web application that would allow autohost games to operate seperately from any particular admin's attention (e.g. w/o sending emails to Ron Miller and eliminating tedious steps when starting and joining games); it'd essentially be a completely new hands-free online web application that would allow users to create and join games while monitoring all of the relevant information.
| I think Ron's hashed out this idea before...dunno...aside from actually playing the game, you don't need an API to do this anyway as you can create games from a definition file, which could be generated by a web service easily enough.
Quote: | Here's a web application interface I'm just now designing for Dwarf Fortress using the same concept:
| I've seen that around...IIRC someone built an 8(16?) bit computer with it.
Quote: | Let me know if there's anything I can do to help organize the project (e.g. project management systems, dev hosting, etc).
| Wilco
|
|
|
|
Re: Stars! API |
Fri, 04 January 2013 10:59 |
|
XAPBob
Messages: 957 Registered: August 2012
|
Lt. Commander |
|
|
I was about to post this on a different forum, but this seems more appropriate...
I'd like to be able to extract the various messages from an m file automatically - via the command line, so that it can be "properly" automated...
There is a utility ( http://wiki.starsautohost.org/wiki/Utilities/In-game_informa tion_processing_and_sharing#Stars.21_Message_Reader) that purpotes to do just that, but I a) haven't seen it work yet and b) can't automate it.
If Thomas is around then I'd like to port the core code to a command line system which takes an m file (and optional password) and spits out the messages in "message per line" format.
If not then if anyone else has the required knowledge of the file structure (I'm sure I could dig through and reverse engineer it, but I really can't be bothered when I know that the work has already been done!)
[Updated on: Fri, 04 January 2013 10:59] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Stars! API |
Sun, 06 July 2014 16:56 |
|
raptor
Messages: 138 Registered: June 2014
|
|
|
|
Sent. Thanks!
Now for an ethical question - I have the decompiled sources of 4 of PaulCr's utilities. Do you think it is OK to post it for reference to my code repository?
Also, do you have source code for any utility that decodes blocks? I'm looking for block structures...
|
|
|
|
Re: Stars! API |
Sun, 06 July 2014 22:40 |
|
raptor
Messages: 138 Registered: June 2014
|
|
|
|
Quote:I don't remember having seen that kind of tool, but if you explain in more detail what you need perhaps I can take a closer look around the attics, basements and sub-basements.
Sorry, I mean the various Block structures that are encoded into Stars! files. I know the FileHeaderBlock, but the others, not at all.
Upon further searching, I found this thread in which apparently XyliGUN had aggregated all file structure knowledge that was tossed around over the years:
http://starsautohost.org/sahforum2/index.php?t=msg&th=48 52&start=0&rid=1807#msg_51372
This is exactly what I'm looking for: both the block structures and how they're written to the files.
|
|
|
|