Advanced Search

Show Posts

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.


Messages - fadein

Pages: [1]
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.

2
MM8BDM Discussion / Re: WANTED - Mac and Linux users
« on: October 26, 2010, 01:44:04 AM »
I've run the latest 64-bit skulltag build 2999, and verified that it runs under Linux.  I tried connecting to a server and, as you predicted, I got an error message saying that my network code is out of date. :evil:

This is the full command-line needed to get skulltag to run:
Code: [Select]
skulltag -file MM8BDM-v1a.pk3 -iwad megagame.wad

I don't know why I need to specify both -file and -iwad, but without both it won't run.

Cheers.

3
MM8BDM Discussion / Re: WANTED - Mac and Linux users
« on: October 25, 2010, 10:04:36 PM »
Quote from: "TheBladeRoden"
Linux users like it long and complicated other wise they wouldn't be using Linux

Too right.   :cool:

Quote from: "CutmanMike"
That's..... an awfully long process to get it up and running. Am I to assume all linux users are going to understand that?  :shock:

Of course I think it's easy to understand, but I'm also the one who hit the submit button, so I'm not the best judge.

It's only five steps, three of which are making a directory and unzipping files.  If I cut out all of the explanations it'd easily be one paragraph long, but few would understand what they're doing.  I guess you could say that I'd rather teach folks how to fish instead of giving out fish.

On the other hand, I do tend to be long-winded, especially when I'm explaining computer stuff.  :geek:  Maybe I'm the only person who appreciates an introduction to run-time linking on a gaming forum.

4
MM8BDM Discussion / Re: WANTED - Mac and Linux users
« on: October 25, 2010, 08:07:48 PM »
These are the steps I followed to get skulltag running on Linux.  Using build 2969 I can play online.  Replace 2969 with 2999, and this guide should work for the latest version of skulltag.  If this guide doesn't get you running, reply here or /msg fadein on chat.freenode.net.  I'm around some of the time, so don't be discouraged if I don't reply right away.

1. Create a new directory for MM8BDM in your home dir.  I name mine for the version of skulltag I'm using, so it's called mm8bdm.98d-2969.
Code: [Select]
$ mkdir mm8bdm.98d-2969
$ cd mm8bdm.98d-2969
2. Download CutmanMike's MM8BDM-v1a.zip, and extract into this directory:
Code: [Select]
# 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.
Code: [Select]
$ 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].
Code: [Select]
# 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.
Code: [Select]
$ 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.

The dependancy on libsnes_spc.so is easy to fix, since that file came with this build of skulltag and is already in this directory.

5a. I already had libjpeg installed on my system in /usr/lib, but it isn't the same version that skulltag was built against.  I discovered that it is close enough to work, though.  I'll just copy it from /usr/lib to this directory and rename it to match skulltag's expectation.
Code: [Select]
$ 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.
Code: [Select]
$ 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".

Now, there are two ways to go about telling skulltag where to find these libraries.  The less-intrusive way is to write a wrapper script that will tell the OS where you want to look for the libraries.  Such a script will look like this:
Code: [Select]
#!/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.

The intrusive-but-1337 way to fix skulltag permanently is to hack the binary so that it looks for the libraries in the right place.  There's a tool hosted by the FSF called chrpath (ftp://ftp.hungry.com/pub/hungry/chrpath ... 0.9.tar.gz) that makes this easy enough for a Windows user.

First, let's take a look at skulltag and see where it's trying to load these extra libraries:
Code: [Select]
$ 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:
Code: [Select]
$ 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:
Code: [Select]
$ ldd skulltag | grep "not found"

This time there's no output.  That means we're out of DLL-hell, and you can launch skulltag and frag those Penguin-fearing n00bs.

IT'S OVER!!!

[1] If you can't launch the Linux build of skulltag, you can still find
    the build number with this command:
Code: [Select]
$ 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.

