Automatic Rift Scratch Off

Rift ( is an MMO that is fairly dynamic. I play every now and then, and I have an Android phone. Trion offers a neat mobile application that allows you to talk to your guild, friends, and play some scratch off games. You get a max total of six game credits, and as you use them they regenerate at the rate of one per hour.

It is a little fun while away from the game, and you get some small loot that gets delivered to your mailbox in game.

Playing around I made a small C# client that plays the games for you. It’s not a way to cheat, because you really cannot. But it will make it so you do not miss out when you hit your max of six points and cannot gain anymore like when you are sleeping.

This program plays whichever game you choose for it to play for you, at the rate of one every ten minutes. If none are available, it will just skip. Trion really has already lowered the rate that you can win at, I have noticed a very large drop in winnings after the last patch. This will help you always use your available points.

This program is really just an example project. It was made as a proof of concept as I am doing some C# web data clients for work. It is a console program and NOT all that easy to use as you will need to know some strings that you can only get from HTTP decoding the streams from your phone.

The strings you need are:

Character ID – This is a large string of numbers that identify your character.

Session ID – This is another string of numbers and letters that you are given AFTER you login with the Android client.

This program really just continues the session your phone created with your login credentials. Trion is using (for Android) the google authentication service with Device IDs so I cannot offer a login form with player name and such. Sorry.

Features include:

Playing any of the three games.
Automatically replaying on a replay win.
Automatically replaying on a replay win of a replay win.

Source code is also available, it’s not a secret. I’m sure this has been done. No it’s not easy. No you cannot cheat with this. Yes it will help you use the points you already have more efficiently. No it will not always win for you.

Program: RiftScratch.exe

By |July 23rd, 2012|Categories: General|Tags: , , , , |0 Comments

Running Skyrim in Linux with WINE

A few days ago my cousin asked me to try and get Skyrim running for him on his Linux install using WINE.

I have previously gotten RIFT working on my Linux system flawlessly using WINE.

He gave me an ISO file, (probably from ill-gotten sources), and I proceeded to install from that.

Using winetricks I installed what all the other sites told me to install:


Then I ran the SkyrimLauncher.exe using WINE. Clicking low settings to start works, and then I click play… Nothing happens. Throws a minor error but nothing big. Ok…

So then I run TESV.exe directly, game loads in a virtual desktop as I had it setup, acting as its full screen (and annoyingly keeping my mouse inside the window). I click new game, and it sits at a black screen with gray fog floating from the bottom with the Skyrim symbol in the center of the screen. Hmm.

Well after poking around with some debug, for a few hours, I realized that the game is actually running from the Z: drive per this wine prefixes setting, and that I needed to tell it “Hey your actually running from the C: drive.”.

I looked quickly but could not find out how to force programs to run from C: in a wine config, so I created a simple command file “skyrim.cmd” file like the batch files of olde’ and inside I put the lines:

CD \Program Files\Skyrim

I saved the file inside my ~/.wine_skyrim/drive_c folder, and then to run the game I ran:

WINEARCH=win32 WINEPREFIX=~/.wine_skyrim wine cmd.exe /c ~/.wine_skyrim/drive_c/skyrim.cmd

Which actually ran my script, running wine at a Windows Command line, and then changed to the ‘fake’ C: drive, changed directories and ran the program.

The game runs, and then I click play. Boom, I am reading the story and it’s all working. I need to start the tweaking stage with the wine registry Direct3D entries but if anyone else has the black screen with fog try doing what I did.

By |January 31st, 2012|Categories: How To|Tags: , , , , , |3 Comments
Go to Top