Jump to content

iOS port of GemRB (iPad/iPhone)


SyntaxError

Recommended Posts

Guest Joshua
Avenger, the iOS build is static linked so there are no plugins.

 

Rokskul, If you havent tried already i uploaded a new build just yesterday.

 

 

Hi SyntaxError, where did you put it ? Wiki link on the first post is a dead end

Thanks

 

This is where I have been downloading GemRB from and getting instructions on installation along with a guide hosted on Mediafire I found in an earlier post.

 

http://gemrb.org/wiki/doku.php?id=install:ios

 

I used the link in step 1

 

http://dl.dropbox.com/u/13866402/GemRB.zip

 

Maybe this is an older version?

 

 

Thanks ! must have missed this link.

It seems to be the latest one released on August 6th, 6.46pm

I will keep it for future reference.

Thanks again

Link to comment
Guest Joshua
can you send me the crashlog plist? i can load that up in xcode and it will magically reveal they symbols.

 

There you go

 

http://dl.dropbox.com/u/8284660/GemRB_2011...40_GA-PAD.plist

'are you saying you are getting a crash on startup as well?

 

 

Yes this is what I'm saying, crash on startup.

Checked everything I could but I feel like there's something wrong in the build.

So I wish you good luck as it seems a tough one.

Link to comment

There isn't much I can do. It works fine in the simulator with BG2 and I have no ipad. I synced again with git last night so you can try again i guess.

 

If you are having problems provide me with a console log crash log and config. my email is in my profile.

Link to comment
There isn't much I can do. It works fine in the simulator with BG2 and I have no ipad. I synced again with git last night so you can try again i guess.

 

If you are having problems provide me with a console log crash log and config. my email is in my profile.

 

Sorry to be such a pain Syntax Error !! Unfortunately new build doesn't work :-(

 

I couldn't find your email address so I used the forum email feature to send you a message.

 

I rolled back to a previous build and GemRB launched just fine.

 

These are items you requested. Let me know if you need more.

 

http://dl.dropbox.com/u/8284660/GemRB_2011...35_GA-PAD.plist

 

http://dl.dropbox.com/u/8284660/WontOpen2.txt

 

http://dl.dropbox.com/u/8284660/GemRB.cfg

Link to comment

here is the crashed thread translated with symbols:

 

Thread 0 Crashed:

0 GemRB 0x0005187c FileStream::OpenFile(char const*) (FileStream.cpp:319)

1 GemRB 0x001061b0 CacheFile(char const*) (FileCache.cpp:57)

2 GemRB 0x0009fb64 BIFImporter::OpenArchive(char const*) (BIFImporter.cpp:112)

3 GemRB 0x000dfb74 KEYImporter::GetStream(char const*, unsigned short) (KEYImporter.cpp:248)

4 GemRB 0x000dfdf0 KEYImporter::GetResource(char const*, unsigned long) (KEYImporter.cpp:266)

5 GemRB 0x00043434 ResourceManager::GetResource(char const*, unsigned long, bool) const (ResourceManager.cpp:116)

6 GemRB 0x0001500a GameData::LoadTable(char const*, bool) (GameData.cpp:165)

7 GemRB 0x000d21dc _ZL15GemRB_LoadTableP7_objectS0_ (GUIScript.cpp:876)

8 GemRB 0x001c68ca PyCFunction_Call (methodobject.c:81)

9 GemRB 0x002497d6 call_function (ceval.c:3750)

10 GemRB 0x00244ef2 PyEval_EvalFrameEx (ceval.c:2412)

11 GemRB 0x00249c06 fast_function (ceval.c:3836)

12 GemRB 0x0024991c call_function (ceval.c:3771)

13 GemRB 0x00244ef2 PyEval_EvalFrameEx (ceval.c:2412)

14 GemRB 0x002470ce PyEval_EvalCodeEx (ceval.c:3000)

15 GemRB 0x0023f3c6 PyEval_EvalCode (ceval.c:541)

16 GemRB 0x0029b47c PyImport_ExecCodeModuleEx (import.c:677)

17 GemRB 0x0029c140 load_source_module (import.c:1017)

18 GemRB 0x0029dcd6 load_module (import.c:1821)

19 GemRB 0x002a0032 import_submodule (import.c:2592)

20 GemRB 0x0029f5c0 load_next (import.c:2412)

21 GemRB 0x0029e7d4 import_module_level (import.c:2133)

22 GemRB 0x0029eac4 PyImport_ImportModuleLevel (import.c:2185)

23 GemRB 0x00236258 builtin___import__ (bltinmodule.c:48)

24 GemRB 0x001c68ec PyCFunction_Call (methodobject.c:85)

25 GemRB 0x00164b40 PyObject_Call (abstract.c:2492)

26 GemRB 0x00248f7e PyEval_CallObjectWithKeywords (ceval.c:3619)

