Bay 12 Games Forum

Please login or register.

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

Author Topic: *beta* Lazy Newb Pack Launcher - Cross Platform [0.34.11] v0.5.2  (Read 68515 times)

Dricus

  • Bay Watcher
    • View Profile

*beta* Lazy Newb Pack Cross Platform Edition *beta*

** THIS IS JUST A LAUNCHER APPLICATION, NOT A COMPLETE PACK **

This cross platform launcher is just a standalone launcher which can be use by pack authors to create their own Lazy Newb Pack alike pack. Currently, there are 3 packs which include this launcher, one for each supported platform. Please download those if you'd like to use this launcher.

Windows: PeridexisErrant's Expanded LNP

MacOS X: fricy's MacNewbie Pack Reborn

Linux: andrewd18's Lazy Newb Pack Installer

Introduction

First of all: I've contacted LucasUP (the author of the one and only original LNP) about this, and he's fine with me posting this cross platform edition.

Second of all: you guys probably don't know me. The obvious reason is that this is my first post topic on this forum :). I've been playing Dwarf Fortress for about 2 years now and I've been following these forums during that time as well. Ever since I started using LNP, I wanted to make a cross platform version of it, so when I noticed that LucasUP made LNP open source, I immediately started coding. I started implementing the most basic features and will continue doing the more advanced stuff later, when I think the basic stuff is good enough.

For now I'll be creating a version which is equivalent to the original Windows version of LNP v15 with Dwarf Fortress v0.34.11. After that's done, we can move on to adding more features. I initially posted this in his thread, but I'd really like it if as many people as possible test this beta version, so I've decided to create my own thread.

This cross platform version will be open source right off the bat, although at this stage of development I'll probably be a bit less eager to include changes from other developers.

Now that I've got a basic version working, I'm very curious to see how it's going to work on other computers than my own one :). That's why I'm releasing a beta version right now, hoping that you guys are willing to give it a try and give me some feedback on how it's working.

** IMPORTANT NOTICE **
From version 0.5.1, I will only be maintaining the launcher application. For Windows and MacOS, PeridexisErrant and fricy will eventually incorporate this launcher in their packs. We haven't found anyone yet who would like to maintain a Linux pack, so if you feel like doing that, feel free to let us know in this thread.

** SPECIAL THANKS GO TO **
PeridexisErrant and fricy for motivating me to continue working on this again and for being very constructive in their feedback.

** WARNING **
Opening folders may not work on the Linux version. If it doesn't work for you, upgrading to Java 7 will likely fix it.

Changelog (subject to change)
Spoiler (click to show/hide)

Features (subject to change)
Spoiler (click to show/hide)

Screenshots
Spoiler (click to show/hide)

Download
Spoiler (click to show/hide)

Source code
Spoiler (click to show/hide)

Credits
Spoiler (click to show/hide)

Legal stuff
Spoiler (click to show/hide)
« Last Edit: August 10, 2014, 07:59:42 am by Dricus »
Logged

turabeasel

  • Bay Watcher
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #1 on: April 04, 2013, 11:42:23 am »

Works on OSX though I can't figure how to get SoundSense to actually play music, it starts up fine but DF music is in the background.
Logged

Dricus

  • Bay Watcher
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #2 on: April 05, 2013, 12:46:22 am »

Did you download/update the soundpack for SoundSense? The soundpack is not included in the LNP download, because it would make the download about 300Mb. That may not be a problem for those who download it, but it would take me ages to upload :).
Logged

Undrhil

  • Escaped Lunatic
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #3 on: April 05, 2013, 01:57:27 pm »

So, just out of curiousity, will this Cross Platform edition supplant the original Windows version of the Lazy Newb Pack?

I am wondering because I am about to get back into Dwarf Fortress and I can test this version on Windows 7 64-bit and Windows 8 32-bit, at home.

Otherwise, I'll just grab the original LNP.  :)
Logged

LucasUP

  • Bay Watcher
  • Devout Cheeseist
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #4 on: April 05, 2013, 10:37:14 pm »

So, just out of curiousity, will this Cross Platform edition supplant the original Windows version of the Lazy Newb Pack?

I am wondering because I am about to get back into Dwarf Fortress and I can test this version on Windows 7 64-bit and Windows 8 32-bit, at home.

Otherwise, I'll just grab the original LNP.  :)

It will replace the current LNP eventually when it is feature complete, at which point my own post will be updated with it. Grab the original if you want something to actually play with, as this version isn't finished yet. Please do test it out to make sure it's working though
« Last Edit: April 05, 2013, 10:40:15 pm by LucasUP »
Logged
OG founder of the Lazy Newb Pack

Ucarty

  • Bay Watcher
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #5 on: April 08, 2013, 06:01:23 am »

I'd love to help out with testing this beta.

I'll try to test anything marked [completed] today.
I'll be testing on an 64-bit windows 7 machine.

Would you rather have issues created on BitBucket or things brought up over here?

