All translations

From Treasure Adventure Game Wiki
Jump to navigationJump to search

Enter a message name below to show all available translations.

Message

Found 2 translations.

NameCurrent message text
 h English (en)# Read the length of the entry - in this example it would be 43.
# Read the key of the entry until you encounter a null byte - in this example: chest 20 coins1977102
# Read the string value of the entry until you encounter a null byte - in this example: Chest 20 coins1977102
# Read the next ''x'' bytes, where ''x = entry_length - (key_length + string_value_length)''. ''key_length'' and ''string_value_length'' are lengths of the strings above, without counting the null byte. The string contains the integer value in ASCII form. In this example, ''x = 43 - (21 + 21) = 1'', so we just read 1 character. This character is "1", so our number value is 1. 
# Repeat the process from step 1 until the end of the file
So, the first entry would translate to:
{| class="wikitable"
|+
!Key
!String value
!Integer value
|-
|chest 20 coins1977102
|Chest 20 coins1977102
|1
|}
The purpose of the string value is currently unknown, and it seems like if the string value is present, the ''key'' is always the ''string value'', but lowercase.
 h Polish (pl)# Odczytać długość wpisu - w tym przypadku jest to 43.
# Odczytać klucz wpisu, dopóki nie napotka się bajtu null - w tym przypadku: chest 20coins1977102
# Odczytać tesktową wartość, dopóki nie napotka się bajtu null - w tym przypadku Chest 20coins1977102
# Odczytać następne ''x'' bajtów, gdzie ''x = długość_wpisu - (długość_klucza + długość_wartości_tekstowej)''. ''długość_klucza'' i ''długość_wartości_tekstowej to długości poprzednich ciągów tekstowych, wyłączając bajt null. Ten ciąg tekstowy zawiera wartość liczbową całkowitą w formie ASCII. W tym przypadku, ''x = 43 - (21 + 21) = 1'', więc należy odczytać 1 znak. Ten znak to "1" więc wartość liczbowa wynosi 1.
# Powtórzyć proces od kroku 1 dopóki nie osiągniemy końca pliku
Więc, pierwszy wpis można przedstawić jako
{| class="wikitable"
|+
!Klucz
!Wartość tekstowa
!Wartość liczbowa całkowita
|-
|chest 20 coins1977102
|Chest 20 coins1977102
|1
|}
Przeznaczenie wartości tekstowej jest aktualnie nieznane, i wygląda na to, że jeśli wartość tekstowa jest obecna, ''klucz'' jest zawsze ''wartością tekstową'', ale zapisaną małymi literami.