New titles published on Google Play!

My new game “Naturals” which is a set of brain teasing puzzles based on natural numbers is now available on Google Play Store free of charge! This version of the game contains fifteen puzzles, and more puzzles will come in future updates. For more information about Naturals, visit its own page on my blog.


In addition, the first Quickie title, “Ball Fall” is also available on Google Play. More information about Ball Fall is available here.

If you are interested, you can get the complete cross-platform source codes for these games by making a donation via PayPal.

Fixing Cocos2D-x exe crash

During my cocos2D-x development with Visual Studio, I noticed that I can run my games pretty fine when I execute them via Visual Studio (F5 or Shift+F5,) but when I try to run the .exe file directly, it crashes.

After some trial and errors, I figured out that this crash is due to the .exe not being able to find game resources. To fix this crash just copy whatever’s inside your Resources folder to your Debug.win32 or Release.win32 folder and everything will run fine.

Fixing Doom3 BFG Edition on multi-display setups

I have a triple display setup with two 1080p monitors and a third 4:3 one, and I had some free time to kill, so I decided to give Doom3 BFG edition a try. The problem is that, for me it started full screen in a display that I didn’t want to play on, and in a screwed up resolution. As there are no helpful options in the settings menu, it was tricky to solve this issue, but finally I managed to fix it. So if you have this problem, here is the way to solve it:

  1. Open the D3BFGConfig.cfg located in your user’s home folder\Saved Games\id Software\DOOM 3 BFG\base in a text editor.
  2. Look for the line r_fullscreen. It is initially set to 1. By changing it to 2 or 3, you are able to move the game to different displays.
  3. Now to fix the resolution, first change r_vidMode to –1, and then set the values of r_customHeight and r_customWidth to your desired resolution. In my case the settings are:

    set r_customHeight “1080″
    set r_customWidth “1920″
    set r_fullscreen “2″
    set r_vidMode “-1″


Back in Winter, I had a short trip to Strasbourg. I made a short video of what I saw and put it on Vimeo. I was going through my photos and I decided to share them once again on this blog. So there you go.

2013-02-10 Strasbourg 033 Stitch (1920x808)

2013-02-10 Strasbourg 069 (1920x1440)

2013-02-10 Strasbourg 079

2013-02-10 Strasbourg 127 (1920x1440)

2013-02-10 Strasbourg 130 Stitch (1920x996)

2013-02-10 Strasbourg 170 (1920x1440)

2013-02-10 Strasbourg 179 Stitch (1920x936)

2013-02-10 Strasbourg 015

2013-02-10 Strasbourg 026

BitTorrent Sync Review

I have been a SkyDrive user since it went public, I used every version of Microsoft Live Mesh, I worked with Microsoft FolderShare and even used MSN Messenger’s shared folders feature a ton of times. Also although I never used Dropbox that much for myself, I had to use it a couple of times to share some files with people who used Dropbox.

Each of these programs had their advantages and disadvantages. MSN Messenger used to let you have synced files and folders with your buddies, FolderShare was supposed to be a stand-alone improved version of what you had in MSN Messenger, Mesh synced files between your devices and the cloud, and currently SkyDrive and Dropbox let you share files between your devices and the cloud.

Both SkyDrive and Dropbox clients have an almost similar mechanism: You install the client, you will choose a folder on your machine, and then everything you have in that folder on every machine and your cloud storage will be synchronized. You might be able to exclude some files so that they are not synced, but that’s almost all the control you have.

A couple of days ago, with the release of BitTorrent Sync 1.0.116, as a fan of the protocol, and as someone who was looking for an advanced sync app, I decided to give it a try. At first, the UI looked too confusing, since whether to share a folder, or to sync with an already shared folder, all you work with are two textboxes: One for a “Secret,” and another for the path to the local folder.


But then after playing with the software for a couple of minutes, it became so straightforward to use. To share a folder, you just need to choose it, and generate a unique secret identifier for that folder by pressing “Generate.” then you will put this secret into your other machine (or give it to your friends,) and they will open the same dialog, but instead of generating a new secret, the existing secret will be entered, and there it is, you have set up sync on that folder using the power of BitTorrent protocol.

Since it uses BitTorrent to sync, you will have typical BitTorrent features like DHT and Trackers, and also NAT traversal and UPnP port mapping. Each folder you share can have its own configuration, so you can choose to disable DHT and Trackers on one folder, and have them enabled on another. Deleted files can be set to be moved to a “trash” folder to make sure files are still somewhere even if something nasty happens, although this feature can also be disabled on a certain folder if you want to. Also you are able to use this app in your LAN when you are offline, since it looks in the local network using UDP broadcasts.

Another neat feature of BitTorrent Sync is that not only it supports multi-way syncing, you can “one-directional” syncing, meaning that the content of a folder will be copied to the other machines, but the other machines can’t change the contents of the original machine. You can even have a mixed-syncing in which some machines are only receivers of the content and cannot update it, and some machines can fully-sync. These configurations are possible thanks to the “Read only secret” feature of BitTorrent Sync.


There are other features like “One-time secret,” which is a secret that works for only 24 hours. This is to make sure that if you share something with people, they won’t be able to spread the folder after 24 hours. Also to disconnect a folder from a sync swarm and make another one (for example in case you don’t want to share something with someone anymore,) you can just create a new secret for the folder.

Compared to SkyDrive and Dropbox, BitTorrent Sync has a lot of advantages and disadvantages. Since the nature of SkyDrive and Dropbox is cloud-based file sharing, you have your files available online meaning that you can download them from the web or share certain files using a URL among your friends. BitTorrent Sync currently doesn’t have a cloud based storage (although I think BitTorrent Inc. will provide a paid service with cloud based storage at some point.) You also cannot share individual files with your friends (Obviously you can do it using the normal BitTorrent app or uTorrent,) and finally it doesn’t work in networks that have blocked BitTorrent (some workplaces.)

BitTorrent Sync doesn’t have versioning support, although it is promised on the website for later versions. Since there is no cloud based storage involved, and everything is encrypted, and it can work even inside local networks, it can be thought of as a secure and private sync app. Also unlike SkyDrive and Dropbox, you have advanced controls on your sharing configuration, and you can have multiple folders shared with different configurations.

To summarize, here’s a list of notable features of this software:

  • Multiple folders can be shared, each with different settings.
  • Read-only/Read-write (a.k.a one directional and two directional) sharing of the same folder between different machines.
  • One time secret for more secure and private sharing.
  • Perfect for large files, thanks to the BitTorrent protocol.
  • Can be completely private, and even works in local networks with UDP broadcast.
  • Supports DHT, Trackers, Relay Servers, NAT traversal, UPnP Port Mapping.
  • Supports TCP on LAN connections.
  • Upload/Download rate limit.
  • Choice to keep deleted files in a separate folder (Sync trash.)
  • Encrypted.
  • WebUI for remote control.
  • Config file in JSON format for advanced configurations on servers.

To learn more and download BitTorrent sync, click here.


Get every new post delivered to your Inbox.

Join 187 other followers