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: Stracciatella Android Port ALPHA Release[message #314644]
|
Wed, 23 January 2013 19:51 
|
|
Jaahquubel |
 |
Messages:7
Registered:August 2012 Location: Poland |
|
|
Omni_graphicalDo you know how to compile your own release? I included instructions with the sourcepatch. I've already read them, but I didn't understand much, as I'm not a "real" developer.
But...
Omni_graphicalHmm, not all texts come from the EDT files. Some are actually compiled into the source from a header file - this would have to be changed too (simple search and replace might do). I wanted to use your already build app, but with the DATA folder from the Polish version, as I already have it. My aim is not to have JA2 running in Polish, but just JA2 running. It may be partly English, partly Polish (without "ogoneks"). I'm working on an app, that would convert the letters in the .edt files. I just found out, that reading 000.EDT (which is Barry's speech) byte after byte gives a sequence: 78 0 98 0 110 0 32 0 117 0 112 0 120 0 98 0 115 0 123 0 122 0 116 0 117 0 120 0 112 0 34 0 and so on (non-zero, 0, non-zero, 0) (here: "Mam towarzystwo!" - "I've got company!"), but suddenly, there is a part: 76 0 67 1 112 0 113 0 112 0 117 0 122 0 34 0 (here: "Kłopoty!" - "Troubles!"). 67+1*255=322 - and that is the Polish sign, that is supposed to be printed, and that I want to change to the letter 'l'. So now I'm going to clear all the ones and change their neighboring values to appropriate (according to what we wrote above).
But what I'm worrying about right now is what does the .edt files contain, apart from the text. When you open the Polish 000.edt file in some edt editor, you'll see, that the text I mentioned above are the first two of all, but when I open it via Octave, "Mam towarzystwo!" is encoded in the first 32 bytes, but "Kłopoty!" on bytes numbers 481-496. What does the bytes 33-480 contain? wrJ^@]eJ]XEV@TDDBoff\BLZ]lgdlx[`xtdMP[exHm`aFenNVGBhadpJKfSyYqpLeyUHWEtkjCsVIpTQRyVMX\{lV]pCkeEHIoqNeQIyIhtl\ZViBy]fvmtd[_KO^TvyBOeTBi`jZABox\eAmwksSgKCbYztA]PVvyg]UnEAufY`LHKYtWdWbIdTb\gBEZIxI]qbrDXfApBBnONZBAmzpUPXyvmBizK ?
Omni_graphical(A better approach however would be taking some more time and fix that damn w_char issue altogether and make all versions work again.) Sure! What's the problem with it? What I already know is that char is 8 bit and wchar_t (in that particular case) is 16 bit (called also STR16 in the original - Vanilla - source code).
Report message to a moderator
|
Private
|
|
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #315271]
|
Sat, 09 February 2013 02:06 
|
|
Jaahquubel |
 |
Messages:7
Registered:August 2012 Location: Poland |
|
|
Something's wrong and it's not the w_char issue. Please, help.
My /mnt/sdcard/app-data/com.opensourced.ja2/data/ contains:
Toggle Spoileranims.slf
battlesnds.slf
bigitems.slf
cursors.slf
data.slf
faces.slf
interface.slf
laptop.slf
music.slf
ambient.slf
radarmaps.slf
sounds.slf
tilesets.slf
fonts.slf
mercedt.slf
polish.slf
npcdata.slf
binarydata.slf
loadscreens.slf
maps.slf
speech.slf
npc_speech.slf
intro.slf
stsounds
tilecache
binarydata
interface
laptop
loadscreens
mercedt
npcdata
shadetables
temp
My logcat: 2013-02-08-23-51-13.txt.
[Updated on: Fri, 22 March 2013 14:54] by Moderator Report message to a moderator
|
Private
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #318525]
|
Thu, 02 May 2013 21:24 
|
|
urbanwarriorUK |
Messages:1
Registered:May 2013 |
|
|
Hi All,
I came across this post the other day and love the idea of playing JA2 on my tablet. I have followed the instructions posted but am having problems getting it to work.
I have tried on both my Samsung Galaxy tablet 2 (10.1) and Galaxy S Plus phone. For both the game runs fine until you go into the combat mode where they first rappell down from the chopper. On both systems it comes up with the save icon then immediately crashes.
Any ideas? I have tried installing using the various build available but all appear to have the same issue.
Thanks in advance for any help!
Cheers
Report message to a moderator
|
Civilian
|
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #320769]
|
Sat, 25 May 2013 13:52 
|
|
Booze |
 |
