Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #303356] Fri, 13 April 2012 13:42 Go to previous messageGo to next message
Scouty

 
Messages:77
Registered:April 2008
Isn't it RC = Release Candidate?
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #303425] Sat, 14 April 2012 17:10 Go to previous messageGo to next message
Waterbaan
Messages:6
Registered:April 2012
Oke, sounds logic. Today I played a view hours but still the game is running slow. I checked a video on youtube where a guy is playing wildfire on a Samsung Note where the game is running very smooth. I have closed all the apps in the background and trying to play with a few different video options but with no results. The newer rc2 files does not work withevice. Only the first release on 22 September. So if anyone has another idea of why the game is running slow please tell me? Thanks a lot guys, this is fun
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #303488] Mon, 16 April 2012 03:19 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
RC is Release Candidate, yes Wink

It is still a debug build. It blurts tons of debug messages to your logcat. The final release should not do that, only when real errors occur.

@waterbaan
Concerning the speed issue I'm actually out of ideas at the moment. The 22.09.2011 Version is the correct one, the multiABI versions are meant for more exotic devices.
Try clearing caches, deactivate you live-wallpaper if you have one and also reboot(!) you device prior testing ja2android. The Xoom is known to slow down gradually when not being rebooted from time to time. You might also consider using an advanced task killer and kill all other background apps and test then.
Did you really test all possible configurations for the video mode (scaling, multithreading, etc.), where there any differences? Did you try deactivating sound/music?
And could you please provide the exact device specifications of your Xoom? Including CPU, GPU, RAM, Disk Memory, SD-Card (if any and in use for ja2android), Android Version (with branding?), Screen Resolution, etc.

@all: does anyone else own a Xoom (or knows somebody who does)? If yes, could you please try out the port on such a device to help find out of it is a general problem with Xoom devices?

[Updated on: Mon, 16 April 2012 03:29] by Moderator

