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

Pages: [1] 2
1
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: June 23, 2014, 07:12:52 pm »
As I'm sure some of you have noticed, there have been an increasing number of issues posted on the install script github. Pull requests have been left languishing, awaiting approval for weeks. Here's some of the challenges the script is facing:

  • It takes a significant amount of time to debug and test compatibility for each and every utility on each of the major Linux distributions (Debian, Arch, Ubuntu, and Red Hat). Libgraphics and DF Therapist 20.6 (see also: qt5) are the primary offenders.
  • Reviewing other people's code is extremely time consuming, as not only do I need to understand their code, I need to check it across multiple distributions and verify it doesn't eat anyone's filesystem, like this issue (link).
  • It takes a significant amount of time to stay informed about utility development for the utilities I already have... not only do I need to monitor them all, but I need to know exactly what changed and what the new dependencies are. In some cases, it's easy, just change the checksum and download link, problem solved. Other cases, like graphics packs, require unique install steps for each file.
  • If I can't even keep up with the pace of current utility upgrades, there's no way I'm going to have the time to add new utilities, like that fancy new stonesense viewer... or any of the other things people expect when comparing the LNP for Linux and the LNP for Windows.
  • $DEITY help me when DF2014 lands.

I'm also facing my own challenges:
  • Lack of free time. When I started this, I was unemployed. Now I'm working two jobs. What time I do have when I get home, I want to spend relaxing, not troubleshooting.
  • Lack of motivation. I'm hopelessly behind on features with no time to catch up... meanwhile my inbox is full of angry users demanding tech support.

As such, I'm marking the Linux LNP installer as unmaintained. You are more than welcome to fork it, per the terms of the GPLv3 (link), or study the code to build your own with a different license.

2
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: June 01, 2014, 09:16:03 pm »
Latest master also contains code to download and install the newest Splintermind DF Therapist, which requires Qt5, if Qt5 libs are installed on your system.

3
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: June 01, 2014, 08:20:10 pm »
I finally managed to sneak some free time past my responsibilities. Build 0.5.5 of the LNP installer contains fixes for the 0.44 utility plugins.

4
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: May 12, 2014, 05:54:16 pm »
The source is open for a reason. If you'd like to reuse or rebuild any of it, go right ahead. I don't have an explicit license on my code, so if you reuse my code you can do what you like (close its source, charge fees, etc.) However, for the good of the DF community I would encourage you to open source your project as well.

To be a bit pedantic, it appears that according to github your code is currently published under GPL v3, which is a "sticky" / copyleft open license.  If you want people to be able to do what you describe above, you should probably put it out under a dual license, GPL plus something like either the MIT or FreeBSD licenses.  Or just place it fully into CC0 if you're up for it.  But please remember that "I don't have an explicit license on my code..." means that *no one* can use it; in the US and many other places, code is copyrighted "from birth", and only explicitly setting a license can free it for others.  (If you or anyone else publishing DF add-ons need more help with license selection or implications, the forums have several people with experience.)
You are correct. I forgot I added the LICENSE file and was replying from memory.

In that case, rmblr, you are free to reuse my code so long as you also publish your code under GPL v3.

5
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: May 12, 2014, 09:39:20 am »
Andrew, what would you say to a refactoring of the codebase to be more modular, so that a GUI wizard/installer could be created that shows progress bars, etc. It would be a step forward for usability for those Linux users without console experience.

To be clear, I'm not suggesting you do this, rather if you would be amenable to the idea. I'd be happy to work on it. I'm asking because it would be a rather invasive change.
The source is open for a reason. If you'd like to reuse or rebuild any of it, go right ahead. I don't have an explicit license on my code, so if you reuse my code you can do what you like (close its source, charge fees, etc.) However, for the good of the DF community I would encourage you to open source your project as well.

6
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: April 22, 2014, 05:50:45 pm »
Been trying to get this to work for awhile, but I can't figure out where to save the file to when I run df-lnp-installer.sh in the terminal. Everything I try gives an error that crashes the terminal before I can see it. And just running it doesn't do anything.

I'm running Linux Mint for reference.
Rather than double-clicking the script from your file browser, you should open a terminal at that location and run it. For example, save it to your /home/username folder. Then, open a terminal (like gnome-terminal). Type "sh ./df-lnp-installer.sh" without the quotes, and voila, the script will run.

It's very likely the script will error because you're missing dependencies. Install those via Synaptic (or your preferred software installation method), then re-run the script. Repeat until it works. :)

7
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: February 10, 2014, 10:42:12 am »
Thanks a lot for this, it's really such a load off getting all of this to run properly.  Installed on Mint 16 without any problems.

