Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75494 - [EBUILD] Medal of Honor (MOHAA)
Summary: [EBUILD] Medal of Honor (MOHAA)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://icculus.org/betas/mohaa/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-12-23 16:46 UTC by Christoph Brill (egore) (RESIGNED)
Modified: 2010-07-04 13:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
games-fps/mohaa-3 (mohaa-3.ebuild,1.06 KB, text/plain)
2004-12-23 16:47 UTC, Christoph Brill (egore) (RESIGNED)
Details
mohaa-1.11_beta3.ebuild (mohaa-1.11_beta3.ebuild,2.46 KB, text/plain)
2007-10-27 13:25 UTC, Anton Romanov
Details
mohaa-1.11_beta3.ebuild (mohaa-1.11_beta3.ebuild,2.48 KB, text/plain)
2007-10-27 14:17 UTC, Anton Romanov
Details
mohaa-1.11_beta3.ebuild (mohaa-1.11_beta3.ebuild,2.60 KB, text/plain)
2007-12-18 18:27 UTC, Anton Romanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Brill (egore) (RESIGNED) 2004-12-23 16:46:39 UTC
This is an ebuild for the linux port of Medal of Honor.

Reproducible: Always
Steps to Reproduce:
Comment 1 Christoph Brill (egore) (RESIGNED) 2004-12-23 16:47:18 UTC
Created attachment 46744 [details]
games-fps/mohaa-3

The ebuild
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-02-11 20:28:57 UTC
I know this has looked like nobody has touched it... and to be honest... nobody has...

I just ordered this game from Tuxgames, so when it comes in, I'll verify the ebuild and add it to portage.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-08 18:34:51 UTC
ehh... so how exactly do I get the data when I have the game but no Windows?
Comment 4 Christoph Brill (egore) (RESIGNED) 2005-11-14 08:05:30 UTC
Ok ... it took a while but here is how it could be done:

# emerge app-arch/unshield
insert CD 1
# cp /mnt/dvdrom/data1.cab /mnt/dvdrom/data1.hdr /mnt/dvdrom/data2.cab
insert CD 2 
# cp /mnt/dvdrom/data3.cab
# unshield x data1.cab

Now to the problematic part. I got the german version of the game. That means I
have 2 directories of data:
Data_Files_Minimal
Data_Files_DE

Get all .pk3 files from there. Good start, but we're not done. The next is to
grab the files from the 1.11 patch ... but I currently have no idea how to do so ...
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-14 08:19:33 UTC
Nice... it sounds a bit complex, but at least you've pointed me in the right
direction so now I can try to figure out what I need to do... thanks...

If you happen to figure it out before me, feel free to post it here... ;]
Comment 6 Christoph Brill (egore) (RESIGNED) 2005-11-15 03:03:49 UTC
I tried to get the .pk3 files from the 1.11 patch. IIRC WinRAR (on Windows) is
able to detect that it can open the installer. And it was able to open it. So it
uses a common compression algorithm. Problematic part: Most unpackers look at
the header of a file and disagree on extracting a win32 executable.

So I see 2 options:
- extract the files and mirror the pk3's somewhere (might be problematic because
of the EULA)
- find a method on how to extract the content on POSIX systems.

I'm going to try the following later today: 
There is a linux verion of WinRAR
(http://www.rarlab.com/rar/rarlinux-3.5.1.tar.gz). I'll check if it is able to
unpack the exe. If so, we're lucky. And maybe I can write an ebuild to do so.

I will report success stories here :D
Comment 7 Anton Romanov 2007-10-27 13:25:46 UTC
Created attachment 134479 [details]
mohaa-1.11_beta3.ebuild

with cdinstall.... if anyone still interested :)
Comment 8 Anton Romanov 2007-10-27 14:17:24 UTC
Created attachment 134486 [details]
mohaa-1.11_beta3.ebuild

some cleanup
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2007-11-04 21:42:45 UTC
With USE=cdinstall?!?!

/me humps Anton's leg repeatedly

I've thrown this into my overlay and will test it as soon as I get a chance.  Thanks for putting all the work into this.  I've wanted to do it for a while but just have never had the time.
Comment 10 Anton Romanov 2007-11-05 09:22:35 UTC
:)
this would, certainly, require 
GAMES_CHECK_LICENSE="yes"
and adding license 
... i'm sorry, i completely forgot about this
also, i use patch files redistributed here:
http://icculus.org/~ravage/mohaa/
and i have no idea of legality of this installer ...
any word on this?
should i better use original windows patch?
Comment 11 Anton Romanov 2007-12-18 18:27:45 UTC
Created attachment 138843 [details]
mohaa-1.11_beta3.ebuild

anyway .. this one uses official windows patch
Comment 12 darklegion 2008-01-21 07:13:20 UTC
Much of the sound output seems to be broken, except menu sounds, and sound effects from your own gun being fired and some other effects here and there.

Also, the ebuild won't work without the cdinstall useflag set, unless you change line 59 from:
doins Patch_Files/main/pak6.pk3 Pak2.pk3 || die
to:
doins Patch_Files/main/pak6.pk3 || die
Comment 13 Anton Romanov 2008-01-21 07:50:51 UTC
(In reply to comment #12)
> Much of the sound output seems to be broken, except menu sounds, and sound
> effects from your own gun being fired and some other effects here and there.
yes. that's one of the known bugs of beta
https://bugzilla.icculus.org/show_bug.cgi?id=1199
see all :)
https://bugzilla.icculus.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=Medal+of+Honor%3A+Allied+Assault&content=
Comment 14 Christoph Brill (egore) (RESIGNED) 2010-07-04 13:17:21 UTC
No release since 2004, closing.