Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Dwarf Fortress Utility Framework  (Read 1710 times)

Jifodus

  • Bay Watcher
  • Resident Lurker
    • View Profile
    • Dwarf Fortress Projects
Dwarf Fortress Utility Framework
« on: December 14, 2007, 10:23:00 pm »

Read about it here: http://www.dwarffortresswiki.net/index.php/User:Jifodus/Dwarf_Fortress_Utility_Framework

Links:
Documentation: http://www.dwarffortresswiki.net/index.php/User:Jifodus/Dwarf_Fortress_Utility_Framework
Source Code: http://www.geocities.com/jifodus/dfuf.zip  (320kb)
Binaries: http://www.geocities.com/jifodus/dfufend.zip  (623kb)
Debugging Symbols for the Binaries: http://www.geocities.com/jifodus/dfufdebug.zip  (2.3MB)

Please download the debugging symbols only if you need absolutely need it, I only have 4.2MB of transfer data transfer per hour through geocities. So downloading the symbols would cut my available transfer in half. If you can't get the symbols via compiling, PM me with your email address and I'll email the debugging symbols to you.

Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Fortress Utility Framework
« Reply #1 on: December 15, 2007, 03:34:00 am »

This is totally cool! I started something like that yesterday, except it required python and tons of other depencies ...

Do you mind posting an example of using LUA with your library?

[edit]
ok, no samples needed, i'm actually reading the source  :)

[ December 15, 2007: Message edited by: bartavelle ]

Logged

monolar

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress Utility Framework
« Reply #2 on: December 17, 2007, 10:21:00 am »

quote:
Originally posted by bartavelle:
[QB]This is totally cool! I started something like that yesterday, except it required python and tons of other depencies ...

I'm curious as to how you were planning to read/write the memory of df while running. I had a look around this weekend but i didn't find a good way to do this from python.

Logged

Jifodus

  • Bay Watcher
  • Resident Lurker
    • View Profile
    • Dwarf Fortress Projects
Re: Dwarf Fortress Utility Framework
« Reply #3 on: December 17, 2007, 01:18:00 pm »

I'm sure Python has Win32 API bindings. Though I personally have no clue, since I haven't learned python yet.
Logged

monolar

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress Utility Framework
« Reply #4 on: December 17, 2007, 01:35:00 pm »

Yah. the win32 libraries are only of partial help. Got it done with ctypes and it seems to work fine... thanks anyway
Logged

Keiseth

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress Utility Framework
« Reply #5 on: December 17, 2007, 01:53:00 pm »

Might I suggest another host, if only for the large files themselves? A free one, of course.

I've heard of a few, but right now I'm trying  http://php0h.com//content/view/16/26/  - They claim to provide 15GB transfer in a month and 350MB disk space. I've only hosted a couple images and some text, so I don't know if there are any tricks or hidden restrictions.

Brilliant idea, though. I'll examine it more closely later!

Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Fortress Utility Framework
« Reply #6 on: December 17, 2007, 02:04:00 pm »

The pydbg extension is pretty cool for that kind of work.
Logged

zac4213

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress Utility Framework
« Reply #7 on: December 17, 2007, 02:07:00 pm »

if you want you can upload the files to http://www.dfdsdesigns.net/mfh/,  also, ignore the captcha when downloading stuff, I disabled it but forgot to take out the captcha displaying stuff.

[ December 17, 2007: Message edited by: zac4213 ]

Jifodus

  • Bay Watcher
  • Resident Lurker
    • View Profile
    • Dwarf Fortress Projects
Re: Dwarf Fortress Utility Framework
« Reply #8 on: December 18, 2007, 10:08:00 pm »

Ok, now that I've finished the last of my finals, I can get back to writing this.

I'll see about uploading it to another site. I really doubt I'll have transfer problems unless two people decide they need the debug symbols within the same hour. I don't think I'll have problems otherwise.

Just a quick poll, which of the features should do you think I get to first on the Todo list? http://www.dwarffortresswiki.net/index.php/User:Jifodus/Dwarf_Fortress_Utility_Framework#Todo

Logged