Hacking SoftChip Backup Loader

  • Thread starter Thread starter requiem4d
  • Start date Start date
  • Views Views 450,522
  • Replies Replies 1,540
I had the same freeze issue with r66. I updated to r67 and the latest libogc, etc. Now I get an error on compile.

Code:
d:/SoftChip/loader/source/Logger/Logger.cpp: In member function 'void Logger::Re
lease_FAT()':
d:/SoftChip/loader/source/Logger/Logger.cpp:76: error: 'PI_INTERNAL_SD' was not
declared in this scope
d:/SoftChip/loader/source/Logger/Logger.cpp:78: error: 'fatUnsafeUnmount' was no
t declared in this scope
make[1]: *** [Logger.o] Error 1
make: *** [build] Error 2

Any ideas?
 
Bent said:
I had the same freeze issue with r66. I updated to r67 and the latest libogc, etc. Now I get an error on compile.

Code:
d:/SoftChip/loader/source/Logger/Logger.cpp: In member function 'void Logger::Re
lease_FAT()':
d:/SoftChip/loader/source/Logger/Logger.cpp:76: error: 'PI_INTERNAL_SD' was not
declared in this scope
d:/SoftChip/loader/source/Logger/Logger.cpp:78: error: 'fatUnsafeUnmount' was no
t declared in this scope
make[1]: *** [Logger.o] Error 1
make: *** [build] Error 2

Any ideas?

You need libfat too, copy the compiled stuff from it to the libogc folder. At least "fatUnsafeUnmount" is 100% from libfat, i looked it up. I don't think you need it, but i post the link to the SoftChip guides: http://wiki.softchip-mod.com/index.php/Guides
 
Hmm, it says in the guide the included version of libfat is sufficient unless you want sdhc, apparently this is not the case anymore?
 
Bent said:
Hmm, it says in the guide the included version of libfat is sufficient unless you want sdhc, apparently this is not the case anymore?

Thank you, forget to update this too. Page is updated, you really need both the new libogc and the new libfat
 
r68 naow uploaded.
tongue.gif


It's a great update. Just about every file updated, and Storage added, too.
 
buby78 said:
thanks macmel for that link


No problem, are you going to use the dol in conjunction with Wizzha's SoftChip forwarder channel, if so could you kindly upload the forwarder channel to mediafire as I am having issues and cannot download it from his link. Would greatly appreciate it if you can do that.

Just forget my request as SpaceJump made a mirror already on mediafire, anyways thanks.

MaCMeL
 
Warning: writable and executable segment 0
Error: TEXT segment 0 memory size (0xda520) does not equal file size (0x5fd00)

Anyone else getting this on compile?
 
Hellfenix said:
Warning: writable and executable segment 0
Error: TEXT segment 0 memory size (0xda520) does not equal file size (0x5fd00)

Anyone else getting this on compile?

getting same here, elf is made but not the dol
 
Help,
i updated libogc & libfat then tring to compile the loader,
but i got errors like below & elf file only,thanks in advance.
Code:
1>main.cpp
1>SoftChip.cpp
1>DIP.cpp
1>cIOS.cpp
1>Logger.cpp
1>Input.cpp
1>Configuration.cpp
1>Console.cpp
1>Storage.cpp
1>linking ... SoftChip.elf
1>output ... SoftChip.dol
1>Warning: writable and executable segment 0
1>Error: TEXT segment 0 memory size (0xda520) does not equal file size (0x5fd00)
1>make[1]: *** [/n/Source/Wii/softchip/loader/SoftChip.dol] Error 1
1>make: *** [build] Error 2

-------------edit---------------
It seems i am not alone.
Btw, i followed this guide and failed(Errors appears & no lib dir generated).
Finally, i compiled libogc first and then compiled libfat, there was no any error but SoftChip compiling failed.
 
Hmm i am using the latest lib etc. and it´s working fine.

> "make"
main.cpp
SoftChip.cpp
DIP.cpp
cIOS.cpp
Logger.cpp
Input.cpp
Configuration.cpp
Console.cpp
Storage.cpp
linking ... SoftChip.elf
output ... SoftChip.dol

> Process Exit Code: 0
> Time Taken: 00:09
 
masaemon said:
Finally, i compiled libogc first and then compiled libfat, there was no any error but SoftChip compiling failed.

I had to do that too, compiling libfat first didn't work, I had to compile libOGC and then libfat, I used the update ones for my compile and everything works up to the linking process/ outputting to dol...
In my case I don't get the .elf, I do get a .elf.map though
 
Maybe something error with devkitPPC dir, i replaced it with Auto DevKit's one and compiled fine.
(did not test on wii yet)
 

Site & Scene News

Popular threads in this forum