all repos — mgba @ d746cb16d6350c587a4bca70e80be6aaae8c659b

mGBA Game Boy Advance Emulator

src/platform/3ds/cia.rsf.in (view raw)

  1BasicInfo:
  2  Title                   : "${PROJECT_NAME}"
  3  ProductCode             : "CTR-P-MGBA"
  4  Logo                    : Homebrew # Nintendo / Licensed / Distributed / iQue / iQueForSystem / Homebrew
  5
  6#RomFs:
  7  # Specifies the root path of the read only file system to include in the ROM.
  8  #RootPath                : romfs
  9
 10TitleInfo:
 11  Category                : Application
 12  UniqueId                : 0x1A1E
 13
 14Option:
 15  UseOnSD                 : true # true if App is to be installed to SD
 16  FreeProductCode         : true # Removes limitations on ProductCode
 17  MediaFootPadding        : false # If true CCI files are created with padding
 18  EnableCrypt             : false # Enables encryption for NCCH and CIA
 19  EnableCompress          : true # Compresses where applicable (currently only exefs:/.code)
 20
 21AccessControlInfo:
 22  CoreVersion                   : 2
 23
 24  # Exheader Format Version
 25  DescVersion                   : 2
 26
 27  # Minimum Required Kernel Version (below is for 4.5.0)
 28  ReleaseKernelMajor            : "02"
 29  ReleaseKernelMinor            : "33" 
 30
 31  # ExtData
 32  UseExtSaveData                : false # enables ExtData       
 33  #ExtSaveDataId                : 0x300 # only set this when the ID is different to the UniqueId
 34
 35  # FS:USER Archive Access Permissions
 36  # Uncomment as required
 37  FileSystemAccess:
 38   #- CategorySystemApplication
 39   #- CategoryHardwareCheck
 40   #- CategoryFileSystemTool
 41   #- Debug
 42   #- TwlCardBackup
 43   #- TwlNandData
 44   #- Boss
 45   - DirectSdmc
 46   #- Core
 47   #- CtrNandRo
 48   #- CtrNandRw
 49   #- CtrNandRoWrite
 50   #- CategorySystemSettings
 51   #- CardBoard
 52   #- ExportImportIvs
 53   #- DirectSdmcWrite
 54   #- SwitchCleanup
 55   #- SaveDataMove
 56   #- Shop
 57   #- Shell
 58   #- CategoryHomeMenu
 59
 60  # Process Settings
 61  MemoryType                    : Application # Application/System/Base
 62  SystemMode                    : 64MB # 64MB(Default)/96MB/80MB/72MB/32MB
 63  IdealProcessor                : 0
 64  AffinityMask                  : 1
 65  Priority                      : 16
 66  MaxCpu                        : 0 # Let system decide
 67  HandleTableSize               : 0x200
 68  DisableDebug                  : true
 69  EnableForceDebug              : false
 70  CanWriteSharedPage            : false
 71  CanUsePrivilegedPriority      : false
 72  CanUseNonAlphabetAndNumber    : false
 73  PermitMainFunctionArgument    : true
 74  CanShareDeviceMemory          : false
 75  RunnableOnSleep               : false
 76  SpecialMemoryArrange          : false
 77
 78  # New3DS Exclusive Process Settings
 79  SystemModeExt                 : 124MB # Legacy(Default)/124MB/178MB  Legacy:Use Old3DS SystemMode
 80  CpuSpeed                      : 804MHz # 268MHz(Default)/804MHz
 81  EnableL2Cache                 : true # false(default)/true
 82  CanAccessCore2                : true
 83
 84  # Virtual Address Mappings
 85  IORegisterMapping:
 86   - 1ff00000-1ff7ffff   # DSP memory
 87  MemoryMapping: 
 88   - 1f000000-1f5fffff:r # VRAM
 89
 90  # Accessible SVCs, <Name>:<ID>
 91  SystemCallAccess: 
 92    ArbitrateAddress: 34
 93    Break: 60
 94    CancelTimer: 28
 95    ClearEvent: 25
 96    ClearTimer: 29
 97    CloseHandle: 35
 98    ConnectToPort: 45
 99    ControlMemory: 1
