1
MM8BDM Discussion / Re: New release tomorrow - Change list preview!
« on: October 27, 2010, 11:09:32 PM »
Where's your Linux tutorial? I'd like to scan over it and try it out.
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.
skulltag -file MM8BDM-v1a.pk3 -iwad megagame.wad
Linux users like it long and complicated other wise they wouldn't be using Linux
That's..... an awfully long process to get it up and running. Am I to assume all linux users are going to understand that?
Maybe I'm the only person who appreciates an introduction to run-time linking on a gaming forum.
$ mkdir mm8bdm.98d-2969
$ cd mm8bdm.98d-2969
2. Download CutmanMike's MM8BDM-v1a.zip, and extract into this directory:# Cutman Mike's Mega Man 8 Bit Deathmatch bundle
$ wget http://wadhost.fathax.com/files/MM8BDM-v1a.zip
$ unzip MM8BDM-v1a.zip
3. See what version of skulltag.exe is included in CutmanMike's bundle[1]. This is the version that everyone else will be running on their Wintendos, and if you want to get online you'll need to match it.$ grep -a "Skulltag version" skulltag.exe
4. Download the corresponding skulltag release, and extract all of the files. You only need to download the one which matches the architecture your Kernel was built for[2].# 64-bit version of build [b]2999[/b], because there was no 64-bit 2969!!!
$ wget http://skulltag.net/download/files/testing/98d/SkullDev98d-2999linux-x86_64.tar.bz2
# 32-bit version of build [b]2999[/b]
$ wget http://skulltag.net/download/files/testing/98d/SkullDev98d-2999linux-x86.tar.bz2
# 32-bit version of build [b]2969[/b]
$ wget http://skulltag.net/download/files/testing/98d/SkullDev98d-2969linux-x86.tar.bz2
$ tar jxf SkullDev98d*tar.bz2
5. See if you are missing any libraries needed by this build of skulltag. I'll use my system as an example here.$ ldd skulltag | grep "not found"
libjpeg.so.62 => not found
libfmodex64-4.24.16.so => not found
libsnes_spc.so => not found
Any libraries listed as not found will need to be installed to your system, or added to the runtime search path of the skulltag binary.$ ls -l /usr/lib/libjpeg.so
lrwxrwxrwx 1 root root 16 Oct 4 10:29 /usr/lib/libjpeg.so -> libjpeg.so.8.0.2*
$ cp /usr/lib/libjpeg.so.8.0.2 libjpeg.so.62
5b. I didn't already have the fmod library installed on my system. However, in the case of my system, the version of the FMOD library in the package repository is not the same version that this build of skulltag is asking for. Even if I installed it, it still would not work. Luckily, the folks at http://www.fmod.org are good enough to keep all of the previous versions of the library available for download. I was able to navigate to http://www.fmod.org/index.php/download/find and look for version 4.24.16, as indicated by the ldd output above.$ wget http://www.fmod.org/index.php/release/version/fmodapi42416linux64.tar.gz
# Extract the one file we need:
$ tar -zxf ../fmodapi42416linux64.tar.gz --strip-components=3 fmodapi42416linux64/api/lib/libfmodex64-4.24.16.so
5c. Unlike on Windows, Linux won't by default look for libraries in the current directory. If you want to know why, look for messages in the Full Disclosure archives in September http://seclists.org/fulldisclosure/2010/Sep/index.html for messages titled "DLL Hijacking vulnerablity".#!/bin/bash
BASEDIR=$(dirname $0)
cd $BASEDIR
LD_LIBRARY_PATH=../lib:. ./skulltag -file MM8BDM-v1a.pk3 -iwad ../wads/megagame.wad $*
#__EOF__
I can't say how well this works in conjunction with doomseeker, but this is how I currently launch MM8BDM. I just use doomseeker to find the games, then I manually connect to them with the console.$ chrpath -l skulltag
skulltag: RPATH=/home/blzut3/Code/Skulltag/build/fmodapi/api/lib:/home/blzut3/Code/Skulltag/build/snes_spc
Well, that's the problem: I don't have blzut3's Linux build environment on my PC at home. Nevermind, it's easily fixed:$ chrpath -r $PWD skulltag
skulltag: RPATH=/home/blzut3/Code/Skulltag/build/fmodapi/api/lib:/home/blzut3/Code/Skulltag/build/snes_spc
skulltag: new RPATH: /home/fadein/downloads/mm8bdm-098d-2969
As a sanity check, let's run ldd one more time:$ ldd skulltag | grep "not found"
$ grep -a "SVN revision" skulltag
viewangle = %xOct 24 201029690.98d-alphaSkulltag v%s - SVN revision %s -
SDL version
The output isn't pretty, but you can see it right after the year in the build date.$ uname -a
Linux gemini 2.6.31-gentoo-r6 #3 SMP Mon Dec 28 13:55:06 MST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux
You can also see if your CPU is 64-bit by checking the /proc/cpuinfo special file:$ grep -E "^flags.*<lm>" /proc/cpuinfo
If any output is generated, it means that your CPU has the long-mode flag, which means 64-bits.
grep -a "Skulltag version" skulltag.exeAha! MM8BDM isn't using the latest version of skulltag yet. It's using the previous build which is 2969, and you can get it for Linux!
http://www.skulltag.net/download/files/ ... 86.tar.bz2
Still only 32 bit though. Let me know how it goes.
There is no linux version of the latest skulltag YET though...
Aye. Download the full game and it should come with its own copy of Skulltag v0.98d?. The demo version does run under Skulltag v0.98c?, but most people have the full version by now. (Both the demo and the full version are free.)
I think it should be opposite, Eddie gives you items while Reggae gives you weapons. Thank God you removed Reggae's original purpose, though, that would have seriously ticked me off. Usually with weapons like that, every time somebody else gets them, they're great, but when I get them, it's like the crappiest thing ever that happens.
How to run the game in linux? I tried to use skulltag, butCode: [Select]Skulltag v0.98c - SVN revision 2840 - SDL version
Compiled on Jul 11 2010
M_LoadDefaults: Load system defaults.
Cannot find a game IWAD (doom.wad, doom2.wad, heretic.wad, etc.).
Did you install Skulltag properly? You can do either of the following:
1. Place one or more of these wads in the same directory as Skulltag.
2. Edit your skulltag-username.ini and add the directories of your iwads
to the list beneath [IWADSearch.Directories]
Maybe there is another way or I do something wrong?
skulltag -file MM8BDM-SGC.pk3 -iwad megagame.wad