forked from Al-Azif/ps4-payload-guest-languages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.json
53 lines (44 loc) · 3.75 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
{
// 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 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
}