* *
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 25, 2017, 02:41:12 PM

Login with username, password and session length

OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)

  • 20 Replies
  • 12255 Views
*

Offline CRxTRDude

  • OpenBOR Developer
  • Hero Member
  • *****
  • 837
  • The Dude
    • CRxTRDude's Space
OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« on: April 27, 2015, 08:54:30 PM »
This is it. Thanks to the collaborative efforts of Plombo (mostly) and myself, Android now has WebM support! Now you can play over WebM videos the same way for Windows on your Android mods!

Other things to note:
  • Uses Tremor instead of Vorbis. Tremor is a fixed-point version of Vorbis designed for devices without floating-point processes, mainly for portable devices such as MP3 players and smartphones. This makes syncing of audio for WebM faster (as well as Ogg audio would also have improved performances)
  • Better support for legacy mods (some mods without video.c would, instead of confining to 320x240 normally, stretch over the screen width of the menu (480x272), this was fixed now)

Download here

Edit: The main build of tremor supports ARM devices and is not as optimized for that, but the build is the one recommended by Xiph.org to be used on ARM, so there.
« Last Edit: April 27, 2015, 11:58:58 PM by CRxTRDude »

*

Offline Plombo

  • Administrator
  • Sr. Member
  • *****
  • 403
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #1 on: April 27, 2015, 11:39:56 PM »
** Given that you have a more better phone. Tested it on older models with Android 2.3.5, expect audio delays

Edit: The main build of tremor supports ARM devices and is not as optimized for that, but the build is the one recommended by Xiph.org to be used on ARM, so there.

I don't think the audio delays are what you think they are.  Have you heard such delays when playing Ogg Vorbis music files, or just in WebM videos?  If the latter, what you're hearing is the video decoding too slowly, and the audio waiting for it to catch up.
I now have a Twitter that you can follow if you like.

If my reply to you seems needlessly terse, I probably typed it from my phone. I'm not trying to be rude.

*

Offline CRxTRDude

  • OpenBOR Developer
  • Hero Member
  • *****
  • 837
  • The Dude
    • CRxTRDude's Space
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #2 on: April 27, 2015, 11:57:56 PM »
The delays were at the sound effects and the WebM playback. The WebM was smooth and was fast enough as the original one, but the audio went on slower than it was intended. Used Big Buck Bunny as example. I think I would need to remove that disclaimer.

*

Offline bWWd

  • Hero Member
  • *****
  • 1286
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #3 on: April 28, 2015, 09:12:39 AM »
Downloading, i will test it
---
Works great so far on android, with sound in sync, everything perfect  :D
« Last Edit: April 28, 2015, 11:12:08 AM by bWWd »

*

Offline crazyrexz

  • Jr. Member
  • **
  • 8
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #4 on: June 03, 2015, 12:15:34 AM »
with this build i cant play every streets of rage , like Z, BK vacuum, etc, it crash every time i start first time. help :(

*

Offline CRxTRDude

  • OpenBOR Developer
  • Hero Member
  • *****
  • 837
  • The Dude
    • CRxTRDude's Space
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #5 on: June 03, 2015, 12:23:00 AM »
Where can I find the PAKs for these so that I can test them? Did you place them properly in the 'Paks' folder in OpenBOR inside your SD card?

*

Offline crazyrexz

  • Jr. Member
  • **
  • 8
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #6 on: June 03, 2015, 01:03:06 AM »
yes, it started the pics is loaded, loading bar walks, then its close. i download it on soronline. other games like world heroes, jennifer, rocket viper, working well.

*

Offline CRxTRDude

  • OpenBOR Developer
  • Hero Member
  • *****
  • 837
  • The Dude
    • CRxTRDude's Space
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #7 on: June 03, 2015, 01:11:58 AM »
Can you try to play them again and this time put the contents of the log here (use quote by the way)

The OpenBORLog file is located in logs folder as usual.

*

Offline CRxTRDude

  • OpenBOR Developer
  • Hero Member
  • *****
  • 837
  • The Dude
    • CRxTRDude's Space
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #8 on: June 03, 2015, 01:37:30 AM »
Nevermind, just downloaded two of what you said. Here's what I got:

BK Vacuum (filename: bkv3.01.pak): Can't compile script 'takedamagescript' data/chars/Yuki/Yuki.txt [openborconstant error]
SOR Z (filename: RV2.pak*): Can't compile script 'takedamagescript' data/chars/DKnight/DKnight.txt [openborconstant error]

They're probably using an older version of OpenBOR to run. If you want to run it on the newer OpenBOR builds, you must unpack the paks and fix it yourself. There are older versions of the Android APK though, there's one in the 'Modified Android build' link that I have below (look for 'The original build'). If it doesn't work as well, try to search it. Google is your best friend.

Some old games do run, but others need fixing, especially in their script, thye might have used deprecated functions, giving them errors like these.

* probably uses rocket viper 2 as its base
« Last Edit: June 03, 2015, 01:39:54 AM by CRxTRDude »

*

Offline BeasTie

  • Hero Member
  • *****
  • 2451
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #9 on: June 03, 2015, 01:48:26 AM »
I just tried SOR-Z and it crashes saying on a takedamagescript...

EDIT: ok you beat me too it again lol

Here's the offending script thou.

Quote
Can't find openbor constant 'ATK_ATTACK1'

blocking.c
Code: [Select]
void main()
{

void self = getlocalvar("self");
float fac=getentityproperty(self,"defense",openborconstant("ATK_NORMAL"),"factor");
if (fac<1)
{
changeentityproperty(self, "colourmap", 1);
changeentityproperty(self, "maptime", 10 + openborvariant("elapsed_time"));
changeentityproperty(self, "velocity", 0, 0, 0);
performattack(self,openborconstant("ANI_FOLLOW2"),0);
changeentityproperty(self,"defense",openborconstant("ATK_ATTACK1"),1,1,1);
changeentityproperty(self,"defense",openborconstant("ATK_BLAST"),1,1,1);
void opp=getlocalvar("attacker");
int enextanim = getentityproperty(opp, "nextanim");
int enextthink = getentityproperty(opp, "nextthink");
changeentityproperty(opp, "nextanim", enextanim + 50);
changeentityproperty(opp, "nextthink", enextthink + 50);
}
}

*

Offline CRxTRDude

  • OpenBOR Developer
  • Hero Member
  • *****
  • 837
  • The Dude
    • CRxTRDude's Space
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #10 on: June 03, 2015, 02:15:25 AM »
Are the ATK_* openborconstants still work on the newer versions or were they deprecated? I forgot about it.

*

Offline BeasTie

  • Hero Member
  • *****
  • 2451
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #11 on: June 03, 2015, 02:19:11 AM »
Not sure TBH, I think they need to be ATK_NORMAL1 now instead.

EDIT:  Yup that seems to do the trick. :)  Mod is loading now, but there is more crashes from some animationscript.  A few things will probably need to get updated.

