fix Tomb Raider classic for Android on OUYA

raw

disable-movies.diff

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- orig-com.squareenix.tombraider1classic.versionCode-46/smali/com/squareenix/tombraider1classic/SDLActivity.smali     2015-09-15 20:19:35.160304059 +0200
+++ tombraid-classic-46-4-nomovies/smali/com/squareenix/tombraider1classic/SDLActivity.smali    2015-09-16 19:43:24.948423204 +0200
@@ -1177,14 +1177,14 @@
     .prologue
     const/4 v7, 0x0
 
-    const/16 v6, 0xb
+    const/16 v6, 0x0
 
     const/4 v8, 0x1
 
     .line 921
     sget v5, Landroid/os/Build$VERSION;->SDK_INT:I
 
-    if-gt v5, v6, :cond_1
+    if-lt v5, v6, :cond_1
 
     .line 968
     :cond_0
 
raw

enable-ouya-controller.diff

1
2
3
4
5
6
7
8
9
10
11
12
--- orig-com.squareenix.tombraider1classic.versionCode-46/smali/com/realtechvr/v3x/input/HoneyCombInputController.smali 2015-09-15 20:19:35.148304273 +0200
+++ tombraid-classic-46-2-androidver/smali/com/realtechvr/v3x/input/HoneyCombInputController.smali      2015-09-15 21:00:49.289241097 +0200
@@ -622,7 +622,7 @@
     .local v2, "ids":[I
     sget v4, Landroid/os/Build$VERSION;->SDK_INT:I
 
-    const/16 v5, 0x12
+    const/16 v5, 0x10
 
     if-lt v4, v5, :cond_0
 
 
raw

ouya-menu-entry.diff

1
2
3
4
5
6
7
8
9
10
11
12
diff -ur orig-com.squareenix.tombraider1classic.versionCode-46/AndroidManifest.xml tombraid-classic-46-4-nomovies/AndroidManifest.xml
--- orig-com.squareenix.tombraider1classic.versionCode-46/AndroidManifest.xml   2015-09-15 20:19:29.292409223 +0200
+++ tombraid-classic-46-4-nomovies/AndroidManifest.xml  2015-09-16 07:29:40.083819273 +0200
@@ -17,6 +17,7 @@
             <intent-filter>
                 <action android:name="android.intent.action.MAIN"/>
                 <category android:name="android.intent.category.LAUNCHER"/>
+                <category android:name="tv.ouya.intent.category.GAME"/>
             </intent-filter>
             <intent-filter>
                 <action android:name="android.intent.action.MAIN"/>
 
Christian Weiske Christian Weiske
owner

History