ResidualVM logo Forum Index - ResidualVM website - Contact us - Rules Login    Register     Search curved edge
It is currently Sun Dec 16, 2018 6:25 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun Feb 12, 2012 6:56 am 
Offline

Joined: Sun Feb 12, 2012 6:48 am
Posts: 2
Hiya! I have ResidualVM up and running, and Grim Fandango seems to be running fine from the 5 minutes of it that I played. However, I haven't been able to install the patch (which from what I understand, is needed to be able to finish the game), because patchex doesn't want to compile.
I was able to clone the git repository for residualvm-tools, and I think I have all the relevant development libraries installed:

Code:
me@mycomputer:~/residualvm-tools/build$ ../configure
Running Tools configure...
Looking for C++ compiler... g++
Checking for compiler version... 4.6.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... linux-gnu
Alignment required... no
Checking whether to have a verbose build... no
Checking for Ogg Vorbis... yes
Checking for Tremor... no (Ogg Vorbis/Tremor support is mutually exclusive)
Checking for FLAC >= 1.0.1... yes
Checking for MAD... yes
Checking for zlib... yes

Creating config.h
Creating config.mk
Creating Makefile


But then when I try to compile:
Code:
me@mycomputer:~/residualvm-tools/build$ make tools/patchex
make: *** No rule to make target `tools/patchex'.  Stop.


If anyone has any insight on how to compile patchex properly, or suggestions for any other way to get the patch installed, it would be much appreciated.[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 12, 2012 7:39 am 
Offline
User avatar

Joined: Tue May 05, 2009 10:57 am
Posts: 74
Location: amigans.net
I don't know Linux but you could try this...
Just do a "make" without tools/patchex

It will build all tools but amongst them should be patchex aswell


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 12, 2012 9:38 am 
Offline
ResidualVM Developer
User avatar

Joined: Mon Mar 21, 2011 9:20 am
Posts: 139
Location: Belluno, Italy
You don't need to build patchex anymore. Just put the patch executable together with the other data files.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 13, 2012 7:07 am 
Offline

Joined: Sun Feb 12, 2012 6:48 am
Posts: 2
Ah, brilliant. Works perfectly, thanks very much.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 24, 2012 3:42 pm 
Offline

Joined: Thu Jul 07, 2011 1:52 pm
Posts: 3
Location: France
I'd like to build patchex, even if it's not needed anymore (=p).

I use Ubuntu 32-bit, but it's the same message :

Quote:
gimlao@gimlao-virtual-machine:~/residualvm-tools/build$ make tools/patchex
make: *** Pas de règle pour fabriquer la cible « tools/patchex ». Arrêt.


=/

And with only "make" :

Quote:
gimlao@gimlao-virtual-machine:~/residualvm-tools/build$ make
C++ tools/lua/lapi.o
C++ tools/lua/lauxlib.o
C++ tools/lua/lbuffer.o
C++ tools/lua/lbuiltin.o
../tools/lua/lbuiltin.cpp: In function ‘void to_string()’:
../tools/lua/lbuiltin.cpp:159:54: attention : ISO C++ interdit le transtypage entre un pointeur de fonction et un pointeur d'objet [enabled by default]
C++ tools/lua/ldo.o
C++ tools/lua/lfunc.o
C++ tools/lua/lgc.o
C++ tools/lua/liolib.o
C++ tools/lua/llex.o
C++ tools/lua/lmathlib.o
C++ tools/lua/lmem.o
C++ tools/lua/lobject.o
C++ tools/lua/lparser.o
C++ tools/lua/lstate.o
C++ tools/lua/lstring.o
C++ tools/lua/lstrlib.o
C++ tools/lua/ltable.o
C++ tools/lua/ltask.o
../tools/lua/ltask.cpp: In function ‘void next_script()’:
../tools/lua/ltask.cpp:113:30: attention : variable ‘prev’ set but not used [-Wunused-but-set-variable]
C++ tools/lua/ltm.o
C++ tools/lua/lundump.o
C++ tools/lua/lvm.o
C++ tools/lua/lzio.o
AR tools/lua/liblua.a
RANLIB tools/lua/liblua.a
mkdir -p tools/.deps
g++ -DHAVE_CONFIG_H -DPOSIX -DDATA_PATH=\"/usr/local/share/residualvm\" -DPLUGIN_DIRECTORY=\"/usr/local/lib/residualvm\" -DHAVE_CONFIG_H -I.. -I. -Wall \
-L../common -Ltools/lua -o tools/delua ../tools/delua.cpp -llua
mkdir -p tools/.deps
g++ -Wall -o tools/imc2wav ../tools/imc2wav.cpp
mkdir -p tools/.deps
g++ -Wall -o tools/int2flt ../tools/int2flt.cpp
mkdir -p tools/.deps
g++ -DHAVE_CONFIG_H -DPOSIX -DDATA_PATH=\"/usr/local/share/residualvm\" -DPLUGIN_DIRECTORY=\"/usr/local/lib/residualvm\" -DHAVE_CONFIG_H -I.. -I. -Wall \
-L../common -o tools/cosb2cos ../tools/emi/cosb2cos.cpp
C++ ../tools/emi/meshb2obj.o
../tools/emi/meshb2obj.cpp: In function ‘int main(int, char**)’:
../tools/emi/meshb2obj.cpp:134:9: attention : declaration of ‘x’ shadows a previous local [-Wshadow]
../tools/emi/meshb2obj.cpp:87:8: attention : shadowed declaration is here [-Wshadow]
../tools/emi/meshb2obj.cpp:134:16: attention : declaration of ‘y’ shadows a previous local [-Wshadow]
../tools/emi/meshb2obj.cpp:87:15: attention : shadowed declaration is here [-Wshadow]
C++ ../tools/emi/lab.o
mkdir -p tools/.deps
g++ -DHAVE_CONFIG_H -DPOSIX -DDATA_PATH=\"/usr/local/share/residualvm\" -DPLUGIN_DIRECTORY=\"/usr/local/lib/residualvm\" -DHAVE_CONFIG_H -I.. -I. -Wall \
-L../common tools/emi/lab.o -o tools/meshb2obj ../tools/emi/meshb2obj.o
g++: erreur: tools/emi/lab.o: Aucun fichier ou dossier de ce type
make: *** [tools/meshb2obj] Erreur 1


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 24, 2012 5:06 pm 
Offline
User avatar

Joined: Wed May 18, 2011 8:10 am
Posts: 37
You could compile it with
make tools/patchex/patchex
Anyway, why do you want to use it?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 24, 2012 9:32 pm 
Offline

Joined: Thu Jul 07, 2011 1:52 pm
Posts: 3
Location: France
... It was so simple. ^^;

I want to extract the files from the patcher for personal use. (what else ? xD)

Many thanks! =p


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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:  
cron
Powered by phpBB® Forum Software © phpBB Group
Forum design by ScummVM team, icons by raina, adopted for ResidualVM
curved edge   curved edge