XenoGC Full Source Code

Latest site specific news
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

XenoGC Full Source Code

Post by emu_kidid » Tue Feb 22, 2011 1:30 am

Code: Select all

<DIR>          Credits
<DIR>          Drivecode
<DIR>          DvdTest
<DIR>          XenoAT
         7,762 XenoAT 1.05.bin
        21,855 XenoAT.1.05.hex
<DIR>          XenoFlash
       509,024 xenoflash.1.05.dol
           474 XenoGlobal.h
<DIR>          XenoShell
Let the open source modchip reign begin :)

With all of the recent Xeno hacking talk, it seems it brought a fellow GC hacker back :) The XenoGC author was kind enough to drop by our "Live chat" IRC channel and give me the full XenoGC source code.

In the XenoGC source you might notice a lot of files named QLite.. this is because the XenoGC was originally going to be called the "Qoob Lite" for other reasons you might notice whilst browsing the source ;)

Image
The chip is also capable of being updated via a flasher .dol file (included) - but I would use this at your own risk! It's quite nifty - the author tells me that he actually gets the MN102 to flash update the XenoGC - quite cool :) To run it, you must solder a switch from GND to any letter of the "Xeno" text on the modchip and toggle it when you've booted the DOL.

I had a quick look at the code and there's also some code in there to load a DOL from a memory card (you still need a DVD in the drive - but still cool) so I might work on getting a tool out there which will prepare an memcard with a DOL of the users choice.

Version control was obviously not adhered to but I'm told it's most likely the latest/last source code, as you can see from the 1.05 shell/etc. I will do my best in my spare time to clean up this source code, but if anyone else does, feel free to post it back.

From a brief look at the source, it includes:
* The updater (as source and binary)
* The Shell code (1.05 AND the nice Credits code w/ Ray tracing)
* Actual drive code patches and the patches for the IPL/Apploader
* DVD Test - a nifty app which sends commands to the drive via button combos and reports/dumps things to screen

All I ask is that people find some closure/answers in this source and it'd be cool if DIY guides are made as a result - please do NOT pester me for updates/etc

Last but not least, Enjoy!

