Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,229,470
  • Replies 29,375
  • Likes 48

overjet

Active Member
Newcomer
Joined
Sep 16, 2010
Messages
40
Trophies
0
XP
5
Country
Luxembourg
Hi,

i've a problem to compile the rev 943.

i compile the rev 940 succesfuly

but with rev 943 i recive an error while i'm compiling...

> "make"
linking ... boot.elf
menu.o: In function `MainMenu(int)':
c:/usbloadergx/source/menu.cpp:381: undefined reference to `BootHomebrewFromMem()'
c:/usbloadergx/source/menu.cpp:377: undefined reference to `BootHomebrew(char*)'
HomebrewBrowse.o: In function `MenuHomebrewBrowse()':
c:/usbloadergx/source/homebrewboot/HomebrewBrowse.cpp:799: undefined reference to `AllocHomebrewMemory(unsigned int)'
c:/usbloadergx/source/homebrewboot/HomebrewBrowse.cpp:899: undefined reference to `FreeHomebrewBuffer()'
c:/usbloadergx/source/homebrewboot/HomebrewBrowse.cpp:882: undefined reference to `homebrewsize'
c:/usbloadergx/source/homebrewboot/HomebrewBrowse.cpp:882: undefined reference to `homebrewsize'
c:/usbloadergx/source/homebrewboot/HomebrewBrowse.cpp:912: undefined reference to `FreeHomebrewBuffer()'
c:/usbloadergx/source/homebrewboot/HomebrewBrowse.cpp:904: undefined reference to `AddBootArgument(char const*)'
collect2: ld returned 1 exit status
make[1]: *** [/c/usbloadergx/boot.elf] Error 1
"make": *** [build] Error 2

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


i've already updated the new lib

libogc_R4316_15-09-2010

so rev940 has been compiled without problems

but with the last rev943 i've this error

how can i fix this error ?!?

Thanks a lot for help.

Thanks again.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
You can try to compile 942, if it's working it's good enough.
943 only change the way USBGecko is sending data to computer. If you don't need USBgecko, I think you won't miss a crucial feature
tongue.gif

It's only for Gecko send to not wait answer from the computer, it mainly prevent the loader to wait/seems to hang with a blackscreen at startup if the USBGecko is plugged but no reader on the computer was started (Am I right ?)
 

petspeed

Well-Known Member
Member
Joined
Nov 13, 2009
Messages
1,146
Trophies
1
Age
49
XP
1,779
Country
Denmark
WOW, new revisions by Domik and Giantpune. This is really great news, best thing that could happen. I hope they are back for good. Last week I decided to change to Wiiflow but if development of GX continues I will definitely use that loader again.

I have no idea how to compile the code. Any news on whether the team will relase dols again like they used to? Or maybe a guide on how to compile for non developers?
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
I'm sure they will release dol for milestone revisions (like, after everything they wish to add in this update wave).
No need to release a dol for each minor changes (in my opinion). just wait patiently, and don't annoy them, you will have what you want
tongue.gif


The last updates added the "back to HBC 1.0.8", corrected a bug in ocarina, and a better homebrew launcher.

What I would like to see again now is an option to set individually (or unset it for problematic games like PoP) "back to loader" when exiting a game. In the meanwhile I'm using 927.

Ps : it's Dimok
ninja.gif
 

petspeed

Well-Known Member
Member
Joined
Nov 13, 2009
Messages
1,146
Trophies
1
Age
49
XP
1,779
Country
Denmark
Thanks. Really excited about this, I am looking forward to trying the new revs. I would also like to see the "back to loader" feature again as a globat setting with the option to override it for individual games.

Yeah I know it's Dimok, just a typo
 

myron0815

Active Member
Newcomer
Joined
Feb 14, 2009
Messages
40
Trophies
0
XP
79
Country
United States
ah well.
some long awaited refactoring is going on

QUOTE said:
Log message r944

*Mem2 fix
*updated libntfs (write fix)
*updated libfat
*lots of changes in the startup code, removed almost everything. This might
cause problems for some drives at loading the gamelist and needs to be adjusted
later but better this time. more cleanup is needed in main.cpp and will come.
*using libogc sd/usb for config loading and reload to cIOS afterwards
*added missing boothomebrew stuff pune forgot

