[Games] Tome - Tales of Middle Earth

edit: PKGBUILD and patch updated
here is my second pkgbuild.. its annoying me a bit because the makefile is so badly written.
ive hacked it slightly, but its still acting strangely. I believe it to be the games fault and not mine, but as always i may be wrong.
i dont know how to include links in a pkg.
ive done an ln -s xxx yyy but since the target doesnt exist in the filesystem yet, it cant be done during the build stage.. i assume there is a post-install ability where this would be done.. if anyone could point out how to do this id be greatful, otherwise ill just start `man'ing and figure it out myself.
FYI, the game comes with LUA support, but it compiles and runs fine without it, hence it is not in DEPENDS
PKGBUILD
# Contributor: Adam Griffiths
pkgname=tome
pkgver=227
pkgrel=1
pkgdesc="Tales of Middle Earth is an Angband-based RPG based on the works of J.R.R. Tolkien."
url="http://www.t-o-m-e.net/"
depends=()
conflicts=()
backup=()
install=
source=(http://www.t-o-m-e.net/dl/src/$pkgname-$pkgver-src.tar.bz2)
build() {
cd $startdir/src/$pkgname-$pkgver-src/src
patch -Np1 < ../../../$pkgname-$pkgver-makefile.patch
mv makefile makefile.dos
cp makefile.std makefile
make || return 1
make DESTDIR=$startdir/pkg install
# ln -s /usr/local/games/tome/tome $startdir/pkg/usr/local/bin/tome
md5sums=('3b268d1252fa509ea498bc1d303f5a95')
tome-227-makefile.patch
--- src/makefile.std.orig 2004-12-07 20:13:36.000000000 +1100
+++ src/makefile.std 2004-12-07 22:48:10.000000000 +1100
@@ -78,21 +78,22 @@
# Where lib/ files goes
#LIBDIR = /usr/lib/games/tome/
+LIBDIR = /usr/local/games/tome
# Sysadmins of commercial Unix and/or BSD might prefer this
#LIBDIR = /usr/local/lib/tome/
# If you like the old default, use this one
-LIBDIR = ./lib/
+#LIBDIR = ./lib/
# Another example: single user installation using absolute path
#LIBDIR = /home/myloginname/lib/tome/
# Where ToME binary goes
-BINDIR = /usr/local/games
+BINDIR = /usr/local/games/tome
# Another common location
#BINDIR = /usr/local/bin
# The game will run suid to this user
-OWNER = games
+GROUP = users
# Ignore this if you're not making a package
DESTDIR=
@@ -457,10 +458,12 @@
[ -d $(DESTDIR)$(LIBDIR) ] || mkdir -p $(DESTDIR)$(LIBDIR)
[ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR)
cp -r ../lib/* $(DESTDIR)$(LIBDIR)
- chown -R $(OWNER) $(DESTDIR)$(LIBDIR)
+ chgrp -R $(GROUP) $(DESTDIR)$(LIBDIR)
+ # allow users group write permissions so they can parse the data files
+ chmod -R 775 $(DESTDIR)$(LIBDIR)
cp -f $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET)
- chown $(OWNER) $(DESTDIR)$(BINDIR)/$(TARGET)
- chmod 4755 $(DESTDIR)$(BINDIR)/$(TARGET)
+# chgrp $(GROUP) $(DESTDIR)$(BINDIR)/$(TARGET)
+# chmod 4755 $(DESTDIR)$(BINDIR)/$(TARGET)
# old-install: $(TARGET)
# cp $(TARGET) ..
any updates with this messy makefile / pkg would be appreciated, i havent played it yet but it sounds pretty cool.
thanks again.

ive updated PKGBUILD and makefile patches above.
this has to be the most annoying thing ever..
if the lib directory (data files) arent set to a specific user's home directory, then the parsed files must later be chmod /chown and chgrp'ed to a proper user so everyone else can use them.
if theyre set to a specific users home directory, then no one else has access to them!!!
im not sure what the best way to go about it would be, but for the time being ive set the /usr/local/tome/*/ directories as group user with write permissions.
once a user runs the game they have chowned the parsed files, if another user wants to run it, the files must chown and chgrp'ed
any help would be appreciated

Similar Messages

  • Re: Middle-earth: Shadow of Mordor at Best Buy

    I purchased Shadow of Mordor and at the time it was still advertising the $10 rewards certificate for doing so. However I just looked at my Purchase History and it did not append the bonus 500 points ($10 reward credit) as it has done with similar purchases in the past. Please Help!

    Hello roastb33f,
    Thanks for purchasing Middle-earth: Shadow of Mordor at Best Buy!
    The $10 Reward Certificate you receive per our Get $10 promotion is in fact a pre-order bonus, as enuf has mentioned. Purchasing any eligible game after its release date will no longer yield the $10 Reward Certificate.
    In viewing your purchase history, I do see that you purchased your copy of Middle-earth: Shadow of Mordor after the release date, which is exactly why you’re not seeing the points and I do apologize for any inconvenience or confusion this may cause. Click here to see our upcoming games that are eligible for this promotion. Also, please know that the points can take 15-20 days to appear on your account once an eligible game releases and you fulfill your pre-order.
    Thanks!
    Brian|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Can't purchase mithril in the hobbit kindoms of middle earth keeps saying error contact iTunes but they shut over Easter! Can anyone suggest anything?

    Help anyone?

    If you are getting a message to contact iTunes support then they are the only people that can help - you will need to wait until you get a reply from them, nobody on here will will be able to fix whatever the problem is.
    Is this is how you contacted them : http://www.apple.com/support/itunes/contact/ , then click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption ?

  • Need Help in Overcoming Extremely annoying problem

    Before explaining my problem, here's my complete system specs:
    AMD Athlon64 2800+
    MSI K8N NEO Platinum (NForce3 250Gb)
    1 GB DDR400 Kingston Value RAM (2x512)
    MSI RX9800 PRO-TD128
    17” LG Flatron
    80 GB SATA (Seagate)
    16X LG DVD-ROM
    Logitech MX-510
    A4Tech Multimedia Keyboard
    HEre's what I'm experiencing:
    1. The system never reboots when i'm working, gaming or surfing the internet.
    2. System works flawlessly as long as it is on.
    3. Overclocks just fine without any hiccups upto 2.1 ghz...
    The problems however are:
    1. Windows becoming corrupted after every 3 days  .. Without a single warning whatsoever. This happens when i cold boot the system.
    2. My SATA drive's DMA access mode is automatically reset to "PIO mode" instead of "Serial ATA DMA" mode. The explanation given below is that due to transfer errors, the mode was set lower to insure system stability. However, when i reset it to DMA mode, and reboot the system. The system doesn't boot, and when i reset the system manually, voila, windows is corrupted again 
    3. I'm using the latest nforce3 drivers that were included on the CD, they match the version that is available on nvidia's FTP. I bought this system a month ago.
    Can you please suggest what might be the problem behind all this. As, i've lost my saved games for games like Battle for middle earth, NFS:U2, etc.. countless times without any warning. Why does windows corrupt so sudden and why when cold booting the system ??
    Thanks in advance...

    Quote from: j@iDi on 29-March-05, 13:55:35
    3. Cool 'n' Quiet is Enabled.
    4. CPU FSB Frequency set to 225 Mhz... so it's clocked at 2.02 Ghz.
    5. Kinsgton ValueRam DDR400 is running rock stable (according to SuperPi) at 450Mhz speeds.
    6. I don't know how to mention the rail settings of the PSU. Although I higly doubt it's the PSU, otherwise system won't even post.
    8. DRAM memory timings are set to auto, all options included.
    Cool 'n' Quiet could be left enabled, only when you change (lower) the multiplier this could be the source of problems. Again only if you lower the multi, so you can leave it Enabled with out incidents. Disabling it shouldn't be a problem either.
    With a frequency of 225 mhz, what HTT multiplier are you using? I think the socket 754 needs to run at around 800 mhz (200x4)... but I am not sure.
    Don't trust SuperPi to see if RAM runs with out errors. This benchmark will give you an error but sometimes it could complete the 1M calculations several times when the RAM is unstable... 4M would be a better test, and that isn't conclusive either. Prime95 Blend Test would be even harder on RAM and find any errors within the first 15 minutes of the test, also Memtest86 tests #5 and #6 would be even a better way to see if everything is perfect with the memory.
    Power Supplies failing isn't a thing about turning on the system or not. If the PSU isn't strong enough for the system in question it could make it unstable. If system freeze sometimes during high CPU load aplications of games, or if it restarts randomly using these aplications and games... that could be also from the weak power supply as well. In my personal opinion 15 amperes is too weak to power up an AMD64 system, maybe yours is a socket 754 which requires less than the 24 amperes the socket 939 is recomended. I just installed a new 520w OCZ PSU to a socket 478 PIV system which froze everytime a DVD was inserted... and it had a Thermaltake 480w PSU with only 18A in the 12v rail.
    DRAM timings could be better set to Kingston's values... but I guess this drops to the "if its not broken, don't change it" cathegory.
    Good luck

  • Regarding my Audig

    I have a Audigy 4, and for all intent and purposes for helping me with this issue I also have:
    Integrated Sound (Off)
    Dual Channeled 2X256MB RAM
    GeForce 6200 (Dieing)
    Audigy 4 (Not Pro)
    AMD Sempron 2800+ 2000MHZ
    My issue: While running Entertainment Center to listen to some music secretly in the background, something happened and put my computer in a Sound Loop for half a minute before completly locking up the computer forcing me to reboot.
    There was another Sound Looping today, twice it looped, last time the loop happened the game locked (Battle for Middle Earth) Right at this Point in time, I'am extremly confused as to what Hardware could be the issue, and am nailing down the problem, I simply want to rule out the Audigy 4, while praying it isn't it, but some glimpse of possible issues with other Hardware would be extremly appreciated.
    Though there is also something else that makes me want to take aim at the Audigy 4.
    I formated recently, due to issues I were having with other hardware... before the format I played Empire Earth 2. After a while stuttering would appear and go, after a long period of time, the SFX would finally go and cut completly out, and moments after the computer would lock up.

    Power Box? You mean the Power Supply Unit's Couldn't be, too manufacturingly new to be going out so soon... even if it was the PSU, the whole system would be failing.Message Edited by JohnMidnight on 06-22-2006 0:25 AM

  • NX7600GT-TD512 PC crash always entering 3D mode

    Hello,
    my new AGP card NX7600GT-512TD always shut down computer when 3D mode is started or after few second of 3D more is running.
    I have Sun W1100z workstation, Opteron 144 CPU, 2GB RAM and 550W PSU (3x +12V rails rated 17A, 16A and 8A).
    I am monitoring 12V rail whitch is connected to VGA card by digital multimeter and there is constantly +12V without any decreases - I think that PSU is OK even when card enters 3D mode.
    I have installed fresh Windows XP Home SP2 (32-bit) OS, AMD drivers for motherboard (2.1.0.1 - this version is recommended by Sun), MSI driver from MSI CD (9.1.4.7) and Dual Core center apllication also from MSI CD.
    When I try to run 3Dmark 05 there is always computer reset when the first game test is to be startet right after it is loaded.
    The second test is game The Battle for Middle Earth II (patched) - computer is resetting after few seconds of playing.
    I have disabled Fast Writes on AGP in BIOS, but I cannot change 8x AGP speed down to 4x (some other posts in this forum recommend this).
    I have tried run VGA card with "Cool" profile set in Dual Core center utility, but it is exactly the same - PC is resetting.
    Another strange thing is, that I cannot set VGA voltage and VGA FAN speed in Dual Core center utility.
    Does anyone some suggestion what I can do more to avoid the resets? Is it possible that VGA is bad and should be returned back to the shop?
    Thank you,
    Rostislav

     I'm not sure if this helps to solve your problem or not but what I did find was this: "Support for one NVIDIA Quadro NVS280, NVIDIA Quadro FX500, NVIDIA Quadro FX3000, or NVIDIA Quadro FX4000 graphics accelerator".
     So I don't know if it would fully support other NVIDIA cards or not.

  • My computer keeps crashing when im in the middle of any game. I thought it was because of overheating but im not sure. Can u guys help me out?

    I bought a macbook pro 3 months ago.
    When i installed games such as (Command and Conquer: Generals shockwave and Age of empires 3) the game crashed in the middle of games.
    Every time it crashed my fans were going at around 4000 rpm but decreased quickly.
    My mac always asked whether i wanted to reopen it.
    Please help.
    Thank you

    Hi,
    Usually, when my vintage (as in, bought in 2006) MBP did that, it was because it was overheating, as you suspect. Now, you've got yourself a brand-new machine, and I'm sure there are many posts in this forum related to that issue.
    There's one thing you can do (this one is two-fold, actually), and one you can't:
    1) Starting with the good news, you can install a prefpane called Fan Control (free, here: http://www.macupdate.com/app/mac/23137/fan-control), that will let you control base speed and temp threshold for your fans (the ones on your Mac, I mean...); additionally, you can also install a widget called iStat Pro (free, here: http://www.islayer.com/apps/istatpro/), that you can invoke through Dashboard after freezing your game, so that it lets you know the current temperature your Mac is operating under.
    2) Now, for the (semi-) bad news: given your MBP probably has an "i-something" processor, you won't be able to install this Scandinavian gem that's called CoolBook, that lets you undervolt your logic board so as to prevent overheating. CoolBook currently doesn't support i-3 to i-7 processors because they don't rely on the same SMB sensors as the older Intel processors Apple installed in its machines prior to the current generation of MacBooks, MBP, MBA and the like. I said semi-bad news, because undervolting has obvious effects on your machine's response when under strain; if you are using processor- or memory-intensive applications, they might (scratch that, they will) be slowed down by an undervolted logic board. Video games being one.
    HTH

  • Lenovo 3000 n200 Type: 0769 game graphics problem

    Hi,
    I have a Lenovo 3000 n200 Type 0769 laptop which served me well at university with my 3D modelling in SolidWorks for my projects. However, when I tried to run games on it, the games always crash, even on a very low setting graphics setting which is extremely frustrating. The only game I have managed to run successfully with no problems is Football Manager (providing I dont use the 3d game play as when I do, like all other games I have tried, it crashes.). What do I need to upgrade to successfully run games on my laptop and also, (if it is only a new graphics card that is required) where can I find out which cards are compatible with my laptop?
    Running games is the only problem I am finding with the laptop and any help anyone can give me will be very much appreciated as I see a few other people who have posted in the forum have had the same problem with no luck with help on here.
    Cheers.
    - Pete
    PS. The games I have tried running with no success include; The Sims 2, Lord Of The Rings - Battle For Middle Earth 1 & 2, Command & Conquer Generals, Command & Conquer 3 and Warhammer Dawn Of War

    I don't know about the desktops, but Lenovo laptops are the worst I have ever used. I have had mine nearly a year and the amount of problems I have had with it is rediculous, along with this problem, the hard drive has broken and needed to be replaced, the finger print scanner is broken and does not recognise the only finger prints that have been registered on the laptop, and now it has broken again and i cannot get passed the rescue and recovery screen. NO ONE should buy this laptop or any lenovo laptops like it, they are unbelievably unreliable!

  • Using 'crossover' on mac to play PC games?

    Hi all,
    I would really like to play LOTR:battle for middle earth II on my mac. The problem is, its a pc game. I know there are a few applications that will allow me to use windows on my mac but I am worried about how this works.
    1) If I install windows on my mac, is it guaranteed that I will be able to play my LOTR game?
    2) Does having windows on my macbook pro mean its more prone to viruses?
    Are there any disadvantages of having windows that I did not think of??
    Thanks in advance
    I have a macbook pro. 10.4.11

    There are three ways to use Windows applications on a Mac (Intel only).
    1) Crossover. Provides an interface between the Windows application and OSX. Does not require a Windows installation, but only works with a limited number of Windows applications. Since Windows is not there, a Windows virus won't run.
    2) Parallels or Vmware. Provides an interface between a Windows installation and OSX. Will run most, but not all, Windows applications, and maybe some viruses.
    3) Bootcamp. Boots a full Windows installation. Will run all Windows applications and viruses.

  • HT5628 Unable to Run games on windows 8 in my Macbook Pro

    Hello, i am not able to run any game on windows 8 in my Macbook Pro with i7 processor.I tried installing and running Command and conquerors Tiberian wars, LOTR Battle for middle earth 1& 2, But it does not respond and quits .
    i have 4 GB RAM,
    NVIDIA GT 330M Graphics card
    512 mb
    COre i7 processor,

    did you install the apple drivers made from the bootcamp app in osx ?
    because if you did not it's running as a generic VGA adaptor which don't support games

  • Games on macbook pro

    i have a brand new macbook pro 17", with windows xp and parallels installed. i want to play the battle for middle earth 2, but every time i try to play an error message comes up and says that i need to have hardware acceleration on, which it is, the latest version of directx, which i thought came with xp, and the minimum specs. i asked this question on the chat before i ordered it and the lady said it would work. what am i doing wrong?
    also i have project 64 and tried to use it but it says direct3d doest work.....is this related to the other game?
    thanks for any help

    I just bought a Macbook pro 15" and i'm a new mac user. i've been tryin to install patches for battlefield 1942 which wont work so i cant play it. battlefield 2142 doesnt have an updated patch for mac so i cant play that. i just bought starcraft and i try installing it and i cant even do that i was searchin on some forums and everyone with a macbookpro cant run the game starcraft but other mac users can. actually it does install but for sumreason the games doesnt open at all. i have a blackberry and it comes with software to install so u can put music on the phone... and the macbook pro doesnt even install that. is there sumthing that i'm doing wrong. i was so excited to get a mac but now everything i wanna do with it, it just doesnt work and its getting frustrating. i almost feel like picking up the laptop and slamming it against the wall a couple of times lol. please if anyone knows how i can fix any of my problems please reply

  • I have money on account at iTunes. I cannot access it through my games, especially The Hobbit game. It give me an error messages saying there is a problem connecting to iTunes account. I have changed my password now and I still cannot get into the account

    I have money on my iTunes account. I cannot purchase premiums for the games I play! Especially the Hobbit Middle Earth game. I get an error message saying there is a problem connecting to my iTunes account. I have changed my password and still cannot use the account. I purchase my iTunes and App cards at Food Lion and Walmart and don't use a credit card. Can anyone help?

    Try loging out of and back into your AppleId: (Settings app > iTunes&App Stores > [tap on your account] > Sign out. Then sign back in.
    Contact iTunes support: http://www.apple.com/support/itunes/contact/

  • Can i get a sound card that doesn't crackle or distort for gami

    Hi. I have been thinking about getting a soundcard basically for gaming (battlefield 2 & battle for middle earth 2). What I want to get out of it is to maybe take some of the load off my system by getting a sound card to take care of sound tasks giving a slight boost to game performance while at the same time improving sound quality. I would use the card for only mp3s, games, and dvd movies.
    I was looking at an x-fi xtreme music and did research and saw this thread about crackling which scared me. Basically if I got a card that crackled it would be considered a bad move no matter what the other advantages. I want a card with absolutely no crackles and that is priority number . Should I get a Audigy2 ZS then instead or will it crackle too? The price difference doesn't play a factor (looking at the $00 range) I just want great stability with no distortions and slight boosts to sound quality and system performance. What should I get? My specs are below.
    Leadtech WinFast A400 Series 6800 gig (2 x 52) ram DDR550W power supplyasus P4C800-E Deluxe mobo

    looking at the threads in this forum, one may get the impression that there's a lot of problems with x-fi cards. that's of course an illusion, this forum simply attracts the people with problems. i personaly know of at least 2 friends or relati'ves with a x-fi, no one, me included, has problems. of course there's no guarantee, so if you want to be on the secure side, buy your card somewhere which grants you the right to exchange it...

  • In Game Conn Loss

    As I am playing Battle for Middle Earth or Battle for Middle Earth 2 online with the router connected and i am not in a game it will randomly loose connection i already contacted EA and they were no help. 

    I am using the wrt54g and i have gotten the latest firmware if any other questions fell free to ask

  • Midldle Earth: Shadow of Mordor preorder $10 bonus

    Hello,
    I preordered and picked up this game and I have yet to receive my $10 BB rewards yet while a few of my friends have received theirs.

    Hi Jer0009,
    I wouldn't worry just yet! It typically takes 15-20 days from the time of shipment or pickup for pre-order bonus certificates to post, and they may not always appear as pending. If you still haven't seen record of your certificate within that timeframe, let us know and we'd be glad to see what can be done to assist you at that time.
    Thanks for your patience and understanding, as well as for pre-ordering and purchasing your copy of Middle-earth: Shadow of Mordor with us!
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

Maybe you are looking for

  • Error while using RSCRM_BAPI with remote cubes

    Hi,    We are getting short dump while trying to use RSCRM_BAPI with hierarchies i.e.display hierarchies to extract data to a flat file. We do get a warning that display hierachies are not longer supported in 2004s with RSCRM_BAPI and have been going

  • InDesign CS4 - Paragraph Style - Justification not applying

    Hello, I am in college and Indesign is the software we use for our projects.  The version we have is CS4.  This is the second project where I've had an issue with the justification.  I can use the justification icons at the top to move the text where

  • Lost Project in Final Cut Pro X

    I lost my entire project in FCP X. I edited for a couple of days and was very irritated by not being able to save it (though I checked on the internet and as everybody is talking about it I trusted that FCP X would save automatically). When I restart

  • Rename roll no longer works - help

    In iPhoto (6.0.5) I used to be able to change the roll name by simply clicking on the existing name (e.g. roll 243) in the info panel at the bottom left, and then typing in a new name. This no longer works. When I click on the name in the info panel

  • Indesign master page putting the images on the master in teh middle of some of my pages but not all

    indesign master page putting the images on the master in teh middle of some of my pages but not all =[