Probably internal tool that isn't released yetI am talking about that membench tool
Probably internal tool that isn't released yetI am talking about that membench tool
Probably just need a restart, sys-modules only active on bootI did another fresh reinstall of atmosphere and the mod and it just worked this time! Not sure what was going on, but very happy to finally have it working
You need to run makefile twice.First run the makefile in oc,then run makefile in loader.@meha I'm following your instructions to compile Atmosphere and include your OC module, my goal is build Atmosphere that includes my own changes (I already compiled my build and it's working correctly) and fuse it with your OC module, this is what I'm doing:
I should add that I'm working with atmosphere 1.5.4 (pre-release) source, however it works correctly.
- Download Switch-OC-Suite as zip from your source.
- Extract the zip and copy over the oc folder and patch.py and paste into my local Atmosphere build C:\Users\cucho\Atmosphere\stratosphere\loader\source
- Double click on patch.py, it will show the process in percentage of patching around 3000 files, it reaches 100% and the window closes.
- I proceed to edit my own Atmosphere files in order to create a custom Atmosphere build.
- I compile Atmosphere.
- Extract the resulting loader.kip and uncompress with hactool.
- The resulting loader.kip is 242kb (there's a difference in size respect the loader.kip from the online configurator)
- I load my loader.kip in the online configurator and it displays a pop-up message indicating "Error: invalid loader.kip"
Thanks for your reply, I get this error when trying to compile the makefile in oc:You need to run makefile twice.First run the makefile in oc,then run makefile in loader.
cucho@DESKTOP-C8H5KJR MSYS ~/Atmosphere/stratosphere/loader/source/oc
$ make
oc_test.cpp
oc_test.cpp: In function ‘Result Test_PcvDvfsTable()’:
oc_test.cpp:68:5: error: ‘assert’ was not declared in this scope
68 | assert(GetDvfsTableEntryCount((cvb_entry_t *)(&mariko::CpuCvbTableDefault)) == 18);
| ^~~~~~
oc_test.cpp:20:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
19 | #include "oc_loader.hpp"
+++ |+#include <cassert>
20 |
oc_test.cpp:87:23: error: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Werror=sign-compare]
87 | for (int i = 0; i < limit; i++) {
| ~~^~~~~~~
oc_test.cpp:88:57: error: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Werror=sign-compare]
88 | assert(GetDvfsTableEntryCount(customized_table) == i);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
oc_test.cpp:91:28: error: comparison of integer expressions of different signedness: ‘u64’ {aka ‘long unsigned int’} and ‘int’ [-Werror=sign-compare]
91 | assert(p->freq == i);
| ~~~~~~~~^~~~
oc_test.cpp: In function ‘int main(int, char**)’:
oc_test.cpp:163:17: error: ‘strlcpy’ was not declared in this scope; did you mean ‘strncpy’?
163 | strlcpy(exec_path_erista, exec_path, exec_path_patched_len);
| ^~~~~~~
| strncpy
oc_test.cpp:164:17: error: ‘strlcat’ was not declared in this scope; did you mean ‘strncat’?
164 | strlcat(exec_path_erista, erista_ext, exec_path_patched_len);
| ^~~~~~~
| strncat
oc_test.cpp:179:17: error: ‘strlcpy’ was not declared in this scope; did you mean ‘strncpy’?
179 | strlcpy(exec_path_mariko, exec_path, exec_path_patched_len);
| ^~~~~~~
| strncpy
oc_test.cpp:180:17: error: ‘strlcat’ was not declared in this scope; did you mean ‘strncat’?
180 | strlcat(exec_path_mariko, mariko_ext, exec_path_patched_len);
| ^~~~~~~
| strncat
oc_test.cpp:196:13: error: ‘strlcpy’ was not declared in this scope; did you mean ‘strncpy’?
196 | strlcpy(exec_path_mariko, exec_path, exec_path_patched_len);
| ^~~~~~~
| strncpy
oc_test.cpp:197:13: error: ‘strlcat’ was not declared in this scope; did you mean ‘strncat’?
197 | strlcat(exec_path_mariko, mariko_ext, exec_path_patched_len);
| ^~~~~~~
| strncat
cc1plus: all warnings being treated as errors
make: *** [Makefile:42: build/./oc_test.cpp.o] Error 1
you missed running patch.py (python3)@meha I'm following your instructions to compile Atmosphere and include your OC module, my goal is build Atmosphere that includes my own changes (I already compiled my build and it's working correctly) and fuse it with your OC module, this is what I'm doing:
I should add that I'm working with atmosphere 1.5.4 (pre-release) source, however it works correctly.
- Download Switch-OC-Suite as zip from your source.
- Extract the zip and copy over the oc folder and patch.py and paste into my local Atmosphere build C:\Users\cucho\Atmosphere\stratosphere\loader\source
- Double click on patch.py, it will show the process in percentage of patching around 3000 files, it reaches 100% and the window closes.
- I proceed to edit my own Atmosphere files in order to create a custom Atmosphere build.
- I compile Atmosphere.
- Extract the resulting loader.kip and uncompress with hactool.
- The resulting loader.kip is 242kb (there's a difference in size respect the loader.kip from the online configurator)
- I load my loader.kip in the online configurator and it displays a pop-up message indicating "Error: invalid loader.kip"
Completed building the loader.kip but the online configurator keeps throwing "Error: invalid loader.kip", will wait until 1.5.4 support, I guess it's not going to work with pre-release.you missed running patch.py (python3)
oh wait nvm i misread.
thanks to masa for fixing
~snip I don't readCompleted building the loader.kip but the online configurator keeps throwing "Error: invalid loader.kip", will wait until 1.5.4 support, I guess it's not going to work with pre-release.
I tried yesterday and it works.Is your kip file 272 KB?Completed building the loader.kip but the online configurator keeps throwing "Error: invalid loader.kip", will wait until 1.5.4 support, I guess it's not going to work with pre-release.
240kb, after uncompress with hactoolI tried yesterday and it works.Is your kip file 272 KB?
For anyone asking, he can't share his Telegram channel since he still haven't release the source code for 4fir as asked previously.
Also hi people on his telegram! This will probably be uploaded there as well since he likes to lie :3
then you fail to patch oc module to loader.Try python3 patch.py .240kb, after uncompress with hactool
it's micromembench, which is fork of tinymembench(by KazuhiMe) by Cooler.Where can I find that tool? I’d like to do some comparisons.
Thank you!
yes you actually need to use python3 for that.then you fail to patch oc module to loader.Try python3 patch.py .
The compressed file is 127 KB (130.324 bytes)I tried yesterday and it works.Is your kip file 272 KB?
oc suite was updated today. cust_rev was changed because compatibility breaks. build with new sources.The compressed file is 127 KB (130.324 bytes)
When uncompressing now I got a 270kb kip now but in the online configurator appears Error: Unsupported custRev, expected: 4 or 6, got 5
I'm using msys, do you uncompress through it too? Because when trying to invoke hactool in msys it says
"-bash: hactool: command not found"
oc suite was updated today. cust_rev was changed because compatibility breaks. build with new sources.
I use linux not windows
if you don't uncompress, it will not work with sys-clk-oc
I used SimpleModManager instead, to toggle 1994/1864 more easilyRename the file extension.