Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - EmoSpaceMonkey

Pages: [1]
1
DF Modding / Re: Community Mods and utilities list.
« on: November 28, 2012, 03:40:39 pm »
OK. If you have any comments please put in this post http://www.bay12forums.com/smf/index.php?topic=119730.0

I would agree it is a little bit clumsy. A better solution would be to accept emails. I had to make some changes when I deployed it. Developing locally it took no time to upload the file, then when I deployed it, it took longer to upload plus cloudfoundry made me treat the worker class which processes the file a different instance to the server app which uploads it plus they cannot share the same file so it needs to be stored via Dropbox.

It does have the advantage that as it is web based it does not use if your locally resources

2
DF Modding / Dwarfquery - Legend File Query tool
« on: November 27, 2012, 02:16:12 pm »
Hi All,
       
I've posted this here to get some feedback on my first Ruby Rails app and first for DF.

Dwarfquery application parses the Legend File produced by a Dwarf Fortress game before you start the game. It can be a considerable size with a medium sized game being a couple of hundred megabytes in size. This XML is difficult to read. This tool parses the information and turns it into a searchable database.

It is currently hosted on CloudFoundry. As the XML file is large it is not run in real time but using Resque/.Redis which means the file can be parsed not in real time. Also as the Worker Instance (which parses the file) is a different application than the Server app and Cloudfoundry does not allow shared files, the file is uploads then synced across on Dropbox. This can mean 10 minutes or so for a large file to upload.

I would probably do the parsing by email if I was to extend this.

You can view the login and see what goes on within the application at

http://dwarfquery.cloudfoundry.com

Use the test user : testuser@gmail.com. password is:sammy1

Using this test user you and search and view the data.

This application makes use of alot of gems within Rails including the composite_key, dropbox sdk, resque and of course cloudfoundry.

Including some screenshots below. Historical Figures, Entities they are linked to and Historical Events. There is more related informaton if you browse round.

Take a look and let me know what you think ?

3
DF Modding / Re: Community Mods and utilities list.
« on: November 25, 2012, 08:16:53 am »
I have created a new tool for reading and parsing the legend file. It was really put together as a my first ruby rails application. You can read about it on

http://stephenemo.wordpress.com/dwarfquery-ruby-on-rails-application-for-dwarf-fortress/

You can take a look on it with uploading your legend file by going to dwarfquery.cloudfoundry.com

Demo user is : testuser@gmail.com. Password is sammy1

To upload a file take a while..the legend files are quote big and then it has to sync it to dropbox as it is a free host i am using. The legend file is then parsed asynchronously after the upload. You should be emailed when it is completed.

Anyhow take a look. If I was to do it again it would be parsed via email. Uploading 100's of megabyte files is way too slow.

Pages: [1]