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 - BenLubar

Pages: [1] 2 3 ... 9
2
DF General Discussion / Re: Linux DF delayed / Computer death thread
« on: November 23, 2017, 05:28:10 pm »
I'm not exactly sure -- MSVC in Windows will happily chug away on 3GB with the incremental linker, but I don't know if it needs to be doing that, or what it was doing in Linux.  I should have taken some notes.  Not sure if experienced Linux people can tell me offhand if 1GB would be fine for a reasonable bulky project.

The DFHack build server for Linux and Mac (yes, they're the same machine) has 3GB of RAM split between all the stuff I run on there, and right now there's a DFHack build running and htop looks like this:



That's the highest the RAM usage has been this whole time I've been watching it - usually it's between 300MB and 700MB for the whole system. 1GB should be fine, and as long as you have some swap space, your build process won't crash if you use more than the gigabyte of physical RAM.

If you're running Windows 10, you can enable a Linux kernel emulator by going to Control Panel\All Control Panel Items\Programs and Features, selecting Turn Windows features on or off, and checking the box for Windows Subsystem for Linux (Beta). That has the advantage of sharing a memory manager with Windows, so unlike a virtual machine it won't use up memory and not release it until the virtual machine shuts down.

3
DF General Discussion / Re: Future of the Fortress
« on: October 06, 2017, 06:24:56 pm »
I watched your talk on YouTube, and it seems like a lot of the systems in Dwarf Fortress are limited by the fact that computers have a limited amount of RAM.

What limitation of Dwarf Fortress itself has caused you the most trouble?

4
DF General Discussion / Re: Wiki {{diagram}} code
« on: March 25, 2017, 08:24:42 pm »
Since Markdown doesn't support colors, your best bet is either to make an image or to use a Markdown fenced code block:

Code: [Select]
```
some diagram stuff
```

5
DF General Discussion / Re: Future of the Fortress
« on: April 28, 2016, 05:26:32 pm »
I've been doing some math about possible tile sizes. It takes an average dwarf 9 ticks to walk 1 tile, which equates to 10 meters at WolframAlpha's 2.5 mph estimate. This means the map sizes in the "Create World" menu are Wales, Israel, Portugal, Germany, and Iran. A standard 4x4 embark is about 910 acres, and with 200 dwarves, that's about average (142 people per square mile) population density. Does 10x10 make more sense than 2x2 tile sizes?

6
docker based, install, on 14:04 works wonders, on 15:10 it enters a reboot cycle and docker logs show only "setarch: i386: Unrecognized architecture" - I installed all the 386 support as in the linux install guide to no avail, so just reverted because works just well on previous ubuntu.

Full disclosure: I've no idea of what I'm doing.

Ok, what's happening is that docker is denying access to certain system calls including personality(2). Add --security-opt=seccomp=unconfined to your docker run command to disable the system call whitelist.

7
I can reproduce dfhack not wanting to start on docker with that error message. I'll try to fix it.

8
DF General Discussion / Re: Future of the Fortress
« on: December 31, 2015, 12:51:23 pm »
* Food and drink service for the player and others - There are only drink services.

Though technically you can fill a mug with food and NPCs will "drink" it.

Or fill it with live animals/people via cage manipulation.

I traded some bear spleens for a beer and the barkeep drank the spleens.

9
DF General Discussion / Re: Future of the Fortress
« on: December 30, 2015, 06:40:21 pm »
Side note: http://www.bay12games.com/dwarves/dev.html seems to be missing some of the latest updates - a lot of the stuff that was added in 0.42.01 is still marked as "partially done" even though the descriptions match what I've seen ingame.

[What] are the [short-term/long-term/no] plans to add nonverbal communication [to adventure mode]? Currently, spitting is possible and characters cry when they're upset, but there's no way to laugh or to smile or to tap someone on the shoulder or give someone a hug. (Okay, those last two can be done with the combat system in the current version, but it's not advisable if you want to stay friends.)

10
DF Dwarf Mode Discussion / Re: Those Keas!! DAMN THEM ALL TO HELL.
« on: December 04, 2015, 01:18:52 pm »
I suggest removing the BRAIN from the line that says:

[BODY:HUMANOID_ARMLESS_NECK:2WINGS:2EYES:2LUNGS:HEART:GUTS:ORGANS:GIZZARD:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:4TOES:BEAK:TONGUE:RIBCAGE]

In [your save folder]/raws/objects/creature_birds_new.txt

11
DF Dwarf Mode Discussion / Re: Jerks what be stealing my books
« on: December 04, 2015, 01:16:20 pm »
I haven't been able to find any libraries in adventure mode.

12
Update on taverns, in adventure mode they say that they charge for drinks or rooms. But it looks like I can just ask for drinks and get one without having to pay at all.

Also, humorously, it's customary to drop your mug when you're finished with the drink. The tavernkeeper then runs up, picks up the mug, and stashes it in the storage container he got it from.

I gave the mug back to him using the "settle debts" option, and then I sold him some of the meat I started with for 2 coins. He drank(!) the meat and then dropped the mug.

13
DF Dwarf Mode Discussion / Re: Jerks what be stealing my books
« on: December 04, 2015, 01:06:48 pm »
I have had several quires written by my scholars and then immediately taken by a visitor and never put back on the shelf (which means I couldn't bind them) and then eventually the visitor left with the book.

14
Utilities and 3rd Party Applications / .dat file decompressor
« on: March 12, 2015, 07:30:37 pm »
A Dwarf Fortress save in an uncompressed tar is 166,123,520 bytes (158.4 MiB). Compressed using xz, region2.tar.xz is 156,374,900 bytes (149.1 MiB). That's 94.1% of the original size.

The same Dwarf Fortress save is 1,296,906,240 bytes (1236.8 MiB) when decompressed using this program before archiving. Compressed with xz using the same settings, the result is 85,715,988 bytes (81.7 MiB). That's 51.6% of the original size.

As you can see, uncompressed saves compress down to a much smaller size than compressed saves. However, you probably don't want to play with uncompressed saves, especially if you have backups enabled. This utility will decompress any Dwarf Fortress .dat file that it is given (dragged onto the program). Any file that can't be decompressed will be left alone. If you give this utility a folder, it will try to decompress all the .dat files inside it.

Windows: http://dffd.bay12games.com/file.php?id=10672
Linux: http://dffd.bay12games.com/file.php?id=10673
Mac: http://dffd.bay12games.com/file.php?id=10674

Source code: https://github.com/BenLubar/df2014/tree/master/df-decompress

15
Can I move the camera at all or am I restricted to top-down view?

Pages: [1] 2 3 ... 9