Azurami / wagic

Automatically exported from code.google.com/p/wagic
Other
0 stars 0 forks source link

[Android] Story crashes #776

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
"Found a bug where hitting story and 01.Where it all began will close the app 
(this had the same behavior on the latest REV from the SVN, if I build it 
correctly.

Since I have a full USB port on my tablet I was able to connect my PC 
controller and it did work with the directional pad (so I can use it with 
problem areas like the options or the filter), but can't map the other button."

Yann: reproduced on Android, works fine on Qt Meego and Qt Linux

Original issue reported on code.google.com by Xawot...@gmail.com on 8 Jan 2012 at 8:57

GoogleCodeExporter commented 9 years ago
works fine on iOS as well.  I got through the first stage ok.  haven't gone 
beyond that

Original comment by techdragon.nguyen@gmail.com on 12 Jan 2012 at 9:30

GoogleCodeExporter commented 9 years ago
Cant play the story mode at all. App crashes when selecting level 01

Original comment by Ditte.Po...@gmail.com on 13 May 2012 at 12:44

GoogleCodeExporter commented 9 years ago
Hi guys. I took a look into the code and done some debugging on Android and 
Windows.

I think the problem might be on tinyxml. 
TinyXml is an old version that has grave memory issues and mobile problems.

That's why the developer made the tinyxml v2.

I haven't got around to try to update the code to the new version but I will 
try and report back if I can.

I could use the help as I'm not a C++ programmer... more of a Java guy...

here's the link for tinyxml2: http://www.grinninglizard.com/tinyxml2/index.html

Get in contact with me if you can please.

Original comment by philocri...@gmail.com on 19 Jul 2012 at 12:15

GoogleCodeExporter commented 9 years ago
Need help... can't play story mode it close

Original comment by ev.jayma...@gmail.com on 30 Nov 2012 at 12:30

GoogleCodeExporter commented 9 years ago
Still the same issue on Samsung galaxy note Android 4.0.x. When i start on 
“01. Where it all begins” screen freezes and games hangs. Maybe there’s a 
workaround or still nothing yet ?

Original comment by lukas.si...@innoforce.co.uk on 23 Apr 2013 at 7:54

GoogleCodeExporter commented 9 years ago
I was able to get into story mode by only muting music.  This on Android 2.3.7, 
SVN r4827.

Original comment by rolzad73@gmail.com on 1 Jun 2013 at 6:27

GoogleCodeExporter commented 9 years ago
Issue 879 has been merged into this issue.

Original comment by Xawot...@gmail.com on 2 Jun 2013 at 7:47

GoogleCodeExporter commented 9 years ago
Xawotihs thanks for the merge.

It seems that when extracting the music file from the resource zip and trying 
to write into the real directory, because this particular directory has a few 
sub dirs that need to be created, the "open" cannot create a writable file and 
subsequently returns an empty path to JSoundSystem::LoadMusic(...) function 
(which is the point of crash).  The directories have to be created first.

Ex. 
Existing Res dir:
/mnt/sdcard/Wagic/Res/campaigns/

Files trying to be opened:
/mnt/sdcard/Wagic/Res/campaigns/01.Where it all begins/_sfx/siege.mp3

AS well, I put in a check for an empty path in the android/JSfx.cpp  
JSoundSystem::LoadMusic(...) function to stop the error from crashing if (music 
will simply not play).

Original comment by rolzad73@gmail.com on 3 Jun 2013 at 12:39

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4830.

Original comment by rolzad73@gmail.com on 3 Jun 2013 at 2:15