Hacking Tutorial: Compile your own USB Loader!

aquarion

Member
Newcomer
Joined
Apr 3, 2009
Messages
17
Trophies
0
XP
1
Country
Netherlands
No I mean this:
aa.png

You see, when usbloader is loaded, it creates a black rectangle there. So I wanted to know if that rectangle (the one usbloader creates, not the one in the background) can be made transparent.

I see, okay MightyMouse, I'll be waiting
wink.gif
 

TiMeBoMb4u2

Well-Known Member
Member
Joined
Oct 25, 2008
Messages
1,550
Trophies
0
Location
Hyrule
XP
1,198
Country
United States
I followed your tutorial, and I am receiving errors (see below). How can I fix this?

Code:
> "make"
apploader.c
powerpc-gekko-gcc.exe: CreateProcess: No such file or directory
make[1]: *** [apploader.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:01


Thanks!
unsure.gif
 

JussiPik

Well-Known Member
OP
Member
Joined
Nov 3, 2008
Messages
264
Trophies
0
XP
108
Country
Finland
TiMeBoMb4u2 said:
I followed your tutorial, and I am receiving errors (see below). How can I fix this?

Code:
> "make"
apploader.c
powerpc-gekko-gcc.exe: CreateProcess: No such file or directory
make[1]: *** [apploader.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:01


Thanks!
unsure.gif

delete the BUILD-folder (c:\USBLoader\build) completely and try compiling again,if that doesn`t work check that you have the correct
folder structure which is c:\USBLoader. (it should not be c:\USBLoader\blahblahblah\woot etc etc..)
 

snaker

Well-Known Member
Member
Joined
Mar 30, 2009
Messages
217
Trophies
1
Website
biohazard-era.blogspot.com
XP
718
Country
United States
inking ... USBLoader.elf
wpad.o: In function `Wpad_Init':
wpad.c:(.text.Wpad_Init+0x28): undefined reference to `WPAD_SetPowerButtonCallback'
collect2: ld returned 1 exit status
make[1]: *** [/c/USBLoader/USBLoader.elf] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:03

Can you think any possible cause of this?Thanks
 

JussiPik

Well-Known Member
OP
Member
Joined
Nov 3, 2008
Messages
264
Trophies
0
XP
108
Country
Finland
snaker said:
inking ... USBLoader.elf
wpad.o: In function `Wpad_Init':
wpad.c:(.text.Wpad_Init+0x28): undefined reference to `WPAD_SetPowerButtonCallback'
collect2: ld returned 1 exit status
make[1]: *** [/c/USBLoader/USBLoader.elf] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:03

Can you think any possible cause of this?Thanks


if you messed with the source then i can`t.
 

snaker

Well-Known Member
Member
Joined
Mar 30, 2009
Messages
217
Trophies
1
Website
biohazard-era.blogspot.com
XP
718
Country
United States
JussiPik said:
snaker said:
inking ... USBLoader.elf
wpad.o: In function `Wpad_Init':
wpad.c:(.text.Wpad_Init+0x28): undefined reference to `WPAD_SetPowerButtonCallback'
collect2: ld returned 1 exit status
make[1]: *** [/c/USBLoader/USBLoader.elf] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:03

Can you think any possible cause of this?Thanks


if you messed with the source then i can`t.

I didnt touch anything.I have compiled other programs before.Seriously i have no idea why i get this message!
Is there a possibility that i miss something in libogc?
 

nIxx

Well-Known Member
Member
Joined
Sep 30, 2007
Messages
1,544
Trophies
0
Location
Germany
Website
Visit site
XP
337
Country
Gambia, The
Little question do i still need a older devkitpro to compile this like with the Backup Loaders !?

aquarion said:
No I mean this:
aa.png

You see, when usbloader is loaded, it creates a black rectangle there. So I wanted to know if that rectangle (the one usbloader creates, not the one in the background) can be made transparent.

I see, okay MightyMouse, I'll be waiting
wink.gif

Dont let the Usbloader make this rectangle or is it a console !?

@snaker: You most likely don´t have the actuall libogc
 

WiiBlaster

Well-Known Member
Member
Joined
Nov 23, 2008
Messages
1,189
Trophies
0
XP
29
Country
United States
WiiMonkey said:
JussiPik said:
btw, did you have any errors while installing devkitpro?

No none it all went fine

EDIT: Noob proof but not WiiMonkey proof
frown.gif
cry.gif
wacko.gif

Let me guess your using VISTA

some people will get these problems when complying with vista when others dont,
 

TiMeBoMb4u2

Well-Known Member
Member
Joined
Oct 25, 2008
Messages
1,550
Trophies
0
Location
Hyrule
XP
1,198
Country
United States
JussiPik said:
TiMeBoMb4u2 said:
I followed your tutorial, and I am receiving errors (see below). How can I fix this?

Code:
> "make"
apploader.c
powerpc-gekko-gcc.exe: CreateProcess: No such file or directory
make[1]: *** [apploader.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:01


Thanks!
unsure.gif

delete the BUILD-folder (c:\USBLoader\build) completely and try compiling again,if that doesn`t work check that you have the correct
folder structure which is c:\USBLoader. (it should not be c:\USBLoader\blahblahblah\woot etc etc..)
Deleted the "build" folder. My folder structure is correct. Same issue!

Any other ideas?

unsure.gif
 

TiMeBoMb4u2

Well-Known Member
Member
Joined
Oct 25, 2008
Messages
1,550
Trophies
0
Location
Hyrule
XP
1,198
Country
United States
WiiBlaster said:
WiiMonkey said:
JussiPik said:
btw, did you have any errors while installing devkitpro?

No none it all went fine

EDIT: Noob proof but not WiiMonkey proof
frown.gif
cry.gif
wacko.gif

Let me guess your using VISTA

some people will get these problems when complying with vista when others dont,
I am using Vista, but I had NO problems installing devkitpro. I'm still having build problems.


unsure.gif
 

u4Wii

Well-Known Member
Newcomer
Joined
Aug 15, 2007
Messages
56
Trophies
0
XP
202
Country
TiMeBoMb4u2 said:
I am using Vista, but I had NO problems installing devkitpro. I'm still having build problems.


unsure.gif

He didn't say people with Vista would have issues installing DevkitPro, he said they would occur when compiling the source code (building).

Try running "Programmers Notepad" as Adminstrator (right click the short cut and choose "Run as Admin" etc). I can't test to see if this will resolve it for you or not as I'm still using XP.
 

Adr990

To boldly go where no man has gone before!
Member
Joined
Apr 22, 2007
Messages
1,567
Trophies
0
Location
The Netherlands
Website
www.hyrule.net
XP
737
Country
Netherlands
Thanks dude!
smile.gif


But when I try I get a error:
Code:
> "make" 
apploader.c
In file included from c:/USBLoader/source/apploader.c:1:
c:/devkitPro/libogc/include/stdio.h:46:27: warning: crtdll/stddef.h: No such file or directory
In file included from c:/USBLoader/source/apploader.c:1:
c:/devkitPro/libogc/include/stdio.h:176: error: expected declaration specifiers or '...' before 'size_t'
c:/devkitPro/libogc/include/stdio.h:198: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:198: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:212: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:212: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:213: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:213: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:214: error: expected ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:215: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:215: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:216: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:216: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:217: error: expected ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:228: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:228: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:229: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:229: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:230: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:230: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:250: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fgetwc'
c:/devkitPro/libogc/include/stdio.h:251: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fputwc'
c:/devkitPro/libogc/include/stdio.h:252: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getwc'
c:/devkitPro/libogc/include/stdio.h:253: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ungetwc'
c:/devkitPro/libogc/include/stdio.h:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_filwbuf'
c:/devkitPro/libogc/include/stdio.h:256: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_flswbuf'
c:/devkitPro/libogc/include/stdio.h:278: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
c:/devkitPro/lib> "make" 
apploader.c
In file included from c:/USBLoader/source/apploader.c:1:
c:/devkitPro/libogc/include/stdio.h:46:27: warning: crtdll/stddef.h: No such file or directory
In file included from c:/USBLoader/source/apploader.c:1:
c:/devkitPro/libogc/include/stdio.h:176: error: expected declaration specifiers or '...' before 'size_t'
c:/devkitPro/libogc/include/stdio.h:198: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:198: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:212: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:212: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:213: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:213: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:214: error: expected ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:215: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:215: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:216: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:216: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:217: error: expected ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:228: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:228: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:229: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:229: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:230: warning: type defaults to 'int' in declaration of 'wchar_t'
c:/devkitPro/libogc/include/stdio.h:230: error: expected ';', ',' or ')' before '*' token
c:/devkitPro/libogc/include/stdio.h:250: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fgetwc'
c:/devkitPro/libogc/include/stdio.h:251: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fputwc'
c:/devkitPro/libogc/include/stdio.h:252: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getwc'
c:/devkitPro/libogc/include/stdio.h:253: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ungetwc'
c:/devkitPro/libogc/include/stdio.h:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_filwbuf'
c:/devkitPro/libogc/include/stdio.h:256: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_flswbuf'
c:/devkitPro/libogc/include/stdio.h:278: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
c:/devkitPro/libogc/include/stdio.h:280: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
make[1]: *** [apploader.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:00ogc/include/stdio.h:280: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
make[1]: *** [apploader.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:01
What is this?

I've placed it all in: C:\USBLoader...
(Yes, only the Build , Makefile , Data etc folders/files in there...)

Thanks
smile.gif
 

substring

Member
Newcomer
Joined
Apr 2, 2009
Messages
13
Trophies
0
XP
1
Country
France
Guyz, do you all understand what you are doing ? We are talking here about recompiling a software. That means to have a little understanding about what compiling and setting up a compiler means. So when I see how you all don't understand why you have linking errors once you run "make", I really wonder if you know what you are doing.

If you don't know what it does, and how to do it, don't use it, and that's all ...
 

TiMeBoMb4u2

Well-Known Member
Member
Joined
Oct 25, 2008
Messages
1,550
Trophies
0
Location
Hyrule
XP
1,198
Country
United States
u4Wii said:
TiMeBoMb4u2 said:
I am using Vista, but I had NO problems installing devkitpro. I'm still having build problems.


unsure.gif

He didn't say people with Vista would have issues installing DevkitPro, he said they would occur when compiling the source code (building).

Try running "Programmers Notepad" as Adminstrator (right click the short cut and choose "Run as Admin" etc). I can't test to see if this will resolve it for you or not as I'm still using XP.
Tried that. Same problem. Thanks, though.

unsure.gif
 

TiMeBoMb4u2

Well-Known Member
Member
Joined
Oct 25, 2008
Messages
1,550
Trophies
0
Location
Hyrule
XP
1,198
Country
United States
substring said:
Guyz, do you all understand what you are doing ? We are talking here about recompiling a software. That means to have a little understanding about what compiling and setting up a compiler means. So when I see how you all don't understand why you have linking errors once you run "make", I really wonder if you know what you are doing.

If you don't know what it does, and how to do it, don't use it, and that's all ...
I compiled MANY times in the past (not recently)! Normally, I would compile from a Linux command-line, though. So, I understand I'm getting errors, but I don't know why?! Below is the error I'm getting:

CODE> "make"
apploader.c
powerpc-gekko-gcc.exe: CreateProcess: No such file or directory
make[1]: *** [apploader.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:01

wacko.gif
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
To me it looks like there's something wrong with your devkit installation. Are you sure there aren't any spaces in any filepath and you did restart your pc after the installation?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • cearp @ cearp:
    the bakery section smells good, but I wish the ingredients list on their items were simpler
  • cearp @ cearp:
    @SylverReZ costco in the UK is only available to certain people, not everyone is eligible

    - in the USA anyone is able to buy the membership
    +1
  • BigOnYa @ BigOnYa:
    Its nice if you can afford, and have space at home, to buy in large quantities. We most!y buy TP, paper towels, that kind of stuff there
    +2
  • SylverReZ @ SylverReZ:
    We're planning on getting membership cards.
  • K3Nv2 @ K3Nv2:
    I miss our dillions which was a Kroger subsidiary got turned into a juvie court house or something
  • SylverReZ @ SylverReZ:
    @BigOnYa, TP? I need TP for my bunghole.
    +2
  • K3Nv2 @ K3Nv2:
    What kind of dictatorship says you can't shop at a grocery store lol
    +1
  • BigOnYa @ BigOnYa:
    I watched them last night, stupid, but still Funny after all these years.
  • K3Nv2 @ K3Nv2:
    Tbf like bigonya said costs only worth it if you got a big family otherwise you're Walmart bitch
    +2
  • SylverReZ @ SylverReZ:
    @K3Nv2, Its as if Costco only rules on communism.
  • BigOnYa @ BigOnYa:
    Or for like big cookouts, parties, etc they good to shop, but yea if only one or two in house, Wal-Mart it is. But membership is only like $60 a year so cheap really considering.
  • K3Nv2 @ K3Nv2:
    I wonder if Costco cards are global like if you go to another country and can still use it there
  • K3Nv2 @ K3Nv2:
    Who needs a passport I got my costco port
  • BigOnYa @ BigOnYa:
    Ask yo boyfriend Juan.
  • K3Nv2 @ K3Nv2:
    That's. A Mexico port and I don't want to shop in Mexico
    +1
  • BigOnYa @ BigOnYa:
    You don't like donkey hot dogs?
  • HiradeGirl @ HiradeGirl:
    What is Costco?
  • BigOnYa @ BigOnYa:
    Wholesale grocery store. Everything is in like 64 packs.
  • K3Nv2 @ K3Nv2:
    Ramen bowels are better than ramen cups
  • HiradeGirl @ HiradeGirl:
    Are those like big sized ramen? Do they look like a
    bowel?
  • K3Nv2 @ K3Nv2:
    Has better girth
  • BigOnYa @ BigOnYa:
    Dirt cheap, but its only 5400 rpm. But still be good for music/photo/ etc backup
    BigOnYa @ BigOnYa: Dirt cheap, but its only 5400 rpm. But still be good for music/photo/ etc backup