27 GemRB 0x002445d6 PyEval_EvalFrameEx (ceval.c:2159)

28 GemRB 0x002470ce PyEval_EvalCodeEx (ceval.c:3000)

29 GemRB 0x0023f3c6 PyEval_EvalCode (ceval.c:541)

30 GemRB 0x0029b47c PyImport_ExecCodeModuleEx (import.c:677)

31 GemRB 0x0029c140 load_source_module (import.c:1017)

32 GemRB 0x0029dcd6 load_module (import.c:1821)

33 GemRB 0x002a0032 import_submodule (import.c:2592)

34 GemRB 0x0029f5c0 load_next (import.c:2412)

35 GemRB 0x0029e7d4 import_module_level (import.c:2133)

36 GemRB 0x0029eac4 PyImport_ImportModuleLevel (import.c:2185)

37 GemRB 0x00236258 builtin___import__ (bltinmodule.c:48)

38 GemRB 0x001c68ec PyCFunction_Call (methodobject.c:85)

39 GemRB 0x00164b40 PyObject_Call (abstract.c:2492)

40 GemRB 0x00164cdc call_function_tail (abstract.c:2524)

41 GemRB 0x00164db6 PyObject_CallFunction (abstract.c:2548)

42 GemRB 0x002a086a PyImport_Import (import.c:2770)

43 GemRB 0x000be544 GUIScript::LoadScript(char const*) (GUIScript.cpp:10619)

44 GemRB 0x000221b8 Interface::HandleFlags() (Interface.cpp:664)

45 GemRB 0x00022488 Interface::Main() (Interface.cpp:1124)

46 GemRB 0x00002a98 SDL_main (GemRB.cpp:86)

 

I have no idea what is with the message: "Could not find mapped image Black_Backgrounder_Native.png"

 

that isnt referenced by either gemrb or SDL as far as i can tell.

 

it is crashing when trying to open a file (presumably from the cache) so you ought to check permission on the cache also from you config your cache is in a bad place. it ought to reside on the non-system partition; try moving it to /private/var/mobile and giving everyone read/write

Link to comment

I'm afraid I am getting the same type of crash as the rest of the group. GemRB loads up like it is going to play the opening movies but they fail to load and shortly after (about 5 seconds) the app crashes.

 

I've attempted to place the cache directory in a non-system partition but it results in the same crash. Full permissions all around do not help either.

Link to comment
I uploaded a build that will echo the BIF its trying to cache to the console.

 

Same here, I moved the cache and permissioned it properly, no success !!!

 

Along with usual logs there's a screenshot of application folder. It shows other apps rights (the "I don't own an Ipad" excuse won't work anymore ;-)

 

Something else. In the console logs I noticed that GemRb is invoking CD6. Who has a CD6 in his BG folder ?!

 

http://dl.dropbox.com/u/8284660/GemRB_2011...54_GA-PAD.plist

http://dl.dropbox.com/u/8284660/WontOpen3.txt

http://dl.dropbox.com/u/8284660/AppRights.jpg

Link to comment

The stack trace shows it tries to open a 2da from python. But i see no trace of that file in the log.

 

The missing cd6 is not a problem.

 

FileStream.cpp line 319 shouldn't be a crash point, it is just the header of OpenFile O_o

The full function looks like this:

 

FileStream* FileStream::OpenFile(const char* filename)

{

FileStream *fs = new FileStream();

if (fs->Open(filename))

return fs;

 

delete fs;

return NULL;

}

 

It cannot really crash, unless new FileStream() returns 0. But that is not exactly on line 319. Anyway, this happens if the file cannot be open for read twice.

But why this wasn't a problem before?

Link to comment

I'm not sure why it wasn't a problem before. obviously it works fine for me in the simulator. I don't own an ipad or iphone or ipod to test with (thats right im still using that excuse :) )

 

I dont know about the crash point being where it is. My file is the same as yours (current git) and shows exactly the same. I have seen crash points like this before but the only explanation anybody has ever given me had something to do with compiler optimization. I was actually hoping you or lynx would have an explanation for the cash point being there.

 

I dont know if this has anything to do with it, but that problem about not being able to compile turned out to be that i had to repair my file system. im wondering if some of the object files got corrupted and maybe cleaning the project and recompiling would fix it...

 

Edit:

Avenger, does the sound driver get started in a separate thread? If not im perplexed at how the crash log hows it crashing where it does as the las messages in console are about sound and then some SDL logs about the view dimentions.

 

Does anybody know what the fark that "Black_Backgrounder_Native.png" is???

Link to comment
Edit:

Avenger, does the sound driver get started in a separate thread? If not im perplexed at how the crash log hows it crashing where it does as the las messages in console are about sound and then some SDL logs about the view dimentions.

This is the only thing i can answer decisively. Yes, we got a separate thread for sound.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...