Summary: | [EBUILD] Medal of Honor (MOHAA) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christoph Brill (egore) (RESIGNED) <egore> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | nbensa, pacho |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://icculus.org/betas/mohaa/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
games-fps/mohaa-3
mohaa-1.11_beta3.ebuild mohaa-1.11_beta3.ebuild mohaa-1.11_beta3.ebuild |
Description
Christoph Brill (egore) (RESIGNED)
2004-12-23 16:46:39 UTC
Created attachment 46744 [details]
games-fps/mohaa-3
The ebuild
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. ehh... so how exactly do I get the data when I have the game but no Windows? 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 ... 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... ;] 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 Created attachment 134479 [details]
mohaa-1.11_beta3.ebuild
with cdinstall.... if anyone still interested :)
Created attachment 134486 [details]
mohaa-1.11_beta3.ebuild
some cleanup
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. :) 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? Created attachment 138843 [details]
mohaa-1.11_beta3.ebuild
anyway .. this one uses official windows patch
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 (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= No release since 2004, closing. |