Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3] 4

Author Topic: [linux] Install script  (Read 12480 times)

jcd

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #30 on: June 15, 2014, 09:40:55 am »

i can confirm everything greycat says about truetype. It crashes df with arch linux too.

bout wine, i had some problems with some previous version, where the dotnet (and others) wouldn't install correctly and i had to downgrade, fix+build my prefixes and then upgrade again.

as an arch user, i'm always in favor of using (and fixing somehow) the lastest version of everything.
with ubuntu though, i'd advise using the ubuntu df packages (i guess that dfhack works in ubuntu) in this order:
1. ensure vanilla is working properly
2. ensure dfhack works with vanilla
3. migrate MWDF
4. optionally fix the dwarf therapist related problems
5. optionally find a way to change MWDF options (manually/gui/scripts)

if you want latest linux therapist though, you may have to solve dependency problems and compile it yourself (for me this was worthwhile ;) )

for my next mwdf 'build' i am planning to use the official df+dfhack package and see if it can work. if it does, there's a chance that it will work for debian/ubuntu properly. (at least i hope so :)

PS. i'd advise against running the whole mwdf with wine without migrating.. too slow
Logged

urmane

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #31 on: June 15, 2014, 09:38:28 pm »

1. Truetype crashes my game when I open the 'b'uild-menu. Zooming out to a certain degree might prevent this from happening, but I can't find the right spot. Playing without truetype is a huge pain, though, because some text just gets outright unreadable.

Unavoidable - disable TTF on linux, and you just have to put up with the unreadablenesses.

Quote
... Now I just face the problem, if I enable all races manually, my embark ( and I suppose also ingame-things) can get messed up. I guess it is because of some dependencies in the raws that my clumsy editing couldn't change.

Disable all races except the one you want to play - I don't think you can easily distinguish them anyway on linux during pre-embark, and you can easily wind up choosing the wrong one.
Logged

greycat

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #32 on: June 16, 2014, 09:41:18 am »

Disable all races except the one you want to play - I don't think you can easily distinguish them anyway on linux during pre-embark, and you can easily wind up choosing the wrong one.

Oh, so the Windows version does have an extra screen for race selection?  Is that why I've never seen it? :(

If you're embarking (not reclaiming), you can Tab to the list of civilizations, then +/- down to the one you want to check out, then Tab a bunch of times to get the list of neighbors.  Whichever race your chosen civilization is, will appear at the top of that list.  Repeat until you've found a civilization of the appropriate race.

Another way you can do it is to export the site information at the end of world gen, which gives you a file with a name like region1-world_history.txt.  You can open that in less (or any other pager or text editor), and see which civilization is which race that way.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

Snaaty

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #33 on: June 17, 2014, 06:38:25 am »

Thank you for your advice.

Maybe you can help me with one more thing:

I am playing version 5.06 for linux with tileset enabled. However, my tileset ist downright... ugly. I looked some other screenshots, and this is definitely not what it should look like.
Is there a common error with linux and tileset? Perhaps I don't have one of the prerequisites installed.

I will be able to upload a screenshot this afternoon, I think.

Also, does anyone have an idea how to fix the embark-problems I sometimes face? Mostly it's items that I am supposed to have in some quality (e.g. rusty iron) and I can even find those items, but only in a different type. :/

Edit: Two Pictures. I might have exaggerated aobut the ugliness, just tell me if you see the same things. Also, in dwarf manipulator, there are succubi?
Is there a way of displaying the labours in said manipulator as what they are now? Like Archaeologist instead of miller, for example.
If these tiley just look what they're supposed to look like, how do I change the tileset without the GUI?

Spoiler (click to show/hide)

Edit 2: Embarked with only dwarves enabled in my 100% unmidified 5.06 version, but for embark it prompted me that there was no bituminous coal available?
Help for a newbie is, as always, greatly appreciated.
« Last Edit: June 18, 2014, 01:56:42 am by Snaaty »
Logged

greycat

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #34 on: June 17, 2014, 08:04:58 am »

I am playing version 5.06 for linux with tileset enabled. However, my tileset ist downright... ugly. I looked some other screenshots, and this is definitely not what it should look like.
Is there a common error with linux and tileset? Perhaps I don't have one of the prerequisites installed.

The Windows version of Masterwork relies heavily on Truetype fonts to make things not look atrocious when using tilesets.  However, Truetype fonts cause the Linux version to crash (100% repeatably -- just try to open the workshop menu, and WHAM).

