Linux and Mono Support

Use this forum to discuss the Action Editor and other technical aspects of Bliss.

Moderator: Don

Postby wolfepakt » Sun Aug 19, 2007 9:29 pm

I add my ablity to beta test the linux side
Troy
Wanna get back at forum spammers? Redirect them to www.bannedforspamming.com
wolfepakt
 
Posts: 6
Joined: Sun Aug 27, 2006 10:37 pm

Postby Don » Wed Aug 22, 2007 9:17 am

Hi,

To those of you asking about the Java version of Bliss. We are approaching the end of the Beta test period. We sent out an email to all forum members several months ago when we began the beta test, and I would like to express my appreciation to all those who helped.

At this point, I am making the Beta public to anyone who wants to try it.

You will need to have Java 1.5 (otherwise known as J2SE 5) or higher on your machine. There are two versions of the download. One is particularly for OSX and the other is for all other platforms.

The two download locations are:

http://www.gamesforloving.com/downloads ... _Beta6.zip

and

http://www.gamesforloving.com/downloads ... a6_Mac.zip

Please report any experiences you have, good or bad, with this software.

Thanks,

Don
User avatar
Don
Super Moderator
 
Posts: 1085
Joined: Fri Oct 28, 2005 3:37 pm
Location: Florida

Postby stykman » Wed Aug 22, 2007 11:08 am

Don,

I downloaded the Beta that you posted, and I have the required version of Java. I'm a little "stupid" about where to extract the files, and how to get it running. Could you please post some instructions.

Thanks.

PS - Wonderful program. The wife and I thoroughly enjoy it!!!
stykman
 
Posts: 1
Joined: Wed May 16, 2007 4:26 pm

Postby Don » Thu Aug 23, 2007 9:51 am

Hi,

The proper place to extract the file to really depends on your operating system and your preferences. It doesn't matter to the game where you put it as long as it is somewhere that the game will be able to write to files while it is playing.

On a Mac, you run the game after it is extracted by double clicking on the package (application), which should appear at whatever directory you extracted it to. On other machines you should be able to double click on bliss.jar

It is hard to give specific instructions because Java varies quite a bit from machine to machine. I would be glad to work with you ( and this will help me to develop better instructions).

Thanks,

Don
User avatar
Don
Super Moderator
 
Posts: 1085
Joined: Fri Oct 28, 2005 3:37 pm
Location: Florida

Postby romeo » Sun Aug 26, 2007 11:19 am

For the command line oriented linux people:

java -jar bliss.jar
romeo
 
Posts: 21
Joined: Sun Mar 12, 2006 8:43 am

Postby alyxlarsen » Fri Aug 31, 2007 11:11 pm

Works pretty good in Windows Vista so far.
User avatar
alyxlarsen
 
Posts: 32
Joined: Sun Jun 03, 2007 4:57 pm
Location: Myton, UT

Postby alyxlarsen » Fri Aug 31, 2007 11:25 pm

When you are on an action with music and you go into the sound preferences like you are going to adjust the volume or something, it quits playing the action music. And when you exit the sound preferences it starts playing background music instead of the action music.

Here is the info on my Computer:

Gateway MT6451
Windows Vista Home Premium
AMD Turion 64x2
2 GB RAM
100 GB HDD
Sigma Tel High Definition Audio
ATI Radeon Xpress Series Video
Java Version: 1.6.0-rc from Sun Microsystems Inc.
User avatar
alyxlarsen
 
Posts: 32
Joined: Sun Jun 03, 2007 4:57 pm
Location: Myton, UT

Postby xMarks » Mon Sep 03, 2007 10:22 am

Great to see this ready and running - however it doesn't run on my linux box.

java -jar bliss.jar results in the following:

