ResidualVM logo Forum Index - ResidualVM website - Contact us - Rules Login    Register     Search curved edge
It is currently Sat Nov 17, 2018 11:14 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Patchex binary?
PostPosted: Thu Jul 21, 2011 1:41 am 
Offline
User avatar

Joined: Tue Jul 19, 2011 2:51 am
Posts: 324
Location: aka ThunderPeel2001
Is there an executable version of Patchex anywhere for those of us without the means to compile it?

(I'm particularly interested in a Windows version, if possible. Thanks!)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2011 8:02 am 
Offline
ResidualVM Developer
User avatar

Joined: Wed Nov 24, 2010 2:44 am
Posts: 322
Windows-users should be able to unpack the patch without patchex, either by using the patch directly, or if that fails, by using the Quick & Easy Grim Fandango-installer (which even downloads the patch for you).

If that fails as well, getting the means to compile isn't that hard (IIRC MingW can compile residual-tools, and costs nothing, there is also Visual Studio Express, which is also free). Although that approach is a bit more technical.

Mac and Linux-people (especially the latter) should have access to a compiler.

Do tell if you're having problems with the Q&E-approach


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2011 10:15 am 
Offline
User avatar

Joined: Tue Jul 19, 2011 2:51 am
Posts: 324
Location: aka ThunderPeel2001
I'm just working with ResidualVM, and so haven't bothered to run the game installer (I've just pulled all the files onto my HD).

I might run the Q+E Installer, though, because there's news that Windows 7 SP1 is more compatible with the game.

(The update .exe only runs if you've installed the game as it looks for registry keys.)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2011 7:56 pm 
Offline
User avatar

Joined: Wed May 18, 2011 8:10 am
Posts: 37
If you want to exctract patch files under windows without patchex, you can use a simply registy-hack.

Create a patch.reg file like this (the data enclosed by triple-quotes):
"""
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\LucasArts Entertainment Company LLC\Grim Fandango\v1.0]
"Install Path"="C:\\YOUR\\GRIM\\PATH"
"MAGIC"=dword:00XX0000
"""

"Install Path" has to be a valid path and must have grim.tab and grimfandango.exe inside. They could be zero byte files, their content is not important.
"MAGIC" holds the language (first four hex digits) and current version of Grimfandango (last four hex digits). So you have to replace XX according to your language:
07 German
09 English
0A Spanish
0C French
10 Italian
(I don't know the code for Portuguese)

If the grim.tab is the real one, the MAGIC key could be omitted; the language will be chosen according to grim.tab.
GF 1.00 has version number 1010, 1.01 has 2774. So, if the version number is lower than 2774 the update can be performed; 0000 is the simpler choice.

Now import patch.reg in registry; if you launch the updater (gfupd101.exe) it will install updated files inside "Install Path".


Last edited by YakBizzarro on Fri Jul 22, 2011 7:45 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2011 8:37 pm 
Offline
ResidualVM Developer
User avatar

Joined: Wed Nov 24, 2010 2:44 am
Posts: 322
Would you mind if that goes into the wiki?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2011 8:53 pm 
Offline
User avatar

Joined: Wed May 18, 2011 8:10 am
Posts: 37
Absolutely not :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2011 9:33 pm 
Offline
User avatar

Joined: Tue Jul 19, 2011 2:51 am
Posts: 324
Location: aka ThunderPeel2001
Superb post, thank you. Can I ask, what does the directory tree look like? Is there a GrimData folder, or is everything in the same directory as the .exe?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2011 9:54 pm 
Offline
User avatar

Joined: Wed May 18, 2011 8:10 am
Posts: 37
The last one, everything in the same directory. GrimDataDir key specifies the path to GrimData on cd.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 05, 2011 11:33 am 
Offline
User avatar

Joined: Tue Jul 19, 2011 2:51 am
Posts: 324
Location: aka ThunderPeel2001
Just to add to this, am I right in saying that the contents of gfupd101.exe are four new files:

GrimFandango.exe
Patch05.bin
GRIM.TAB
DATA005.LAB

?

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 05, 2011 11:35 am 
Offline
ResidualVM Developer
User avatar

Joined: Wed Nov 24, 2010 2:44 am
Posts: 322
Yes, although you only need the last 3 for ResidualVM


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Forum design by ScummVM team, icons by raina, adopted for ResidualVM
curved edge   curved edge