Hacking How to put Savedatafiler on homescreen?

Thirty3Three

Musician Member
OP
Banned
Joined
Mar 22, 2013
Messages
3,956
Trophies
0
Location
Wherever you want me, baby.
XP
2,605
Country
United States
It won't install. I've replied in various threads about it with no asnwer. It keeps failing when I attempt to install via devmenu. I'd like a way to get savedatafiler working from the home screen, so I can edit my pokmon save(s).

Thanks.
 

kyogre123

Mexican Pride
Member
Joined
Sep 23, 2013
Messages
2,920
Trophies
0
Age
34
XP
1,347
Country
Mexico
You need the .csu version of the app for this:

Use this rsf:
Code:
BasicInfo:
  Title                   : "SaveData"
  CompanyCode             : "00"
  ProductCode             : "SaveDataFi"
  ContentType             : Application # Application / SystemUpdate / Manual / Child / Trial
  Logo                    : Nintendo # Nintendo / Licensed / Distributed / iQue / iQueForSystem
 
TitleInfo:
  UniqueId                : 0xff40a
  Category                : Application # Application / SystemApplication / Applet / Firmware / Base / DlpChild / Demo / Contents / SystemContents / SharedContents / AddOnContents / Patch / AutoUpdateContents
 
CardInfo:
  MediaType               : Card1 # Card1 / Card2
 
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
 
ExeFs: # these are the program segments from the ELF, check your elf for the appropriate segment names
  ReadOnly: 
   - .rodata
   - RO
  ReadWrite: 
   - .data
   - RO
  Text: 
   - .init
   - .text
   - STUP_ENTRY
   
PlainRegion: # only used with SDK ELFs 
 - .module_id
  
AccessControlInfo:
  UseOtherVariationSaveData : false
  ExtSaveDataId: 0xff40a
  SystemSaveDataId1: 0x00000000
  SystemSaveDataId2: 0x00000000
  OtherUserSaveDataId1: 0x00000
  OtherUserSaveDataId2: 0x00000
  OtherUserSaveDataId3: 0x00000
  FileSystemAccess:
   - CategorySystemApplication
   - CategoryFileSystemTool
   - Debug
   #- TwlCardBackup
   #- TwlNandData
   #- Boss
   - DirectSdmc
   - SaveDataMove
 
  IdealProcessor                : 0
  AffinityMask                  : 1
  Priority                      : 16
   
  MaxCpu                        : 0x9E # Default
  
  DisableDebug                  : true
  EnableForceDebug              : false
  CanWriteSharedPage            : false
  CanUsePrivilegedPriority      : false
  CanUseNonAlphabetAndNumber    : false
  PermitMainFunctionArgument    : false
  CanShareDeviceMemory          : false
  RunnableOnSleep               : false
  SpecialMemoryArrange          : false
  
  CoreVersion                   : 2
  DescVersion                   : 2
  
  ReleaseKernelMajor            : "02"
  ReleaseKernelMinor            : "33" 
  MemoryType                    : Application # Application / System / Base
  HandleTableSize: 512
  IORegisterMapping: 
   - 1ff50000-1ff57fff
   - 1ff70000-1ff77fff
  MemoryMapping: 
   - 1f000000-1f5fffff:r
  SystemCallAccess: 
    ArbitrateAddress: 34
    Break: 60
    CancelTimer: 28
    ClearEvent: 25
    ClearTimer: 29
    CloseHandle: 35
    ConnectToPort: 45
    ControlMemory: 1
    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
  InterruptNumbers:
  ServiceAccessControl:
   - APT:U
   - $hioFIO
   - $hostio0
   - $hostio1
   - ac:u
   - boss:U
   - cam:u
   - cecd:u
   - cfg:u
   - dlp:FKCL
   - dlp:SRVR
   - dsp::DSP
   - frd:u
   - fs:USER
   - gsp::Gpu
   - hid:USER
   - http:C
   - mic:u
   - ndm:u
   - news:u
   - nwm::UDS
   - ptm:u
   - pxi:dev
   - soc:U
   - ssl:C
   - y2r:u
   - ldr:ro
   - am:app
   - am:u
   - pm:app
   - ns:s 
   
SystemControlInfo:
  SaveDataSize: 512KB
  RemasterVersion: 5
  StackSize: 0x40000
  #JumpId: 0
  Dependency: 
    ac: 0x0004013000002402L
    am: 0x0004013000001502L
    boss: 0x0004013000003402L
    camera: 0x0004013000001602L
    cecd: 0x0004013000002602L
    cfg: 0x0004013000001702L
    codec: 0x0004013000001802L
    csnd: 0x0004013000002702L
    dlp: 0x0004013000002802L
    dsp: 0x0004013000001a02L
    friends: 0x0004013000003202L
    gpio: 0x0004013000001b02L
    gsp: 0x0004013000001c02L
    hid: 0x0004013000001d02L
    http: 0x0004013000002902L
    i2c: 0x0004013000001e02L
    ir: 0x0004013000003302L
    mcu: 0x0004013000001f02L
    mic: 0x0004013000002002L
    ndm: 0x0004013000002b02L
    news: 0x0004013000003502L
    nim: 0x0004013000002c02L
    nwm: 0x0004013000002d02L
    pdn: 0x0004013000002102L
    ps: 0x0004013000003102L
    ptm: 0x0004013000002202L
    ro: 0x0004013000003702L
    socket: 0x0004013000002e02L
    spi: 0x0004013000002302L
    ssl: 0x0004013000002f02L