Code: Select all
Header Chunk. Image width:32 height:32 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Exception during event dispatch:
java.lang.NoSuchMethodError: method java.lang.String.format with signature (Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.String; was not found.
   at com.GamesForLoving.Bliss.BoardBase.b(BoardBase.java:395)
   at com.GamesForLoving.Bliss.BoardBase.a(BoardBase.java:355)
   at com.GamesForLoving.Bliss.BoardBase.n(BoardBase.java:314)
   at com.GamesForLoving.Bliss.BoardBase.ef(BoardBase.java:288)
   at com.GamesForLoving.Bliss.h.run(BoardBase.java:244)
   at java.awt.event.InvocationEvent.dispatch(libgcj.so.70)
   at java.awt.EventQueue.dispatchEvent(libgcj.so.70)
   at java.awt.EventDispatchThread.run(libgcj.so.70)
Exception during event dispatch:
java.lang.IllegalArgumentException: Start position must be < limit.
   at java.awt.font.TextMeasurer.getLayout(libgcj.so.70)
   at java.awt.font.LineBreakMeasurer.nextLayout(libgcj.so.70)
   at java.awt.font.LineBreakMeasurer.nextLayout(libgcj.so.70)
   at com.GamesForLoving.Util.k.a(ImageUtil.java:163)
   at com.GamesForLoving.Bliss.aw.b(Board.java:311)
   at com.GamesForLoving.Bliss.aw.a(Board.java:56)
   at com.GamesForLoving.Bliss.R.run(Board.java:272)
   at java.awt.event.InvocationEvent.dispatch(libgcj.so.70)
   at java.awt.EventQueue.dispatchEvent(libgcj.so.70)
   at java.awt.EventDispatchThread.run(libgcj.so.70)


Any ideas? I'm running Ubuntu 7.04 and as far as I am aware, I have all the relevant libraries loaded.

Cheers,

xMarks
xMarks
 
Posts: 19
Joined: Fri Dec 16, 2005 10:48 am

Postby Don » Tue Sep 04, 2007 8:28 pm

xMarks,

Thanks for the stack trace. I am trying to figure it out now. It is a little confusing in that it seems to show two different exceptions at the same time.

Anyway, I will puzzle over this and get back to you. For now, can you tell me what version of Java you are running.

Thanks,

Don
User avatar
Don
Super Moderator
 
Posts: 1085
Joined: Fri Oct 28, 2005 3:37 pm
Location: Florida

Postby romeo » Thu Sep 06, 2007 2:57 pm

check using
> which java
to figure out what java executable is invoked. The path should tell you which version it is, if in doubt check with
> java -version
check also the environment
> echo $JAVA_HOME

It may be that any of those is either wrong/inconsistent or even missing.
romeo
 
Posts: 21
Joined: Sun Mar 12, 2006 8:43 am

Postby xMarks » Tue Sep 11, 2007 7:53 am

/me blushes

It looks like the JDK was installed but the JRE wasn't.

I'll try again tonight...

M.
xMarks
 
Posts: 19
Joined: Fri Dec 16, 2005 10:48 am

jbliss linux sound problem

Postby Ludeo » Thu Sep 13, 2007 10:29 pm

sound does not work during the game.
sound DOES work when clicking "play" in sound preferences

on a related topic: maybe consider using ogg vorbis sound files instead of mp3 because of license issues for linux users.

- jBliss_1_5_3_Beta6
- Ubuntu 7.04
- java version "1.5.0_11"

/usr/share/themes/Human/gtk-2.0/gtkrc:71: Engine "ubuntulooks" is unsupported, ignoring
/usr/share/themes/Human/gtk-2.0/gtkrc:241: Priority specification is unsupported, ignoring
(date) java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create failed.
javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
at com.sun.media.sound.DirectAudioDevice$DirectDL.implOpen(DirectAudioDevice.java:506)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:107)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:139)
at com.GamesForLoving.Sound.s.b(Sound.java:551)
at com.GamesForLoving.Sound.s.run(Sound.java:500)
at java.lang.Thread.run(Thread.java:595)
Ludeo
 
Posts: 3
Joined: Thu Sep 13, 2007 10:11 pm

Postby Don » Fri Sep 14, 2007 7:23 am

Ludeo,

Could you confirm something for me just to make sure that I am working on this correctly.

1. Do sound effects (not music) play during the game?
2. Do sound effects (not music) play in the sound preferences dialog?
3. Does music play during the game?
4. Does music play in the sound preferences dialog?

Thanks,

Don
User avatar
Don
Super Moderator
 
Posts: 1085
Joined: Fri Oct 28, 2005 3:37 pm
Location: Florida

Postby Ludeo » Fri Sep 14, 2007 8:02 am

Sorry to have bothered you, it DOES work now all the way :)
Maybe the system just needed to reboot?

Edit: I tried again, and now all the music worked, except the action music. instead the background music stopped, and there was no sound at all. after pressing cancel, the background music resumed again normally. i tried playing some music with another player (rhythmbox) while the game was running, but that didn't work either. sorry to sound confusing, if you got any specific instructions on what to try, i'll gladly do so. maybe the problem isn't even related to bliss, but rather the ubuntu sound system?

Anyway. here's what i did, maybe it's useful for other Ubuntu users, as it doesn't come with java5 out of the box:
- search for java5 using the synaptic package manager
- install sun-java5-jre
- use "sudo update-alternatives --config java" to chose "/usr/lib/jvm/java-1.5.0-sun/jre/bin/java"
- navigate to the Bliss/Music/Action directory and try to play one of the mp3 files
- Ubuntu will prompt you for downloading the mp3 codec, provided you haven't done so already
- reboot?

Many thanks for the Bliss java version, some of the best money I ever spent :)
Ludeo
 
Posts: 3
Joined: Thu Sep 13, 2007 10:11 pm

Previous

Return to Tech Talk

Who is online

Users browsing this forum: No registered users and 2 guests