Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » Stracc for android?
Stracc for android?[message #268612] Mon, 20 December 2010 00:52 Go to next message
GhostC10 is currently offline GhostC10
Messages:2
Registered:May 2010
Location: Nowhere, IA
Does it exist? How difficult would it be to do? How much more to it would there be aside from recompiling and making the touch screen work (somehow). I'm pretty new to android and wouldn't know where to start.

Report message to a moderator

Civilian
Re: Stracc for android?[message #268627] Mon, 20 December 2010 13:02 Go to previous messageGo to next message
Galorin is currently offline Galorin

 
Messages:10
Registered:November 2009
I've just picked up my first Android phone with intention of writing for it. AFAIK, there is a ton of legwork to do in order to get SDL working on Android, and even then you'll probably be limited to the Gingerbread class devices. My primary concern is the limited real estate, and the fact that you would NEED to incorporate multi-touch in order to get anything resembling control.

It would be better writing a clone from the ground up, and basing it off the XML files from 1.13 rather than fighting with the current codebase. This then would potentially alienate users from this forum. Oh, you'd also need to write an AI from scratch, that can't be ported, completely wrong language.

Report message to a moderator

Private
Re: Stracc for android?[message #268652] Mon, 20 December 2010 17:16 Go to previous messageGo to next message
GhostC10 is currently offline GhostC10
Messages:2
Registered:May 2010
Location: Nowhere, IA
0_0 I've run across something called Optware for Android that appears to allow cross-compiled ARM Linux software to run in Android. Would that make it any easier? From what I can tell, it can make stuff written in C work in Android.

Report message to a moderator

Civilian
Re: Stracc for android?[message #268905] Fri, 24 December 2010 14:56 Go to previous messageGo to next message
Dekar is currently offline Dekar

 
Messages:7
Registered:August 2007
The OpenTTD port comes with an pretty epic SDL port. I also found a ScummVM version using the same/similar SDL. It first starts into some SDL config screen allowing you to change tons of controls, sound output and stuff like a zoom window once you hold your finger over something. Besides I wanted to note some Android devices got hardware keyboards and trackballs so in my opinion the controls shouldn't be too bad. Also this SDL version seems to render the games at full resolution and then automatically downscale them. You get the unscaled picture using the zoom thing when you touch the screen. I would guess porting JA2 using that SDL port shouldn't be too hard. But well, I got no time for that atm Wink

Report message to a moderator

Private
Re: Stracc for android?[message #269312] Mon, 03 January 2011 23:53 Go to previous messageGo to next message
Helios is currently offline Helios

 
Messages:25
Registered:April 2010

at 480x320 I would imagine the resolution would be a problem and the controls are designed for a mouse and keyboard setup...

A turn based tactical game would work really well as an android game but it's smarter to start with a new concept from scratch

Report message to a moderator

Private 1st Class
Re: Stracc for android?[message #269580] Fri, 07 January 2011 23:56 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
To everything said I add that the endianness problem has never been solved on Stracciatella. Stracciatella reads and writes data in your processor's native byte order while the data from the game is in Intel's byte order (little-endian). If you are on a big-endian processor (like Motorola) on Android, Mac or any OS, the game won't work because the data bytes need to be swapped to be read correctly.

Tron worked on that with help maybe, and replaced many data accesses by C preprocessor macros but it's hard to tell if all of them are dealt with or not when you run the game on a little-endian processor only. And the last time I looked at them, the macros themselves didn't swap the bytes yet if you were on a big-endian processor.

Report message to a moderator

Master Sergeant
Re: Stracc for android?[message #269610] Sat, 08 January 2011 15:24 Go to previous messageGo to next message
usrbid is currently offline usrbid

 
Messages:1506
Registered:December 2008
Birdflu was able to bring up the main menu of the new SMP version on a Mac, not sure if and how many XMLs are read at that point though, would be curious if you may know more.

Report message to a moderator

Sergeant Major

Re: Stracc for android?[message #269703] Sun, 09 January 2011 03:58 Go to previous messageGo to next message
BirdFlu is currently offline BirdFlu

 
Messages:438
Registered:September 2007
Location: Lampukistan
Dieter, i must inform you that i do not own a mac and never did.

Report message to a moderator

Master Sergeant
Re: Stracc for android?[message #269750] Sun, 09 January 2011 23:34 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
Mac users who have a little-endian processor, like bbun, can run stracciatella. But people who have a big-endian processor can't, whatever their OS.

Most of the job to read/save data in little-endian byte order whatever the natural byte order of your processor may have been done, but stracciatella lacked a coder on Linux or Mac (for example) on a big-endian processor to really finish it.

[Updated on: Sun, 09 January 2011 23:42] by Moderator

Report message to a moderator

Master Sergeant
Re: Stracc for android?[message #270122] Wed, 12 January 2011 22:36 Go to previous messageGo to next message
Dekar is currently offline Dekar

 
Messages:7
Registered:August 2007
Endianness isn't a big issue these days anymore, I don't see why you even talk about it. About anything is little endian! (Except Networking, JavaVM, .NET...) Android is also pretty much locked in on little endian ARM6 and higher since there are more and more native apps every day. So about 99,9% of the Android devices have a little endian CPU. That port shouldn't be too hard and using the SDL port I mentioned even the resolution wouldn't be a problem since it magnifies the part of the screen you point at.

Report message to a moderator

Private
Re: Stracc for android?[message #270158] Thu, 13 January 2011 06:24 Go to previous message
usrbid is currently offline usrbid

 
Messages:1506
Registered:December 2008
BirdFlu
Dieter, i must inform you that i do not own a mac and never did.


Hi, hi, who was the person who compiled it and started up 1.14, well what we have for 1.14?

Report message to a moderator

Sergeant Major

Previous Topic: Bugreport about finished game
Next Topic: Make lowercase failed for me, fixed it
Goto Forum:
  


Current Time: Fri Mar 29 16:40:27 GMT+2 2024

Total time taken to generate the page: 0.01736 seconds