EDIT2:

I'm not sure how to fix this one,

Code: [Select]
Can't find openbor constant 'AIMOVE2_AVOID'

Code: [Select]
void hardSet()
{

if (openborvariant("current_set")>=2){
void self=getlocalvar("self");
void target=findtarget(self);
if (getentityproperty(target,"animationid")==openborconstant("ANI_FALL")){
changeentityproperty(self, "aimove",openborconstant("AIMOVE1_AVOID")+openborconstant("AIMOVE2_AVOID"));
}else{
if (getentityproperty(self,"direction")==getentityproperty(target,"direction")){
changeentityproperty(self, "aimove", openborconstant("AIMOVE1_CHASE")+openborconstant("AIMOVE2_NORMAL"));
}else{
changeentityproperty(self, "aimove", openborconstant("AIMOVE1_NORMAL")+openborconstant("AIMOVE2_AVOID"));
}
}
}
}
« Last Edit: June 03, 2015, 02:29:30 AM by BeasTie »

*

Offline crazyrexz

  • Jr. Member
  • **
  • 8
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #12 on: June 04, 2015, 11:01:13 PM »
Nevermind, just downloaded two of what you said. Here's what I got:

BK Vacuum (filename: bkv3.01.pak): Can't compile script 'takedamagescript' data/chars/Yuki/Yuki.txt [openborconstant error]
SOR Z (filename: RV2.pak*): Can't compile script 'takedamagescript' data/chars/DKnight/DKnight.txt [openborconstant error]

They're probably using an older version of OpenBOR to run. If you want to run it on the newer OpenBOR builds, you must unpack the paks and fix it yourself. There are older versions of the Android APK though, there's one in the 'Modified Android build' link that I have below (look for 'The original build'). If it doesn't work as well, try to search it. Google is your best friend.

Some old games do run, but others need fixing, especially in their script, thye might have used deprecated functions, giving them errors like these.

* probably uses rocket viper 2 as its base

hey bro, its working, i use the old version build 37 , the two is working, but still no luck playing BK6 final :(, btw thx for replying

*

Offline CRxTRDude

  • OpenBOR Developer
  • Hero Member
  • *****
  • 837
  • The Dude
    • CRxTRDude's Space
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #13 on: June 05, 2015, 12:49:27 AM »
I'm not sure how to fix this one,

Code: [Select]
Can't find openbor constant 'AIMOVE2_AVOID'

There is no such thing as AIMOVE2_AVOID. Only valid AIMOVE* openborconstants so far are the following (also some AIATTACK* as well):

  • AIMOVE1_NORMAL
  • AIMOVE1_CHASE
  • AIMOVE1_CHASEZ
  • AIMOVE1_CHASEX
  • AIMOVE1_AVOID
  • AIMOVE1_AVOIDZ
  • AIMOVE1_AVOIDX
  • AIMOVE1_WANDER
  • AIMOVE1_NOMOVE
  • AIMOVE1_BIKER
  • AIMOVE1_STAR
  • AIMOVE1_ARROW
  • AIMOVE1_BOMB
  • AIMOVE2_NORMAL
  • AIMOVE2_IGNOREHOLES
  • AIATTACK1_NORMAL
  • AIATTACK1_LONG
  • AIATTACK1_MELEE
  • AIATTACK1_NOATTACK
  • AIATTACK1_ALWAYS
  • AIATTACK2_NORMAL
  • AIATTACK2_DODGE
  • AIATTACK2_DODGEMOVE

There is that though.

*

Offline BeasTie

  • Hero Member
  • *****
  • 2451
Re: OpenBOR v3.0 Build 4161 for Android (APK 1.4.2)
« Reply #14 on: June 05, 2015, 04:21:49 AM »
What is AIMOVE2 even for? additional flags?

 

Recent

Members
Stats
  • Total Posts: 46114
  • Total Topics: 3161
  • Online Today: 77
  • Online Ever: 316
  • (January 04, 2013, 09:43:02 AM)
Users Online
Users: 1
Guests: 67
Total: 68