[2] The `uname -a` command will reveal whether you're running a 32-bit or 64-bit kernel.  If i386, i586, or i686 appears in the output, you're kernel is 32-bit.  If it says x86_64, it's a 64-bit kernel.  Remember, 64-bit Linux will be able to run 32-bit binaries, but you can't do it the other way around.  Here's what `uname -a` says on my PC:
Code: [Select]
$ 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:
Code: [Select]
$ 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.

5
MM8BDM Discussion / Re: WANTED - Mac and Linux users
« on: October 25, 2010, 03:12:50 PM »
I'll run through this tonight after work.

6
MM8BDM Discussion / Re: Outdated Network Code
« on: October 19, 2010, 02:29:20 AM »
Thanks for the pointer CutmanMike!  That did the trick!

I tried the 2969 build and was able to connect!!! :mrgreen:

Here's a tip for Linux users to help make sure you're downloading the Linux build that corresponds to the Windows build that ships from Cutstuff.net:

Code: [Select]
grep -a "Skulltag version" skulltag.exe
That'll give you the version and build number so you can find the same one in the Linux download area on skulltag.com.

7
MM8BDM Discussion / Re: Outdated Network Code
« on: October 18, 2010, 07:24:20 PM »
Quote from: "CutmanMike"
Aha! 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.

Thanks, CutmanMike!   :p
I've got it installed, and I'll give this a shot this evening after I'm off work.  I'll sure let you know how it goes!   ;)

8
MM8BDM Discussion / Re: Outdated Network Code
« on: October 17, 2010, 02:12:38 AM »
Quote from: "CutmanMike"
There is no linux version of the latest skulltag YET though...

I have been able to download Skulltag 98d-alpha build 2980 for Linux (it's only the 32-bit build, I'd rather the 64 bit one), which is, so far as I can tell, what everyone's game server is running.  But it sounds like there aren't many of us Linux users playing MM8BDM.  Maybe I'll have to bring this up on the Skulltag forums.

9
MM8BDM Discussion / Re: Outdated Network Code
« on: October 17, 2010, 02:09:03 AM »
Quote from: "Joseph Collins"
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.)

The version of Skulltag bundled with MM8BDM is the Wintendo version  :cry:

10
MM8BDM Discussion / Outdated Network Code
« on: October 16, 2010, 04:47:32 AM »
First off, I'm running Linux.

When I try to connect to a server with skulltag 98d-alpha build 2980, I get this error: "Failed connect. Your version uses outdated network code."  The skulltag forums suggested that I update to 98d-alpha to avoid this message.

When I use skulltag 98c, I can't connect because all servers seem to be running 98d-alpha.

Has anybody else run into these errors?

Is somebody running a server on version 98c?

11
MM8BDM Discussion / Re: Cut Stuff from the game
« on: September 14, 2010, 07:59:47 PM »
Quote from: "Mr. X"
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.

I second this notion.  Eddie always gave out basic items in the original.  This is in good keeping with the original NES versions

12
I looked all over that site and never found it.  Good to know they're aware of it.

This project is, by far, the most worthy of all the fan-made offerings I've come across.  I want to make sure it is properly recognized.

13
I'm surprised that a community surrounding a company with so legendary a reputation for supporting fan-art hasn't picked up on MM8BDM yet.

http://www.capcom-unity.com/mega_man/go/forum/viewboard?no_redir=1

Although, by pointing that fact out here, I'm not contributing to fixing the problem.

14
Help & Editing / Re: Start Mega Man 8-bit in linux
« on: August 24, 2010, 06:31:07 PM »
Quote from: "aliftin"
How to run the game in linux? I tried to use skulltag, but

Code: [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?

I use the following command-line to launch the MM8BDM demo:

Code: [Select]
skulltag -file MM8BDM-SGC.pk3 -iwad megagame.wad

For this to work, the files MM8BDM-SGC.pk3 and megagame.wad must be in the current directory.

Pages: [1]