Messages:7
Registered:September 2012 |
|
|
I never dreamt, that I would be able to play this fantastic game on my phone. Thank you so much for your work.
It took a while to find the right setting. Especially the mouse movement gave me some trouble in the beginning. But your hint some pages earlier to use volume-keys as left and right mouse button really worked like a charm. I also mapped space to my menu-button to quickly switch Mercs and in combination with the right click menu the gameplay works really smooth for me now in that laptop-mouse mode.
So well, it actually made me wonder, why they never converted it for android themselves.
I have only liberated Omerta so far, but here are some small bugs I experienced on my Huawei Y300:
- When I choose difficulty sometimes the menu would just vanish, as if I had chosen something and the game drops me right to the map screen with whatever settings was selected at that point. Took me 3 tries, before I had enough time to make my choices, but it always happens for me in that menu.
- Similar problem during AIM recruitment. If I see the mercs as a list he randomly drops me back to the map screen. No problems, if I choose them with the detailed view though.
- In Map Screen he randomly switches one sublevel down. I dont get why. Can be a bit annoying as it happens pretty frequently.
and one last thing that's really minor:
- setting the displaysize to "phone" somehow made my cursor jump around weird, before it moved in the direction I wanted. "tablet" runs perfect though, so this option was a little confusing. Didnt really matter in the end anyway.
Anyway, so much thanks, man. Finally trainrides will never be boring again. 
If you're still working on this and need a debug from my phone, Id be happy to provide.
Report message to a moderator
|
Private
|
|
|
|
|
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #321866]
|
Sat, 22 June 2013 20:39 
|
|
Makrom |
Messages:2
Registered:June 2013 |
|
|
Did anyone ever make a compiled version with the patch included? I guess that applying that patch is quite the headache for most people (including me, I have to admit).
Report message to a moderator
|
Civilian
|
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #322204]
|
Sat, 29 June 2013 18:28 
|
|
Makrom |
Messages:2
Registered:June 2013 |
|
|
Thanks for your reply!
So if I undersant you correct, when I install the RC2 APK, I don't need any additional patch and the source code is just provided in case I prefer to compile or optimize the application myself?
I wasn't trying to improve anything, I am a total consumer on that matter 
I did realize some problems with using the S Pen of my Galaxy Note 2, though I guess that's mostly related to SDL. I wasn't able to set the button on the pen as right mouse button. Also, there are some strange issues when just clicking with the pen on the screen. Mostly, it triggers what I would expect from a left click. However, sometimes, for example in the screen where the settings for a new game are made (difficulty, tons of guns, and so on), a click is like pressing return on a PC, as if I clicked on the continue button.
Another issue that hampers usability with the pen is that it's almost impossible to move the cursor to the very edge of the screen, so that it will scroll. Technically, this is totally understandable, as I guess scrolling is triggered when the mouse position is at an extreme value of a dimension. However, with a pen, this position is almost impossible to reach, as it is on the brink of hovering outside of the screen area. But I guess a fix for that would need some non trivial changes.
And one thing thats unrelated to the pen, but possibly to my phone, when I choose fixed aspect ratio (as opposed to stretched), the screen stays black when starting the game. As soon as I start the game with setting it back to stretched, it works fine.
Does anyone know some tricks with these issues? Especially regarding the mouse button emulation, I guess there could be some simple solutions. The scrolling issue is most likely not worth bothering, as I can also scroll on the minimap.
Report message to a moderator
|
Civilian
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #322427]
|
Fri, 05 July 2013 12:55 
|
|
moorkai |
 |