I also happen to be an interface designer, if there is any part of the interface you'd like advice on, feel free to shoot me a message.

Love the fact the LNP is losing its platform dependency and is coming alive again! I'm not sure about the platform independent java-dependency but that is for the tech folks to fight over in the LNP development thread.
Logged

Dricus

  • Bay Watcher
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #6 on: April 08, 2013, 11:09:07 am »

I'd love to help out with testing this beta.

I'll try to test anything marked [completed] today.
I'll be testing on an 64-bit windows 7 machine.

Would you rather have issues created on BitBucket or things brought up over here?
Thanks! Either way is fine with me. Maybe Bitbucket is a bit easier for me, because it doesn't require me looking through posts in this thread for bug reports. But I will probably create Bitbucket issues for stuff brought up in this thread anyways.
Logged

Nalbir

  • Bay Watcher
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #7 on: April 11, 2013, 12:47:11 pm »

OS: Linux 3.2.0-33-generic
Distro: Description:   Ubuntu 12.04.2 LTS

core@Core-Ubuntu:~$ java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

Code: [Select]
java.lang.IllegalStateException: Error while loading the application settings!
at nl.dricus.df.config.AppConfig.load(AppConfig.java:121)
at nl.dricus.df.config.AppConfig.<init>(AppConfig.java:54)
at nl.dricus.df.state.LNP.<init>(LNP.java:53)
at nl.dricus.df.state.LNP.get(LNP.java:83)
at nl.dricus.df.form.main.MainForm.initComponents(MainForm.java:438)
at nl.dricus.df.form.main.MainForm.<init>(MainForm.java:98)
at nl.dricus.df.Application.showMainWindow(Application.java:83)
at nl.dricus.df.Application.run(Application.java:79)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Caused by: java.io.FileNotFoundException: /home/core/LNP/lnp.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:97)
at java.io.FileReader.<init>(FileReader.java:58)
at nl.dricus.df.config.AppConfig.load(AppConfig.java:119)
... 21 more
Logged

Dricus

  • Bay Watcher
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #8 on: April 11, 2013, 03:52:39 pm »

OS: Linux 3.2.0-33-generic
Distro: Description:   Ubuntu 12.04.2 LTS

core@Core-Ubuntu:~$ java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
Hey Nalbir, thanks for testing!

Looks like you started the .jar file (lazy-newbpack-gui-0.4.1.jar. You should start the scriptfile lnp instead. Please let me know if this was the problem and if starting the scriptfile solved it.
Logged

Nalbir

  • Bay Watcher
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #9 on: April 11, 2013, 05:28:59 pm »

OS: Linux 3.2.0-33-generic
Distro: Description:   Ubuntu 12.04.2 LTS

core@Core-Ubuntu:~$ java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
Hey Nalbir, thanks for testing!

Looks like you started the .jar file (lazy-newbpack-gui-0.4.1.jar. You should start the scriptfile lnp instead. Please let me know if this was the problem and if starting the scriptfile solved it.

Okay that works.

Everything implemented in the OP seems to work.

Opening folders does not work with my version of Java:

Code: [Select]

java.lang.UnsupportedOperationException: Desktop API is not supported on the current platform
at java.awt.Desktop.getDesktop(Desktop.java:144)
at nl.dricus.df.action.OpenFolderAction.actionPerformed(OpenFolderAction.java:58)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:702)
at java.awt.EventQueue$4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)


Logged

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #10 on: May 07, 2013, 08:57:38 pm »

PTW - it'll be nice when the LNP I maintain is not windows-only. 

Edit:  any chance of working directly toward an equivalent of v16 instead of v15?  It would just be nice to avoid the cross-platform edition being behind from the very start - I just don't want to lose automatically launching utilities or try to explain what happened. 
« Last Edit: May 09, 2013, 03:16:50 am by PeridexisErrant »
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #11 on: May 28, 2013, 06:28:44 pm »

Double post to pass along a bug report from reddit, on OSX. 
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

dewboy

  • Bay Watcher
  • I did it..... FOR !!SCIENCE!!
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #12 on: June 11, 2013, 12:03:29 pm »

Ill start beta testing right away. I know almost nothing about coding but i can pass along bug reports.
Thank you. Thank you. Thank you
Logged


WEEEEEEEEEEEEEEEEEEE

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #13 on: July 25, 2013, 12:07:22 am »

*bump*

I just took a peak at the source - OK, the dates next to commits - and as a non-programmer it looks like there's been not progress since April 15 - and that graphics support was added April 13, the day after Dricus last posted here. 

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

Does anyone know what's happened?  Is there a built version with the graphics stuff in it?  Can someone build one?
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

Rayston

  • Escaped Lunatic
    • View Profile
Re: *beta* Lazy Newb Pack - Cross Platform Edition [0.34.11] v0.4.1
« Reply #14 on: July 31, 2013, 08:27:37 pm »

anyone know the status of this?
Logged
Pages: [1] 2 3 ... 9