Hacking Homebrew Makerom rsf error

RSChao

Member
OP
Newcomer
Joined
Sep 27, 2022
Messages
23
Trophies
0
Age
23
Location
Andalisia
XP
85
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.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,145
Country
United States
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.
 

RSChao

Member
OP
Newcomer
Joined
Sep 27, 2022
Messages
23
Trophies
0
Age
23
Location
Andalisia
XP
85
Country
Spain
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
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,145
Country
United States
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.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,145
Country
United States
let me know if it works. the instructions for makerom on wiki are somewhat confusing, and there's no example from what I remember.
 

RSChao

Member
OP
Newcomer
Joined
Sep 27, 2022
Messages
23
Trophies
0
Age
23
Location
Andalisia
XP
85
Country
Spain
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

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,145
Country
United States
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

RSChao

Member
OP
Newcomer
Joined
Sep 27, 2022
Messages
23
Trophies
0
Age
23
Location
Andalisia
XP
85
Country
Spain

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,145
Country
United States

Attachments

  • test.zip
    220.9 KB · Views: 32
  • Like
Reactions: RSChao

RSChao

Member
OP
Newcomer
Joined
Sep 27, 2022
Messages
23
Trophies
0
Age
23
Location
Andalisia
XP
85
Country
Spain
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
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,145
Country
United States
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

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,145
Country
United States
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

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @RedColoredStars, I'm a cat person so this game must be for me. :D
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, sounds kinda neat
  • RedColoredStars @ RedColoredStars:
    @SylverReZ It's short but adorable imo. Im a HUGE cat lover.Can be completed in a couple of hours if just going for the main goals. But can be stretched out a good deal by exploring and doing everything there is to do and see.
    +2
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, like a cat gta?
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Reminds me of a similar game called "Neko Atsume", similar to Nintendogs but you look after cats.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, wasnt there an official nintendogs game with cats for the 3ds?
    +1
  • Xdqwerty @ Xdqwerty:
    ill have no wifi for a bit so see ya later
    +2
  • RedColoredStars @ RedColoredStars:
    Gross. lol
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Ok seeya.
  • SylverReZ @ SylverReZ:
    @RedColoredStars, I've got a fairly dark sense of humor lol.
  • BigOnYa @ BigOnYa:
    So a man goes to the doctor because his boner wont go down. As he is laying in the hospital bed, with his thing propped up in the air, a fly is flying around and landing on the tip and bothering him, so he calls in the nurse. The nurse comes in, swats at the fly but can't quite reach it, so she climbs his boner to get better aim. After a few tries of swatting and sliding back down, she says sorry I cant get it. He says keep going, a few more tries, and I can shoot the fly down.
    +2
  • AncientBoi @ AncientBoi:
    Can I get his ☎️ # :shy::blush:
    +2
  • AncientBoi @ AncientBoi:
    oowpf What a work out it would be to help the guy get back down to normal :)
  • K3Nv2 @ K3Nv2:
    I don't know why pizza hut has fries now
  • AncientBoi @ AncientBoi:
    You're joking right?
  • AncientBoi @ AncientBoi:
    But also by the same token, I wouldn't mind if they had potato wedges instead :)
  • BigOnYa @ BigOnYa:
    Taco bell, and Mcdonalds both sold pizza, so its fair
  • AncientBoi @ AncientBoi:
    I knew of Taco Bell doing so, but Mickey Dees?
  • BigOnYa @ BigOnYa:
    yea years ago, small personal pizzas
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    McDonald's pizza was pretty good 🥰
    +1
  • BigOnYa @ BigOnYa:
    Pepsi owns Taco Bell, and Pizza Hut, so that made since Pizza hut pizza was sold in Taco bells.
  • BigOnYa @ BigOnYa:
    Pepsi, and it's companies, did not pull out of Russia like most did, even tho they orig said they would, so I boycott them. (Except when drunk at 2am and Taco bell is only place open.)
    BigOnYa @ BigOnYa: Pepsi, and it's companies, did not pull out of Russia like most did, even tho they orig said...