Quote
Also, does anyone have an idea how to fix the embark-problems I sometimes face? Mostly it's items that I am supposed to have in some quality (e.g. rusty iron) and I can even find those items, but only in a different type. :/

I'm rather new to Masterwork, but I think the embark profiles have a few issues:
  • Not every civilization will have access to everything, so embark profiles that call for a specific animal, or a weapon made of a specific metal, will typically fail.  The material failures will be less common if you increased minerals in your world gen.
  • Make sure you are actually using the race you think you are!  Trying to use a kobold embark profile with a dwarf civilization will result in a lot of failures.
  • "Rusty iron" is only available to goblins, isn't it?  Why is that in any of the premade embark profiles?  (Maybe it's an orc thing -- I haven't tried them yet.)

Quote
Also, in dwarf manipulator, there are succubi?

I'm not sure what "dwarf manipulator" is.  Did you embark with a Succubus civilization/race?  If so, then you are playing a Succubus fortress (dungeon?).  Which might explain your embark profile issues.

Quote
Is there a way of displaying the labours in said manipulator as what they are now? Like Archaeologist instead of miller, for example.

Are you talking about Dwarf Therapist?  If so, I've never used it.

Quote
how do I change the tileset without the GUI?

You must run the GUI, either in Wine, or on a Windows machine.  You could, for example, install Masterwork on Windows, run the GUI, then copy the entire directory over to Linux, and then copy the Linux DF/DFhack files over top of it.  If you can't get Wine to work, that may be the only way.

Quote
how do I get pictures to work here?

Upload them to a web site (your own, or imgur.com, or whatever allows direct links) and put them inside img tags.

Quote
Embarked with only dwarves enabled in my 100% unmidified 5.06 version, but for embark it prompted me that there was no bituminous coal available?

Not every civ will have everything.  If your civ has settled in an area with no bituminous coal, then you can't get it during embark or from their caravans.  You might find it in your own site, or you might not.  If you don't find it, you'll have to use other sources of coal/fuel.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

Snaaty

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #35 on: June 17, 2014, 08:20:56 am »

Quote
The Windows version of Masterwork relies heavily on Truetype fonts to make things not look atrocious when using tilesets.  However, Truetype fonts cause the Linux version to crash (100% repeatably -- just try to open the workshop menu, and WHAM).

I think I once managed to open the workshop menu with truetype actiavted on this linux machine. I zoomed out  bit, and then it didn't crash. However, now I can't reproduce it.

Quote
    Not every civilization will have access to everything, so embark profiles that call for a specific animal, or a weapon made of a specific metal, will typically fail.  The material failures will be less common if you increased minerals in your world gen.
    Make sure you are actually using the race you think you are!  Trying to use a kobold embark profile with a dwarf civilization will result in a lot of failures.
    "Rusty iron" is only available to goblins, isn't it?  Why is that in any of the premade embark profiles?  (Maybe it's an orc thing -- I haven't tried them yet.)

Okay, how do I avoid the first point?
And now I will certainly crank up mineral occurence.
I am 100% certain, that I always used the corresponding civ, double checked on the embark screen every time.
Also the error logs where only that so few, that it couldn't be caused by the wrong civ.

No, the Dwarf Manipulator is the thing that opens when you press "u", and then "l". I am not sure what it is called.

Dwarf Therapist won't start for me even when run as superuser.

Quote
You must run the GUI, either in Wine, or on a Windows machine.  You could, for example, install Masterwork on Windows, run the GUI, then copy the entire directory over to Linux, and then copy the Linux DF/DFhack files over top of it.  If you can't get Wine to work, that may be the only way.

Hm, currently I am in a foreign country, and I only have my Ubuntu-Laptop with me. Guess I'm going to have to wait to play MDF properly for three months. *Sigh*

Thank you anyway for your help, look in the previous post for the images. :)

EDIT:
You said something about truetype making tileets look more appealing, right? How come the tiles don't change when I switch to truetype via F12?

« Last Edit: June 17, 2014, 08:26:10 am by Snaaty »
Logged

greycat

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #36 on: June 17, 2014, 08:53:22 am »

No, the Dwarf Manipulator is the thing that opens when you press "u", and then "l". I am not sure what it is called.
Ah!  OK.  I've used that a few times, but I didn't know it was called that.

It is a DFhack plugin, so to change it, you'd have to modify the plugin at the source code level (I believe they use C++ for those) and recompile it.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

