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

Pages: [1]
1
DF General Discussion / Re: Unofficial Linux Lazy Newb Pack
« on: April 02, 2016, 04:43:17 pm »
"Not found: data/art/Phoebus_16x16.png".

i have the same problem. i solved it by using LD_PRELOAD for my zlib:

LD_PRELOAD=/usr/lib/libz.so.1 ./df

if you use dfhack than run:

PRELOAD_LIB=/usr/lib/libz.so.1 ./dfhack

(i don't know why dfhack needs its own dedicated variable for this.).

I was trying to start it from the LNP launcher; I believe the LNP launcher is supposed to run distro_fixes.sh which handles the preloading automatically, but apparently it is only running it for dfhack not for straight Dwarf Fortress.

-Harry

2
DF General Discussion / Re: Unofficial Linux Lazy Newb Pack
« on: April 02, 2016, 04:41:01 pm »
I solved the problem, it seems that if you don't enable dfhack on the "DFHack" tab, distro_fixes.sh is not run. I do actually want DFHack and only had it disabled because I was trying to start from basic since I haven't played the game in several years. Once I turned DFHack on everything started fine.

-Harry

3
DF General Discussion / Re: Unofficial Linux Lazy Newb Pack
« on: April 02, 2016, 04:06:30 pm »
I am starting this by running ./startlnp.

When I click on "Play Dwarf Fortress" I get a pop-up titled "Tileset not found" with the message: "Not found: data/art/Phoebus_16x16.png".

I updated the mlocate database and tried locate on the file:

Code: [Select]
harry@funjet:~/bin/df$ locate Phoebus_16x16.png
/home/harry/bin/df/LNP/graphics/Phoebus/data/art/Phoebus_16x16.png
/home/harry/bin/df/df_linux/data/art/Phoebus_16x16.png

If I change the tileset I get the same error only with "Phoebus_16x16.png" replaced by whatever tileset I changed it to.

I don't know if this is relevant, but stderr.txt in the directory with startlnp contains the following lines:

Code: [Select]
ERROR: Unable to read current colors
  File "<string>", line 12, in <module>
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.lnp", line 67, in __init__
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.lnp", line 134, in initialize_ui
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/tkgui.tkgui", line 174, in __init__
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/tkgui.tkgui", line 274, in create_tab
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/tkgui.tab", line 30, in __init__
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/tkgui.graphics", line 39, in read_data
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/tkgui.graphics", line 296, in read_colors
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.colors", line 121, in get_installed_file
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.colors", line 46, in get_colors
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.log", line 99, in e
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.log", line 85, in log
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/threading", line 810, in __bootstrap_inner
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/threading", line 763, in run
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.update", line 39, in perform_update_check
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.update", line 140, in update_needed
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.download", line 41, in download_str
TypeError: coercing to Unicode: need string or buffer, gaierror found

I have no user "michael" on my system. I erased stderr.txt and reran the program and the new stderr.txt had the same contents, so it isn't just left over from when the LNP was packaged.

-Harry

4
DF General Discussion / Re: Unofficial Linux Lazy Newb Pack
« on: April 02, 2016, 02:46:27 pm »
I got the following error attempting to run startlnp:

Code: [Select]
./PyLNP: error while loading shared libraries: libz.so.1: failed to map segment

A little googling revealed that this error is caused by /tmp being mounted noexec. Remounting it as exec fixed the error. I won't say how long I've been using linux but as a hint my first installation came in the mail parcel post in a (large) box of floppy disks. My fstab has followed me over probably at least a half dozen computers and quite possible several dozen distribution changes, so I have no idea at what point the noexec mount option crept into /tmp, but if it's relevant I use Gentoo at the moment.

Anyhow, if anyone else has this error then remounting /tmp exec will fix it. Supposedly setting TMPDIR to another directory for the program having the issue fixes it as well, which is actually probably a good idea since I'm pretty sure I made /tmp noexec for some security reason or other, but I'm lazy.

-Harry

5
DF General Discussion / Re: Linux guide to install Dwarf Fortress
« on: February 18, 2012, 06:57:38 pm »
On Gentoo, 32 bit libs start with emul-linux-x86. I installed emul-linux-x86-gtklibs and emul-linux-x86-sdl and DF ran fine.

-Harry

6
DF Dwarf Mode Discussion / Re: How often do you use macros?
« on: November 24, 2011, 12:27:31 pm »
I was going to use macros for digging a magma pump stack, but I discovered that DF doesn't seem to recognize the ctrl key on either of my linux machines. None of the ctrl keys do anything, so macros are kinda hard to use. I guess I could change their keymaps.

I did open a bug for it: http://bay12games.com/dwarves/mantisbt/view.php?id=4905

Can anyone with a linux system get their ctrl key to work?

I think I may have figured out the problem (if you are using a non-QWERTY keymap). Please see my comment on your bug.

-Harry

7
DF Modding / Re: Runesmith - A DC like tool
« on: November 19, 2011, 09:13:32 pm »
Cool! If you could do that it would be awesome!

I thought about writing a plugin for DFHack that would duplicate Dwarven Guidance Counselor right on the DFHack console, but I don't know DF well enough to trust that I wouldn't be giving bad advice (for that matter I am kind of taking DGC's word that it knows what it's doing).

-Harry

8
DF Modding / Re: Runesmith - A DC like tool
« on: November 15, 2011, 11:45:16 pm »
Has anyone recently had this working under Linux with Wine? I am running Dwarf Fortress 31.25 for Linux, the current version of Kubuntu , and the newest Runesmith. []
You can only use it with DF running in wine.

Oh well, Runesmith is out then.

Alternatively, is there another program that runs under Linux that can export XML files suitable for Dwarven Guidance Counselor?
Probably not. What do the files look like? (link to some documentation would be ideal)

There is an example .xml file in the download here:
http://dffd.wimbli.com/file.php?id=4238

-Harry

9
Spoiler (click to show/hide)
A quick sketch of a cistern. You would probably need to put access stairs in for construction, but they can go beside the well.
Also note I didn't include any depressurizing mechanism.

I really like how you added that sun to the sketch... perfect.

I love that the sun looks pissed off. The sun does not like dwarfs any more than they like it.

-Harry

10
DF Gameplay Questions / Re: The DF2010 Little Questions Thread
« on: November 09, 2011, 08:41:01 pm »
Is there an entry in announcements.txt that would allow me to pause the game whenever a job order is completed?

-Harry

11
DF Modding / Re: Runesmith - A DC like tool
« on: November 08, 2011, 09:26:52 am »
Has anyone recently had this working under Linux with Wine? I am running Dwarf Fortress 31.25 for Linux, the current version of Kubuntu , and the newest Runesmith. I am using the standard version of Wine from the Ubuntu repositories with winetricks installed. I have already turned ptrace back on which was necessary to get Dwarf Therapist running. I have the newest versions of Dwarf Therapist and dfhack and they work fine. Note that the actual program runs fine, but it can't find Dwarf Fortress (gives error "Can't find a suitable process" on startup), so it's not very useful. I tried copying the Runesmith files into Dwarf Fortress's root directory but that did not help either.

Alternatively, is there another program that runs under Linux that can export XML files suitable for Dwarven Guidance Counselor?

-Harry

Pages: [1]