King's Valley II ( Rc-760 )

Status: 100%
Notes: Completed
Thanks to: Dennis Pasveer


King's Valley II PassGen 0.4

     Level      Rest     
             




Decoding The Password
A Kv2 password uses 8 digits, The value of one digit can be ( 0 to 9 ) or ( A to P ).
In this example we use the password ( BBBB BBBB),
only the 'first 4' and the 6st digit are used to decode the password.

Now use Table1 (below) to convert the first 4 digits in to binairy numbers
B = 0001
B = 0001
B = 0001
B = 0001

Rotation
The 6Th digit is the rotation value , with this digit we will rotate the above binary numbers.
If the 6Th digit is a letter then use Table2 to convert it in to a decimal value.

Note...
Rotation is ALWAYS to the left.

Now we start rotating with 1 step to the left.
Before rotation 0001 0001 0001 0001 <- 1
After rotation   0010 0010 0010 0010

Stage Number
With the FIRST 2 binary numbers ( in Red ) we calculate the Stage number,
with the formular StageNr = Binary nuber1 x 16 + Binary number2
StageNr= 0010 x 16 + 0010

Use Table1 to convert the binary values in to decimal values.
StageNr= 2 x 16 + 2

Now calculate the stage number
StageNr = 32 +2 = 34 
StageNr = 34

Note...
The result of the stageNr must be 0> And <60 or els the password is wrong !!!

Rest Number
With the LAST 2 binary numbers ( in Green ) we calculate the Rest number,
with the formular RestNr = Binary nuber3 x 10 + Binary number4 - 1
RestNr = 0010 x 10 + 0010 -1

Note...
If Binary number3 > 9 then the RestNr must be reduced by 60 at the end of the calculation
In this example Binary number3 = 2 , so no reduction is needed
Use Table1 to convert the binary values in to decimal values.

Now calculate the rest number
RestNr = 20 + 2 -1
RestNr = 21

Note...
If Binary number3 was > 9in the NOTE above then reduce RestNr by 60 Now
If RestNr > 99 then reduce RestNr with 60
The result of the RestNr must be 0> < 100 or els the password is wrong !!!

In this example RestNr = 21 , so no reduction is needed

Now the calculation is completed, password BBBBBBBB = Stage 34 with 21 Lives...


Table1 Table2
A= 0000 = 0 A = 0
B= 0001 = 1 B = 1
C= 0010 = 2 C = 2
D= 0011 = 3 D = 3
E= 0100 = 4 E = 4
F= 0101 = 5 F = 5
G= 0110 = 6 G = 6
H= 0111 = 7   H = 7
I= 1000 = 8   I = 0
J= 1001 = 9 J = 1
K= 1010 = 10 K = 2
L= 1011 = 11 L = 3
M= 1100 = 12 M = 4
N= 1101 = 13   N = 5
O= 1110 = 14 O = 6
P= 1111 = 15 P = 7