Hacking Homebrew Makerom rsf error

  • Thread starter Thread starter RSChao
  • Start date Start date
  • Views Views 4,955
  • Replies Replies 29

RSChao

Member
Newcomer
Joined
Sep 27, 2022
Messages
23
Reaction score
9
Trophies
0
Age
25
Location
Andalisia
XP
105
Country
Spain
So, I tried to use Makerom to compile my first cia project, the code being a devkitPRO example. I got a dummy .rsf and changed titleID to 0x000012AX and set the app title to "MyApp". But, when trying to compile, i got this output:

[EXHEADER ERROR] Parameter Not Found: "AccessControlInfo/ServiceAccessControl"
[EXHEADER ERROR] Failed to create ExHeader
[NCCH ERROR] NCCH Build Process Failed
[RESULT] Failed to build outfile

This is my rsf file's code,
Code:
BasicInfo:
  Title                   : "MyApp"
  CompanyCode             : "00"
  ProductCode             : ############
  ContentType             : Application # Application / SystemUpdate / Manual / Child / Trial
  Logo                    : Nintendo # Nintendo / Licensed / Distributed / iQue / iQueForSystem

TitleInfo:
  UniqueId                : 0x000012AX
  Category                : Application # Application / SystemApplication / Applet / Firmware / Base / DlpChild / Demo / Contents / SystemContents / SharedContents / AddOnContents / Patch / AutoUpdateContents

Option:
  UseOnSD                 : true # true if App is to be installed to SD
  EnableCompress          : true # Compresses exefs code
  FreeProductCode         : true # Removes limitations on ProductCode
  EnableCrypt             : false # Enables encryption for NCCH and CIA
  MediaFootPadding        : false # If true CCI files are created with padding

# The ExeFs stuff used to be here, but it isn't needed anymore in recent makerom versions.
# This text covers the lacking padding.
# This is due to "rsfgen" tools having offsets hardcoded, and it being tedious to fix them...

AccessControlInfo:
  #xtSaveDataId: 0x0000000000000000
  SystemSaveDataId1: 0x00000000
  SystemSaveDataId2: 0x00000000
  OtherUserSaveDataId1: 0x00000
  OtherUserSaveDataId2: 0x00000
  OtherUserSaveDataId3: 0x00000
  FileSystemAccess:
   # CategorySystemApplication
   # CategoryHardwareCheck
   # CategoryFileSystemTool
   # Debug
   # TwlCardBackup
   # TwlNandData
   # Boss
   # DirectSdmc
   # Core
   # CtrNandRo
   # CtrNandRw
   # CtrNandRoWrite
   # CategorySystemSettings
   # CardBoard
   # ExportImportIvs
   # DirectSdmcWrite
   # SwitchCleanup
   # SaveDataMove
   # Shop
   # Shell
   # CategoryHomeMenu
 
  IdealProcessor                : 0
  AffinityMask                  : 1
 
  Priority                      : 16
 
  MaxCpu                        : 0x9E # Default
 
  DisableDebug                  : false
  EnableForceDebug              : false
  CanWriteSharedPage            : false
  CanUsePrivilegedPriority      : false
  CanUseNonAlphabetAndNumber    : false
  PermitMainFunctionArgument    : false
  CanShareDeviceMemory          : false
  RunnableOnSleep               : false
  SpecialMemoryArrange          : false
  UseOtherVariationSaveData     : false
 
  CoreVersion                   : 2
  DescVersion                   : 2
 
  #eleaseKernelMajor            : "02"
  #eleaseKernelMinor            : "33"
  MemoryType                    : Application # Application / System / Base
  HandleTableSize: 512
  IORegisterMapping:
   - 1ff50000-1ff57fff
   - 1ff70000-1ff77fff
  MemoryMapping:
   - 1f000000-1f5fffff:r
  SystemCallAccess:
   ControlMemory: 1
   QueryMemory: 2
   ExitProcess: 3
   GetProcessAffinityMask: 4
   SetProcessAffinityMask: 5
   SetProcessIdealProcessor: 6
   GetProcessIdealProcessor: 7
   CreateThread: 8
   ExitThread: 9
   SleepThread: 10
   GetThreadPriority: 11
   SetThreadPriority: 12
   GetThreadAffinityMask: 13
   SetThreadAffinityMask: 14
   GetThreadIdealProcessor: 15
   SetThreadIdealProcessor: 16
   GetCurrentProcessorNumber: 17
   Run: 18
   CreateMutex: 19
   ReleaseMutex: 20
   CreateSemaphore: 21
   ReleaseSemaphore: 22
   CreateEvent: 23
   SignalEvent: 24
   ClearEvent: 25
   CreateTimer: 26
   SetTimer: 27
   CancelTimer: 28
   ClearTimer: 29
   CreateMemoryBlock: 30
   MapMemoryBlock: 31
   UnmapMemoryBlock: 32
   CreateAddressArbiter: 33
   ArbitrateAddress: 34
   CloseHandle: 35
   WaitSynchronization1: 36
   WaitSynchronizationN: 37
   SignalAndWait: 38
   DuplicateHandle: 39
   GetSystemTick: 40
   GetHandleInfo: 41
   GetSystemInfo: 42
   GetProcessInfo: 43
   GetThreadInfo: 44
   ConnectToPort: 45
   SendSyncRequest1: 46
   SendSyncRequest2: 47
   SendSyncRequest3: 48
   SendSyncRequest4: 49
   SendSyncRequest: 50
   OpenProcess: 51
   OpenThread: 52
   GetProcessId: 53
   GetProcessIdOfThread: 54
   GetThreadId: 55
   GetResourceLimit: 56
   GetResourceLimitLimitValues: 57
   GetResourceLimitCurrentValues: 58
   GetThreadContext: 59
   Break: 60
   OutputDebugString: 61
  
  #ccessibleSaveDataIds:
   # 0x00000
   # 0x00000
   # 0x00000
   # 0x00000
   # 0x00000
   # 0x00000

  InterruptNumbers:
  ServiceAccessControl:
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########
   ###########