NOTE: From now on we will be doing a lot of revs which we won't be compiling and
releasing. This revs are officially not available for public so don't making
issues regarding those revs. Those will be closed right away. We need first to
cleanup a lot of crap and update loader to new standards before releasing stuff
again.

(that describes my svn conflicts as i tried to upgrade the same libs
tongue.gif
- (but taking me ages))
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
Even if compiling would work, you won't be able to launch games (it seems it's a libogc related problem).
That's why there's no dol released, they will release compiled .dol when it's stable enough.

I think this development method let more people work on the latest version of the code instead of working separately and starting something which will be changed by another developer before submitting your own work.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
Thank you for reading my previous post saying it will NOT work.
And this is why there is no provided official .dol .... It's because it's NOT working. The updates are not complete, the developers know it. they even said some HDD would not be recognize anymore.
please, wait until the developers provide official builds. thank you.
 

overjet

Active Member
Newcomer
Joined
Sep 16, 2010
Messages
40
Trophies
0
XP
5
Country
Luxembourg
Someone know what lib i have to use to compile the stable version r921 or some way to modify the dol of the version r921 ?!?

i try compiling


> "make"
video.cpp
c:/usbloadergx/source/video.cpp: In function 'void Menu_DrawImg(f32, f32, f32, f32, f32, u8*, f32, f32, f32, u8, int, int, int, int, int, int, int, int)':
c:/usbloadergx/source/video.cpp:280: error: 'guVector' was not declared in this scope
c:/usbloadergx/source/video.cpp:280: error: expected `;' before 'axis'
c:/usbloadergx/source/video.cpp:283: error: 'axis' was not declared in this scope
c:/usbloadergx/source/video.cpp: In function 'void Menu_DrawRectangle(f32, f32, f32, f32, GXColor, u8)':
c:/usbloadergx/source/video.cpp:330: error: 'guVector' was not declared in this scope
c:/usbloadergx/source/video.cpp:330: error: expected `;' before 'v'
c:/usbloadergx/source/video.cpp:325: warning: unused variable 'fmt'
c:/usbloadergx/source/video.cpp:326: warning: unused variable 'n'
c:/usbloadergx/source/video.cpp:327: warning: unused variable 'i'
c:/usbloadergx/source/video.cpp:328: warning: unused variable 'x2'
c:/usbloadergx/source/video.cpp:329: warning: unused variable 'y2'
c:/usbloadergx/source/video.cpp:501: error: expected `}' at end of input
make[1]: *** [video.o] Error 1
"make": *** [build] Error 2

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

synce

だいこんちゃんのだいふぁん
Member
Joined
Nov 5, 2009
Messages
537
Trophies
0
XP
574
Country
Comoros
Curious, can I add game covers without connecting to the internet? I checked out the cover folder on the SD and it seems simple enough but I'm not sure how to figure out the code name for all my games
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
there's 2 possibilities :

1) in the loader, put the cursor over the coverbox, you will have the Title ID printed (you should have "show Title ID" in the preferences).
But it will be way too long to write them one by one.

2) you can generate a Wiitdb.zip with your computer containing all the games data.
in the game list : push 2 to show a game info, then push 1 to generate a .txt with Wiitdb URL.

You will have all the Title ID in this file.
you will have to save all the covers/disc manually though.
The URL downloads only the Wiitdb.zip containing the title.xml which have all the title's name/info. Put this Wiitdb.zip in your "wiitdb" path defined in the preferences and set the loader to use it.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
even easier, click the text that says "100 games" or whateven and it will let you save a txt or csv list. no need to dig through an xml file then.
 

joshwaan2k

Well-Known Member
Member
Joined
Dec 10, 2004
Messages
224
Trophies
0
XP
294
Country
Hey Guys

Trying to get this to work

I have a External 160GB HDD formatted with WBFS 3.0.

I have a Pal Wii 4.2E with current IOS in the MM Manager displays current: IOS236V65535

I tried this and it looks for the USB and cannot find it. Do I need to install another IOS file for it to detect?

Thanks
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://m.youtube.com/watch?v=UyxeZ7JYwZs&pp=ygUJVnIgaXMgZ2F5 +1