Messages:7
Registered:May 2013 |
|
|
BoozeGot all my problems fixed.
I tried to recreate your bug. I went to Alma, I13. Played a little. Saved, loaded. Tried day and night times and tried to enter all 4 sectors of Alma, but still. No errors at all.
So I guess its your savegame that got somehow broken.
Seems like it's not sector or savegame-specific, as it now crashes when loading H13. Damn. I've noted that it won't crash while loading if I randomly change something in the SDL settings, although even that doesn't help every time. Anyway, here's my logcat, if it can help you (or anyone else interested). BTW, I'm trying to play it on my Sammy i9000 running CM10.1 and Semaphore kernel, just in case there are some board or OS-specific problems, or solutions... I don't know.
[Updated on: Sat, 06 July 2013 18:07] by Moderator Report message to a moderator
|
Private
|
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #322704]
|
Sun, 14 July 2013 14:03 
|
|
CrashGordon94 |
  |
Messages:61
Registered:May 2013 Location: England |
  
|
|
I think I'll be giving this a shot on my phone (Samsung Galaxy S4), the directions seem a little confused but I'll see how it goes.
EDIT: Actually, I can't find the JA2 Data folder, nor the data folder mentioned in the OP for the app itself (though I definitely installed the APK)
EDIT 2: Never mind, found the Data folder, not sure about the one for the app itself, I'll make it and see how it works.
EDIT 3: Found the Data folder for my JA2, but while I could create the folder mentioned in the OP on the SD Card, it kept refusing to accept the Data folder copy...
EDIT 4: Got the Data folder to copy across but it's not working...
[Updated on: Sun, 14 July 2013 16:21] by Moderator Report message to a moderator
|
Corporal
|
|
|
|
|
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #322793]
|
Tue, 16 July 2013 01:17 
|
|
Omnigraphical |
 |
Messages:87
Registered:February 2011 |
|
|
Quote:Well, you were right, that file wasn't there and there was an appropriate folder existing with that file in the Phone memory, it loaded after I put the Data folder there!
Great!
Quote:
The cursor's kinda finnicky but I'm not sure if that can be avoided, but I don't really understand the configuration stuff for the controls, any guidance on that would be cool.
Well there are two modes available: direct and relative (laptop mode).
Directmode moves (and optionally clicks) the mousecursor at the exact position you are pointing with your finger. I suggest to use that on large devices like tablets.
The relativemode makes the whole screen a trackpad and lets you move the cursor like using a laptops trackpad (i.e. relative).
For mouse clicking I strongly suggest mapping physical buttons to that - you can use any button except the 'home'-key and the 'back'-key. I use my menu button, but some newer devices don't have those. If you are desperate, it is always an option to map LMB/RMB to your volume up/down keys.
Theoretically you can even map LMB/RMB to touch events, but this is indeed very fiddly.
Quote: "This will be copied for such-and-such purpose, but it is not supported by the device itself.
Maybe your device can't put WAV files in the media library, I wouldn't worry.
Quote:
Now the music's REALLY quiet. Is something wrong here?
Please check the internal JA2 options, you can adjust music volume there - if soundFX are also quiet, then you need to adjust the media volume of your device.
Aaand, since this is still not fixed: if you want to load a saved game from the start menu, you have to make a detour to the preferences screen, there you can click on load game.
Report message to a moderator
|
Corporal 1st Class
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #322798]
|
Tue, 16 July 2013 02:53 
|
|
CrashGordon94 |
  |
Messages:61
Registered:May 2013 Location: England |
  
