Changing Resolution and Subtitles for Grim

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

Moderator: ScummVM Team

Elowan
Posts: 45
Joined: Tue May 10, 2011 8:05 am

Changing Resolution and Subtitles for Grim

Post by Elowan »

hi,

is there a way to change the resolution of Grim?

I┬┤m on a powerbook G4 12", that means up to 1024+768 is possible.
grim is acutally running in 640x480 i guess?!

So, 800x600 or fullscreen would be worth a test. But where to configure this?

I also would like to have german subtitles, instead of the engish ones (i owned an english version). i┬┤ve read, the if the Grim.tab file is replaced with a version the contains the other language, it can be made to use this subtitles.

If so and if it┬┤s legal, i would like to ask for a german version of GRIM.TAB file. On Lucasforum, some of the developers of ResidualVM was gathering all availible .tab files for testing and fixing some bug.

Maybe there is a german version left somewhere?!

Thx in advance and greetings

Elo
User avatar
YakBizzarro
Posts: 37
Joined: Wed May 18, 2011 8:10 am

Post by YakBizzarro »

The Grim Fandango patch is international and contains the grim.tab file for all languages. You can extract the german one with the patch exctractor in residual-tools with something like "patchex gfupd101.exe german".

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

Post by somaen »

Two fixes:
1: Use mac-os X's screen-zoom (not at all that good a solution, but I use it myself, since my screen is 16:10, and would stretch rather awkward otherwise).

2: Set the fullscreen-flag in the config-file, which is in ~/Library/Preferences/ResidualVM Preferences, ~ being your home directory.

EDIT: Oh and as an added benefit, detection of the german patched grim.tab was just added. (Meaning that it now SHOULD work with residual).
Elowan
Posts: 45
Joined: Tue May 10, 2011 8:05 am

Post by Elowan »

ok, for the resolution issue, my questions was answered.

but the stuff about changing the language of subtitles.... i don┬┤t understand this, sry.

you say, i already got german subtitles in grim.tab?
but how i can choose them?
in residual, there is "windows/english" prompted for Grim Fandango

but how to get this working with german subtitles?
pleas help and give me some more details on this, thx
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

How did you patch the game?
User avatar
YakBizzarro
Posts: 37
Joined: Wed May 18, 2011 8:10 am

Post by YakBizzarro »

The grim.tab is specific to each language, but the patch executable (gfupd101.exe) contains this file for all languages (English, Italian, Spanish, German, French and Portuguese). The update files for a specific language can be extracted with a tool called patchex, which can be found in residual-tools repo (see my prevoius post).
In order to get the german subtitles, you have to replace the grim.tab in your grimdata folder with the one extracted from the patch. Then Grimfandango must be removed from ResidualVM game list and re-added.

Andrea
Elowan
Posts: 45
Joined: Tue May 10, 2011 8:05 am

Post by Elowan »

YakBizzarro wrote:The Grim Fandango patch is international and contains the grim.tab file for all languages. You can extract the german one with the patch exctractor in residual-tools with something like "patchex gfupd101.exe german".

Andrea
so, ok - i got the gfupd101.exe downloaded again. i also got an already patched version of grim fandango (english)

now - where can i find this "residual tool patcherx" ?
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

Elowan
Posts: 45
Joined: Tue May 10, 2011 8:05 am

Post by Elowan »

oh my i downloaded the tools and try to ./configure (worked), but "make" afterwards failed. if i type in "patchex", the answer is command not found (something like this). so, i guess, the tools must first be compiled right before use?

oh my lord ^^ i think i let go on the subtitles
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

Which failure do you get?

It would be great if I could actually teach you to solve even that problem, because then you actually got through both compiling on your own, as well as patching.
User avatar
giucam
Posts: 139
Joined: Mon Mar 21, 2011 9:20 am

Post by giucam »

yeah, there are some build errors in residual-tools right now, but you can still build patchex only by doing "make tools/patchex/patchex".
mac_es
Posts: 145
Joined: Mon Oct 31, 2005 9:37 am

