Jump to content

Must have XXIII(23) Ken Wood Linux only


NewWorldHero
 Share

Recommended Posts

I have played this version almost daily for what seems like a decade.

My scenarios and skirmishes (single player mode only) are somewhat

modified and ONLY work w/ v23 Ken Wood. Have tried many times

installing a new or latest version for Linux thru the Mint repositories and

moving the maps etc to new version. Never works.

 

I have searched and read here and everywhere else for almost a year merely trying to

find the Ken Wood v23 in a Ubuntu .deb package to install on a new PC build. Running

Mint 22.2 now the repos and everywhere else only have the latest 0AD versions, or the tar gz versions

that I have no idea how to "compile" or install. Even tried a Debian version that of course will not

work in Mint 22.2.

 

Finally decided to ask for help and need a good Linux pro.

Thanks

 

 

Link to comment
Share on other sites

Hello, you mentioned that you don't know how to compile, but that may be the only option if you want Linux native older 0 A. D. And it's not too hard to do. 

First, get the a23b tar source and data archives from this link:

https://releases.wildfiregames.com/

Then, follow the build instructions for Linux on this page:

https://gitea.wildfiregames.com/0ad/0ad/wiki/BuildInstructions

Obviously, instead of the latest source and data archives, you would use the a23b ones.

Good backup practices apply before compiling any large software from source. 

Edited by Deicide4u
Link to comment
Share on other sites

As feared this is turning into a nightmare fast.

Ive tried a wine/proton version before. This is a big difference when playing a windows version thru wine/Crossover etc vs a installed version in Linux. Appimage also. Not good.

 

I have dozens of customized scenarios/skirmishes. 

 

Again the compile option(s) ARE too hard and a mess to do. The build instructions in the link start by focusing on all the packages and additional  software you need to even consider compiling in Linux, and its ridiculous as the Windows versions are completed in the basic .exe install packages where anything Linux are raw and have to go thru the compile nightmare. Obviously previous Linux (Mint) versions of 0AD pumped into all the Linux Mint repositories were completed in a .deb format, and now are no where to be found.  

 

Just for FYI- my current install is in the outdated Mint 20.3. Ive even taken a good image of the entire install, placed on a new SSD on the new PC build, and it, of course will not work as the drivers built in the 20.3 kernels are outdated and do not work with new CPU and chipsets..  Doesnt matter if you 'forcibly' and manually install and try any of the new kernels in 20.3, same result.

 

 

 

 

Link to comment
Share on other sites

6 minutes ago, Gönndolsalv said:

Editing directly in the XML files? Not very simple for most people. There are at least 8 python scripts in the pages you linked. 

Link to comment
Share on other sites

@NewWorldBohate

You're exaggerating when you say compilation is difficult.

The description on the website:

https://gitea.wildfiregames.com/0ad/0ad/wiki/BuildInstructions#linux

may be confusing, but that's because it describes compilation cases for various distributions.
If you write down the commands, for example, on a piece of paper, it's not so bad.

I can help you with that—you just have to want it and show some good will.

Yes, compilation requires a lot of dependencies, which are normally unnecessary.

But compilation can be performed on a Live system running from a DVD or USB drive (it must be the same version as the one you have installed on your PC).
After completing the necessary steps, back up the necessary directories and shut down the computer.
All the "mess" (as you wrote) is gone – you only have what you need.
Transfer it to your PC and you're done.

A small note about 0ad.
You build the Live installation in a directory on an external drive, as this directory takes up a lot of space.
The drive must have Linux partitions (ext4).

If you connect a USB drive with a FAT32 or exFAT file system, for example, the build will fail because Windows file systems do not support symlinks.

Best regards.

Link to comment
Share on other sites

What all of you seem to forget is that the instructions to compile a23 are quite different from the instructions to compile recent versions of 0ad and that the versions of some libraries a23 depends on aren't available on modern Linux distributions. In my opinion that makes compiling a23 on a modern Linux distribution quite complicated.

  • Like 2
Link to comment
Share on other sites

@Dunedan

Good.
If compiling older versions of 0ad is as you describe, there's another way.
Probably easier than compiling.
In Debian, version 23.1 of 0ad was available in Bullseye (11.x).

1.
Install Debian 11 Bullseye on a USB stick just like you would on a hard drive.

https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/archive/11.11.0+nonfree/amd64/iso-dvd/

Includes firmware.

2.
Run the installed Bullseye from the USB stick on your computer.

Of course, unless it's a recent computer that the Bullseye kernel (5.10.x) can't handle.