|
|
Well, I think I have it in Direct Mode then, the mouse goes where my finger does and tapping something registers as a left click. As for buttons to assign I have Home, Power (obviously can't assign those!), Back (which it would apparently let me assign, though I didn't actually do that), Menu, Volume Up and Volume Down. Not really sure what to assign, really, besides left-click and right-click.
For .wav transfer, oh right, thanks, that's a load off my mind!
As for sound, I had music up to the maximum, still can barely hear it if I hear it at all... Unless I put my earphones in, then it works a treat. Go figure.... Not sure how I'd adjust device volume, since it doesn't seem to respond to volume up/down for the reason you said.
I found a problem though, I checked a few mercs on AIM (Gus, Magic and Scope for hiring, Scully for leaving a message) and none of their voices would play! Music and SFX are okay (with with earphones on) but no voices... Not sure what went wrong there, did I botch some files after all?
[Updated on: Tue, 16 July 2013 02:56] by Moderator Report message to a moderator
|
Corporal
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #322892]
|
Thu, 18 July 2013 00:10 
|
|
Omnigraphical |
 |
Messages:87
Registered:February 2011 |
|
|
Quote:Not really sure what to assign, really, besides left-click and right-click.
I assigned LMB to Menu and RMB to Volume Down. Works for me together with relative mouse movement.
Quote: Not sure how I'd adjust device volume
Just go to the Android Settings on your phone, there a sliders for different Volumes: Ringtone, Alarm and Media. Media is what you want louder.
Quote: but no voices... Not sure what went wrong there, did I botch some files after all?
Hmm voices should work just fine, I suggest re-copying the data folder however. Most likely way to work out fine in your case would be to make a ZIP-file from the data folder on your PC, copy that to the SDCARD and then use a file manager (ESExplorer, Astro, etc.) to unpack that ZIP directly to your device memory in the respective folder for ja2android. That way you should not have any file-move issues.
Report message to a moderator
|
Corporal 1st Class
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #322895]
|
Thu, 18 July 2013 02:08 
|
|
CrashGordon94 |
  |
Messages:61
Registered:May 2013 Location: England |
  
|
|
Thanks again!
Omni_graphical
I assigned LMB to Menu and RMB to Volume Down. Works for me together with relative mouse movement.
Okay, I'll try that and see how it works for me.
So I assume no other assignments then?
Quote:Just go to the Android Settings on your phone, there a sliders for different Volumes: Ringtone, Alarm and Media. Media is what you want louder.
I see... Maybe I'll leave it for now since this is fine with headphones and everything else works fine headphones or otherwise, but I'll certainly keep it in mind.
Quote:
Hmm voices should work just fine, I suggest re-copying the data folder however. Most likely way to work out fine in your case would be to make a ZIP-file from the data folder on your PC, copy that to the SDCARD and then use a file manager (ESExplorer, Astro, etc.) to unpack that ZIP directly to your device memory in the respective folder for ja2android. That way you should not have any file-move issues.
Right, I'll give that a shot and see how it works.
Report message to a moderator
|
Corporal
|
|
|
|
|
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #324764]
|
Thu, 05 September 2013 03:16 
|
|
moorkai |
 |
Messages:7
Registered:May 2013 |
|
|
I am sorry, but as far as I can see, the newest release is from 2011. Could you please share the newer build, except if I misunderstood you (and the latest version actually is that RC2 one from 2011). In that case freely ignore this post.
[Updated on: Thu, 05 September 2013 03:23] by Moderator Report message to a moderator
|
Private
|
|
|
|
|
|
Re: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test[message #325239]
|
Mon, 16 September 2013 21:18 
|
|
moorkai |
 |
Messages:7
Registered:May 2013 |
|
|
Well, I guess they (Omni_graphical et al.) are either too busy with their real life obligations or have simply lost the interest, so they abandoned it. The reason could be virtually anything, but it's valid for them and I won't doubt it. Of course, I would personally like to contribute to both of these projects, but I am not skilled enough help this project going (read: I have some really basic C knowledge and even less Java experience).
[Updated on: Sat, 21 September 2013 19:29] by Moderator Report message to a moderator
|
Private
|
|
|
|
Goto Forum:
Current Time: Fri Mar 21 19:15:45 GMT+2 2025
Total time taken to generate the page: 0.01999 seconds
|