Post by mac_es »

@giucam

In mingw you can't:

Code: Select all

g++ -g -W -Wno-unused-parameter -Wno-empty-body -DHAVE_CONFIG_H -DWIN32 -D__USE_
MINGW_ANSI_STDIO=0 -I. -I.   -lm  tools/patchex/patchex.cpp   -o tools/patchex/p
atchex
tools/patchex/patchex.cpp: In function 'char* file_filter(const mscabd_file*)':
tools/patchex/patchex.cpp:290: error: 'rindex' was not declared in this scope
make: *** [tools/patchex/patchex] Error 1
Which can be replaced whith strrchr, but after that:

Code: Select all

g++ -g -W -Wno-unused-parameter -Wno-empty-body -DHAVE_CONFIG_H -DWIN32 -D__USE_
MINGW_ANSI_STDIO=0 -I. -I.   -lm  tools/patchex/patchex.cpp   -o tools/patchex/p
atchex
C:/Users/AAEGQB~1.NOR/AppData/Local/Temp/ccg1jawT.o: In function `main':
C:\Users\AAEGQB~1.NOR\AppData\Local\Temp\residual_tools_svn/tools/patchex/patche
x.cpp:366: undefined reference to `mspack_create_cab_decompressor(mspack_system*
)'
C:\Users\AAEGQB~1.NOR\AppData\Local\Temp\residual_tools_svn/tools/patchex/patche
x.cpp:375: undefined reference to `mspack_destroy_cab_decompressor(mscab_decompr
essor*)'
collect2: ld returned 1 exit status
make: *** [tools/patchex/patchex] Error 1
@einarj

In mingw

Code: Select all

$ make
    C++      tools/lua/lapi.o
    C++      tools/lua/lauxlib.o
    C++      tools/lua/lbuffer.o
    C++      tools/lua/lbuiltin.o
    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
    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 -DWIN32 -D__USE_MINGW_ANSI_STDIO=0 -DHAVE_CONFIG_H -I. -I.
-Wall \
        -L./common -Ltools/lua -o tools/delua.exe tools/delua.cpp -llua
mkdir -p tools/.deps
g++  -Wall -o tools/imc2wav.exe tools/imc2wav.cpp
mkdir -p tools/.deps
g++  -Wall -o tools/int2flt.exe tools/int2flt.cpp
mkdir -p tools/.deps
g++  -Wall -o tools/set2fig.exe tools/set2fig.cpp
mkdir -p tools/.deps
g++  -Wall -lz -I. -o tools/til2bmp.exe tools/til2bmp.cpp
C:/Users/AAEGQB~1.NOR/AppData/Local/Temp/ccAsVioq.o:til2bmp.cpp:(.text+0x330): u
ndefined reference to `inflateInit2_'
C:/Users/AAEGQB~1.NOR/AppData/Local/Temp/ccAsVioq.o:til2bmp.cpp:(.text+0x381): u
ndefined reference to `inflate'
collect2: ld returned 1 exit status
make: *** [tools/til2bmp.exe] Error 1
@Elowan

I have a working patchex.exe (windows binary). If you can manage to work whith it I can send it to you...
mac_es
Posts: 145
Joined: Mon Oct 31, 2005 9:37 am

Post by mac_es »

I have uploaded the C code of patchex, it compiles straight forward...


http://www.mediafire.com/?fbwaocpe5badtrn
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

oh, yeah, til2bmp should probably link against libz. My bad. (It can be skipped though, til2bmp relates to a certain game we don't currently support...)
Elowan
Posts: 45
Joined: Tue May 10, 2011 8:05 am

Post by Elowan »

hmm, it┬┤s a x86 windows tool?!
sorry, but i┬┤m a total noob an i┬┤m running Grim on a ppc Mac...

i got no idea, how to use this tool.... ok got one, but don┬┤t think i┬┤ll work...
Post Reply