edit:
updated the archive to remove the gamecube ipl from it (didn't notice it was there).
Attachments
XenoGC-Source.7z
(1.12 MiB) Downloaded 7746 times
title.jpg
(32.71 KiB) Not downloaded yet
Image
User avatar
Ashen
Posts: 994
Joined: Tue Nov 16, 2010 3:08 pm

Re: XenoGC Full Source Code

Post by Ashen » Tue Feb 22, 2011 1:49 am

Nice! Might this be useful for patching err.. Newer GC(wii) drives? :D
Paul.str
Posts: 134
Joined: Thu Dec 02, 2010 2:49 am

Re: XenoGC Full Source Code

Post by Paul.str » Tue Feb 22, 2011 2:25 am

Amazing...
Looks like I'm going to have to buy some ATMEL chips.
User avatar
bearteam
Posts: 152
Joined: Sat Feb 19, 2011 1:21 pm

Re: XenoGC Full Source Code

Post by bearteam » Tue Feb 22, 2011 2:39 am

fantastic!
GC scene is getting hot again.
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

Re: XenoGC Full Source Code

Post by liquitt » Tue Feb 22, 2011 6:30 am

emu_kidid wrote:To run it, you must solder a switch from GND to any letter of the "Xeno" text on the modchip and toggle it when you've booted the DOL.
this is like the coolest thing i've ever heard!
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
andzlay
Posts: 447
Joined: Thu Jul 08, 2010 12:53 am
Location: Germany

Re: XenoGC Full Source Code

Post by andzlay » Tue Feb 22, 2011 8:09 am

Hell yeah that's awesome. Now I got something to read at work :P
jocu3
Posts: 3
Joined: Wed Feb 09, 2011 2:09 pm

Re: XenoGC Full Source Code

Post by jocu3 » Tue Feb 22, 2011 9:23 am

Cool!

Would it be possible to flash Swiss to Xeno and the start Swiss on boot if eg. A is pressed or no DVD on drive?

/Jocu
sm4rty
Posts: 94
Joined: Mon Jul 19, 2010 11:19 am

Re: XenoGC Full Source Code

Post by sm4rty » Tue Feb 22, 2011 9:40 am

i dont think that this will be possible
User avatar
Dragoon
Posts: 323
Joined: Thu Jan 27, 2011 1:01 pm

Re: XenoGC Full Source Code

Post by Dragoon » Tue Feb 22, 2011 10:44 am

maybe we could make our own qoob/viper like chip from code.
(and where are the compilers and gctools.bat?)
Image
kevstah2004
Posts: 308
Joined: Wed Mar 31, 2010 1:07 pm
Location: UK, Hull

Re: XenoGC Full Source Code

Post by kevstah2004 » Tue Feb 22, 2011 11:35 am

Sweet.
radorn
Posts: 17
Joined: Thu Apr 01, 2010 1:39 pm

Re: XenoGC Full Source Code

Post by radorn » Tue Feb 22, 2011 12:14 pm

fantastic, just fantastic.
User avatar
ct_the_1
Posts: 98
Joined: Wed Feb 02, 2011 1:07 am
Location: germany

Re: XenoGC Full Source Code

Post by ct_the_1 » Tue Feb 22, 2011 1:16 pm

absolutely awesome!
Let's flash that chip :D

Edit: Cool, after a quick look at the source, I see that it is possible to switch the xenogc shell with sdload. :D
Wanna try this, when I got spare time...
ct_the_1 (currently very busy and rarely online)

Image
MrSporty
Posts: 43
Joined: Tue Feb 08, 2011 7:40 pm

Re: XenoGC Full Source Code

Post by MrSporty » Tue Feb 22, 2011 1:41 pm

Just to confirm the flash updater does appear to function although i had to repeat the process.

Got a 1.00 xenoGC now reporting a Shell when pressing start, guess that makes it a V2 :)
User avatar
ct_the_1
Posts: 98
Joined: Wed Feb 02, 2011 1:07 am
Location: germany

Re: XenoGC Full Source Code

Post by ct_the_1 » Tue Feb 22, 2011 3:12 pm

MrSporty wrote:Got a 1.00 xenoGC now reporting a Shell when pressing start, guess that makes it a V2 :)
Yes, it is. Mine will start sdload or gcos, when i press start :D :D
ct_the_1 (currently very busy and rarely online)

Image
User avatar
deku_scrub
Posts: 172
Joined: Thu Apr 01, 2010 7:34 pm
Location: Balneário Camboriú, Santa Catarina - Brasil

Re: XenoGC Full Source Code

Post by deku_scrub » Tue Feb 22, 2011 3:26 pm

bearteam wrote:fantastic!
GC scene is getting hot again.
YEAAAHHHH!!! :D
__ deku_scrub __ Wii D3-2 | System 4.3 | HC installed using Smash Stack | WODE Jukebox
Xbox 360 Slim 4GB | 320GB Hacked HDD | x360key
User avatar
razorblade
Posts: 8
Joined: Tue Feb 22, 2011 3:44 pm
Location: Germany

Re: XenoGC Full Source Code

Post by razorblade » Tue Feb 22, 2011 3:51 pm

"Yes, it is. Mine will start sdload or gcos, when i press start"

how it works?what i must do?sorry my english is not the best
thanks
Imagination is more important than knowledge
yamaharacer
Posts: 448
Joined: Mon Apr 05, 2010 4:11 pm
Location: Germany

Re: XenoGC Full Source Code

Post by yamaharacer » Tue Feb 22, 2011 4:32 pm

is the hex file for atmega 8l? or do I need to use the source to set the µC I want to use?
User avatar
razorblade
Posts: 8
Joined: Tue Feb 22, 2011 3:44 pm
Location: Germany

