ROM Hack Zelda botw & Xeno + more save injection 4.x - 5.x

Kirbyyeray

Well-Known Member
Newcomer
Joined
Nov 16, 2015
Messages
66
Trophies
0
Age
29
XP
384
Country
Yes if you edit line 27 & 129 for the game you want
lines 219,210 for first file you want to inject
lines 257,258 for the second file
when i try to compile to .nro it makes an error

Code:
main.cpp
aarch64-none-elf-g++ -MMD -MP -MF /home/kirby/Desktop/switch-save-dump-hack-job-                                                                                                                master/build/main.d -g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=corte                                                                                                                x-a57 -mtp=soft -fPIE  -I/home/kirby/Desktop/switch-save-dump-hack-job-master/in                                                                                                                clude -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I                                                                                                                /home/kirby/Desktop/switch-save-dump-hack-job-master/build -D__SWITCH__ -fno-rtt                                                                                                                i -fno-exceptions -std=gnu++11 -c /home/kirby/Desktop/switch-save-dump-hack-job-                                                                                                                master/source/main.cpp -o main.o
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp: In function 'Result get_save(u64*, u128*)':
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:17:5: error: 'FsSaveDataIterator' was not declared in this scope
     FsSaveDataIterator iterator;
     ^~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:19:5: error: 'FsSaveDataInfo' was not declared in this scope
     FsSaveDataInfo info;
     ^~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:19:5: note: suggested alternative: 'svcGetInfo'
     FsSaveDataInfo info;
     ^~~~~~~~~~~~~~
     svcGetInfo
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:34: error: 'iterator' was not declared in this scope
     rc = fsOpenSaveDataIterator(&iterator, FsSaveDataSpaceId_NandUser);//See libnx fs.h.
                                  ^~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:34: note: suggested alternatives:
In file included from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\stl_algobase.h:65:0,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\char_traits.h:39,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\ios:40,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\istream:38,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\fstream:38,
                 from C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:5:
c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\stl_iterator_base_types.h:118:12: note:   'std::iterator'
     struct iterator
            ^~~~~~~~
c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\stl_iterator_base_types.h:118:12: note:   'std::iterator'
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:44: error: 'FsSaveDataSpaceId_NandUser' was not declared in this scope
     rc = fsOpenSaveDataIterator(&iterator, FsSaveDataSpaceId_NandUser);//See libnx fs.h.
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:10: error: 'fsOpenSaveDataIterator' was not declared in this scope
     rc = fsOpenSaveDataIterator(&iterator, FsSaveDataSpaceId_NandUser);//See libnx fs.h.
          ^~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:28:49: error: 'info' was not declared in this scope
         rc = fsSaveDataIteratorRead(&iterator, &info, 1, &total_entries);//See libnx fs.h.
                                                 ^~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:28:49: note: suggested alternative: 'int'
         rc = fsSaveDataIteratorRead(&iterator, &info, 1, &total_entries);//See libnx fs.h.
                                                 ^~~~
                                                 int
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:28:14: error: 'fsSaveDataIteratorRead' was not declared in this scope
         rc = fsSaveDataIteratorRead(&iterator, &info, 1, &total_entries);//See libnx fs.h.
              ^~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:31:34: error: 'FsSaveDataType_SaveData' was not declared in this scope
         if (info.SaveDataType == FsSaveDataType_SaveData) {//Filter by FsSaveDataType_SaveData, however note that NandUser can have non-FsSaveDataType_SaveData.
                                  ^~~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:38:5: error: 'fsSaveDataIteratorClose' was not declared in this scope
     fsSaveDataIteratorClose(&iterator);
     ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/opt/devkitpro/devkitA64/base_rules:14: main.o] Error 1
make: *** [Makefile:148: build] Error 2
 
Last edited by Kirbyyeray,

Type_O_Dev

Developer
OP
Developer
Joined
Dec 12, 2017
Messages
683
Trophies
0
XP
1,475
Country
United States
when i try to compile to .nro it makes an error

