Loading...
  OR  Zero-K Name:    Password:   

Linux OpenSUSE 13.1

37 posts, 2938 views
Post comment
Filter:    Player:  
Page of 2 (37 records)
sort
Hello
I don't want to need Windows to play Zero-K, but Linux users are abandoned by Zero-K developers, it's my feeling. With the latest version of OpenSUSE, I'm trying to run Zero-K again, but ... always some mistery thing happen. This is what OpenSUSE 13.1 users have in their repos:
- libpr-downloader_shared 0.96.0-1.2 - Maps/Mod Downloader for Spring
- libunitsync 0.96.0-1.2 - A library for Spring
- springlobby 0.180-1.1 - A free cross-platform lobby client for the Spring RTS project
- springrts 0.96.0-1.2 - A full 3D open source RTS game engine
- springrts-engine 0.96.0-1.2 - Metapackage default and mutlithreaded
- springrts-engine-default 0.96.0-1.2 - Meta package for the spring game engine
- springrts-features 1.0-1.1 - All of the features made for Spring engine to date
- springrts-gamedata 0.96.0-1.2 - Game releated files
- springrts-zero-k 1.2.2.4-1.1 - Spring engine based game focused on a streamlined economy & advanced interface
- springrts-zero-k-maps 1.2.2.4-1.1 - Maps designed specially for Zero-K game

I have all of them installed.

In first place, there is no "Zero-K" launcher. I must launch simple UI (launching "Spring") that only have options like "Test the game", "Edit settings", "Direct connect" and "Quit" options. Moreover, I can select a game, a map and a script. These last two have some items to select (three maps and "player only: testing sandbox" as unique script). But there is no any game available (however, there are two mod in /usr/share/games/spring/mods: "spring_features-v01.sdz" and "zk-v1.2.2.4.sdz").

Is there anyone that can explain how to play Zero-K on Linux?

Thank you
+0 / -0
10 years ago
Try to compile the engine and engine or http://zero-k.info/Wiki/Download
+0 / -0
10 years ago
There are many other great games for Linux (even on Steam platform) and user don't need to compile nothing. We are on 2014, so the question is why don't to make easy to play Zero-K to Linux users, not to make them to compile nothing. As many more platforms Zero-K is playable, more popular will be, and more fun for all people that enjoys with this fantastic game.
+2 / -0
10 years ago
Download zk lobby and it will download the engine: http://zero-k.info/Wiki/Download

However, I did compile all spring stuff.
+1 / -0
10 years ago
Thank you arcsin_f. I guess you are a debian or ubuntu based user, so instructions on that page will not work for Fedora, OpenSUSE, Mageia users. Moreover, OpenSUSE users, as you can see in my first post, just have compiled Zero-K and Spring engine. So I think that's not the problem. ;)
+0 / -0
quote:
packaging issues

First, some clarifications.

1) Modern Springrts protocol allows hosts on the same lobby server to have different engines. Since version 96.0 there is no version enforcement at all.

2) The PR-Downloader utility that you have acquired as libpr-downloader_shared can on its own download static binaries of required engine versions, with a caveat that linux64 builds are only available since after version 91.0. This is probably slightly at odds with quite a few distro policies, but it seems to work.

Quite a few lobbies know to use it to get new engines (zkl, swl, and a certain gpl-violating lobby). Springlobby isn't there yet, but it will use pr-downloader to get maps and games.

3) Starting Spring directly is totally not something you should do when you want to play a Spring game. You need a lobby, even under Linux.

4) Zero-K is still using engine 91.0. It will work with engines from the future, but there are some outstanding infrastructure issues that prevent the game from upgrading to newer engine full-scale.

5) Last but not the least! If you have a game file downloaded but spring is not listing it when launching directly, i suspect your maintainer failed to make spring consider /usr/share/spring/games when searching for archives!

You can verify the latter by launching spring directly and opening the infolog.txt file that it should save in your ~/.spring or ~/.config/spring (possibly depending on version).

The infolog will, amongst tons of other useless info, contain a list of directories scanned in read and read-write modes.

6) Zero-K release cycle is very quick and is not afaik integrated with any distro packaging systems. Your packaged version is likely to always be outdated... unless you help by making some kind of auto-packaging hook :)




My first suggestion would be to try getting a modern lobby working on your machine. Either ZKL or SWL. In particular, springweblobby's QT port is quite very nice (and you get it as static).
+4 / -0
In first place, THANK YOU, for a detailed explanation about zero-k on Linux issues.

About 1) I didn't understand what's the point about my post, cause I'm far away how internally Spring / Lobby works

About 3) I was desesperate, cause don't know other way to launch Zero-K lobby, however, a Spring "lobby" (or not) launcher appears just after installing all packs that I mentioned in my OpenSUSE. I was thinking it was the simpliest lobby for Linux (the window is called "Spring 96" on launching it).

About 5) I located the "infolog.txt" file in ~/.config/spring. As you guessed, apparentely, spring compiled for OpenSUSE doesn't search on "mods" folder:

Using read-write data directory: /home/falelovsky/.config/spring/
Using read-only data directory: /home/falelovsky/.spring/
Using read-only data directory: /usr/share/games/spring/
Scanning: /usr/share/games/spring/maps
Scanning: /usr/share/games/spring/base

About 6) That's most a maintainer headache, but there are many application for OpenSUSE that are updated near each week and however, they are avaiable in repos in less than two weeks. I wish I could do that job. I'll investigate about it.

I tried to launch springweblobby's QT port, but I'm behind a proxy now, so I'll try in my other PC. However, I don't understand why it launch a Java plugin ... in chrome and firefox.