3.
Since the Bullseye repository is already down (I think), 0ad and its dependencies (there aren't many) must be installed manually.

https://packages.debian.org/bullseye/0ad
The standard command:

apt install 0ad

will not work.

4.
Download the following:

http://ftp.de.debian.org/debian/pool/main/0/0ad/0ad_0.0.23.1-5+b1_amd64.deb
http://ftp.de.debian.org/debian/pool/main/0/0ad-data/0ad-data_0.0.23.1-1.1_all.deb
http://ftp.de.debian.org/debian/pool/main/0/0ad-data/0ad-data-common_0.0.23.1-1.1_all.deb

5.
Try to install it:

dpkg -i 0ad-data_0.0.23.1-1.1_all.deb
dpkg -i 0ad-data-common_0.0.23.1-1.1_all.deb
dpkg -i 0ad_0.0.23.1-5+b1_amd64.deb

We're taking a look at what dpkg outputted.
The first two packages should install correctly, unless some fonts are missing, in which case they need to be installed.

https://packages.debian.org/bullseye/0ad-data-common

The last command will be the hardest, as dpkg will output something like:

"error – package xxx is missing".
You'll need to download this package manually, install it, and try again:

dpkg -i 0ad_0.0.23.1-5+b1_amd64.deb

And so on until you succeed.
After a few rounds of this, we have 0ad ver. 23.1 installed for good.
Now you can run 0ad and finally put the Bullseye + 0ad USB stick away.

Best regards.
Happy New Year

Edited by zyli
Before Debian 12, there were separate DVDs without firmware and with included firmware.
  • Like 1
Link to comment
Share on other sites

1 hour ago, Dunedan said:

What all of you seem to forget is that the instructions to compile a23 are quite different from the instructions to compile recent versions of 0ad and that the versions of some libraries a23 depends on aren't available on modern Linux distributions.

I didn't really forget that. I've just assumed that those library versions were backwards-compatible (as they should be) and that he would need fewer libraries anyway since it's an older alpha release. 

But yes, that is one issue you inevitably hit while learning to compile. And this knowledge ia quite valuable in today's world. 

Edited by Deicide4u
Spelling
Link to comment
Share on other sites

41 minutes ago, Deicide4u said:
2 hours ago, Dunedan said:

 

I didn't really forget that. I've just assumed that those library versions were backwards-compatible (as they should be) and that he would need fewer libraries anyway since it's an older alpha release. 

The hardest to compile is Spidermonkey 38 mainly because it relies on python 2.

Spidermonkey has very few minor versions that are ABI (backward compatible) sometimes they even break it in minor like 76.3 and .5

  • Like 1
Link to comment
Share on other sites

There have already been 12 posts, and "NewWorldHero" only wanted one answer:

how to run the older version of 0ad – ver. 0.0.23 (Ken Wood).

I figured out a way to do it:

https://wildfiregames.com/forum/topic/139802-must-have-xxiii23-ken-wood-linux-only/?do=findComment&comment=616373

But I only figured it out, not tested it.
It was bothering me.

So I did this:

1.
I downloaded Live Bullseye version 11.11 (+non-free)

https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/archive/11.11.0-live+nonfree/amd64/iso-hybrid/debian-live-11.11.0-amd64-xfce+nonfree.iso

2.
I copied it to a USB drive with Ventoy installed and booted it..
The laptop was even relatively new – Intel TigerLake (11th gen.) + Intel Xe.
Debian booted, and Wi-Fi was available (Wi-Fi on Intel too).
Good news: the Bullseye repositories are still available. 
You can use 'apt install'; you don't need to install anything manually.

3.
After connecting to the network, I issued the command:

apt-get update
apt-get install 0ad

I had to wait a while because one of the packages ('0ad-data_0.0.23.1-1.1_all.deb') is about 670 MiB.

4.
After installation, in the terminal as a regular user, type '0ad' + Enter or click Menu – Games – 0ad.

Done.

I'm attaching the images.

A short summary:

user@debian:~$ cat /etc/debian_version 
11.11
user@debian:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
user@debian:~$ cat /run/live/medium/.disk/info 
Official Debian GNU/Linux Live 11.11.0 xfce 2024-08-31T16:39user@debian:~$ 
user@debian:~$ uname -a
Linux debian 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64 GNU/Linux
user@debian:~$ glxheads 
glxheads: exercise multiple GLX connections (any key = exit)
Usage:
  glxheads xdisplayname ...
Example:
  glxheads :0 mars:0 venus:1
Name: :0.0
  Display:     0x56011f9c8da0
  Window:      0x3c00002
  Context:     0x56011f9eb4e0
  GL_VERSION:  4.6 (Compatibility Profile) Mesa 20.3.5
  GL_VENDOR:   Intel
  GL_RENDERER: Mesa Intel(R) Xe Graphics (TGL GT2)

user@debian:~$ dpkg -l | grep 0ad
ii  0ad                                    0.0.23.1-5+b1                    amd64        Real-time strategy game of ancient warfare
ii  0ad-data                               0.0.23.1-1.1                     all          Real-time strategy game of ancient warfare (data files)
ii  0ad-data-common                        0.0.23.1-1.1                     all          Real-time strategy game of ancient warfare (common data files)
user@debian:~$ 0ad
TIMER| InitVfs: 860.322 us
Writing the mainlog at /home/user/.config/0ad/logs/mainlog.html
TIMER| CONFIG_Init: 559.181 us
Sound: AlcInit success, using OpenAL Soft
TIMER| shutdown ConfigDB: 0.239 us
TIMER| resource modules: 2.12809 ms
TIMER TOTALS (9 clients)
... etc.

Best regards.
Happy New Year.
 

0ad_0.0.23.1+Bullseye_11.11_Live.png

60677044_0ad_0.0_23.1Bullseye_11.11_Live2.png

0ad_0.0.23.1+Bullseye_11.11_Live3.png

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...