PictureLoKiT v1.0 Howto - Make a USB version

Selfbondage software and other kinky developments

Moderators: Riddle, Shannon SteelSlave

Post Reply
User avatar
LoKiT
Retired Moderator
Posts: 372
Joined: 12 Apr 2010, 01:07

PictureLoKiT v1.0 Howto - Make a USB version

Post by LoKiT »

This explains how you can create a USB version that stores the Vault pictures, sessions and backups to operate from a USB storage device. Getting a USB stick version is a little tricky as Windows doesn't support relative paths to programs very well. So if you want a version that will run on any Windows machine of a USB storage device I will show you how. Step by step...

The easiest way is to install PictureLoKiT normally, you can uninstall if you wish when it is done.
On your Desktop right click the PictureLoKiT icon and click properties in the menu.
properties.jpg
The "Start in" box will show you were the program has been installed on your Windows. This varies according to the international version that you have or variant of Windows.
Now copy the complete "PictureLoKiT" folder onto your USB storage device.
Now right click New and Shortcut in side the storage folder (not PictureLokit). Click Browse in the Create Shortcut window and navigate to the "PictureLoKiT\PictureLoKiT.exe" on your USB device. Next
Enter the name for your shortcute like; PictureLoKiT and click Finish
Right click the new shortcut and select Properties

Now for the Magic...

Delete the contents of "Start in:" so it is blank
In the "Target:" box replace with this line of code... copy and paste if you like?

Code: Select all

%comspec% /c cd /d "\PictureLoKiT"&&start "" \PictureLoKiT\PictureLoKiT.exe user="."
Now click Apply

Now you are ready to test it. Double click the shortcut and the Black box will breifly appear as windows works out relative path to the program is. Then the extra command user="." on the end tells PictureLoKiT to use the local folder from which it is run as the data storage folder.

Now should be able plug the USB device into any Windows machine and run PictureLoKiT on any windows machine without installing it :D

One last note: You can change were PictureLoKiT looks for its user data folder by setting the full path to the folder in the PictureLoKiT.exe user="f:\some\folder\somewhere" on the end of the Target line in the properties. This can also be used in a remote control scenario I will post later
Post Reply