Hacking USB Loader GX

  • Thread starter cyrex
  • Start date
  • Views 7,147,517
  • Replies 29,350
  • Likes 47

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
45
Location
Engine room, learning
XP
15,648
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,126
Trophies
1
Age
49
XP
1,729
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
45
Location
Engine room, learning
XP
15,648
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,126
Trophies
1
Age
49
XP
1,729
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
45
Location
Engine room, learning
XP
15,648
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
45
Location
Engine room, learning
XP
15,648
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
45
Location
Engine room, learning
XP
15,648
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.
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    B @ btjunior: @Xdqwerty 16