ResidualVM logo Forum Index - ResidualVM website - Contact us - Rules Login    Register     Search curved edge
It is currently Tue Oct 16, 2018 10:01 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: English grim.tab size
PostPosted: Wed May 27, 2009 7:06 am 
Offline

Joined: Wed May 27, 2009 7:01 am
Posts: 3
In order to make residual run Grim for me, I had to change the size of the English grim.tab to 362164 in detection.cpp. It might be because I'm not running a patched version, perhaps?

Also, I started playing through the game from the start, and ran into an assertion error at the end of the movie entering the land of the living:

residual: ./common/str.h:185: char Common::String::operator[](int) const: Assertion `_str && idx >= 0 && idx < (int)_size' failed.

I'll trying and run the game again under gdb and reproduce it when I have some free time.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 27, 2009 7:19 am 
Offline

Joined: Wed May 27, 2009 7:01 am
Posts: 3
Looks like I got the same assertion while skipping a line of dialog in the computer screen in Don's office as well.

residual: ./common/str.h:185: char Common::String::operator[](int) const: Assertion `_str && idx >= 0 && idx < (int)_size' failed.

Program received signal SIGABRT, Aborted.
0x001c4416 in __kernel_vsyscall ()
(gdb) bt
#0 0x001c4416 in __kernel_vsyscall ()
#1 0x00a5b460 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0x00a5ce28 in abort () at abort.c:88
#3 0x00a5440e in __assert_fail (
assertion=0x80e4d3c "_str && idx >= 0 && idx < (int)_size",
file=0x80e4d2c "./common/str.h", line=185,
function=0x80e5980 "char Common::String::operator[](int) const")
at assert.c:78
#4 0x0804d3c6 in Common::String::operator[] (this=0xbfffe460, idx=-1)
at ./common/str.h:185
#5 0x08074195 in Grim::TextObject::createBitmap (this=0xdb4b8c8)
at engines/grim/textobject.cpp:134
#6 0x0806410a in ChangeTextObject () at engines/grim/lua.cpp:2171
#7 0x0807d52b in callC (f=0x806400c <ChangeTextObject>, base=7)
at engines/grim/lua/ldo.cpp:147
#8 0x0807dec7 in Grim::luaD_call (base=7, nResults=0)
at engines/grim/lua/ldo.cpp:264
#9 0x0808c0da in Grim::luaV_execute (ci=0xd9d7c64)
at engines/grim/lua/lvm.cpp:668
#10 0x08088e97 in Grim::lua_runtasks () at engines/grim/lua/ltask.cpp:258
#11 0x0805893a in Grim::GrimEngine::luaUpdate (this=0x8180a50)
at engines/grim/grim.cpp:545
#12 0x08059a7a in Grim::GrimEngine::mainLoop (this=0x8180a50)
---Type <return> to continue, or q <return> to quit---
at engines/grim/grim.cpp:730
#13 0x08059eeb in Grim::GrimEngine::run (this=0x8180a50)
at engines/grim/grim.cpp:408
#14 0x0804dfd6 in runGame (plugin=0x8141188, system=@0x813b188,
edebuglevels=@0xbffff104) at base/main.cpp:161
#15 0x0804eea8 in residual_main (argc=2, argv=0xbffff3f4) at base/main.cpp:242
#16 0x0804c909 in main (argc=2, argv=0xbffff3f4)
at backends/platform/sdl/sdl_driver.cpp:1195
(gdb)

(gdb) f 5
#5 0x08074195 in Grim::TextObject::createBitmap (this=0xdb4b8c8)
at engines/grim/textobject.cpp:134
134 for (; msg[i] != ' '; i--)
(gdb) p i
$1 = 4294967295
(gdb)

That would explain it.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 27, 2009 7:27 am 
Offline

Joined: Wed May 27, 2009 7:01 am
Posts: 3
Some more detective work:

(gdb) p _width
$4 = 480
(gdb) p lineWidth
$5 = 0
(gdb) p _x
$6 = 12194464
(gdb)

That's a very large coordinate for a 640x480 screen.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 27, 2009 7:38 am 
Offline

Joined: Fri May 08, 2009 2:25 pm
Posts: 56
As far as I know its currently impossible to get any futher than arriving at the land of the living. It has an error then for me too.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 27, 2009 2:46 pm 
Offline
User avatar

Joined: Mon May 04, 2009 12:08 am
Posts: 89
To share some recently-acquired knowledge: Add to your config file the line "last_set=" (without the quotes) and use the debug sets info from the wiki to tell ResidualVM what location in the game to start with. For example, if you put in "last_set=cb.set" the game will start on the balcony outside Manny's office in Year Two.


Top
 Profile  
 
PostPosted: Thu May 28, 2009 10:41 am 
Offline

Joined: Wed May 13, 2009 8:55 pm
Posts: 26
I got this message on start of Grim Fandango (english version):
The game in 'I:\GRIMDATA\' seems to be unknown.
Please, report the following data to the ScummVM team along with name of the game you tried to add and its version/language/etc.: "grim.tab", "cfb333d6aec260c905151b6b98ef71e8", 362164


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 30, 2009 9:50 am 
Offline
User avatar

Joined: Sat May 30, 2009 9:44 am
Posts: 1
Location: Belgium
I second that : exactly the same error message since detection.cpp has been changed on may 25th (grim.tab filesize is supposed to be 362212, while mine directly copied from original CD is 362164). am I missing something ?

also, here are the informations for the french version (tested and compiled my own, working like a charm) :

"grim.tab", "3bd00ca87214862c012ac99e1758dd83", 385763


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