i cant open the rar file for some reason XD any ideas?
no one has made an editor yetHow can we edit his save of Splatoon2? the save is encrypted !
What directory does the dump function save to on the SD card?-snip-
How can we edit his save of Splatoon2? the save is encrypted !
no one has made an editor yet
yes ok but how we can edit the save in HxD ? because it is encrypted
when i try to compile to .nro it makes an errorYes 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
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
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
oh dont worry i will try now thxSorry i didnt include makefile with the sources.
All downloads fixed with including source
oh dont worry i will try now thx
EDIT: Same error idk why :L
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
ohhhh didnt knew that Thx!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
Dumps to whereever you put the..nro fileWhat directory on the SD card does it dump to? I can't find it.
Yeah, for me it's not. I'm discussing it with op over PMs now for troubleshooting.Dumps to whereever you put the..nro file
then you can't lolHow can we edit his save of Splatoon2? the save is encrypted !