SystemControlInfo:
  SaveDataSize: 1M
  RemasterVersion: 0000
  StackSize: 0x00000000
  Dependency:
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################
    ######################


I know its a noob error but itd really help if someone gave me a solution and NO, i dont know what to type into that part of the code.
 
this is a suggestion, try looking at the sonic mania make file to see a good command for that. I don't even know how to get the rsf for a game, but it's supplied with that one. I was able to make a cia with it, for both that and sm64.
 
this is a suggestion, try looking at the sonic mania make file to see a good command for that. I don't even know how to get the rsf for a game, but it's supplied with that one. I was able to make a cia with it, for both that and sm64.
do u have a link? Thx
 
you'll have to change things accordingly as the locations would be different. this is from sonic mania. I haven't tested it by itself, but this is a command that does work as I did create a sonic mania cia by using the shell script.
 
let me know if it works. the instructions for makerom on wiki are somewhat confusing, and there's no example from what I remember.
 
let me know if it works. the instructions for makerom on wiki are somewhat confusing, and there's no example from what I remember.
output:

[ACEXDESC ERROR] Current keyset cannot sign AccessDesc, please appropriately set-up RSF, or specify a preset with "-desc"
[EXHEADER ERROR] Failed to create ExHeader
[NCCH ERROR] NCCH Build Process Failed
[RESULT] Failed to build outfile

literally only changed app name and tid to 0x00001AX7 idk why tht id tho XD
 
  • Like
Reactions: godreborn
output:

[ACEXDESC ERROR] Current keyset cannot sign AccessDesc, please appropriately set-up RSF, or specify a preset with "-desc"
[EXHEADER ERROR] Failed to create ExHeader
[NCCH ERROR] NCCH Build Process Failed
[RESULT] Failed to build outfile

literally only changed app name and tid to 0x00001AX7 idk why tht id tho XD
no sure, I could try it, but I'd need all your files. did you get past bannertool?
 
  • Like
Reactions: RSChao

Attachments

  • Like
Reactions: RSChao
I have no idea what I just did, but the banner was in a different format and it was missing the icon, so I made do. I used cmd line with this one if that even matters:
Wait, wth happened to the banner, it was a normal png with proper dimensions, and the icon was the smdh right?

I also used cmd but i still dont get it, if u could tell me how u fixed the format thing id really appreciate it since id like to be able to make some more cias. Thank you so much
 
btw, I just changed the file names and locations in that one sonic mania example. no errors or anything. it didn't complain that I didn't specify an icon either.
 
  • Like
Reactions: RSChao
I think something happened. it has a banner, no icon or text, so something may have gone wrong when you created the banner, but it seems to work (no crashes):

20220927_122946.jpg
 

Site & Scene News

Popular threads in this forum