By installing "Debian noroot" and "WINE" you can run StarCraft natively in x86 Android device. No cpu emulation is needed.
This guide is for x86 (Intel) based tablet only. This should not require a rooted device. You will need enough free space in the
internal storage to hold Debian noroot+wine+StarCraft CD. I am guessing about 1.5GB. It will be much easier to set up if you use a Bluetooth keyboard as some typing is needed in the Debian terminal
1. Install "Debian noroot" [by Pelya] from Google Play
** I am not allow to post outside link, just search for debian noroot in Google Play
- recoommand also install the hacker's pc keryboard
2. In app list find "Debian" app and run it, it will download 600MB of Debian image. Once it is done you will see a Xfce desktop Environment.
3. double tap on "Enable Audio" icon to install pulseaudio package, this will download another 100MB
4. double tap on "Root Terminal" icon to launch privilige user terminal. the device back button show/hide the soft keyboard.
type "apt-get install wine"
type "apt-get install libgl1-mesa-swx11-i686" (software-based OpenGL)
5. Connect android device to Windows host. Have your Starcraft CD in CD drive. I assume CD drive is at D:
6. Android Debian have no HW openGL support, we need to tell WINE not to use opengl. Create a text file in Windwos host named it something like no_opengl.reg, put following lines in it:
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"DirectDrawRenderer"="gdi"
"OffscreenRenderingMode"="backbuffer"
"RenderTargetLockMode"="disabled"
7. open a windows cmd prompt, type:
adb shell mkdir /sdcard/SCCD
-this will copy all StarCraft CD files to /sdcard/SCCD/
adb push D: /sdcard/SCCD/
-copy reg file too
adb push no_opengl.reg /sdcard/SCCD/
8. Back to device Android Debian, double tap on the terminal icon (not root terminal) to open a terminal
- to disable opengl for wine type this
regedit /sdcard/SCCD/no_opengl.reg
- now install StarCraft from SCCD
wine /sdcard/SCCD/setup.exe
- the StarCraft setup will run , install game as usual, I put game under c:\StarCraft\ for easy access
- StarCraft.exe will not look for CD if you copy install.exe and put it in C:\StarCraft\StarCraft.mpq
cd .wine/drive_c/StarCraft
ln -s /sdcard/SCCD/install.exe StarCraft.mpq // symblic link works, no need to copy
9. Now shutdown Android Debian, (tap on the red arrow under "Menu" side bar)
10. Start "Debian" again , select device configuration
under video Settings -> enable 4:3 aspect ratio
- if you want mouse pointer track your touch point
under Mouse Emulation -> advance features-> disable Relative Mouse Movement
tap ok to continue
tap the screen again when you see resolution change message
tap the word "custom" and give 640 width and 480 height.
select your prefer font scale, continue to desktop
11. double tap on terminal, type "wine C:/StarCraft/StarCraft,exe" to launch StarCraft
12. If all goes well you will see the main menu and touch should works. Try start a new game. You will hear choppy or no audio. That is an known issue with Debian noroot. I have no fix for the audio at this time.
13. You can create a Xfce desktop launch icon to run game later.
P.S this process should works for other 2D Windows games that don't require CD to play.
This guide is for x86 (Intel) based tablet only. This should not require a rooted device. You will need enough free space in the
internal storage to hold Debian noroot+wine+StarCraft CD. I am guessing about 1.5GB. It will be much easier to set up if you use a Bluetooth keyboard as some typing is needed in the Debian terminal
1. Install "Debian noroot" [by Pelya] from Google Play
** I am not allow to post outside link, just search for debian noroot in Google Play
- recoommand also install the hacker's pc keryboard
2. In app list find "Debian" app and run it, it will download 600MB of Debian image. Once it is done you will see a Xfce desktop Environment.
3. double tap on "Enable Audio" icon to install pulseaudio package, this will download another 100MB
4. double tap on "Root Terminal" icon to launch privilige user terminal. the device back button show/hide the soft keyboard.
type "apt-get install wine"
type "apt-get install libgl1-mesa-swx11-i686" (software-based OpenGL)
5. Connect android device to Windows host. Have your Starcraft CD in CD drive. I assume CD drive is at D:
6. Android Debian have no HW openGL support, we need to tell WINE not to use opengl. Create a text file in Windwos host named it something like no_opengl.reg, put following lines in it:
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"DirectDrawRenderer"="gdi"
"OffscreenRenderingMode"="backbuffer"
"RenderTargetLockMode"="disabled"
7. open a windows cmd prompt, type:
adb shell mkdir /sdcard/SCCD
-this will copy all StarCraft CD files to /sdcard/SCCD/
adb push D: /sdcard/SCCD/
-copy reg file too
adb push no_opengl.reg /sdcard/SCCD/
8. Back to device Android Debian, double tap on the terminal icon (not root terminal) to open a terminal
- to disable opengl for wine type this
regedit /sdcard/SCCD/no_opengl.reg
- now install StarCraft from SCCD
wine /sdcard/SCCD/setup.exe
- the StarCraft setup will run , install game as usual, I put game under c:\StarCraft\ for easy access
- StarCraft.exe will not look for CD if you copy install.exe and put it in C:\StarCraft\StarCraft.mpq
cd .wine/drive_c/StarCraft
ln -s /sdcard/SCCD/install.exe StarCraft.mpq // symblic link works, no need to copy
9. Now shutdown Android Debian, (tap on the red arrow under "Menu" side bar)
10. Start "Debian" again , select device configuration
under video Settings -> enable 4:3 aspect ratio
- if you want mouse pointer track your touch point
under Mouse Emulation -> advance features-> disable Relative Mouse Movement
tap ok to continue
tap the screen again when you see resolution change message
tap the word "custom" and give 640 width and 480 height.
select your prefer font scale, continue to desktop
11. double tap on terminal, type "wine C:/StarCraft/StarCraft,exe" to launch StarCraft
12. If all goes well you will see the main menu and touch should works. Try start a new game. You will hear choppy or no audio. That is an known issue with Debian noroot. I have no fix for the audio at this time.
13. You can create a Xfce desktop launch icon to run game later.
P.S this process should works for other 2D Windows games that don't require CD to play.
0 commentaires:
Enregistrer un commentaire