100    CreateAddressArbiter: 33
101    CreateEvent: 23
102    CreateMemoryBlock: 30
103    CreateMutex: 19
104    CreateSemaphore: 21
105    CreateThread: 8
106    CreateTimer: 26
107    DuplicateHandle: 39
108    ExitProcess: 3
109    ExitThread: 9
110    GetCurrentProcessorNumber: 17
111    GetHandleInfo: 41
112    GetProcessId: 53
113    GetProcessIdOfThread: 54
114    GetProcessIdealProcessor: 6
115    GetProcessInfo: 43
116    GetResourceLimit: 56
117    GetResourceLimitCurrentValues: 58
118    GetResourceLimitLimitValues: 57
119    GetSystemInfo: 42
120    GetSystemTick: 40
121    GetThreadContext: 59
122    GetThreadId: 55
123    GetThreadIdealProcessor: 15
124    GetThreadInfo: 44
125    GetThreadPriority: 11
126    MapMemoryBlock: 31
127    OutputDebugString: 61
128    QueryMemory: 2
129    ReleaseMutex: 20
130    ReleaseSemaphore: 22
131    SendSyncRequest1: 46
132    SendSyncRequest2: 47
133    SendSyncRequest3: 48
134    SendSyncRequest4: 49
135    SendSyncRequest: 50
136    SetThreadPriority: 12
137    SetTimer: 27
138    SignalEvent: 24
139    SleepThread: 10
140    UnmapMemoryBlock: 32
141    WaitSynchronization1: 36
142    WaitSynchronizationN: 37
143    ControlProcessMemory: 112
144
145  # Service List
146  # Maximum 34 services (32 if firmware is prior to 9.3.0)
147  ServiceAccessControl:
148   - APT:U
149   - $hioFIO
150   - $hostio0
151   - $hostio1
152   - ac:u
153   - boss:U
154   - cam:u
155   - cecd:u
156   - cfg:u
157   - dlp:FKCL
158   - dlp:SRVR
159   - dsp::DSP
160   - frd:u
161   - fs:USER
162   - gsp::Gpu
163   - hid:USER
164   - http:C
165   - mic:u
166   - ndm:u
167   - news:u
168   - nwm::UDS
169   - ptm:u
170   - pxi:dev
171   - soc:U
172   - ssl:C
173   - y2r:u
174   - ldr:ro
175   - ir:USER
176   - ir:u
177
178
179SystemControlInfo:
180  SaveDataSize: 0K
181  RemasterVersion: 0
182  StackSize: 0x40000
183
184  # Modules that run services listed above should be included below
185  # Maximum 48 dependencies
186  # If a module is listed that isn't present on the 3DS, the title will get stuck at the logo (3ds waves)
187  # So act, nfc and qtm are commented for 4.x support. Uncomment if you need these.
188  # <module name>:<module titleid>
189  Dependency: 
190    ac: 0x0004013000002402L
191    am: 0x0004013000001502L
192    boss: 0x0004013000003402L
193    camera: 0x0004013000001602L
194    cecd: 0x0004013000002602L
195    cfg: 0x0004013000001702L
196    codec: 0x0004013000001802L
197    dlp: 0x0004013000002802L
198    dsp: 0x0004013000001a02L
199    friends: 0x0004013000003202L
200    gpio: 0x0004013000001b02L
201    gsp: 0x0004013000001c02L
202    hid: 0x0004013000001d02L
203    http: 0x0004013000002902L
204    i2c: 0x0004013000001e02L
205    ir: 0x0004013000003302L
206    mcu: 0x0004013000001f02L
207    mic: 0x0004013000002002L
208    ndm: 0x0004013000002b02L
209    news: 0x0004013000003502L
210    nim: 0x0004013000002c02L
211    nwm: 0x0004013000002d02L
212    pdn: 0x0004013000002102L
213    ps: 0x0004013000003102L
214    ptm: 0x0004013000002202L
215    ro: 0x0004013000003702L
216    socket: 0x0004013000002e02L
217    spi: 0x0004013000002302L
218    ssl: 0x0004013000002f02L