Code:
main.cpp
aarch64-none-elf-g++ -MMD -MP -MF /home/kirby/Desktop/switch-save-dump-hack-job-                                                                                                                master/build/main.d -g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=corte                                                                                                                x-a57 -mtp=soft -fPIE  -I/home/kirby/Desktop/switch-save-dump-hack-job-master/in                                                                                                                clude -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I                                                                                                                /home/kirby/Desktop/switch-save-dump-hack-job-master/build -D__SWITCH__ -fno-rtt                                                                                                                i -fno-exceptions -std=gnu++11 -c /home/kirby/Desktop/switch-save-dump-hack-job-                                                                                                                master/source/main.cpp -o main.o
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp: In function 'Result get_save(u64*, u128*)':
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:17:5: error: 'FsSaveDataIterator' was not declared in this scope
     FsSaveDataIterator iterator;
     ^~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:19:5: error: 'FsSaveDataInfo' was not declared in this scope
     FsSaveDataInfo info;
     ^~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:19:5: note: suggested alternative: 'svcGetInfo'
     FsSaveDataInfo info;
     ^~~~~~~~~~~~~~
     svcGetInfo
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:34: error: 'iterator' was not declared in this scope
     rc = fsOpenSaveDataIterator(&iterator, FsSaveDataSpaceId_NandUser);//See libnx fs.h.
                                  ^~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:34: note: suggested alternatives:
In file included from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\stl_algobase.h:65:0,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\char_traits.h:39,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\ios:40,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\istream:38,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\fstream:38,
                 from C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:5:
c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\stl_iterator_base_types.h:118:12: note:   'std::iterator'
     struct iterator
            ^~~~~~~~
c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\stl_iterator_base_types.h:118:12: note:   'std::iterator'
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:44: error: 'FsSaveDataSpaceId_NandUser' was not declared in this scope
     rc = fsOpenSaveDataIterator(&iterator, FsSaveDataSpaceId_NandUser);//See libnx fs.h.
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:10: error: 'fsOpenSaveDataIterator' was not declared in this scope
     rc = fsOpenSaveDataIterator(&iterator, FsSaveDataSpaceId_NandUser);//See libnx fs.h.
          ^~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:28:49: error: 'info' was not declared in this scope
         rc = fsSaveDataIteratorRead(&iterator, &info, 1, &total_entries);//See libnx fs.h.
                                                 ^~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:28:49: note: suggested alternative: 'int'
         rc = fsSaveDataIteratorRead(&iterator, &info, 1, &total_entries);//See libnx fs.h.
                                                 ^~~~
                                                 int
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:28:14: error: 'fsSaveDataIteratorRead' was not declared in this scope
         rc = fsSaveDataIteratorRead(&iterator, &info, 1, &total_entries);//See libnx fs.h.
              ^~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:31:34: error: 'FsSaveDataType_SaveData' was not declared in this scope
         if (info.SaveDataType == FsSaveDataType_SaveData) {//Filter by FsSaveDataType_SaveData, however note that NandUser can have non-FsSaveDataType_SaveData.
                                  ^~~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:38:5: error: 'fsSaveDataIteratorClose' was not declared in this scope
     fsSaveDataIteratorClose(&iterator);
     ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/opt/devkitpro/devkitA64/base_rules:14: main.o] Error 1
make: *** [Makefile:148: build] Error 2

Sorry i didnt include makefile with the sources.

All downloads fixed with including source
 

Gnarmagon

Noob <3
Member
Joined
Dec 12, 2016
Messages
647
Trophies
0
Age
22
XP
794
Country
Germany
when i try to compile to .nro it makes an error

Code:
main.cpp
aarch64-none-elf-g++ -MMD -MP -MF /home/kirby/Desktop/switch-save-dump-hack-job-                                                                                                                master/build/main.d -g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=corte                                                                                                                x-a57 -mtp=soft -fPIE  -I/home/kirby/Desktop/switch-save-dump-hack-job-master/in                                                                                                                clude -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I                                                                                                                /home/kirby/Desktop/switch-save-dump-hack-job-master/build -D__SWITCH__ -fno-rtt                                                                                                                i -fno-exceptions -std=gnu++11 -c /home/kirby/Desktop/switch-save-dump-hack-job-                                                                                                                master/source/main.cpp -o main.o
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp: In function 'Result get_save(u64*, u128*)':
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:17:5: error: 'FsSaveDataIterator' was not declared in this scope
     FsSaveDataIterator iterator;
     ^~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:19:5: error: 'FsSaveDataInfo' was not declared in this scope
     FsSaveDataInfo info;
     ^~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:19:5: note: suggested alternative: 'svcGetInfo'
     FsSaveDataInfo info;
     ^~~~~~~~~~~~~~
     svcGetInfo
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:34: error: 'iterator' was not declared in this scope
     rc = fsOpenSaveDataIterator(&iterator, FsSaveDataSpaceId_NandUser);//See libnx fs.h.
                                  ^~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:34: note: suggested alternatives:
In file included from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\stl_algobase.h:65:0,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\char_traits.h:39,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\ios:40,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\istream:38,
                 from c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\fstream:38,
                 from C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:5:
c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\stl_iterator_base_types.h:118:12: note:   'std::iterator'
     struct iterator
            ^~~~~~~~
c:\devkitpro\devkita64\aarch64-none-elf\include\c++\7.3.0\bits\stl_iterator_base_types.h:118:12: note:   'std::iterator'
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:44: error: 'FsSaveDataSpaceId_NandUser' was not declared in this scope
     rc = fsOpenSaveDataIterator(&iterator, FsSaveDataSpaceId_NandUser);//See libnx fs.h.
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:21:10: error: 'fsOpenSaveDataIterator' was not declared in this scope
     rc = fsOpenSaveDataIterator(&iterator, FsSaveDataSpaceId_NandUser);//See libnx fs.h.
          ^~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:28:49: error: 'info' was not declared in this scope
         rc = fsSaveDataIteratorRead(&iterator, &info, 1, &total_entries);//See libnx fs.h.
                                                 ^~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:28:49: note: suggested alternative: 'int'
         rc = fsSaveDataIteratorRead(&iterator, &info, 1, &total_entries);//See libnx fs.h.
                                                 ^~~~
                                                 int
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:28:14: error: 'fsSaveDataIteratorRead' was not declared in this scope
         rc = fsSaveDataIteratorRead(&iterator, &info, 1, &total_entries);//See libnx fs.h.
              ^~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:31:34: error: 'FsSaveDataType_SaveData' was not declared in this scope
         if (info.SaveDataType == FsSaveDataType_SaveData) {//Filter by FsSaveDataType_SaveData, however note that NandUser can have non-FsSaveDataType_SaveData.
                                  ^~~~~~~~~~~~~~~~~~~~~~~
C:/Users/kirby/Desktop/switch-save-dump-hack-job-master/source/main.cpp:38:5: error: 'fsSaveDataIteratorClose' was not declared in this scope
     fsSaveDataIteratorClose(&iterator);
     ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/opt/devkitpro/devkitA64/base_rules:14: main.o] Error 1
make: *** [Makefile:148: build] Error 2

You know that you have to build libnx from source ?
git clone https://github.com/switchbrew/libnx/ && cd libnx
sudo chown -R $USER $DEVKITPRO
rm -rf $DEVKITPRO/libnx
make install
 

ZoNtendo

Well-Known Member
Member
Joined
May 25, 2015
Messages
585
Trophies
0
Age
28
XP
709
Country
do we really need to do all of this because checkpoint still doesn't work on 5.0.X ?
Damn I think I will just wait a bit then.

--------------------- MERGED ---------------------------

How can we edit his save of Splatoon2? the save is encrypted !
then you can't lol
 

MegaMagikarp

Well-Known Member
Newcomer
Joined
Mar 25, 2015
Messages
83
Trophies
0
Location
California
XP
664
Country
Taiwan
Last edited by MegaMagikarp,
  • Like
Reactions: dgr1592

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
    +1
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
  • Psionic Roshambo @ Psionic Roshambo:
    Why so serious!
  • Psionic Roshambo @ Psionic Roshambo:
    @BakerMan, yeah that's about the only reason I would vote for Trump over Biden.
  • Psionic Roshambo @ Psionic Roshambo:
    In my opinion on all other factors they are pretty much the same.
    Psionic Roshambo @ Psionic Roshambo: In my opinion on all other factors they are pretty much the same.