Skip to content

Commit bb28f4a

Browse files
committed
Update for 19.0.0
1 parent 01f7968 commit bb28f4a

File tree

2 files changed

+180
-167
lines changed

2 files changed

+180
-167
lines changed

sys-botbase/source/main.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
#include <poll.h>
1616

1717
#define TITLE_ID 0x430000000000000B
18-
#define HEAP_SIZE 0x00400000
18+
#define HEAP_SIZE 0x00480000
1919
#define THREAD_SIZE 0x1A000
20+
#define VERSION_S "2.4"
2021

2122
typedef enum {
2223
Active = 0,
@@ -522,7 +523,7 @@ int argmain(int argc, char **argv)
522523
}
523524

524525
if(!strcmp(argv[0], "getVersion")){
525-
printf("2.31\n");
526+
printf("%s\n", VERSION_S);
526527
}
527528

528529
// follow pointers and print absolute offset (little endian, flip it yourself if required)

sys-botbase/sys-botbase.json

+177-165
Original file line numberDiff line numberDiff line change
@@ -1,174 +1,186 @@
11
{
22
"name": "sys-botbase",
3-
"title_id": "0x430000000000000B",
4-
"title_id_range_min": "0x430000000000000B",
5-
"title_id_range_max": "0x430000000000000B",
6-
"main_thread_stack_size": "0x00024000",
7-
"main_thread_priority": 49,
8-
"default_cpu_id": 3,
9-
"process_category": 0,
10-
"is_retail": true,
11-
"pool_partition": 2,
12-
"is_64_bit": true,
13-
"address_space_type": 3,
3+
"program_id": "0x430000000000000B",
4+
"program_id_range_min": "0x430000000000000B",
5+
"program_id_range_max": "0x430000000000000B",
6+
"version": "0",
7+
"optimize_memory_allocation": false,
8+
"enable_alias_region_extra_size": false,
9+
"prevent_code_reads": false,
10+
"signature_key_generation": 0,
11+
"main_thread_stack_size": "0x00024000",
12+
"main_thread_priority": 42,
13+
"default_cpu_id": 3,
14+
"process_category" : 0,
15+
"is_retail": true,
16+
"pool_partition": 2,
17+
"is_64_bit": true,
18+
"address_space_type": 3,
1419
"system_resource_size": "0",
1520
"disable_device_address_space_merge": true,
16-
"filesystem_access": {
17-
"permissions": "0xffffffffffffffff"
21+
"filesystem_access": {
22+
"permissions": "0xffffffffffffffff"
1823
},
19-
"service_access": ["*"],
20-
"service_host": ["*"],
21-
"kernel_capabilities": [{
22-
"type": "kernel_flags",
23-
"value": {
24-
"highest_thread_priority": 63,
25-
"lowest_thread_priority": 24,
26-
"lowest_cpu_id": 3,
27-
"highest_cpu_id": 3
24+
"service_access": [ "*" ],
25+
"service_host": [ "*" ],
26+
"kernel_capabilities": [
27+
{
28+
"type": "kernel_flags",
29+
"value": {
30+
"highest_thread_priority": 63,
31+
"lowest_thread_priority": 24,
32+
"lowest_cpu_id": 3,
33+
"highest_cpu_id": 3
2834
}
29-
}, {
30-
"type": "syscalls",
31-
"value": {
32-
"svcUnknown": "0x00",
33-
"svcSetHeapSize": "0x01",
34-
"svcSetMemoryPermission": "0x02",
35-
"svcSetMemoryAttribute": "0x03",
36-
"svcMapMemory": "0x04",
37-
"svcUnmapMemory": "0x05",
38-
"svcQueryMemory": "0x06",
39-
"svcExitProcess": "0x07",
40-
"svcCreateThread": "0x08",
41-
"svcStartThread": "0x09",
42-
"svcExitThread": "0x0a",
43-
"svcSleepThread": "0x0b",
44-
"svcGetThreadPriority": "0x0c",
45-
"svcSetThreadPriority": "0x0d",
46-
"svcGetThreadCoreMask": "0x0e",
47-
"svcSetThreadCoreMask": "0x0f",
48-
"svcGetCurrentProcessorNumber": "0x10",
49-
"svcSignalEvent": "0x11",
50-
"svcClearEvent": "0x12",
51-
"svcMapSharedMemory": "0x13",
52-
"svcUnmapSharedMemory": "0x14",
53-
"svcCreateTransferMemory": "0x15",
54-
"svcCloseHandle": "0x16",
55-
"svcResetSignal": "0x17",
56-
"svcWaitSynchronization": "0x18",
57-
"svcCancelSynchronization": "0x19",
58-
"svcArbitrateLock": "0x1a",
59-
"svcArbitrateUnlock": "0x1b",
60-
"svcWaitProcessWideKeyAtomic": "0x1c",
61-
"svcSignalProcessWideKey": "0x1d",
62-
"svcGetSystemTick": "0x1e",
63-
"svcConnectToNamedPort": "0x1f",
64-
"svcSendSyncRequestLight": "0x20",
65-
"svcSendSyncRequest": "0x21",
66-
"svcSendSyncRequestWithUserBuffer": "0x22",
67-
"svcSendAsyncRequestWithUserBuffer": "0x23",
68-
"svcGetProcessId": "0x24",
69-
"svcGetThreadId": "0x25",
70-
"svcBreak": "0x26",
71-
"svcOutputDebugString": "0x27",
72-
"svcReturnFromException": "0x28",
73-
"svcGetInfo": "0x29",
74-
"svcFlushEntireDataCache": "0x2a",
75-
"svcFlushDataCache": "0x2b",
76-
"svcMapPhysicalMemory": "0x2c",
77-
"svcUnmapPhysicalMemory": "0x2d",
78-
"svcGetFutureThreadInfo": "0x2e",
79-
"svcGetLastThreadInfo": "0x2f",
80-
"svcGetResourceLimitLimitValue": "0x30",
81-
"svcGetResourceLimitCurrentValue": "0x31",
82-
"svcSetThreadActivity": "0x32",
83-
"svcGetThreadContext3": "0x33",
84-
"svcWaitForAddress": "0x34",
85-
"svcSignalToAddress": "0x35",
86-
"svcUnknown": "0x36",
87-
"svcUnknown": "0x37",
88-
"svcUnknown": "0x38",
89-
"svcUnknown": "0x39",
90-
"svcUnknown": "0x3a",
91-
"svcUnknown": "0x3b",
92-
"svcDumpInfo": "0x3c",
93-
"svcDumpInfoNew": "0x3d",
94-
"svcUnknown": "0x3e",
95-
"svcUnknown": "0x3f",
96-
"svcCreateSession": "0x40",
97-
"svcAcceptSession": "0x41",
98-
"svcReplyAndReceiveLight": "0x42",
99-
"svcReplyAndReceive": "0x43",
100-
"svcReplyAndReceiveWithUserBuffer": "0x44",
101-
"svcCreateEvent": "0x45",
102-
"svcUnknown": "0x46",
103-
"svcUnknown": "0x47",
104-
"svcMapPhysicalMemoryUnsafe": "0x48",
105-
"svcUnmapPhysicalMemoryUnsafe": "0x49",
106-
"svcSetUnsafeLimit": "0x4a",
107-
"svcCreateCodeMemory": "0x4b",
108-
"svcControlCodeMemory": "0x4c",
109-
"svcSleepSystem": "0x4d",
110-
"svcReadWriteRegister": "0x4e",
111-
"svcSetProcessActivity": "0x4f",
112-
"svcCreateSharedMemory": "0x50",
113-
"svcMapTransferMemory": "0x51",
114-
"svcUnmapTransferMemory": "0x52",
115-
"svcCreateInterruptEvent": "0x53",
116-
"svcQueryPhysicalAddress": "0x54",
117-
"svcQueryIoMapping": "0x55",
118-
"svcCreateDeviceAddressSpace": "0x56",
119-
"svcAttachDeviceAddressSpace": "0x57",
120-
"svcDetachDeviceAddressSpace": "0x58",
121-
"svcMapDeviceAddressSpaceByForce": "0x59",
122-
"svcMapDeviceAddressSpaceAligned": "0x5a",
123-
"svcMapDeviceAddressSpace": "0x5b",
124-
"svcUnmapDeviceAddressSpace": "0x5c",
125-
"svcInvalidateProcessDataCache": "0x5d",
126-
"svcStoreProcessDataCache": "0x5e",
127-
"svcFlushProcessDataCache": "0x5f",
128-
"svcDebugActiveProcess": "0x60",
129-
"svcBreakDebugProcess": "0x61",
130-
"svcTerminateDebugProcess": "0x62",
131-
"svcGetDebugEvent": "0x63",
132-
"svcContinueDebugEvent": "0x64",
133-
"svcGetProcessList": "0x65",
134-
"svcGetThreadList": "0x66",
135-
"svcGetDebugThreadContext": "0x67",
136-
"svcSetDebugThreadContext": "0x68",
137-
"svcQueryDebugProcessMemory": "0x69",
138-
"svcReadDebugProcessMemory": "0x6a",
139-
"svcWriteDebugProcessMemory": "0x6b",
140-
"svcSetHardwareBreakPoint": "0x6c",
141-
"svcGetDebugThreadParam": "0x6d",
142-
"svcUnknown": "0x6e",
143-
"svcGetSystemInfo": "0x6f",
144-
"svcCreatePort": "0x70",
145-
"svcManageNamedPort": "0x71",
146-
"svcConnectToPort": "0x72",
147-
"svcSetProcessMemoryPermission": "0x73",
148-
"svcMapProcessMemory": "0x74",
149-
"svcUnmapProcessMemory": "0x75",
150-
"svcQueryProcessMemory": "0x76",
151-
"svcMapProcessCodeMemory": "0x77",
152-
"svcUnmapProcessCodeMemory": "0x78",
153-
"svcCreateProcess": "0x79",
154-
"svcStartProcess": "0x7a",
155-
"svcTerminateProcess": "0x7b",
156-
"svcGetProcessInfo": "0x7c",
157-
"svcCreateResourceLimit": "0x7d",
158-
"svcSetResourceLimitLimitValue": "0x7e",
159-
"svcCallSecureMonitor": "0x7f"
35+
},
36+
{
37+
"type": "syscalls",
38+
"value": {
39+
"svcUnknown": "0x00",
40+
"svcSetHeapSize": "0x01",
41+
"svcSetMemoryPermission": "0x02",
42+
"svcSetMemoryAttribute": "0x03",
43+
"svcMapMemory": "0x04",
44+
"svcUnmapMemory": "0x05",
45+
"svcQueryMemory": "0x06",
46+
"svcExitProcess": "0x07",
47+
"svcCreateThread": "0x08",
48+
"svcStartThread": "0x09",
49+
"svcExitThread": "0x0a",
50+
"svcSleepThread": "0x0b",
51+
"svcGetThreadPriority": "0x0c",
52+
"svcSetThreadPriority": "0x0d",
53+
"svcGetThreadCoreMask": "0x0e",
54+
"svcSetThreadCoreMask": "0x0f",
55+
"svcGetCurrentProcessorNumber": "0x10",
56+
"svcSignalEvent": "0x11",
57+
"svcClearEvent": "0x12",
58+
"svcMapSharedMemory": "0x13",
59+
"svcUnmapSharedMemory": "0x14",
60+
"svcCreateTransferMemory": "0x15",
61+
"svcCloseHandle": "0x16",
62+
"svcResetSignal": "0x17",
63+
"svcWaitSynchronization": "0x18",
64+
"svcCancelSynchronization": "0x19",
65+
"svcArbitrateLock": "0x1a",
66+
"svcArbitrateUnlock": "0x1b",
67+
"svcWaitProcessWideKeyAtomic": "0x1c",
68+
"svcSignalProcessWideKey": "0x1d",
69+
"svcGetSystemTick": "0x1e",
70+
"svcConnectToNamedPort": "0x1f",
71+
"svcSendSyncRequestLight": "0x20",
72+
"svcSendSyncRequest": "0x21",
73+
"svcSendSyncRequestWithUserBuffer": "0x22",
74+
"svcSendAsyncRequestWithUserBuffer": "0x23",
75+
"svcGetProcessId": "0x24",
76+
"svcGetThreadId": "0x25",
77+
"svcBreak": "0x26",
78+
"svcOutputDebugString": "0x27",
79+
"svcReturnFromException": "0x28",
80+
"svcGetInfo": "0x29",
81+
"svcFlushEntireDataCache": "0x2a",
82+
"svcFlushDataCache": "0x2b",
83+
"svcMapPhysicalMemory": "0x2c",
84+
"svcUnmapPhysicalMemory": "0x2d",
85+
"svcGetFutureThreadInfo": "0x2e",
86+
"svcGetLastThreadInfo": "0x2f",
87+
"svcGetResourceLimitLimitValue": "0x30",
88+
"svcGetResourceLimitCurrentValue": "0x31",
89+
"svcSetThreadActivity": "0x32",
90+
"svcGetThreadContext3": "0x33",
91+
"svcWaitForAddress": "0x34",
92+
"svcSignalToAddress": "0x35",
93+
"svcUnknown": "0x36",
94+
"svcUnknown": "0x37",
95+
"svcUnknown": "0x38",
96+
"svcUnknown": "0x39",
97+
"svcUnknown": "0x3a",
98+
"svcUnknown": "0x3b",
99+
"svcDumpInfo": "0x3c",
100+
"svcDumpInfoNew": "0x3d",
101+
"svcUnknown": "0x3e",
102+
"svcUnknown": "0x3f",
103+
"svcCreateSession": "0x40",
104+
"svcAcceptSession": "0x41",
105+
"svcReplyAndReceiveLight": "0x42",
106+
"svcReplyAndReceive": "0x43",
107+
"svcReplyAndReceiveWithUserBuffer": "0x44",
108+
"svcCreateEvent": "0x45",
109+
"svcUnknown": "0x46",
110+
"svcUnknown": "0x47",
111+
"svcMapPhysicalMemoryUnsafe": "0x48",
112+
"svcUnmapPhysicalMemoryUnsafe": "0x49",
113+
"svcSetUnsafeLimit": "0x4a",
114+
"svcCreateCodeMemory": "0x4b",
115+
"svcControlCodeMemory": "0x4c",
116+
"svcSleepSystem": "0x4d",
117+
"svcReadWriteRegister": "0x4e",
118+
"svcSetProcessActivity": "0x4f",
119+
"svcCreateSharedMemory": "0x50",
120+
"svcMapTransferMemory": "0x51",
121+
"svcUnmapTransferMemory": "0x52",
122+
"svcCreateInterruptEvent": "0x53",
123+
"svcQueryPhysicalAddress": "0x54",
124+
"svcQueryIoMapping": "0x55",
125+
"svcCreateDeviceAddressSpace": "0x56",
126+
"svcAttachDeviceAddressSpace": "0x57",
127+
"svcDetachDeviceAddressSpace": "0x58",
128+
"svcMapDeviceAddressSpaceByForce": "0x59",
129+
"svcMapDeviceAddressSpaceAligned": "0x5a",
130+
"svcMapDeviceAddressSpace": "0x5b",
131+
"svcUnmapDeviceAddressSpace": "0x5c",
132+
"svcInvalidateProcessDataCache": "0x5d",
133+
"svcStoreProcessDataCache": "0x5e",
134+
"svcFlushProcessDataCache": "0x5f",
135+
"svcDebugActiveProcess": "0x60",
136+
"svcBreakDebugProcess": "0x61",
137+
"svcTerminateDebugProcess": "0x62",
138+
"svcGetDebugEvent": "0x63",
139+
"svcContinueDebugEvent": "0x64",
140+
"svcGetProcessList": "0x65",
141+
"svcGetThreadList": "0x66",
142+
"svcGetDebugThreadContext": "0x67",
143+
"svcSetDebugThreadContext": "0x68",
144+
"svcQueryDebugProcessMemory": "0x69",
145+
"svcReadDebugProcessMemory": "0x6a",
146+
"svcWriteDebugProcessMemory": "0x6b",
147+
"svcSetHardwareBreakPoint": "0x6c",
148+
"svcGetDebugThreadParam": "0x6d",
149+
"svcUnknown": "0x6e",
150+
"svcGetSystemInfo": "0x6f",
151+
"svcCreatePort": "0x70",
152+
"svcManageNamedPort": "0x71",
153+
"svcConnectToPort": "0x72",
154+
"svcSetProcessMemoryPermission": "0x73",
155+
"svcMapProcessMemory": "0x74",
156+
"svcUnmapProcessMemory": "0x75",
157+
"svcQueryProcessMemory": "0x76",
158+
"svcMapProcessCodeMemory": "0x77",
159+
"svcUnmapProcessCodeMemory": "0x78",
160+
"svcCreateProcess": "0x79",
161+
"svcStartProcess": "0x7a",
162+
"svcTerminateProcess": "0x7b",
163+
"svcGetProcessInfo": "0x7c",
164+
"svcCreateResourceLimit": "0x7d",
165+
"svcSetResourceLimitLimitValue": "0x7e",
166+
"svcCallSecureMonitor": "0x7f"
160167
}
161-
}, {
162-
"type": "min_kernel_version",
163-
"value": "0x0060"
164-
}, {
165-
"type": "handle_table_size",
166-
"value": 1023
167-
}, {
168-
"type": "debug_flags",
169-
"value": {
170-
"allow_debug": false,
171-
"force_debug": true
168+
},
169+
{
170+
"type": "min_kernel_version",
171+
"value": "0x0060"
172+
},
173+
{
174+
"type": "handle_table_size",
175+
"value": 1023
176+
},
177+
{
178+
"type": "debug_flags",
179+
"value": {
180+
"allow_debug": false,
181+
"force_debug": true,
182+
"force_debug_prod": false
172183
}
173-
}]
184+
}
185+
]
174186
}

0 commit comments

Comments
 (0)