Re: XenoGC Full Source Code

Post by razorblade » Tue Feb 22, 2011 4:41 pm

@ct_the_1
how i can put sdload on my original xeno v2 by push the start button?
by razorblade
Imagination is more important than knowledge
User avatar
Dragoon
Posts: 323
Joined: Thu Jan 27, 2011 1:01 pm

Re: XenoGC Full Source Code

Post by Dragoon » Tue Feb 22, 2011 5:07 pm

you have to build it using devkitcube (if you can find it)
and you need the sdload source ofcourse :p
Image
User avatar
ct_the_1
Posts: 98
Joined: Wed Feb 02, 2011 1:07 am
Location: germany

Re: XenoGC Full Source Code

Post by ct_the_1 » Tue Feb 22, 2011 5:26 pm

Dragoon wrote:you have to build it using devkitcube (if you can find it)
and you need the sdload source ofcourse :p
first: yes, or migrate this to devkitppc...
second: no, you can include a dol file (the credits in v1 and the shell in v2 are dol's)
The author has inlude lines in his source code, where he can switch between the credits/shell or sdload or gcos.
ct_the_1 (currently very busy and rarely online)

Image
User avatar
tglaria
Posts: 62
Joined: Sat Apr 10, 2010 11:58 pm

Re: XenoGC Full Source Code

Post by tglaria » Tue Feb 22, 2011 5:31 pm

ct_the_1 wrote:Cool, after a quick look at the source, I see that it is possible to switch the xenogc shell with sdload. :D
Wanna try this, when I got spare time...
Which means you can have any disc in the drive to load SDLoad.
I'd love to just be able to get into "Shell" without any disc in drive.
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

Re: XenoGC Full Source Code

Post by liquitt » Wed Feb 23, 2011 6:24 am

ct_the_1 wrote:Yes, it is. Mine will start sdload or gcos, when i press start :D :D
which is pretty amazing :)
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
ct_the_1
Posts: 98
Joined: Wed Feb 02, 2011 1:07 am
Location: germany

Re: XenoGC Full Source Code

Post by ct_the_1 » Wed Feb 23, 2011 12:27 pm

liquitt wrote:
ct_the_1 wrote:Yes, it is. Mine will start sdload or gcos, when i press start :D :D
which is pretty amazing :)
Yep, I now have the hex file, which can be flashed to the chip (easy cause only winavr needed)
But I can't "make" the flash updater (devkitppc/libogc-port), cause it uses functions to write the flasher to the dvd drive, which are not present in devkitppc and libogc. I hope they are defined in devkitcube. (advanced, cause i dont have devkitcube to look for them and understand them)

So, if anybody has a devkitcube-r1.zip, please upload it and post the link.

Thanks in advance.
ct_the_1 (currently very busy and rarely online)

Image
User avatar
safefortheozone
Posts: 22
Joined: Mon May 10, 2010 7:41 pm

Re: XenoGC Full Source Code

Post by safefortheozone » Wed Feb 23, 2011 6:13 pm

ct_the_1 wrote:So, if anybody has a devkitcube-r1.zip, please upload it and post the link.
http://www.mediafire.com/?m10onhzgmzua1b2
User avatar
ct_the_1
Posts: 98
Joined: Wed Feb 02, 2011 1:07 am
Location: germany

Re: XenoGC Full Source Code

Post by ct_the_1 » Wed Feb 23, 2011 6:50 pm

Okay, thank you!

Unfortunately the old gclib is not included... it was available time ago at http://sourceforge.net/projects/gclib/ and gcdev.com, but is gone.
The funtions needed are included in this library, especially in these header files: \GcLib\GC_(EXI,Debug,DVD,...).h

Anybody with those gclib packages (build and source) out there? :D

Sorry to bother you again with this, but I thought I would not need such old files anymore and removed them from my harddrive long ago.

Thanks in advance! ;-)
ct_the_1 (currently very busy and rarely online)

Image
Post Reply