I'll report more news later.

Thank you very much for all your information

I think I'm near to play Zero-K in my OpenSUSE!!!!!!! At last!!! ;)
+0 / -0
quote:
(however, there are two mod in /usr/share/games/spring/mods: "spring_features-v01.sdz" and "zk-v1.2.2.4.sdz").

Oh god i missed the forest behind the trees.

The "mods" folder has been deprecated since 88.0 (i think) and has been removed since 95.0!

You can probably fix that issue just by "sudo mv /usr/share/games/spring/mods /usr/share/games/spring/games".

quote:
However, I don't understand why it launch a Java plugin ... in chrome and firefox.

If it works in chrome and firefox that means you're using "just" springweblobby, which runs in a browser.

The QT port is that version where it lives in its own QT window, essentially becoming a hybrid app and shedding the java dependency.

(i'm failing to find the downloads atm, but they surely exist somewhere)

quote:
About 1) I didn't understand what's the point about my post, cause I'm far away how internally Spring / Lobby works

The issue is that since your package system contains engine 96.0 and Zero-K uses engine 91.0 on its host, you won't be able to play online using the package manager version of the engine.

This is typically where "modern lobbies" and "rapid download" kick in, but as mentioned, 91.0 static binaries are not available for linux via the rapid system.

(but you can either download them elsewhere or compile your own).
+0 / -0
quote:
The PR-Downloader utility that you have acquired as libpr-downloader_shared can on its own download static binaries of required engine versions, with a caveat that linux64 builds are only available since after version 91.0.

That has actually been incorrect for some time now. I even opened a zk issue for no reason (because if it's not broken, why fix it?).
http://code.google.com/p/zero-k/issues/detail?id=2083

UPD: Downloads for the qt port of weblobby: https://googledrive.com/host/0Bys6k7VMCRfUZ0N5MGJXR1pRV2M
+3 / -0
I posted recently how to play zk on ubuntu/archlinux recently. But since zk forum pages don't show topic title in page title, it's difficult to find that topic for me... xD

Edit: http://zero-k.info/Forum/Thread/4748#84341
+2 / -0
10 years ago
Is there a problem with the "Linux (alternate)" instructions on the download page when they are used on OpenSUSE?
+0 / -0
10 years ago
Sponge, the problem of the "Linux (alternate)" instructions is that they are for debian package based Linux distros (.deb) not for Red Hat package manager based distros (.rpm), so a OpenSUSE user can't do nothing with that instructions and the repositories are distinct : /
+0 / -0
10 years ago
Ivica, I must say your post is really very precious for Linux users. Despite is not the "native" way to get Zero-K to work, you contribute really to make an easier way to us to try to play ZK in our Linux.

As your instructions are for ".deb" distros, and I had installed in OpenSUSE all the packages that you mentioned, I only did:

wget http://zero-k.info/lobby/Zero-K.exe
mono Zero-K.exe

And I got to launch the Windows EXE ZK lobby. But when clicking on some items of the interface (Home, Singleplayer, .... except Settings) , ZKL open a new browser instance, not inside the ZKL ... so I think I'm doing something wrong or something is failing here : (
+0 / -0
That's normal. ZKL will just display the webpages that you'd find on this site here, too. On Windows, it uses (an inbuilt?) IE for that, but on Linux it needs some other browser to show you the pages. The lobby/chat tabs don't need the browser though.

Just to be clear, if ZKL were to show you that stuff where it opens a browser in the ZKL window (without opening other stuff), you'd get the exact same results from interacting with the pages as you get right now.
+0 / -0
10 years ago
Now, I'm connected to Spring server and even played some battles. I did it via web thru http://weblobby.springrts.com/ as Anarchid suggested. It works fine, and it's distro independent, so it's a great way to play in any platform. As we know, doesn't run on Chrome cause there is some bug, but it's fantastic to get to play again.

I still have some questions: I like to invite other player to begin with Spring, and ZK tutorials are ideal to learn so, how to play ZK single player demos?

Thank you
+0 / -0
10 years ago
Getting all features working in linux is a pain in the ass, most lobbies don't have some zkl features like singleplayer and mono zkl is buggy.
+0 / -0
Upvote my posts fellow linux users! As well as join mah cult! Yay!
+6 / -0
quote:
Upvote my posts fellow linux users! As well as join mah cult! Yay!

Here is how you install linux on a banana.
+5 / -0

10 years ago
Hi ESrankFalelovsky, I use ZK Lobby on Debian.
That can be used to play single player missions. To do that, you open ZK lobby, click single player. It will open a tab in your web browser. Choose a mission in the web browser, and press Play. The mission should now be automatically loaded by Zero-K lobby.

If you didn't get Zero-K lobby working yet,
On OpenSuse, the procedure is:
Install things as root:
quote:

# yum install xprintidle mono-complete p7zip wget

NOTE: spring is not needed.

Install ZK lobby:
quote:

$ cd ~/.spring
$ wget http://zero-k.info/lobby/Zero-K.exe


We will install Spring 91 next to the place where ZK lobby will find it:
quote:

$ mkdir -p ~/.spring/engine/
$ cd ~/.spring/engine/
$ wget http://springweblobby.googlecode.com/files/spring_91.0_portable_linux_amd64.zip
$ unzip spring_91.0_portable_linux_amd64.zip


And start the game:
quote:

cd ~/.spring
mono Zero-K.exe &
+3 / -0
10 years ago
I have been using ZKL on Xubuntu for months and I haven't encountered the mono bugs people speak of. Are they only on specific hardware setups? ATI graphics cards maybe?
+0 / -0
Page of 2 (37 records)