Snaaty

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #37 on: June 18, 2014, 01:59:30 am »

Recently I had a different embark bug: I couldn't bring dwarven rum and some other stuff, without any modifications, though. (Not even plants_ff enabled) Is this also because my civ has no acces to that plant?

Anyway, I am wondering if it is possible for someone here to run his GUI on his Windows computer and then somehow send me the necessary files, to use on my linux?
I would appreciate it very much, if it was possible!
Logged

greycat

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #38 on: June 18, 2014, 10:10:42 am »

urmane has a "ready to play" Linux distribution of 5.06 (hosted on DFFD, linked from Meph's main thread) but I don't know whether that one has all the playable races enabled for fortress mode, or not.

Even if urmane does enable all races in his distributions, you're still going to be stuck in whichever tileset he chose, if you can't run the GUI.  Getting wine + dotnet4/mono to work has to be a top priority.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

bestreducer

  • Escaped Lunatic
    • View Profile
Re: [linux] Install script
« Reply #39 on: June 24, 2014, 12:04:42 pm »

You said something about truetype making tileets look more appealing, right? How come the tiles don't change when I switch to truetype via F12?
I am russian, that I have not fully understand, which you mean, but...
When I trying to build anything in this mod, the game crashes. But, when I switch Truetype render to openGL filter, typing "b" doesn`t give a shit, just opened a build menu. You got to me this way to avoid crashes with it, thanks.
« Last Edit: June 24, 2014, 12:08:53 pm by bestreducer »
Logged

Snaaty

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #40 on: June 27, 2014, 10:51:07 am »

@bestreducer Thank you, I am not sure I know what you mean, or how I can achieve that.

So, I've tried pretty much everything, still doesn't work.

One strange thing, though: I use playonLinux, and there I have Wine 1.6.2 and 1.7.15 installed. However, when I ask my terminal what version my wine is it tells me: "1.4". Maybe that can be the source of the error? But how do I update/change that?
Logged

greycat

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #41 on: June 27, 2014, 06:53:42 pm »

One strange thing, though: I use playonLinux, and there I have Wine 1.6.2 and 1.7.15 installed. However, when I ask my terminal what version my wine is it tells me: "1.4". Maybe that can be the source of the error? But how do I update/change that?

Well, it's possible to have 3 versions installed at once.  Apparently this is what you have.

In bash, you can use type -a wine to see the paths of all the installed versions (or at least the ones that appear in your PATH as "wine").  Then you can explicitly run one of them using the full path.

Also in bash, you can type "wine" and then press the Tab key twice to see a list of any programs whose names begin with "wine".  This may catch versions that are installed under a name other than simply "wine" (like "wine-1.6.2" or "wine-unstable"), but again, they have to be in your PATH already.

If you've got versions of wine installed in nonstandard locations (not part of your PATH) then you would have to know where they are.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

Snaaty

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #42 on: June 28, 2014, 07:19:02 am »

Okay, I got the GUI running now. Had to manually install coree.dll or something, but then it worked... until it tried to generate the lakes. At that point it crashes, if I start the game with the GUI, that I started with wine.

Can someone modify the 5.09v so that I can run it via scripts and not the GUI? (Because that's where the lake-crash comes from, I guess.)
Logged

greycat

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #43 on: June 28, 2014, 09:15:28 am »

I don't run the game in wine.  I just run the GUI in wine.  Once I have checked/unchecked/changed all the things I want to change in the GUI, I exit from the GUI, cd to Dwarf Fortress, and run ./dfhack to play the Linux version of the game.

If you're running world gen in the Windows version in wine, then I don't know how to help.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

Snaaty

  • Bay Watcher
    • View Profile
Re: [linux] Install script
« Reply #44 on: June 28, 2014, 09:43:34 am »

Yes, I know that you use wine only to run the GUI.

However, when I use the dfhack to start DF, several things are different:
- I don't have the new, awesome font (and I guess no item-tiles, either)
- Phrasing in the main menu is different
- and probably more, that I haven't found yet. (I think I had less embark profiles available, for example)

I am using the dfhack thingy from 5.06 is that the reason why? I also copied the libs-folder from said 5.06 version to my 5.09 Directory, because it wouldn't work otherwise.

Also, I tried outsmarting DF by generating the world without Wine, and then running it with wine. Then it crashed, when I tried to embark (of course after a long time of carefully preparing...)  :-\


Logged
Pages: 1 2 [3] 4