Re: Stracciatella Android Port ALPHA Release[message #303552] Tue, 17 April 2012 23:14 Go to previous messageGo to next message
wqt0806
Messages:2
Registered:April 2012
I have a Asus TF201 with Tegra 3 CPU, which APK file I should download?
Re: Stracciatella Android Port ALPHA Release[message #303553] Tue, 17 April 2012 23:44 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
@Idder:
The normal RC2, (22.09.2011)
Re: Stracciatella Android Port ALPHA Release[message #303567] Wed, 18 April 2012 04:54 Go to previous messageGo to next message
wqt0806
Messages:2
Registered:April 2012
It works! Thank you~
Re: Stracciatella Android Port ALPHA Release[message #305153] Fri, 25 May 2012 01:42 Go to previous messageGo to next message
skitzoid
Messages:4
Registered:May 2012
Just found out about this, so glad you've put this together! JA2 is a great game, perfect for on the go play.
I've got a 4g xoom (verizon) and it seems to work solidly, but slowly. I've tried all the different configurations with video and sound, nothing seems to affect speed.

It works great on my droid razr. I had issues getting the 2 finger touch to work as right click, but I just set up the menu button as right click and it works fine. Also, I set the volume up key as [alt], the search button as [s], and the back button as [l].. that way I have full quicksave and quickload functionality.

Anyway, the xoom seems to run about 1/3 speed or so. It's definitely playable and easier to see than the small razr screen, but the lag gets pretty annoying.

Side note for phones:
If it's possible to implement a zoom in feature, that would be great.. maybe 2 finger swipes could move the zoomed section?
Re: Stracciatella Android Port ALPHA Release[message #305155] Fri, 25 May 2012 02:11 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
Hmm, there have been some reports of slowdown on Xoom devices. Yet I could not make out the reason why it is slowed down.
It might be connected to the way pelyaSDL handles the screen drawing and the Xoom's awkward way of passing that on to the GPU, but that's just a wild guess.
Could you try other pelyaSDL-based ports on your device to verify this? If all pelyaSDL-ports run slow then the problem is connected to that. (You can find some ports here http://anddev.at.ua/ (I AM NOT CONNECTED TO THIS SITE), or just by searching the web)

Zoom feature would require intense changes either in the ja2 code or pelyaSDL and I currently do not have the time for that. But pelyaSDL offers a (slightly buggy) zoom feature, which can be turned on in the configuration of ja2android.
Remeber: back in the old days when the classic Gameboy was at the height of mobile gaming technology, we actually used a detachable physical magnifying glass for that. But I guess that's not an option here... Wink
Re: Stracciatella Android Port ALPHA Release[message #305523] Sat, 02 June 2012 19:59 Go to previous messageGo to next message
Mikester1980
Messages:1
Registered:June 2012
Location: Germany
Hello.

@Omni_graphical
Thank you for porting this great game.

I`m from germany, and I use the engl. gold version of JA2 on a Xoom.

The game works but it is realy slow. I've tried different video configurations, clear catch, reboot etc. but nothing speed it up.

I will try so other pelyaSDL-based ports.
Re: Stracciatella Android Port ALPHA Release[message #305583] Mon, 04 June 2012 03:40 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
@Mikester1980:

So, did you have any success with the other pelyaSDL based ports?
Re: Stracciatella Android Port ALPHA Release[message #305620] Tue, 05 June 2012 04:46 Go to previous messageGo to next message
skitzoid
Messages:4
Registered:May 2012
I haven't had time to test any other ports out yet.. not extremely familiar with other pelyaSDL stuff, though I had tried the scummvm games on the xoom and that seemed to work fine. I think it may also be based on pelyaSDL, but not sure. I don't have anything to compare the speed to, though, but it did seem a little slow.


On a different note, I discovered a bug in the game. At Estoni while trading with Jake, if you try to deposit money into your account directly from the transaction screen, it will add that money to your balance, but the money icon remains active. After that it won't let you put the money icon in an inventory slot, but you can put it in a transaction slot (as if to trade back to Jake) and pick it up again. You can do this indefinitely and deposit the same money over and over. I accidentally cheated and racked up some $ before I even realized what happened Smile
Re: Stracciatella Android Port ALPHA Release[message #305632] Tue, 05 June 2012 23:48 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
There are two ScummVM ports. One is based on pelyaSDL, the other is... something else (i dont know).
Same goes for Exult (Ultima7), also two ports. But any pelyaSDL app will do (I think there are even some commercial apps/games using it too).

The money-bug is inside JA2Stracciatella. It's fixed in the new branch, but I did not have the energy to merge it into the ja2android branch. So for now: just don't cheat Wink
Re: Stracciatella Android Port ALPHA Release[message #307010] Sun, 08 July 2012 22:37 Go to previous messageGo to next message
sonfrancisco
Messages:1
Registered:July 2012
Played the first level on my Galaxy Note and its amazing! Love this app Smile

How did you guys get Wildfire running? In the youtube vid above it shows the wildfire startup screen. I cannot get it to work on my device. Vanilla JA2 (from gog.com) works just fine. When i use the data folder from Wildfire however, the app crashes to home screen after device config when i try and start the game. I also purchased Wildfire from gog

I have set all the files names in wildfire to lowercase and made sure to do fresh installs of the app and com.opensourced.ja2 folder. Wildfire does have less folders/files in its data directory compared to JA2....




Re: Stracciatella Android Port ALPHA Release[message #307144] Tue, 10 July 2012 16:23 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
@sonfrancisco:

Great to hear that the port works nicely on your device. And even more great to hear that the gog.com version works clean too.

But Wildfire wont work with the port, since it is more than just a mod for ja2. Unless the Wildfire sourcecode is released and ported to SDL, you will have to stick with classic ja2. Yet I hope to find some time to port the ja2 v1.13 mod to Android too.
Re: Stracciatella Android Port ALPHA Release[message #307798] Sat, 21 July 2012 01:40 Go to previous messageGo to next message
skitzoid
Messages:4
Registered:May 2012
I just installed Jelly Bean on my xoom:

http://forum.xda-developers.com/showthread.php?t=1764861

while the JA2 app ran pretty slow on ICS on my xoom (ScummVm also kinda slow), it runs on Jelly Bean great. It's even faster on the xoom now than on my Razr.
Re: Stracciatella Android Port ALPHA Release[message #309073] Tue, 14 August 2012 19:17 Go to previous messageGo to next message
SomeGuy
Messages:5
Registered:August 2012
Hello there!

I have a Samsung Galaxy Spica (i5700) and i had it upgraded to "Mod - X android 2.2.3 RC1". The game worked perfectly.

Because my phone was pushed to it's limits and almost made me kill myself due to numerous instabilities and freezes, I am now running Android 2.1 update 1, baseband version i570EXXJD1, Kernel version 2.6.29 from Leshak, Build number ECLAIR.XXJH1 / SamdroidMod 1.3.1.d [Samdroid.Net].

Needless to say i have downloaded the ARMv6 version since this phone has an ARMv6 processor.

The problem is that it doesn't work anymore... it reaches the settings screen, but when it tries to load the actual game, only the pre placed layout buttons appear on a black screen, but no intro logo or main menu. It just closes itself after about 5-10 seconds.

Maybe this version is not compatible with 2.1, in that case am i really screwed? Is there no way to make it work on my current setup with a tweak in drivers or something? Android version faker? Or possibly with Chainfire3D?

I really hope someone can help me. I love Jagged Alliance 2. Having it on my phone would make me very happy Very Happy. Maybe in the future someone will port other great titles such as Gorky17 or Alpha Centauri.
Re: Stracciatella Android Port ALPHA Release[message #309178] Thu, 16 August 2012 23:27 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
Hi!

Quote:
I have a Samsung Galaxy Spica (i5700) and i had it upgraded to "Mod - X android 2.2.3 RC1". The game worked perfectly.

Great to hear that.


Quote:
Needless to say i have downloaded the ARMv6 version since this phone has an ARMv6 processor.

Did you try the other versions too?

Quote:
The problem is that it doesn't work anymore... it reaches the settings screen, but when it tries to load the actual game, only the pre placed layout buttons appear on a black screen, but no intro logo or main menu. It just closes itself after about 5-10 seconds.

Hmm. I need more info in form of log output. Ja2Android RC2 is logging very intensively, so there is a chance the reason of the crash will be found there.


Quote:
Maybe this version is not compatible with 2.1, in that case am i really screwed? Is there no way to make it work on my current setup with a tweak in drivers or something? Android version faker? Or possibly with Chainfire3D?

Ja2Android is built to work with devices as low as android 1.6 and I did not place a version-lock on it. Also other drivers/chainfire are unlikely (though not impossible) to help since I did not use any OpenGL stuff to make the game work. Though pelyaSDL uses some in the background.

So please post the log output of your phone here (lines marked 'libSDL' and '==TEST==' and maybe 'OpenGL(ES)'-related), so I can see if there is something wrong.
I also suggest to try out the other builds and also playing around with the video settings that are offered.

Quote:
Maybe in the future someone will port other great titles such as Gorky17 or Alpha Centauri.

Without the sourcecode of these games that will be a little tough. :-/
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #309212] Fri, 17 August 2012 21:46 Go to previous messageGo to next message
SomeGuy
Messages:5
Registered:August 2012
I can confirm that no combination of setting between Chainfire 3D Pro v3.3 and the actual game settings serve to change the situation. Game has black screen, waits 2 seconds and then application dies.

I have tried the ARMv7 version on the Android 2.2.3 and from what I remember, the application forced closed before even loading. And since I know for a fact that this version works and you are saying that it is not locked from 1.6 and after, then IT HAS to work.

I will check and post the contents of those files, but i can't find them on the SD card ... are those phone debug files on internal memory? A complete path to them is going to help me locate them so if you could tell me please do.

Also, I remember reading somewhere that the creators of Alpha Centauri externalised a lot of settings through .xml files and even shared the code at one point. Apparently it is made completely in C++. But I cannot confirm this...

[Updated on: Fri, 17 August 2012 21:47] by Moderator

Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #309231] Sat, 18 August 2012 00:11 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
Curious... did you try re-copying the ja2 data folder to your SD card after you changed the ROM version of your phone? I had reports of similar problems which could be solved by replacing/reformatting the SD card (if any).

Quote:
I will check and post the contents of those files, but i can't find them on the SD card ... are those phone debug files on internal memory? A complete path to them is going to help me locate them so if you could tell me please do.

I just need the normal Android log from your phone. The easiest way is either to use the USB connection and adb or just install a log viewer like 'catlog' from the playstore. You might want to clean your log before posting so you don't accidentally post unrelated log messages that contain private information.

Quote:
Also, I remember reading somewhere that the creators of Alpha Centauri externalised a lot of settings through .xml files and even shared the code at one point. Apparently it is made completely in C++. But I cannot confirm this..

I only heard of the freeciv version, which seems to be dead. If you find a source for the sourcecode tell me Smile
Re: Stracciatella Android Port ALPHA Release[message #309660] Thu, 30 August 2012 17:02 Go to previous messageGo to next message
Jaahquubel
Messages:7
Registered:August 2012
Location: Poland
Hi OG,
Thanks for your work on this port!

I have few questions.
My mobile is SE Xperia Neo V, so my CPU is ARMv7. Which version of Ja2android should I download?

Will JA2 demo run with this app?

What has to be done (by anyone) to make Ja2android work with other than english versions of original JA2 (that is polish, in my case)? I don't want to register at gog.com and spend $10 for a game I already have.

Are you going to make JA2UB for Android?
Re: Stracciatella Android Port ALPHA Release[message #309831] Thu, 06 September 2012 01:04 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
Hi Jaahquubel!

Sorry for the late reply, I don't check this board every day.


Quote:
I have few questions.
My mobile is SE Xperia Neo V, so my CPU is ARMv7. Which version of Ja2android should I download?

Just the normal release should be fine. Only try the other versions if problems occur.

Quote:
Will JA2 demo run with this app?

No, it would require recompiling the application. It is managed by a compiler flag.

Quote:
What has to be done (by anyone) to make Ja2android work with other than english versions of original JA2 (that is polish, in my case)? I don't want to register at gog.com and spend $10 for a game I already have.

Jagged Alliance 2 uses the obsolete wchar_t type for strings inside the application. This way accents and Cyrillic glyphs can be handled. Android on the other hand uses a broken version of wchar_t which is nothing more than the normal char and cannot display glyphs outside the normal ascii set. To make the port work I rigged all strings to be 8-bit ascii encoded and thus broke all other language versions. If I find the time to fix it, I will. But it will take loads of time.
As for your version problem: you need to get the English version for this port. Please understand that I cannot point you to any sources besides gog.com and other shops - I'd get in trouble otherwise.

Quote:

Are you going to make JA2UB for Android?

Only if I can get the sourcecode and it's using SDL or can be ported to do so.
Re: Stracciatella Android Port ALPHA Release[message #309836] Thu, 06 September 2012 15:44 Go to previous messageGo to next message
Scheinworld

 
Messages:905
Registered:December 2007
Location: Baltic Sea, Germany
Hello Omni Graphical,

Omni_graphical
Quote:
Are you going to make JA2UB for Android?

Only if I can get the sourcecode and it's using SDL or can be ported to do so.


Well, at least the source code for UB is available < here >.


Best regards; Schein

[Updated on: Fri, 07 September 2012 19:52] by Moderator



Re: Stracciatella Android Port ALPHA Release[message #309865] Fri, 07 September 2012 01:41 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
@Scheinworld: Thanks, I did not know the source was open. After a quick look it seems to be mostly the same ugly behemoth that the normal JA2 sourcecode is. It is certainly possible to port that, yet I don't know if I find the energy and time to do that. First step would be a stable Linux/SDL port then rig it to work with android and pelya SDL.
I could try hurling a diff/meld over both of the sources and clutch everything together as a first shot. Unfortunately I don't own a copy of JA:UB to test it after compiling...
Re: Stracciatella Android Port ALPHA Release[message #309901] Sat, 08 September 2012 04:08 Go to previous messageGo to next message
1993nac1993

Messages:1
Registered:September 2012
Hi Thanks for ur amazing working
Im from Turkey and Im using HTC One X 4.0.4 tegra3 quad core 720 x 1280
Im download JA2 on PC for try to in my phone
if I can't play Im send report bugs here
re Thanks u have amazing skills and smart brain Wink
Sorry my bad english :roulette: :roulette: :roulette:
Its work and too fast nice I havent problem this game
http://e1209.hizliresim.com/11/8/csqld.png

[Updated on: Sat, 08 September 2012 04:55] by Moderator

Re: Stracciatella Android Port ALPHA Release[message #309915] Sat, 08 September 2012 23:17 Go to previous messageGo to next message
Julix

 
Messages:92
Registered:June 2010
Location: Germany

Hey guys,

I tried downloading it on my Samsung SGH-i997R Galaxy S Infuse 4G.
I downloaded the install file on the pc, copied it to the phone, then ran it there.
Then I installed the gold edition of JA2 on my PC and copied the data file into
"G:\external_sd\app-data\com.opensourced.ja2\data" because external sd already existed and I didn't read carefully enough.
So it didn't work* and I started renaming all the files to make them lower case. (Did I really have to rename the tiles too?!)
Then I noticed it wasn't supposed to say "external_sd", so I changed it to "G:\sdcard\app-data\com.opensourced.ja2\data" with no success. I don't actually have an SD card in there either...
When the phone installed JA2 it put it directly in "G:\app-data\com.opensourced.ja2\data" - Should I try moving it there?

*When I start the app I can change settings or just wait either leads to it quitting right after. Same is still true, just the same as it was before copying any data, so probably the app can't find it :-S

thanks for your help,
Julian


EDIT: I did it! I found the JA2 ini and changed where the data is and started it. Now I hope that all that renaming was really necessary Very Happy


Edit2: how do I type the personal merc password into the laptop field?

[Updated on: Sat, 08 September 2012 23:30] by Moderator

Re: Stracciatella Android Port ALPHA Release[message #309918] Sun, 09 September 2012 01:48 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011

Quote:
Edit2: how do I type the personal merc password into the laptop field?

There should be a tiny "[Ab]" button in the top left corner, press that to activate the on screen keyboard. Smile
Re: Stracciatella Android Port ALPHA Release[message #309921] Sun, 09 September 2012 03:19 Go to previous messageGo to next message
Julix

 
Messages:92
Registered:June 2010
Location: Germany

thanks, I found it.

Edit2: I'm having difficulty with my savegames -> I can't load them from the main menu. I have to start a new game and then go to options to load anything... is that normal?

Edit3: Another question - since it's loading contents from the data folder, if I mess with it could I mod the game? What are some old mods that I could install on the android version?

Edit4: Can't stand the original anymore... and the doable but obviously less convenient controls on an android phone compared to the pc aren't helping. Neither are the worn out and way to easy maps. It seems to be working just fine and the Stealing function never made everything freeze(which the stratiatella game did to my computer all the time back in the day). So it's good as it ever was, but no longer enjoyable by me.

If someone knows some old data mods I'll give it another shot, but I can't handle one more run of the same old stuff...

[Updated on: Sun, 09 September 2012 10:40] by Moderator

Re: Stracciatella Android Port ALPHA Release[message #309938] Sun, 09 September 2012 16:35 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
Quote:
Edit2: I'm having difficulty with my savegames -> I can't load them from the main menu. I have to start a new game and then go to options to load anything... is that normal?

You can detour from the main menu via the preferences option to load game without the need to start a new game.

Quote:
Edit3: Another question - since it's loading contents from the data folder, if I mess with it could I mod the game? What are some old mods that I could install on the android version?

All mods that do not require patching the executable should work fine.

Quote:
Edit4: Can't stand the original anymore... and the doable but obviously less convenient controls on an android phone compared to the pc aren't helping. Neither are the worn out and way to easy maps. It seems to be working just fine and the Stealing function never made everything freeze(which the stratiatella game did to my computer all the time back in the day). So it's good as it ever was, but no longer enjoyable by me.

If someone knows some old data mods I'll give it another shot, but I can't handle one more run of the same old stuff...

Can't help you with that, just wait until I have time to port one of the other mods. Maybe 1.13 next.
Re: Stracciatella Android Port ALPHA Release[message #309987] Mon, 10 September 2012 19:36 Go to previous messageGo to next message
pauldjohns
Messages:2
Registered:September 2012
Hi, I just stumbled upon this fantastic Android port a couple of days ago and have come upon one (probably very simple) stumbling block: I have a Nexus device with no SD card slot.

I saw a couple of posts on this earlier (from kpp and legion) to simply put the data folder in the root directory and have it follow the path: /sdcard/app-data/com.opensourced.ja2/

I have dropped the data file into this folder created out of the (what I believe to be) root directly on a Nexus: Nexus/Internal Storage/sdcard/app-data/com.opensourced.ja2/data (should this folder have been created when I installed the ja2 apk or do I create it myself?)

When I boot the game, I get the splash screen for about three seconds and it crashes back to my apps screen. Curious if I am making an obvious error that can be easily corrected. If you need additional information, please do let me know.

Best.
Re: Stracciatella Android Port ALPHA Release[message #309992] Mon, 10 September 2012 21:39 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
@Hollywood:
Quote:
(should this folder have been created when I installed the ja2 apk or do I create it myself?)

The first time ja2android is started it will create a folder app-data/com.opensourced.ja2/ somewhere on your device. Normally on the sdcard, but if you do not have an sdcard: somewhere in the internal storage of your device. This folder is where you have to place the data folder.
Let me know if that solved your problem Smile
Re: Stracciatella Android Port ALPHA Release[message #309993] Mon, 10 September 2012 23:54 Go to previous messageGo to next message
Jaahquubel
Messages:7
Registered:August 2012
Location: Poland
Omni_graphical
Jagged Alliance 2 uses the obsolete wchar_t type for strings inside the application. This way accents and Cyrillic glyphs can be handled. Android on the other hand uses a broken version of wchar_t which is nothing more than the normal char and cannot display glyphs outside the normal ascii set. To make the port work I rigged all strings to be 8-bit ascii encoded and thus broke all other language versions.
Does it mean, that if I change ALL the texts in all the files in the polish version, so there would be no polish letters in them, it should be enough to run?
BTW, what about Ivan's texts? They were in Russian. They're gone in your port?

Omni_graphical
If I find the time to fix it, I will. But it will take loads of time.
That's what I was asking for. Do you want any help with it? I'm not a developer, so I can't do that, but maybe there are some people, who can and would like to, if you agree?

Omni_graphical
Please understand that I cannot point you to any sources besides gog.com and other shops - I'd get in trouble otherwise.
Definitely, I didn't ask for that.

Only if I can get the sourcecode and it's using SDL or can be ported to do so. [/quote]I thought the JA2 code was released together with JA2UB code and it is well known it's open too.
Anyway, I think that from your point of view, JA2UB is the same piece of junk as JA2.
Re: Stracciatella Android Port ALPHA Release[message #310007] Tue, 11 September 2012 17:25 Go to previous messageGo to next message
pauldjohns
Messages:2
Registered:September 2012
So, I found a solution to the above mentioned problem after some further research.

For anybody else that stumbles upon the same simple mistake as myself, simply utilize Astro File Manager and move the files to the appropriate directory on your Nexus device as you can actually access the "root" where an SDCard folder does already exist.

Thanks again for the port, just started playing it and am loving it!

Re: Stracciatella Android Port ALPHA Release[message #310189] Sat, 15 September 2012 20:44 Go to previous messageGo to next message
SomeGuy
Messages:5
Registered:August 2012
Ok I have posted a Logcat .txt file that contains the events starting from exiting the logcat app, entering the Ja2 file to the actual crash and a bit after.

Toggle Spoiler


I have tried all variants. All have the same problem: exit out off app. No logo or main menu.(android 2.1)
It worked on 2.2 as I mentioned before though.

I have deleted the app-data folder and let the app create it itself. Then I added the folder with the files (Data) again. I have renamed all files to be lowercase (except folders).

Still the same result. crash after atempting to actually run the game (keyboard and layout buttons work in that black screen time).

Despite what you said claming that this app runs fine on all android going back to 1.5, looking on things now it would seem that that may not be entirely true...
I would also want to know how to utilise/apply that source patch... each exact step explained in detail would be apreciated.

I thank you in the hopes that I can get any sort of help Sad. Also I want to know if there is ANY program similar to FWChanger or PWNER for the Apple devices that works for android...

[Updated on: Sat, 15 September 2012 20:47] by Moderator

Re: Stracciatella Android Port ALPHA Release[message #310201] Sat, 15 September 2012 23:20 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
@SomeGuy
Quote:

I have posted a Logcat .txt file

Sorry this log does not show any errors connected to ja2android. Could you try to increase the loglevel to 'verbose' so that the "==TEST==" messages are displayed? These should show any problems connected to the port itself. And there should be at least one.

Quote:
It worked on 2.2 as I mentioned before though.

Which is odd, as I am aware of no significant changes between 2.1 and 2.2 that could affect the port.

Quote:
I have renamed all files to be lowercase (except folders).

If you could use the same renamed files/folders cleanly under 2.2 then no more renaming should be necessary.

Quote:
Despite what you said claming that this app runs fine on all android going back to 1.5, looking on things now it would seem that that may not be entirely true...

Devices with small screens sometimes have problems and older CPUs tend to be unable to initialise the SDL bindings correctly. I tried to keep the whole package version agnostic, but without a testing device for each version I'm locked to the emulator and my own devices.

Quote:
I would also want to know how to utilise/apply that source patch... each exact step explained in detail would be apreciated.

The source patch is a patch to convert the JA2 Stracciatella sourcecode to the android compatible version. Detailed instructions for building your own APK are included. It is just there to enable custom APKs and to ensure no loss of wisdom occurs should I disappear.
Feel free to try compiling your own APK with the code, but you should only try so if you are either already comfortable with the android NDK/SDK or willing to spend some intense hours setting everything up. (I only supplied instructions for building under Linux)


Quote:
I thank you in the hopes that I can get any sort of help

Please try to post a log with a higher verbosity, the log you supplied does not contain any debug information relevant to ja2android/pelyaSDL. Also you might want to check if the 2.2 upgrade did offer you more free RAM on your device due to optimisation - ja2android does require as much free RAM as the pc version.

And: since I did not put any version lockout into ja2android, tools that would do the same as FWChanger or PWNER wont help.
Re: Stracciatella Android Port ALPHA Release[message #310202] Sat, 15 September 2012 23:32 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
@Jaahquubel
Quote:

Does it mean, that if I change ALL the texts in all the files in the polish version, so there would be no polish letters in them, it should be enough to run?

You would have to change all data files containing the texts as well as the source code files that contain the problematic letters. The rebuild the APK with as the polish version. Quite a lot of work... maybe not worth the effort. There is a slight hope that a new set of the CrystaX toolchain might enable me to re-build ja2android with actual wchar_t support (and full language support along with it), but it takes to much time to build and test and I don't have the time for that.

Quote:
BTW, what about Ivan's texts? They were in Russian. They're gone in your port?

Yes, Ivan just speaks broken texts sadly Sad

Quote:
That's what I was asking for. Do you want any help with it? I'm not a developer, so I can't do that, but maybe there are some people, who can and would like to, if you agree?

I already tried to fix the thing together with some russian developers, but we failed and lost interest after they discovered that you can use the speech files from the russian version inside the the english build. It's like watching a movie with subtitles ^^

Quote:
Anyway, I think that from your point of view, JA2UB is the same piece of junk as JA2.

It was written without the intention of ever getting ported to a mobile devices and also contains optimisation strategies that are not required any more nowadays. In fact these optimisations make porting harder.
Re: Stracciatella Android Port ALPHA Release[message #310296] Tue, 18 September 2012 00:10 Go to previous messageGo to next message
SomeGuy
Messages:5
Registered:August 2012
All right I made a new log file now. I am pretty sure I've done it right this time Smile

Toggle Spoiler


You made a very good point about more memory on 2.2 ... I remember having a virtual memory setting... although if there are other people here who made it work for 2.1 or under... then maybe the cause is different.

And if the patch is useful only for repacking the apk then I believe it won't really help so I will refrain from doing that. Also formatting the sd card is totally out of the question. I had a hell day installing applications and liking them after flashing. No way I am going through that again.

Hopefully the log will offer relevant information. Thank you!
Re: Stracciatella Android Port ALPHA Release[message #310302] Tue, 18 September 2012 01:40 Go to previous messageGo to next message
Omnigraphical

 
Messages:87
Registered:February 2011
@SomeGuy:

Hmm, maybe the problem is hiding here:
09-17 23:37:53.002 I/==TEST==(25118): Filedatabase OpenFileFromLibrary: /sdcard/app-data/com.opensourced.ja2/temp/files.dat
09-17 23:37:53.007 I/==TEST==(25118): Filedatabase get LibraryFromFilename
09-17 23:37:53.012 I/==TEST==(25118): RUNTIME ERROR: Opening file failed! /sdcard/app-data/com.opensourced.ja2/temp/files.dat


Please check the contents of /sdcard/app-data/com.opensourced.ja2/temp , backup its contents and delete all files in there then try starting again. One of the temp files could be messed up and requiring regeneration. Eventually check read and write access to that folder and the files too.

Another problem might be:
09-17 23:37:48.807 I/==TEST==(25118): RUNTIME ERROR: Initialising libraries failed

This says that at least one of the SLF files is either broken or missing. It can sometimes be connected to failed data transfer from the pc to android or a broken sector on the sdcard. If all else fails, try using another sdcard and assert that all datafiles are copied correctly to it.
Re: Stracciatella Android Port ALPHA Release[message #310347] Tue, 18 September 2012 21:35 Go to previous messageGo to next message
NewAgeOfPower

 
Messages:107
Registered:June 2010
Holy crap. This is amazing.

[Updated on: Tue, 18 September 2012 21:56] by Moderator

Re: Stracciatella Android Port ALPHA Release[message #311155] Sat, 13 October 2012 21:49 Go to previous messageGo to next message
Julix

 
Messages:92
Registered:June 2010
Location: Germany

I just compared what I said earlier with what I've told everyone that I spoke to about this game in real life (i.e. strangers on the bus) and I realized that I neglected to tell you "Holy fuuuu - you guys rock big time!" - I know that you already know that, but I wanted to make sure you know that others know it too Wink

I'm glad that after 14 years or so JA2's fan community is still so strong and active - as a community you're the major reason I'm still playing and loving the game. While I'm kind of done with the original JA2 (from being spoiled with all the JA2 1.13 features etc) there are still so many mods to explore and in the mean time things continue to change in 1.13 - so when I'm done exploring there will be more things to explore. I guess this consumer position I'm in makes me a leecher (is that how you spell it?) - but I wanted to let you know that I'm really grateful for what you do.

And although I haven't yet found my way into loving the mobile version the mere fact that there is one blew my mind. Eventually I tried it again for a little bit, shortly later I started playing the computer versions again. Very Happy

My initial distancing was probably partially because I wanted not to like it, so I wouldn't play it and spend time I don't have - but now that I'm doing exactly that I figure it's time to express my gratitude again.

Thanks for re-sparking my interest in JA2!

Julian
Re: Stracciatella Android Port ALPHA Release[message #311969] Sun, 11 November 2012 17:42 Go to previous messageGo to previous message
Faust
Messages:1
Registered:November 2012
Location: France
Yup, I have just seen this awesome Ja2's port and i'm astonished, i would have never thought that Ja2 could be ported on android device but now comes the question of compatibility. Do you think i can run it on xperia play? 'Cause I tried to run it but it launch each time(at the beginning)a save and it returns to the desktop.

For the moment I check the forum to see if i can find my error, but the question of compatibility is still available.

Edit: Finally, it runs very well! There just an issue per moment with some characters voices who speak in russian instead of english and the issue with save which can be loaded only after having launched a new game. For an alpha version, dude, I have to admit that kicks ass. You've got all my support.

Edit2 : I've found the solution about the saves, but is there a solution for obtaining only english voices?

Edit3: I've found it too, i've changed the file: sound.slf, mercedt.slf, battlesnds.slf,npc-speech.slf, speech.slf; so now i've got english voices + subtitles in french.

In fact you can almost completely add your language, I add my binarydata.slf, npcdata.slf, data.slf, laptop.slf files. I've almost all the game in french (texte, subtitles, description, event, etc) there always some elements in english, but it's really nothing.

[Updated on: Sun, 18 November 2012 02:33] by Moderator

Previous Topic: JA2-Stracciatella Continued
Goto Forum:
  


Current Time: Thu Aug 24 06:01:12 EEST 2017

Total time taken to generate the page: 0.01469 seconds