Extract the .csu contents with ctrtool:

ctrtool --exefs=exefs.bin savedatafiler.csu
ctrtool --romfs=romfs.bin savedatafiler.csu
ctrtool --exheader=exheader.bin savedatafiler.csu
ctrtool -t exefs --exefsdir=exefs --decompresscode exefs.bin

And rebuild as CIA with makerom
makerom -f cia -rsf savedatafiler.rsf -target t -o savedatafiler.cia -icon exefs\icon.bin -banner exefs\banner.bin -code exefs\code.bin -exheader exheader.bin
 

Nurio

That Kirby fan
Member
Joined
Mar 31, 2009
Messages
850
Trophies
0
Age
33
Location
The Netherlands
XP
450
Country
Netherlands
It won't install. I've replied in various threads about it with no asnwer. It keeps failing when I attempt to install via devmenu. I'd like a way to get savedatafiler working from the home screen, so I can edit my pokmon save(s).

Thanks.
The actual .cia files from the devkit are encrypted and can't be installed. You'll need the .csu version, rename it to .3ds and then convert it to a .cia
There are guides floating around here on how to do that.

EDIT: Or, heck, listen to the ninja above me. He's more thorough in his answer than I am.
 

Nurio

That Kirby fan
Member
Joined
Mar 31, 2009
Messages
850
Trophies
0
Age
33
Location
The Netherlands
XP
450
Country
Netherlands

Ryft

Well-Known Member
Member
Joined
Nov 21, 2013
Messages
617
Trophies
1
Age
38
Location
Illinois
XP
1,010
Country
United States
Ugh.

[NCCH ERROR] Failed to open banner file 'banner.bin'
[NCCH ERROR] NCCH Build Process Failed
[RESULT] Failed to build outfile


I did the same thing.. you skipped a step.

ctrtool -t exefs --exefsdir=exefs --decompresscode exefs.bin


Thanks for this guide! Got it on my first try (after that one stupid mistake) and works fine.
 
  • Like
Reactions: Margen67

jkoodo

Active Member
Newcomer
Joined
Aug 25, 2014
Messages
42
Trophies
0
Age
30
XP
87
Country
Indonesia
i'm sorry if i'm wrong
but wouldn't it be more easy to release the decrypted version
so every one can use it like normal rom

but there must be a reason why no one is releasing it
 
  • Like
Reactions: Margen67

Ryft

Well-Known Member
Member
Joined
Nov 21, 2013
Messages
617
Trophies
1
Age
38
Location
Illinois
XP
1,010
Country
United States
Ugh. Still not working. I have 3 files so far. exefs.bin, exheader/bin, and romfs.bin. I have no banner.bin or any of that jazz.


Once you do that command, the banner.bin etc is in a folder called "exefs". I literally just copy and pasted the commands he posted and it worked for me so I dunno whats going wrong for you.
 

zhdarkstar

Well-Known Member
Member
Joined
Jan 30, 2008
Messages
573
Trophies
1
XP
566
Country
United States
How much would the posted rsf have to be changed to use it in converting the rest of the sdk tools to CIA format? The apps I'm most interested in converting are PlayCoinSetter, NetworkSetting, and Config. The last two I want so that I have a way of changing settings without getting kicked out of emunand.
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,234
Country
Brazil
How much would the posted rsf have to be changed to use it in converting the rest of the sdk tools to CIA format? The apps I'm most interested in converting are PlayCoinSetter, NetworkSetting, and Config. The last two I want so that I have a way of changing settings without getting kicked out of emunand.
NetworkSettings may be useful but Config can't change any relevant settings.
 

Searinox

"Dances" with Dragons
Member
Joined
Dec 16, 2007
Messages
2,073
Trophies
1
Age
36
Location
Bucharest
XP
2,203
Country
Romania
This works with any .csu right? So savedatafiler... it exports decrypted saves and can import decrypted saves back into the game while setting their proper encryption? Both Card1 and Card2 titles?
 
  • Like
Reactions: Margen67

Thirty3Three

Musician Member
OP
Banned
Joined
Mar 22, 2013
Messages
3,956
Trophies
0
Location
Wherever you want me, baby.
XP
2,605
Country
United States
This works with any .csu right? So savedatafiler... it exports decrypted saves and can import decrypted saves back into the game while setting their proper encryption? Both Card1 and Card2 titles?


Yep! I now have a Blaziken that knows all thunder moves.

Famous-characters-Troll-face-Troll-face-poker-45046.png
Poor kid's gonna use their water pokemang.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BigOnYa @ BigOnYa: I agree Tears is great. I even played thru it completely twice. I've been hooked on playing thru...