Installing Grim on Mac

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Emma
Posts: 7
Joined: Fri Oct 14, 2011 1:21 am

Installing Grim on Mac

Post by Emma »

Hi everyone,

So sorry if this is a stupid or already answered question - I'm not very good with computers and maybe I'm missing something really obvious.

I've found my Grim CDs from back in the day, but I'm now a mac user and these are not for mac. I hoped that with ResidualVM I could play with the same CDs, but I don't know how to install the game in the first place as the files are .exe files and not recognised. Is there a clever way around this to install the game? I'd hate to miss out after so long spent looking for the cds!

Thanks in advance for any help, I'd be really grateful.

Emma
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

Well, to get the game running all you need is to copy all the files of the CDs into a folder on your hard drive (ResidualVM _CAN_ play from the CDs too, but does not support changing disk between year 2 and 3, so you'll only get half the game unless you copy the files).

There is however a semi-complicated extra thing to do, as you will also need to patch the game, which is described here:
http://sourceforge.net/apps/mediawiki/r ... ango_Patch

On a mac, this requires either that you get and install XCode (free from developer.apple.com or the App Store, depending on if you have OS X Snow Leopard or OS X Lion). If that is problematic, then tell me what kind of mac you have, and I might be able to build the tool for that for you.

Don't worry though, after that there are no more technical details to worry about to get the game rolling. (And, the game _IS_ playable, but not completable without the patch).
Emma
Posts: 7
Joined: Fri Oct 14, 2011 1:21 am

Post by Emma »

Thanks for your help -

Do all of these files need to be in a single folder? At the moment I can only copy them into separate folders (within the same folder) because the files have overlapping names and I don't want to replace/delete anything - I presume that I can't change the names of any files because then the game won't know how to find them.
Edit: Just realised that the data files don't overlap - do I pop them all into the same GRIMDATA file then? The only things, then, that do overlap are the skull flower picture (presumably not important and the same on both discs) and the autorun file. What do I do about the latter?

My apologies again for a lack in computer knowledge. The link that you sent me looks to be really helpful, but I'm struggling a bit to understand what it means in practise. - Are these commands to be typed into XCode? Getting hold of XCode is also becoming a problem: I have am running Snow Leopard on a MacBook which means that the version on the App store isn't suitable for my computer and the Apple website seems only to offer it to developers willing to pay $99/year. Despite some googling, I can't find a download file of version 3.

That's a very kind offer to build the tool - as I said, I'm running Snow Leopard on a MacBook (10.6.8 ). I'm not sure what other info you need, but let me know and I'll look for it asap.

Thanks again
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

You actually only need the .lab and .tab files, the rest are support files for the original game, whose functionality residual replaces. As for overlap, they are the same files whenever they overlap, so either one works fine. Just put all of those files in one folder, and you should be able to test them with residual ( even without patching as the patch is only needed to solve a particular puzzle, as well as to get subtitles in the cutscenes).

As for the building, those are terminal commands, meant for typing into terminal, which you will find in the utilities sub folder of your applications folder. (the names might differ if you use another language than English on your Mac). As for the Xcode download, that is available to anyone who registers for free on developer.apple.com, (Mac developer center->register for free)

If all else fails, making a tool build for 10.6.8 shouldn't take me more than a few minutes for me, but I won't have a chance to do so until over the weekend.


Oh, and it's been a while since I downloaded v3 of Xcode, but I seem to remember it being available on apples old devpage, connect.apple.com, for free
Emma
Posts: 7
Joined: Fri Oct 14, 2011 1:21 am

Post by Emma »

Thanks again for your help -

I've put all the files together now. Frustratingly, ResidualVM still isn't opening the files - it says "ResidualVM couldn't open the specified directory!". This is what it did at the start: I thought it was because I hadn't actually run an install programme (I could see the "install" file, but couldn't use it because it's an .exe), but if I've got all the data on my computer now then I suppose I wouldn't need to install? In which case, I'm at a loss why there's a problem.

I had wondered if those were terminal commands, but they didn't work for me which is why I considered that they were for xcode. When I tried typing them into terminal then it wouldn't have it: it repeats "-bash: $: command not found" after each command, which made me wonder if I wasn't supposed to copy the dollar sign, but when I removed them all then I still had the same problem that the commands weren't found. I tried doing each line individually and then each line individually without the dollar and still nothing.

Just now I tried putting each line into speech marks " " and using them individually:

-bash: $ git clone git://github.com/residualvm/residualvm-tools.git: No such file or directory
-bash: $ make tools/patchex: No such file or directory

Those are the only two that are different, the others all continued to say "command not found". I feel like I might be missing an obvious trick here, so apologies, but I have tried googling and my computer knowledge isn't good enough for me to really understand the ins and outs of terminal.

Thanks for your advice on Xcode, I'll go back and have another look, I'm sure you're right that it's there somewhere.

Thanks again for your offer, I'll let you know how Xcode goes when I find it, though I expect I'll have a few more questions en route.
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

Where exactly did you store the game files?

The $ sign was not to be copied no. Make is a tool that comes with Xcode, so that comes as no surprise that it won't work without it, although git is another story, as that only comes with Xcode 4. But, Get the one marked snow leopard from here:
http://code.google.com/p/git-osx-instal ... list?can=3

Yes, there is a bit of work involved with getting to the game as you see, but I guess that's to be expected as we're still in alpha-stages (although the game itself is quite completable). Beware that while save games do work properly, residual is still under active development, so updating to a newer version of residual MIGHT break compatibility with older save games.

Still, it's great that you try and ask, it lets me know that the guides need a bit more specifics, and also, perhaps I'll take a look at simplifying the process of patching one of these days.

Good luck
Emma
Posts: 7
Joined: Fri Oct 14, 2011 1:21 am

Post by Emma »

The files are stored in a folder called Grim Fandango in my Applications file. I haven't changed the way they were arranged (other than put all the data files into the same grimdata folder), so I'm still not sure why it's so upset about it.
Edit: I'm worried that I'm trying to load the wrong file and that's why it's coming up with an error message. I thought it was the one labelled GRIM.exe but maybe it's somewhere else. There are so many other files, such as data ones, that I'm not really sure where to start. I'll try going through them systematically but it doesn't make sense to me to be a file other than the one I just mentioned.

Second Edit: I realised that I can select a whole folder to save me the work, hooray. The problem is it now says "ResidualVM could not find any game in the specified directory!" - I copied all the files from the cds, so how could the game not be one of them? Very confused.

Third Edit: (Apologies - probably should have planned this better). I realised when installing Escape from Monkey island through sheepshaver that the game as a file doesn't exist until the install programme has run. I wonder if this might be the case with Grim Fandango too - it can't find the game because it hasn't actually installed it. Does this sound possible? It's the only idea I can think of, but I don't really know what I'm talking about. Is there any way I can run an .exe install on my mac to make the game file appear?

You were right about free xcode - I found it through the wikipedia page of all places. I've got git as well. I started running the terminal commands, but the programme froze - twenty minutes later I had to force quit it (it was "not responding" in the force quit window as well) and now it doesn't seem to like the commands, it just doesn't respond to any of them. I'm going to restart the computer and hope that helps. Looking ahead in the instructions, it says I need to copy some files to the directory with the data files used by residual - are these going to be new files that are created that need to be put into the grimdata folder, or am I supposed to put the files that already have those names from the grimdata folder into a totally different folder somewhere (if so, where?) once all the terminal commands are done? I hope that question makes sense.

Just out of interest, can I delete xcode and git when the processes are all done? Certainly the former takes up a lot of space and my macbook gets a bit upset if it's full.
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

First of all, ResidualVM expects you to select a folder containing the game, nothing else (and then with no subfolders, so that folder has to contain the .LAB-files). The .exe is in no way needed at all, as that is completely replaced by what ResidualVM does.

You do not need to run any installer at all to get the files you need from the CDs, last time I installed grim for ResidualVM on my mac, I basically just copied all the files to a folder in my home-folder, and pointed residual towards that.

XCode can be uninstalled, however it is a bit more complicated than usual and depends on the version you installed, instructions for doing so SHOULD be in the readme-pdf that either was contained in the download, or was available right below or above it in the download-list. As for git, that is about the size of an MP3 or two, and might not be worth the effort of uninstalling (however if you really want to, I might be able to find a guide for doing so).

I'd like to know at which point the commands you typed froze up, otherwise it's kind of hard to troubleshoot. (Do feel free to copy the contents of your terminal window and paste them, either here, or on a page like pastebin.com, and provide the link to the paste).

Come to think of it, if you could provide a screenshot of your grim files folder, I might be able to see if you did everything right there too. (CMD-SHIFT-3 should give you a screenshot, otherwise theres always the program "Grab" in Applications/Utilities).

As for the files, well, yes, the tool you build with the terminal-commands extracts three new files from the patch (which you also need to put into that folder before running the last line), these have to be copied/moved to the folder containing your grim-files. (replacing grim.tab is intentional).

But, just as a test, try to press "Add game" in residual, with CD1 inserted, then add the GRIMDATA folder on the CD directly, then start to play. I just remembered that a few versions of the discs exist were the patch is already on the disk, so if you see subtitles on the intro-movie, then all is well, and you can skip all the extra legwork from the earlier posts (Although as I said, it can't be completed directly from CD, it still has to be run from a copy on your harddisk)., otherwise, we atleast know that the game works.

Would this be the boxed version of Grim Fandango, or the DVD-cover one? Or one of the translated versions?
Emma
Posts: 7
Joined: Fri Oct 14, 2011 1:21 am

Post by Emma »

I have no idea what box it came in anymore - I must have been about 9/10 when it was bought, and all I have now is the two cds in paper wallets because somewhere along the line presumably the real case got broken or lost. I would guess it was the boxed one because I don't remember DVD cases being around on computer games at that age, but sorry I can't say anything more certain.

Ahhh it all makes sense now! I had everything in subfolders, as it was on the CDs and that would be why it wasn't opening! I made a folder with just everything bunged in it all together and it now opens in ResidualVM, which is such a relief! I'm so grateful, thanks for all your assistance here. Do you still want to see a screenshot? My screen isn't big enough to show all 142 items in that folder anyway. (I expect some of them are unnecessary because they were just for the install but now it's working I daren't touch it and delete things)

Now it's just about getting that patch to work, because the three seconds of the opening video I just watched now (with great excitement) didn't have subtitles. I have closed terminal which means I can't take a screenshot, and haven't yet got round to restarting and trying again (three months of putting off a time machine back up means it takes what feels like a week and a half when I finally get round to it...), but I remember what it got upset about. I had been worried throughout that I was putting the commands in too fast because sometimes I'd put a new one in and then something that was clearly part of the last command would then start whirring and I didn't know if it was forgetting things.

I know that it didn't like "mkdir build && cd build", it said something about that not being a command, but I can't remember the exact wording. It then didn't like "make tools/patchex" because it says I needed to run "./configure" first, which I thought I had as it's the command before on that list, but the one on the list has two full stops rather than one, but I couldn't try it again with only one full stop because it got more upset on the next command.

When I tried this one: "sudo make install" then it whirred a lot, giving me loads of text which I didn't really understand (though as I said, it could have been left from an earlier command that I was too impatient to leave alone) and then eventually asking me for my password. I couldn't type it in because the beachball started spinning and it totally froze up. I presumed this was my computer being slow and angry rather than terminal having any real problems, but now as I said when I open terminal none of the commands merit a response from it.
Edit: Having just reopened terminal, it now has the details on my last log in, whereas when I reopened it after its nervous breakdown last time it had nothing written at the top. I hope this means it'll engage with what I write this time.

Once I post this, I'm going to restart the computer and try again and see if there are any problems this time. Watch this space.

If I get terminal and then the patch working, do I need to delete and re-add Grim to the ResidualVM list when it first opens because the files are different or will it just work ok without me doing anything?

On a side note, is it possible to play full screen? Playing in the little window is fine, but obviously it would be nicer to see it in big.
Emma
Posts: 7
Joined: Fri Oct 14, 2011 1:21 am

Post by Emma »

Ok, so terminal seems to be working now, but I'm concerned it's getting stuck:


emmas-macbook:~ Emma$ git clone git://github.com/residualvm/residualvm-tools.git
cfatal: destination path 'residual-tools' already exists and is not an empty directory.
emmas-macbook:~ Emma$ cd residual-tools
emmas-macbook:residual-tools Emma$ mkdir build && cd build
emmas-macbook:build Emma$ ../configure
Running Tools configure...
Looking for C++ compiler... g++
Checking for compiler version... 4.2.1, ok
Checking endianness... little
Type with 1 byte... char
Type with 2 bytes... short
Type with 4 bytes... int
Type with 8 bytes... long
Target 64 bits... yes
Compiling for x86... yes
Checking hosttype... darwin10.8.0
Alignment required... no
Checking whether to have a verbose build... no
Checking for Ogg Vorbis... no
Checking for Tremor... no
Checking for FLAC >= 1.0.1... no
Checking for MAD... no
Checking for zlib... yes

Creating config.h
Creating config.mk
Creating Makefile
emmas-macbook:build Emma$ make tools/patchex
make: *** No rule to make target `tools/patchex'. Stop.

I assume that the last line means I need to do something different?
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

Hmm, thats an odd detail in the guide, but from there, do:

Code: Select all

cd ..
make tools/patchex
tools/patchex/patchex grimupd_101.exe EN
The last line requires you to have put the patch exe in the folder called residual-tools (the one that has Makefile, configure etc, and subfolders tools, common etc.)

As for fullscreen, yes on 10.6.8 that works, although we do no aspect correction. For this you'll have to drill down to the Library folder in your home folder, then Preferences->ResidualVM Preferences (open in TextEdit), then change the line that says fullscreen = false to fullscreen = true (while you're there, verify that soft_renderer = false too, to get a tad better lighting in-game).

And that's it, if you still don't get subtitles, try to remove and readd the game. Oh, and do try to save often, residual MIGHT still crash on occasion, so better safe than sorry.
Emma
Posts: 7
Joined: Fri Oct 14, 2011 1:21 am

Post by Emma »

Thanks again for your help, it's still not working. I think I might be doing something very obvious very wrong. Even when I then followed your instructions, I still got the same response by the time I got to the make tools/patchex.

emmas-macbook:~ Emma$ make tools/patchex
make: *** No rule to make target `tools/patchex'. Stop.

Edit: Ok I'm not 100% sure what I did, but it's recognising the file now, but it has the error as "Permission denied". Still no subtitles either, I'd hoped that my clicking about might have done something. I'll keep playing and get back to you. Thanks again


Edit: It's now working! What a relief. Thank you so much for your kind help and massive patience as I made lots of mistakes. I basically just tried moving the update file around a bit and rewriting the path out until it worked. Not really sure what the winning formula was, but it's now going which is all that matters. I'm excited to play this blast from the past, so thanks again.
kalonite
Posts: 3
Joined: Wed Nov 23, 2011 2:18 pm

Post by kalonite »

Hi, I'm in the same position as Emma. I've followed the instructions as best I can, though I ended up getting the same error message as she did. Unfortunately, I've not managed to get past it! It'd be great if you could help me finish applying the patch.

Here's the terminal message I get:

Code: Select all

Craigs-MacBook:residual-tools Craig$ cd build
Craigs-MacBook:build Craig$ ../configure
Running Tools configure...
Looking for C++ compiler... g++
Checking for compiler version... 4.2.1, ok
Checking endianness... little
Type with 1 byte... char
Type with 2 bytes... short
Type with 4 bytes... int
Type with 8 bytes... long
Target 64 bits... yes
Compiling for x86... yes
Checking hosttype... darwin11.2.0
Alignment required... no
Checking whether to have a verbose build... no
Checking for Ogg Vorbis... no
Checking for Tremor... no
Checking for FLAC >= 1.0.1... no
Checking for MAD... no
Checking for zlib... yes

Creating config.h
Creating config.mk
Creating Makefile
Craigs-MacBook:build Craig$ make tools/patchex
make: *** No rule to make target `tools/patchex'.  Stop.
Craigs-MacBook:build Craig$ cd ..
Craigs-MacBook:residual-tools Craig$ make tools/patchex
Makefile:78: *** You need to run ./configure before you can run make. Check ./configure --help for a list of parameters.  Stop.
Craigs-MacBook:residual-tools Craig$ tools/patchex/patchex grimupd_101.exe EN
-bash: tools/patchex/patchex: No such file or directory
Craigs-MacBook:residual-tools Craig$ 
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

try just "make" instead of "make tools/patchex"
kalonite
Posts: 3
Joined: Wed Nov 23, 2011 2:18 pm

Post by kalonite »

Like this?

Code: Select all

Craigs-MacBook:~ Craig$ cd build
-bash: cd: build: No such file or directory
Craigs-MacBook:~ Craig$ cd residual-tools
Craigs-MacBook:residual-tools Craig$ cd build
Craigs-MacBook:build Craig$ ../configure
Running Tools configure...
Looking for C++ compiler... g++
Checking for compiler version... 4.2.1, ok
Checking endianness... little
Type with 1 byte... char
Type with 2 bytes... short
Type with 4 bytes... int
Type with 8 bytes... long
Target 64 bits... yes
Compiling for x86... yes
Checking hosttype... darwin11.2.0
Alignment required... no
Checking whether to have a verbose build... no
Checking for Ogg Vorbis... no
Checking for Tremor... no
Checking for FLAC >= 1.0.1... no
Checking for MAD... no
Checking for zlib... yes

Creating config.h
Creating config.mk
Creating Makefile
Craigs-MacBook:build Craig$ make
mkdir -p tools/.deps
g++  -DHAVE_CONFIG_H -DUNIX -DMACOSX -DHAVE_CONFIG_H -I.. -I. -Wall \
	-L../common tools/emi/lab.o -o tools/meshb2obj ../tools/emi/meshb2obj.o  -lm
i686-apple-darwin11-llvm-g++-4.2: tools/emi/lab.o: No such file or directory
make: *** [tools/meshb2obj] Error 1
I hope you can make more of that than me! I'm really grateful for the help. I'm not all that comfortable using the terminal, so I don't want to experiment too much without knowing what I'm doing.

Edit: Just to be clear, I have ResidualVM opening the .lab files and the .tab from one folder, and I have the patch exe (Gfupd101.exe) sitting in Home/residual-tools
Post Reply