Hacking SoftChip Backup Loader

Bent

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
192
Trophies
2
Age
42
Website
Visit site
XP
2,643
Country
United States
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?
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
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
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
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
 

Arm the Homeless

Custom Title
Member
Joined
May 26, 2008
Messages
1,762
Trophies
0
Location
/home/andy/
Website
Visit site
XP
125
Country
United States
r68 naow uploaded.
tongue.gif


It's a great update. Just about every file updated, and Storage added, too.
 

macmel

Well-Known Member
Member
Joined
Nov 18, 2008
Messages
166
Trophies
1
Website
Visit site
XP
218
Country
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
 

Hellfenix

Well-Known Member
Member
Joined
Jun 25, 2005
Messages
204
Trophies
0
Age
38
Location
Canada
Website
Visit site
XP
294
Country
Canada
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?
 

stev418

Well-Known Member
Member
Joined
Sep 25, 2007
Messages
492
Trophies
1
Website
Visit site
XP
200
Country
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
 

masaemon

Well-Known Member
Newcomer
Joined
Sep 27, 2008
Messages
70
Trophies
0
XP
116
Country
United States
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.
 

pika9323

Well-Known Member
Member
Joined
Nov 23, 2008
Messages
409
Trophies
0
XP
112
Country
Gambia, The
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
 

Hellfenix

Well-Known Member
Member
Joined
Jun 25, 2005
Messages
204
Trophies
0
Age
38
Location
Canada
Website
Visit site
XP
294
Country
Canada
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
 

masaemon

Well-Known Member
Newcomer
Joined
Sep 27, 2008
Messages
70
Trophies
0
XP
116
Country
United States
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

General chit-chat
Help Users
    ZeroT21 @ ZeroT21: You need better couch potatoes la +1