I do have one question though, where is the introduction interface thing located?  A "Lazy new pack" thing was placed in Applications>Games in the start menu thing, but it doesn't do anything when I click on it.  I can go into the LNP directory and run everything manually, but I can't seem to find that initial interface with all the options and whatnot on it.
There should be a "startlnp" script living in your installation directory, next to the df_linux and LNP snapshot jar file. The link in your applications/games should auto-link to that. Perhaps it's linked properly but the script is failing silently?

Edit: By chance, did you install DF to a folder with a space in the name? Looking at some of the forked branches on my repo, there might be an issue where the desktop file can't handle a space in the folder name. Edit the ~/.local/share/applications/DF LNP.desktop and add quotes around the stuff after the Exec= command.

8
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: January 08, 2014, 01:45:42 pm »
Using those commands it installs, but it doesn't start after installation, this is the error message I get:

Quote
java.lang.IllegalStateException: File not found: df_linux/data/init/d_init.txt
You are missing the d_init.txt file, which definitely means DF didn't install correctly. Can you please re-run the installer without using sudo, and give me the full output? Also, please post these issues to the df-lnp-installer page on github.

https://github.com/andrewd18/df-lnp-installer/issues

9
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: January 08, 2014, 01:41:54 pm »
Code: [Select]
Initializing Plugins.
/home/charles/bin/Dwarf Fortress/df_linux/libs/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /home/charles/bin/Dwarf Fortress/df_linux/hack/plugins/stocks.plug.so)
Can't load plugin /home/charles/bin/Dwarf Fortress/df_linux/hack/plugins/stocks.plug.so
Dwarf Fortress ships with a really, really old version of libc. Rename df_linux/libs/libstdc++.so.6 to df_linux/libs/libstdc++.so.6.old and try again.

10
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: December 01, 2013, 10:44:53 pm »
Good evening, everyone. 0.5.0 is out. This is a feature release to add new features and crush everyone's least favorite bug.

What's changed since 0.4.x?

  • Added Quickfort
  • Added Chromafort converter (see LNP/utilities/chromafort)
  • Added DF Announcement Filter (may not work on Java 6)
  • You no longer need to disable ptrace protection for your entire system. Instead, the script will give you the command needed to disable it for the DT program.

Download and installation instructions are at the Github repository. Please use said repository to report any issues, errors, or other problems you may have using it.

Enjoy!

11
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: December 01, 2013, 10:32:38 pm »
I found the df-lnp-installer file, but when i tell it to run (using grandpa point and click from my home folder) nothing happens. Also when i tell it to run in terminal it pulls up a terminal window which closes immediately.
You need to open the terminal first, change directory to the folder using the "cd" command, and run "./df-lnp-installer.sh". If it crashes it will tell you why. You're probably missing some required software.

12
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: November 19, 2013, 12:06:07 pm »
Hey, everyone. 0.4.0 is out. This is primarily a bugfix release to resolve the installation and file-deletion issues that have been reported.

I am aware of the change to the Windows LNP to be the "Starter Pack" and am working to bring the Linux installer up to feature parity. However, my spare time is limited, so if you're concerned about the pace of development, feel free to dig into the code and send me merge requests.

What's changed since 0.3.x?
  • Added an --override-user-agent parameter for people with issues downloading files.
  • Fixed the issue where an auto-detected folder could be deleted on a script failure or error, resulting in the loss of files. My sincere apologies to everyone who experienced this.
  • Disabled the soundsense terminal by default.
  • General code cleanup, compatibility fixes.

Download and installation instructions are at the GitHub repository. Please use said repository to report any issues, errors, or other problems you may have using it.

Enjoy!

13
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: November 19, 2013, 11:58:36 am »
For some reason, when I use this pack, DF often crashes during world creation.
It either hangs forever on "Forming lakes and minerals" or "Recounting legends", or crashes randomly on some year when running history.
In general, about 40% of the time world creation is unsuccessful. I don't have this problem with vanilla DF.
Probably something to do with dfhack... but I really dunno. Sorry. :(

14
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: October 29, 2013, 09:41:23 am »
not exactly sure where this has to go, also posted this in the launcher thread
anyways

... <various issues with the launcher> ...
As far as I can tell these are all launcher issues. Those reports belong in Dricus' thread or at his bitbucket site.

https://bitbucket.org/Dricus/lazy-newbpack/

15
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: October 29, 2013, 09:32:56 am »
The link in the script is fine, it's just not a normal "link".

hg is the command line program for mercurial, a version control system like git.

Install mercurial and you'll be fine.
Correct.

Now whether df-lnp-installer should attempt to update the DwarfTherapost mercurial repo when --skip-deps is provided, I dunno.
Probably shouldn't. I'll take a look at that for 0.4.x.

Pages: [1] 2