Quote:
Originally Posted by thisguyinoc
I started working on the 4th side of the Vista cube last night. It's coming along pretty good. Hopefully I'll be able to release it in a few days.
|
After the Vista Cube 6 Sided CAB File (soon to be released) is installed these are the registry entries that need to be added and deleted to change the number of sides to the cube.
Here's the reg entry to perform a if exists on to decide if your program should give the user the option to change the number of sides.
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Biotouch]
"VistaCube6install"=dword:00000001
To make a 3 Sided Cube
*******Add/Modify these********
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Biotouch]
"TotalCubes"=dword:00000003
"Cube1"=hex:\
07,01,02,03,04,05,06,07,0A,C8,C9,CA,CB,19,1A,1B,1C ,1D,01
"Cube2"=hex:\
07,07,08,09,0A,0B,0C,0D,0A,C8,C9,CA,CB,1E,1F,20,21 ,22,07
"Cube3"=hex:\
07,13,14,15,16,17,18,01,0A,C8,C9,CA,CB,23,24,25,26 ,27,13
*********Delete these***********
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Biotouch]
"App4"
"App5"
"App6"
"Cube4"
"Cube5"
"Cube6"
To make a 4 sided Cube
*******Add/Modify these********
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Biotouch]
"App4"="APLauncher \Windows\APLauncher2.exe"
"TotalCubes"=dword:00000004
"Cube1"=hex:\
07,01,02,03,04,05,06,07,0A,C8,C9,CA,CB,19,1A,1B,1C ,1D,01
"Cube2"=hex:\
07,07,08,09,0A,0B,0C,0D,0A,C8,C9,CA,CB,1E,1F,20,21 ,22,07
"Cube3"=hex:\
07,0D,0E,0F,10,11,12,13,0A,C8,C9,CA,CB,23,24,25,26 ,27,0D
"Cube4"=hex:\
07,13,14,15,16,17,18,01,0A,C8,C9,CA,CB,28,29,2A,2B ,2C,13
*********Delete these***********
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Biotouch]
"App5"
"App6"
"Cube5"
"Cube6"
To make a 5 sided Cube
*******Add/Modify these********
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Biotouch]
"App4"="APLauncher \Windows\APLauncher2.exe"
"App5"="APLauncher \Windows\APLauncher3.exe"
"TotalCubes"=dword:00000005
"Cube1"=hex:\
07,01,02,03,04,05,06,07,0A,C8,C9,CA,CB,19,1A,1B,1C ,1D,01
"Cube2"=hex:\
07,07,08,09,0A,0B,0C,0D,0A,C8,C9,CA,CB,1E,1F,20,21 ,22,07
"Cube3"=hex:\
07,0D,0E,0F,10,11,12,13,0A,C8,C9,CA,CB,23,24,25,26 ,27,0D
"Cube4"=hex:\
07,13,14,15,16,17,18,13,0A,C8,C9,CA,CB,28,29,2A,2B ,2C,13
"Cube5"=hex:\
07,13,14,15,16,17,18,01,0A,C8,C9,CA,CB,28,29,2A,2B ,2C,13
*********Delete these***********
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Biotouch]
"App6"
"Cube6"
To make a 6 sided Cube
*******Add/Modify these********
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Biotouch]
"App4"="APLauncher \Windows\APLauncher2.exe"
"App5"="APLauncher \Windows\APLauncher3.exe"
"App6"="APLauncher \Windows\APLauncher4.exe"
"TotalCubes"=dword:00000006
"Cube1"=hex:\
07,01,02,03,04,05,06,07,0A,C8,C9,CA,CB,19,1A,1B,1C ,1D,01
"Cube2"=hex:\
07,07,08,09,0A,0B,0C,0D,0A,C8,C9,CA,CB,1E,1F,20,21 ,22,07
"Cube3"=hex:\
07,0D,0E,0F,10,11,12,13,0A,C8,C9,CA,CB,23,24,25,26 ,27,0D
"Cube4"=hex:\
07,13,14,15,16,17,18,13,0A,C8,C9,CA,CB,28,29,2A,2B ,2C,13
"Cube5"=hex:\
07,13,14,15,16,17,18,13,0A,C8,C9,CA,CB,28,29,2A,2B ,2C,13
"Cube6"=hex:\
07,13,14,15,16,17,18,01,0A,C8,C9,CA,CB,28,29,2A,2B ,2C,13
*********Delete these***********
nothing to delete
I would suggest you make a swtch in you program for each setup and always add and delete reg entries when the number of sides is changed even if you don't need to. using a try catch on the deletes should work, so then if they're not there you don't throw an exception.
-Polen