This repository has been archived by the owner on Dec 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathtemplate.json
63 lines (52 loc) · 4.61 KB
/
template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"unknownKey": "[UNTRANSLATED TEXT]", // The return when a string does not have a proper translation for the message yet
// Page titles
"mainTitle": "Payload Guest", // The title on the main screen
"creditsTitle": "Credits", // The title on the credits screen
// Loading ticks
"loadingTick1": "Loading.", // Used when refreshing the payloads will used tick1, then 2, then 3, repeating
"loadingTick2": "Loading..", // Used when refreshing the payloads will used tick1, then 2, then 3, repeating
"loadingTick3": "Loading...", // Used when refreshing the payloads will used tick1, then 2, then 3, repeating
// Button Labels
"ok": "Ok", // The "Ok" button prompt to close errors
"select": "Select", // The "Select" button prompt to use on the main screen for the cross button
"refresh": "Refresh", // The "Refresh" button prompt to use on the main screen for the square button
"credits": "Credits", // The "Credits" button prompt to use on the main screen for the triangle button
"return": "Return", // The "Return" button prompt to use on the credits screen for the the circle button
// Page indicator
"pageIndicator": "Page %i / %i", // Used for page numbering... the first %i used will be the current page, the second %i will be the total number of pages... if you're language needs this reversed make it known
// Fatal Errors when starting the application
"errorFatal": "FATAL ERROR!", // Title of the fatal error screen
"errorCloseApplication": "Please close the Application.", // Notice for the user to close the application due to a fatal error
"errorLoadLibjbc": "Unable to load libjbc.prx", // Error if PRX file could not be loaded
"errorInitializeLibjbc": "Unable to initialize libjbc", // Error is functions from the PRX could not be initialized
"errorJailbreak": "Unable to jailbreak", // Error if jailbreaking failed
// General usage for error messages
"errorPathOutput": "Path: %s", // %s represents the path to the file with the error
"errorIndexOutput": "Index: #%zu", // %zu represents the index number of the metadata with an issue
"errorHexOutput": "Error: 0x%08x", // 0x%08x represents the hex value for the specific error
// Errors when parsing "meta.json"
"errorMetadata": "Metadata Error", // The "header" to get used for metadata errors
"errorMetadataRead": "Could not read `meta.json`", // If the meta.json file could not be opened/read
"errorMetadataMalformed": "Malformed `meta.json`", // If the meta.json file could not be parsed correctly
"errorMetadataMissingName": "Missing payload name", // If a meta entry does not have a "name" attribute
"errorMetadataMissingFilename": "Missing payload filename", // If a meta entry does not have a "filename" attribute
"errorMetadataNullName": "NULL payload name", // If a meta entry's "name" attribute is a NULL value
"errorMetadataMissingPayloadFile": "Unable to find payload", // If a meta entry's "filename" attribute file is not at the specified location
// Post parsing errors
"errorNoPayloads": "No payloads available :(", // The error displayed when there are no available payloads
// Errors when sending payloads
"errorSendPayloadOpen": "Unable to open payload", // If the "SendPayload" function fails to open the payload file
"errorSendPayloadBuffer": "Unable to allocate payload buffer", // If allocating the memory to store the payload fails
"errorSendPayloadRead": "Unable to read payload into buffer", // If reading the payload into the allocated memory fails
"errorSendPayloadCreateSocket": "Unable to create socket", // If creating the socket file descriptor fails
"errorSendPayloadConnect": "Unable to connect to server", // If trying to connect to the server fails (Likely no response)
"errorSendPayloadSend": "Unable to send payload", // If it can connect but sending the payload fails
// Errors when launching payloads
"errorShellcodeOpen": "Unable to open: %s", // Error when unable to open/read a payload file for launching, %s represents the path to the payload file that was attempted
"errorShellcodeMmap": "Unable to mmap payload", // Error when unable to mmap space
"errorShellcodeMprotect": "Unable to mprotect payload", // Error when unable to mprotect the mmap'd space
"errorShellcodeMunmap": "Failed to munmap payload", // Error when unable to munmap the mmap'd space
// Credits text
"creditsText": "" // The actual credits displayed on the credits page... this may just get baked into the code
}