forked from usineur/opentitus
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial 3DS port / Included updated makefile / moktar / romfs
- Loading branch information
Showing
67 changed files
with
30,827 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
build | ||
opentitus | ||
*.o | ||
moktar/*.SQZ | ||
titus/*.SQZ | ||
3ds/makerom |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,219 @@ | ||
BasicInfo: | ||
Title : $(APP_TITLE) | ||
ProductCode : $(APP_PRODUCT_CODE) | ||
Logo : Nintendo # Nintendo / Licensed / Distributed / iQue / iQueForSystem | ||
|
||
#RomFs: | ||
# Specifies the root path of the read only file system to include in the ROM. | ||
#RootPath : $(APP_ROMFS) | ||
|
||
TitleInfo: | ||
Category : Application | ||
UniqueId : $(APP_UNIQUE_ID) | ||
|
||
Option: | ||
UseOnSD : true # true if App is to be installed to SD | ||
FreeProductCode : true # Removes limitations on ProductCode | ||
MediaFootPadding : false # If true CCI files are created with padding | ||
EnableCrypt : $(APP_ENCRYPTED) # Enables encryption for NCCH and CIA | ||
EnableCompress : true # Compresses where applicable (currently only exefs:/.code) | ||
|
||
AccessControlInfo: | ||
CoreVersion : 2 | ||
|
||
# Exheader Format Version | ||
DescVersion : 2 | ||
|
||
# Minimum Required Kernel Version (below is for 4.5.0) | ||
ReleaseKernelMajor : "02" | ||
ReleaseKernelMinor : "33" | ||
|
||
# ExtData | ||
UseExtSaveData : false # enables ExtData | ||
#ExtSaveDataId : 0x300 # only set this when the ID is different to the UniqueId | ||
|
||
# FS:USER Archive Access Permissions | ||
# Uncomment as required | ||
FileSystemAccess: | ||
#- CategorySystemApplication | ||
#- CategoryHardwareCheck | ||
- CategoryFileSystemTool | ||
#- Debug | ||
#- TwlCardBackup | ||
#- TwlNandData | ||
#- Boss | ||
- DirectSdmc | ||
#- Core | ||
#- CtrNandRo | ||
#- CtrNandRw | ||
#- CtrNandRoWrite | ||
#- CategorySystemSettings | ||
#- CardBoard | ||
#- ExportImportIvs | ||
#- DirectSdmcWrite | ||
#- SwitchCleanup | ||
#- SaveDataMove | ||
#- Shop | ||
#- Shell | ||
#- CategoryHomeMenu | ||
|
||
# Process Settings | ||
MemoryType : Application # Application/System/Base | ||
SystemMode : $(APP_SYSTEM_MODE) # 64MB(Default)/96MB/80MB/72MB/32MB | ||
IdealProcessor : 0 | ||
AffinityMask : 1 | ||
Priority : 16 | ||
MaxCpu : 0x9E # Default | ||
HandleTableSize : 0x200 | ||
DisableDebug : false | ||
EnableForceDebug : false | ||
CanWriteSharedPage : true | ||
CanUsePrivilegedPriority : false | ||
CanUseNonAlphabetAndNumber : true | ||
PermitMainFunctionArgument : true | ||
CanShareDeviceMemory : true | ||
RunnableOnSleep : false | ||
SpecialMemoryArrange : true | ||
|
||
# New3DS Exclusive Process Settings | ||
SystemModeExt : $(APP_SYSTEM_MODE_EXT) # Legacy(Default)/124MB/178MB Legacy:Use Old3DS SystemMode | ||
CpuSpeed : 804MHz # 256MHz(Default)/804MHz | ||
EnableL2Cache : true # false(default)/true | ||
CanAccessCore2 : true | ||
|
||
# Virtual Address Mappings | ||
IORegisterMapping: | ||
- 1ff00000-1ff7ffff # DSP memory | ||
MemoryMapping: | ||
- 1f000000-1f5fffff:r # VRAM | ||
|
||
# Accessible SVCs, <Name>:<ID> | ||
SystemCallAccess: | ||
ArbitrateAddress: 34 | ||
Backdoor: 123 | ||
Break: 60 | ||
CancelTimer: 28 | ||
ClearEvent: 25 | ||
ClearTimer: 29 | ||
CloseHandle: 35 | ||
ConnectToPort: 45 | ||
ControlMemory: 1 | ||
ControlProcessMemory: 112 | ||
CreateAddressArbiter: 33 | ||
CreateEvent: 23 | ||
CreateMemoryBlock: 30 | ||
CreateMutex: 19 | ||
CreateSemaphore: 21 | ||
CreateThread: 8 | ||
CreateTimer: 26 | ||
DuplicateHandle: 39 | ||
ExitProcess: 3 | ||
ExitThread: 9 | ||
GetCurrentProcessorNumber: 17 | ||
GetHandleInfo: 41 | ||
GetProcessId: 53 | ||
GetProcessIdOfThread: 54 | ||
GetProcessIdealProcessor: 6 | ||
GetProcessInfo: 43 | ||
GetResourceLimit: 56 | ||
GetResourceLimitCurrentValues: 58 | ||
GetResourceLimitLimitValues: 57 | ||
GetSystemInfo: 42 | ||
GetSystemTick: 40 | ||
GetThreadContext: 59 | ||
GetThreadId: 55 | ||
GetThreadIdealProcessor: 15 | ||
GetThreadInfo: 44 | ||
GetThreadPriority: 11 | ||
MapMemoryBlock: 31 | ||
OutputDebugString: 61 | ||
QueryMemory: 2 | ||
ReleaseMutex: 20 | ||
ReleaseSemaphore: 22 | ||
SendSyncRequest1: 46 | ||
SendSyncRequest2: 47 | ||
SendSyncRequest3: 48 | ||
SendSyncRequest4: 49 | ||
SendSyncRequest: 50 | ||
SetThreadPriority: 12 | ||
SetTimer: 27 | ||
SignalEvent: 24 | ||
SleepThread: 10 | ||
UnmapMemoryBlock: 32 | ||
WaitSynchronization1: 36 | ||
WaitSynchronizationN: 37 | ||
|
||
# Service List | ||
# Maximum 34 services (32 if firmware is prior to 9.6.0) | ||
ServiceAccessControl: | ||
- APT:U | ||
- ac:u | ||
- am:net | ||
- boss:U | ||
- cam:u | ||
- cecd:u | ||
- cfg:nor | ||
- cfg:u | ||
- csnd:SND | ||
- dsp::DSP | ||
- frd:u | ||
- fs:USER | ||
- gsp::Gpu | ||
- hid:USER | ||
- http:C | ||
- ir:rst | ||
- ir:u | ||
- ir:USER | ||
- mic:u | ||
- ndm:u | ||
- news:u | ||
- nwm::UDS | ||
- ptm:u | ||
- pxi:dev | ||
- soc:U | ||
- ssl:C | ||
- y2r:u | ||
|
||
|
||
SystemControlInfo: | ||
SaveDataSize: 0KB # Change if the app uses savedata | ||
RemasterVersion: 2 | ||
StackSize: 0x40000 | ||
|
||
# Modules that run services listed above should be included below | ||
# Maximum 48 dependencies | ||
# <module name>:<module titleid> | ||
Dependency: | ||
ac: 0x0004013000002402 | ||
act: 0x0004013000003802 | ||
am: 0x0004013000001502 | ||
boss: 0x0004013000003402 | ||
camera: 0x0004013000001602 | ||
cecd: 0x0004013000002602 | ||
cfg: 0x0004013000001702 | ||
codec: 0x0004013000001802 | ||
csnd: 0x0004013000002702 | ||
dlp: 0x0004013000002802 | ||
dsp: 0x0004013000001a02 | ||
friends: 0x0004013000003202 | ||
gpio: 0x0004013000001b02 | ||
gsp: 0x0004013000001c02 | ||
hid: 0x0004013000001d02 | ||
http: 0x0004013000002902 | ||
i2c: 0x0004013000001e02 | ||
ir: 0x0004013000003302 | ||
mcu: 0x0004013000001f02 | ||
mic: 0x0004013000002002 | ||
ndm: 0x0004013000002b02 | ||
news: 0x0004013000003502 | ||
nfc: 0x0004013000004002 | ||
nim: 0x0004013000002c02 | ||
nwm: 0x0004013000002d02 | ||
pdn: 0x0004013000002102 | ||
ps: 0x0004013000003102 | ||
ptm: 0x0004013000002202 | ||
qtm: 0x0004013020004202 | ||
ro: 0x0004013000003702 | ||
socket: 0x0004013000002e02 | ||
spi: 0x0004013000002302 | ||
ssl: 0x0004013000002f02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
APP_TITLE = Lagaf: Les Aventures de Moktar - Vol.1 - La Zoubida | ||
APP_DESCRIPTION = OpenTitus for 3DS | ||
APP_AUTHOR = Stople, MrHuu | ||
APP_PRODUCT_CODE = Your-Code | ||
APP_UNIQUE_ID = 0x1929 | ||
APP_VERSION_MAJOR = 0 | ||
APP_VERSION_MINOR = 0 | ||
APP_VERSION_MICRO = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# OpenTitus config file / Moktar | ||
# See readme.txt for reference | ||
|
||
# Scaling settings: | ||
# | ||
# Scaling Reswidth Resheight Ingamewidth Ingameheight | ||
# 1 320 200 320 192 | ||
# 2 640 400 640 384 | ||
# 3 960 600 960 576 | ||
# 4 1280 800 1280 768 | ||
|
||
scaling 1 | ||
reswidth 320 | ||
resheight 200 | ||
ingamewidth 640 | ||
ingameheight 384 | ||
bitdepth 16 | ||
|
||
# Change devmode to 1 to enable development mode! | ||
devmode 0 | ||
|
||
# Audio file, must follow the OPENTITUSAUDIO file format specified in doc/audio.txt | ||
audiofile moktar/music_mok.bin | ||
|
||
# videomode 0: window mode, 1: fullscreen | ||
videomode 1 | ||
|
||
# Numbers of levels, TTF: 15, Moktar: 16 | ||
levelcount 16 | ||
|
||
# Level files, TTF: lvl15->LEVELG.SQZ, Moktar: lvl15->LEVELF.SQZ, lvl16->LEVELG.SQZ | ||
|
||
level 1 moktar/LEVEL0.SQZ | ||
level 2 moktar/LEVELJ.SQZ | ||
level 3 moktar/LEVEL1.SQZ | ||
level 4 moktar/LEVEL2.SQZ | ||
level 5 moktar/LEVEL3.SQZ | ||
level 6 moktar/LEVEL4.SQZ | ||
level 7 moktar/LEVEL5.SQZ | ||
level 8 moktar/LEVEL6.SQZ | ||
level 9 moktar/LEVEL7.SQZ | ||
level 10 moktar/LEVEL8.SQZ | ||
level 11 moktar/LEVEL9.SQZ | ||
level 12 moktar/LEVELB.SQZ | ||
level 13 moktar/LEVELC.SQZ | ||
level 14 moktar/LEVELE.SQZ | ||
level 15 moktar/LEVELF.SQZ | ||
level 16 moktar/LEVELG.SQZ | ||
|
||
# Sprite file, TTF: SPREXP.SQZ, Moktar: SPRITES.SQZ | ||
sprites moktar/SPRITES.SQZ | ||
|
||
# The sprites are in different format in Moktar compared to Titus. | ||
# game 0: Titus the Fox, 1: Moktar | ||
game 1 | ||
|
||
# The format of a picture is as follow: | ||
# 0: Planar 16-color grayscale | ||
# 1: Planar 16-color | ||
# 2: 256 color | ||
|
||
logo moktar/TITUS.SQZ | ||
logoformat 2 | ||
intro moktar/TITRE.SQZ | ||
introformat 2 | ||
menu moktar/MENU.SQZ | ||
menuformat 2 | ||
|
||
# Font file, TTF/Moktar: FONTS.SQZ | ||
font moktar/FONTS.SQZ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# OpenTitus config file / Moktar | ||
# See readme.txt for reference | ||
|
||
# Scaling settings: | ||
# | ||
# Scaling Reswidth Resheight Ingamewidth Ingameheight | ||
# 1 320 200 320 192 | ||
# 2 640 400 640 384 | ||
# 3 960 600 960 576 | ||
# 4 1280 800 1280 768 | ||
|
||
scaling 1 | ||
reswidth 320 | ||
resheight 200 | ||
ingamewidth 640 | ||
ingameheight 384 | ||
bitdepth 16 | ||
|
||
# Change devmode to 1 to enable development mode! | ||
devmode 0 | ||
|
||
# Audio file, must follow the OPENTITUSAUDIO file format specified in doc/audio.txt | ||
audiofile romfs:/moktar/music_mok.bin | ||
|
||
# videomode 0: window mode, 1: fullscreen | ||
videomode 1 | ||
|
||
# Numbers of levels, TTF: 15, Moktar: 16 | ||
levelcount 16 | ||
|
||
# Level files, TTF: lvl15->LEVELG.SQZ, Moktar: lvl15->LEVELF.SQZ, lvl16->LEVELG.SQZ | ||
|
||
level 1 romfs:/moktar/LEVEL0.SQZ | ||
level 2 romfs:/moktar/LEVELJ.SQZ | ||
level 3 romfs:/moktar/LEVEL1.SQZ | ||
level 4 romfs:/moktar/LEVEL2.SQZ | ||
level 5 romfs:/moktar/LEVEL3.SQZ | ||
level 6 romfs:/moktar/LEVEL4.SQZ | ||
level 7 romfs:/moktar/LEVEL5.SQZ | ||
level 8 romfs:/moktar/LEVEL6.SQZ | ||
level 9 romfs:/moktar/LEVEL7.SQZ | ||
level 10 romfs:/moktar/LEVEL8.SQZ | ||
level 11 romfs:/moktar/LEVEL9.SQZ | ||
level 12 romfs:/moktar/LEVELB.SQZ | ||
level 13 romfs:/moktar/LEVELC.SQZ | ||
level 14 romfs:/moktar/LEVELE.SQZ | ||
level 15 romfs:/moktar/LEVELF.SQZ | ||
level 16 romfs:/moktar/LEVELG.SQZ | ||
|
||
# Sprite file, TTF: SPREXP.SQZ, Moktar: SPRITES.SQZ | ||
sprites romfs:/moktar/SPRITES.SQZ | ||
|
||
# The sprites are in different format in Moktar compared to Titus. | ||
# game 0: Titus the Fox, 1: Moktar | ||
game 1 | ||
|
||
# The format of a picture is as follow: | ||
# 0: Planar 16-color grayscale | ||
# 1: Planar 16-color | ||
# 2: 256 color | ||
|
||
logo romfs:/moktar/TITUS.SQZ | ||
logoformat 2 | ||
intro romfs:/moktar/TITRE.SQZ | ||
introformat 2 | ||
menu romfs:/moktar/MENU.SQZ | ||
menuformat 2 | ||
|
||
# Font file, TTF/Moktar: FONTS.SQZ | ||
font romfs:/moktar/FONTS.SQZ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
APP_TITLE = Titus the Fox: To Marrakech and Back | ||
APP_DESCRIPTION = OpenTitus for 3DS | ||
APP_AUTHOR = Stople, MrHuu | ||
APP_PRODUCT_CODE = Your-Code | ||
APP_UNIQUE_ID = 0x1929 | ||
APP_VERSION_MAJOR = 0 | ||
APP_VERSION_MINOR = 0 | ||
APP_VERSION_MICRO = 1 |
Oops, something went wrong.