Page 1 of 3

Oricutron for android (POC)

Posted: Sat May 24, 2014 7:27 pm
by iss
EDIT: Last releases are available HERE.

This days I coincidentally found an interesting build system targeting android, which allows almost *ANY* SDL application to be easily and quick ported to android.
The build system is here: https://github.com/pelya/commandergenius
Adding just 1 config file, 2 simple build scripts and Oricutron sources "as is" - and Oricutron is ported to android :).
For all curious fans the apk can be downloaded here (It's ~6MB).
I tested it on 2-core android box in native resolution 1280x720.
The emulator runs with ~25 fps and everything is slow... but as I said in the message subject - It's only Proof-Of-Concept.
On other hand, for about 15 minutes work the result is pretty good and is really motivating ;).

Probably it's worth first to add to Oricutron support for SDL2 and than use SDL2's helper to build an android apk, any ideas and/or thoughts?

Re: Oricutron for android (POC)

Posted: Sat May 24, 2014 8:46 pm
by Xeron
nice. I reckon adding opengl-es support to the gl mode would speed it up a lot.

Re: Oricutron for android (POC)

Posted: Sun May 25, 2014 9:33 am
by Antiriad2097
Doesn't seem slow on my tablet, the auto starting demo is running at 50fps according to the emu. I'm on an Asus ME301T.

Menus are fiddly even on 10", but impressive work.

Re: Oricutron for android (POC)

Posted: Mon May 26, 2014 4:58 pm
by waskol
I will try this ASAP. I can connect a keyboard and a mouse to my tablet (menus should not be a problem then). Even if it is rather a low cost tablet (Archos 101 XS2), it should work without any problems (10 inches, Quad-core 1.6 Ghz CPU, Mali 400mp GPU).

Re: Oricutron for android (POC)

Posted: Mon May 26, 2014 8:12 pm
by waskol
It works nicely at 35fps :)

Re: Oricutron for android (POC)

Posted: Sat May 31, 2014 2:49 pm
by christian
Hi,

Tested on ASUS EeePad TF101 with Android v4.0.3: Barbitoric works at 50fps but the Keyboard dock isn't working (only [ENTER] and some CTRL+[key] sequences).
What is the [1] in the lower right corner?

Re: Oricutron for android (POC)

Posted: Fri Jul 03, 2015 4:21 am
by Brana
iss wrote: For all curious fans the apk can be downloaded here (It's ~6MB).

I would like to download it, if possible? :D
But, when I click on the URL on http://mail.dir.bg/~iss/oricutron-android.apk

it says:
Проблем, сървърът не успя да извлече търсената информация.
Невалиден адрес

I suppose it's removed or something...
Is there any other download link? :(
If it works...?

Re: Oricutron for android (POC)

Posted: Fri Jul 03, 2015 7:29 am
by iss
I removed the file, because it was just test.
I can try later to compile it again and upload it somewhere, but I doubt it's worth -
lot of android specific functionality should be implemented.

Re: Oricutron for android (POC)

Posted: Thu Apr 21, 2016 1:06 am
by Yicker
Hi.

Is it possible to make the apk available?

I appreciate it's just a proof of concept but would love to try it out on my tablet.

Cheers
Scott

Re: Oricutron for android (POC)

Posted: Fri Apr 22, 2016 4:51 pm
by iss
Hi all,
Below you can find a completely new release of Oricutron for android!
Though still "POC" this release is based on the current sources from github with very little modifications and using SDL2.
Crashes and unexpected behavior are possible, but I think this release is really usable :)!
Supported devices are: armeabi, armeabi-v7a, mips, x86.

Tablet with bigger screen is recommended.
Phone screen requires 'eagle eyes' and thin fingers :twisted: .
Warning: screen rotation works, but resets the emulator ;).

To activate the menu use the phone menu button, volume +/- act as up/down arrows, back button acts as 'ESC'.

This files are copied to '/data/data/com.emul.oricutron/files/' in the internal device memory on application start. You can add more dsk images in 'disks/' sub-folder and/or tap's in 'taps/' sub-folder... and have fun!

Comments and ideas are highly appreciated!

EDIT: Last version here.

Re: Oricutron for android (POC)

Posted: Mon Apr 25, 2016 3:31 pm
by Yicker
Hi iss

Congratulations on a great job getting Oricutron to work on Android.

I've been testing it on my Acer 10.1 inch tablet and it's working quite well. There are a couple of issues I've found so far.

Firstly as I've got a bluetooth keyboard I don't need the on screen (Atmos) keyboard but I can't seem to get it to hide. The menu option to show/hide on screen keyboard doesn't seem to do anything.
Secondly I would like to copy some tapes and disks onto my tablet to try out but I can't find the /data/data/... folder, am I missing something obvious :oops:

Apart from the above issues it's running great.

Cheers
Scott

Re: Oricutron for android (POC)

Posted: Mon Apr 25, 2016 9:00 pm
by ibisum
Awesome work! I'd like to second the call for proper keyboard integration (Bluetooth keyboard that is) .. with this working it'd make an amazing Oric system ..

Re: Oricutron for android (POC)

Posted: Mon Apr 25, 2016 10:50 pm
by Chema
First thanks a lot iss for the port. Incredible work!

I don't want to seem too picky, but in the distribution of oricium there is a readme file which states:
This file should be distributed alongside with the game (in whatever format,
tap, ort or dsk) *and including* the instructions contained in Oricium.pdf.
I know this may not be possible or practical in an android distribution (I have no idea, to be honest) but if it is possible I'd really like the readme and pdf fie to be included with any kind of distribution of the game.

Don't get me wrong; my games are out there for all you to use or distribute at your will, as the source code is in the repository so you can have a look, re-use, improve, etc. but I would like to keep the game+doc together when redistributing, so no info is lost or missed in the future.

Re: Oricutron for android (POC)

Posted: Tue Apr 26, 2016 11:13 pm
by iss
Below is the updated Oricutron for android. News and fixes:
- added 3 on-screen buttons: toggle pop-up menu, toggle visual keyboard, reset cpu;
- visual keyboard is hidden by default;
- .avi recording disabled;
- added support for 64-bit devices: arm64-v8a, armeabi, armeabi-v7a, mips, mips64, x86, x86_64;
- no more demo *.dsk included;

Re: Oricutron for android (POC)

Posted: Tue Apr 26, 2016 11:20 pm
by iss
You can use SDCard to load DSK-images and TAP-files.
Simply navigate from pop-up menu using [Parent]
to the root directory and then find your SDCard.
The exact path to the SDCard is different for every android device,
but should be something like: /storage/extSdCard/...
sdcard.jpg