Posts

Sleeping dogs definitive edition + xbox360ce

Below please find how I get my PS2 controller to work with Sleeping Dogs Definitive Edition (platform: Windows 8.1 Steam) successfully. Make sure you have Visual Studio 2013 redistributables installed. You can install them from http://www.microsoft.com/en-us/download/details.aspx?id=40784. Download the xb360ce application (the 64-bit library version) at https://code.google.com/p/x360ce/downloads/list Unzip x360ce.App and put x360ce_x64.exe under C:\Program Files (x86)\Steam\SteamApps\common\SleepingDogsDefinitiveEdition\. Download https://x360ce.googlecode.com/svn/trunk/x360ce/Support/x360ce.gdb and put it under C:\Program Files (x86)\Steam\SteamApps\common\SleepingDogsDefinitiveEdition\. Make sure you find the following lines in the file. [SDHDShip.exe] Name = Sleeping Dogs: Definitive Edition HookMask = 0x00000002 Run x360ce_x64.exe that you put to C:\Program Files (x86)\Steam\SteamApps\common\SleepingDogsDefinitiveEdition\. Go to the Game Settings tab. Check the appropriat...

Getting Wiimote to work on Ubuntu 14.10

Install xwiimote and blueman. Use blueman (Bluetooth Manager) to ad the wiimote. When add, choose add without pairing. Connect the wiimote using blueman or the applet integrated on the desktop toolbar. Dolphin can then find it.

Windows Store can't be opened in Windows servers 2012 R2

If you fail to open the windows store app, try the following: 1) Open a powershell and enter the following command: powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.xml 2) Clean up windows store cache: Run "WSReset.exe". Ref1 , Ref2

Install old Changjie input method in Windows 8.1

The procedure in this reference is basically correct, except that the script has some typos. Below please find the correct script for Changjie input method. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CTF\TIP\{B115690A-EA02-48D5-A231-E3578D2FDF80}\LanguageProfile\0x00000404\{4BDF9F03-C7D3-11D4-B2AB-0080C882687E}] "IconFile"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\  74,00,25,00,5c,00,53,00,59,00,53,00,54,00,45,00,4d,00,33,00,32,00,5c,00,49,\  00,6e,00,70,00,75,00,74,00,4d,00,65,00,74,00,68,00,6f,00,64,00,5c,00,53,00,\  68,00,61,00,72,00,65,00,64,00,5c,00,52,00,65,00,73,00,6f,00,75,00,72,00,63,\  00,65,00,44,00,6c,00,6c,00,2e,00,64,00,6c,00,6c,00,00,00 "Display Description"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,\  52,00,6f,00,6f,00,74,00,25,00,5c,00,53,00,59,00,53,00,54,00,45,00,4d,00,33,\  00,32,00,5c,00,69,00,6e,00,70,00,75,00,74,00,2e,00,64,00,6c,00,6c,00,2c,00,\  2d,00,35...

Extending Arduino SNES ROM-reader -- solderless reader, spc7110 support

Image
This short article shows my following extensions on the Arduino SNES ROM-reader as described here . Construct the reader hardware without soldering Solderless reader SPC7110 support Solderless reader The key thing is to identify the names of the components that you need and get them. In fact that step takes me quite a while to sort out. The components that you need: Arduino Resistors, capacitors and shift registers as described in the schematic diagram  A security screwdriver for Nintendo SNES (to open the SNES cart) Extra stuff needed for solder-less construction breadboards Wire cable connectors (male-to-male and male-to-female) 0.100" 35- or 36-pin Spacing Card Edge Connector -- note that we need to have male pin on one side of the connector, so we can plug in the male-to-female connectors to connect it to the breadboard SPC7110 support SPC7110 is a special chip that appears in a few SNES carts in 1995-1997. Carts with this chip features a 8Mb prog...

Octoshape under environment with network proxy

In an environment with network proxy, you have to manually specify the global http and https proxy setting of the system for octoshape to work properly. In Ubuntu, you can find it in All Settings -> Network. Under proxy, manually set the HTTP and HTTPS proxy and click on "Apply system wide".

Linux script to upload files to DropBox and Google drive; send email when there is a new file

1. Linux script to upload file Dropbox See here Google drive Ref: https://gist.github.com/deanet/3427090 You have to update the username and password, and the folderId. folderId can be found from Google Drive URL in your browser. For example, if the Google Drive folder to which you want to upload thing has the following URL: https://drive.google.com/?tab=wo&authuser=0#folders/1234567890AB-CDEFGHIJKLMNOPQR the folderId would be 1234567890AB-CDEFGHIJKLMNOPQR Sample script # Things to update username="xxxx@gmail.com" password="xxxx" pewede="/tmp" tipe="application/x-mobi" folderId="xxxx" OUTFILE2=myfile.mobi accountype="GOOGLE" #gooApps = HOSTED , gmail=GOOGLE   det=`date +%F` browser="Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1" /usr/bin/curl -v --data-urlencode Email=$username --data-urlencode Passwd=$password -d accountType=$accountype -d service=writely -d ...