Gamefreax Videogame Community  

Zurück   Gamefreax Videogame Community > Letzte Generation von Spielkonsolen > Hardware (GameCube)
Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren

Antwort
 
Themen-Optionen Ansicht
  #1  
Alt 21.02.2005, 22:55
skozilla
 
Beiträge: n/a
Beitrag

Hi,
UTOPIA hat heute einen Open Source DVD-R Booter für den GC als Quelltext releast. Ich habe leider keinen Brenner hier der für Mini-DVD's geeigent ist. Aber einer von Euch wird das bestimmt ganz schnell testen wollen. Würde das File gerne hier posten, aber ich finde keine Funktion dazu. Einfach mal im Netz schauen. NFO:

************************************************** ******************************
* *
* Once again we are proud to say : *
* " An alle : Maulhalten, jetzt, sofort ! " *
* *
* -- The senior members of Utopia present you today : -- *
* - Anaconda04 - A viperfree Cobra04 DVD-R boot core recode in pure assembly - *
* *
************************************************** ******************************

>>> The story :
Some time ago the worlds first Gamecube Modchip called "Viper" was released,
basically for the homebrew development scene to allow people to start their
applications directly at power-on of the GC. Pretty fast an application called
"Cobra" got available for it , which allows people to boot their DVD-Rs on the
gamecube. Starting of version 0.2 this application reached version 0.4 upto
now , running pretty stable on all available GC drives ( 04 , 06 and 08 ).
This application uses a special , undocumented feature on the Modchip binding
it "tight" to the Viper. Being sure that the possibility of booting DVD-Rs is
not something special of the Viper we decided to find out whats going on inside
this Cobra application. And here is the result - presented to you as open-source
to allow the community to explore and use the possibilies without using the
- in our eyes - too expensive modchip.

>>> The stuff :
The included file "Anaconda04.S" is a full documented application source which
results in a run-able core for booting DVD-Rs. The steps it performs are as
follows:

- Initialize the diskdrive into a reset state (by setting HW register cc003024)
- Unlock the drives' debug feature by sending two special commands named
"ff 01 MATSHITA 02 00" and "ff 00 DVD-GAME 03 00"
- Sending some small codeblock into the drives' memory by using a command named
"fe 01 01 00 <memoryoffset> <datalength> <data>"
- Starting this codeblock by hooking it into a system call within the drive
resulting in the known (?) states of the bootphase of Cobra04
(laser off, motor off, delay to swap, motor on, laser on)
- Unlocking the drive by performing a ReadDiscID command (A8000040) to be able
to read sectors
- Enable audio streaming depending on the setup of the DiscID
- Reading , parsing and starting the apploader of the swapped disc , resulting
in booting the application on it

As stated above, this is a complete homemade recode of just the boot core,
no videooutput or messages are delivered during the run. Except from the
derived data within the "DriveCode" table this code is not affiliated with
the original Cobra04 code. We decided to use the data in its original state,
as the team around Mentalcube (the designers of the Cobra application) did a
well job while choosing the neccesary patches within the drive. The patchcode
is generic for all drive versions , so no need for different tables.
We leave it to the community to create some fancy GUI for it if they want,
as we just did it for the proof-of-concept and to end the countless discussions
around whats going on within the Cobra and Viper. We are even not familiar with
tools like PSOLoad, SDLoad or whatever-Load as we are using our own technique to
execute code on our GCs, but due to the simplyness of the code there should be
no problem at all to run this snippet with those things.

>>> The instruction to do :
To assemble the code you can use the free and widely available DevkitPPC.
Simply perform those steps for generating an executable .bin file:
- powerpc-elf-gcc.exe -Wl,-Ttext,0x81700000 -o Anaconda04.elf Anaconda04.S
- powerpc-elf-strip.exe --strip-debug --strip-all --discard-all
-o Anaconda04r.elf -F elf32-powerpc Anaconda04.elf
- powerpc-elf-objcopy.exe -I elf32-powerpc -O binary Anaconda04r.elf
Anaconda04.bin

An example .bin file already assembled with those tools is included within
this package. Upload this file to 0x81700000 and jump to this address. Other
addresses can be easily used by changing the parameter to powerpc-elf-gcc.
Please keep in mind that you have to bypass your lidswitch in some way (e.g.
rubberband) to make the code work correctly.

>>> The final talking and teasing :
And now a few words to the Mentalcube crew (and those who are interested in
some techstuff ) :
At first, we "bow down" infront of you ! You did a well job, either by finding
out all the neccessary steps and ofcourse for all the implemented crypting and
obfuscating on both sides , GC and the drive 8] . Creating a loader by patching
running code inside the drive, which then loads another loader to 0x8226 which
finally loads the patchcode to 0x8502 by offsetting bytes inside the firmware
is really a nice idea for obfuscation. And ofcourse you used the side-effect
that the commands of the drive are bitwise interpreted, so you could easily
hide them by putting alot of trash inside and around them. Even the idea to
hide the two unlock commands by a backward-turned value - statemachine was
pretty genious . Oh, and did you find out the Break 0 register functionality
to patch the firmware on your own, or did you just read the right passage
within the CPUs' manual ?

Finally , you did some "unluckily" flaws to the last states of your coding
which allowed us to present this release today :
- The idea of forbidding to read back memory from the drive should have been
done inside one of the loaders and not by sending direct offset memorypatch
commands - that allowed us to read the entire memory while stepping through
the sent commands.
- the 8 bytes-from-expanded-(71)-inquiry-to-D4 & xor-stream-from-D8
vipercommand thingie was neat and we thought this will be a hellish thing to
reverse ... but as you encrypt the sending of the offsets you had to do it
backwards in the second loader which we just recoded - or even better -
NOP out the xoring in the loader - voila - basically the last sent table
gives what a (0x)BABE wants .

Apart from this we say again , this was a really nice job done by Mentalcube.
Too bad they tried to bind it to the Viper and still didnt open their code
after this period of time. And we just want to clarify an important point :
We dont take nor want any credits for the possibility of booting DVD-Rs on
the GC, this was entirely made by the Mentalcube crew - we just opened this
to the members of the community who dont have a Viper around (for whatever
reasons) by de-obfuscating and recoding it into this piece of easy-to-use code.
We decided to release this code now because we think its time that people see
whats the mystery behind the Cobra code and give the chance to set up some nice
projects based on this , like we are thinking about some sort of DVD-Player
for the GC or other things.
Please keep in mind that playing copies of games you dont own is highly illegal
and in no way meant as superior function of this code !

Use this code at your own risk, no responsibility is taken for its functionality
at your place or exploded/fucked up GCs, drives, vipers, users, computers, DVDs,
hamsters, cats, dogs, lost wifes and everything else that may happen ...
You can use this code freely in any way you like as long as you keep some
credits inside to Mentalcube and Utopia.

Over and out - Wildlight/Utopia , 21.02.2005
Mit Zitat antworten

  #  
Alt Bitte registrieren Sie sich !
Noch kein Mitglied im Gamefreax-Forum ? Kostenlos anmelden und Mitreden !
 

Unregistriert
Beiträge: 0
Standard Noch nicht registriert ?

Wie ? Noch kein Mitglied im Gamefreax-Forum ?

Dann nichts wie los und *kostenlos* Anmelden !

  #2  
Alt 21.02.2005, 23:02
Bierpir Bierpir ist offline
Gamefreax Addict
 
Registriert seit: 02.01.2005
Beiträge: 392
Bierpir Nice guy
Beitrag

LOL das is ja wohl mal krass! Naja der Viper lohnt alleine schon wegen dem Region Free Modus.
Mit Zitat antworten

  #3  
Alt 21.02.2005, 23:05
Benutzerbild von Arakon
Arakon Arakon ist offline
Super-Moderator
 
Registriert seit: 09.08.2002
Beiträge: 6.294
Arakon Nice guy
Beitrag

klappt zwar, aber man braucht PSO und BBA.. die sind zusammen teurer als der viper chip.
ausserdem braucht man ne pc verbindung, muss jedesmal PSO vorbooten, etc.. nicht so doll.
__________________
Arakon
Mit Zitat antworten

  #4  
Alt 21.02.2005, 23:14
Devil666 Devil666 ist offline
Cool Guy
 
Registriert seit: 19.01.2005
Beiträge: 166
Devil666 Nice guy
Beitrag

na da kann ich nur sagen: Gaga drauf, da bleib ích lieber bei meinem Viper, hehe

MFG DEVIL666
Mit Zitat antworten

  #5  
Alt 21.02.2005, 23:43
Bierpir Bierpir ist offline
Gamefreax Addict
 
Registriert seit: 02.01.2005
Beiträge: 392
Bierpir Nice guy
Beitrag

@Arakon
check mal bitte deine PN
Mit Zitat antworten

  #6  
Alt 22.02.2005, 07:26
mike22222 mike22222 ist offline
Cool Guy
 
Registriert seit: 02.02.2004
Beiträge: 195
mike22222 Nice guy
Beitrag

habe das jetzt auch ausgibig getestet, für jemanden der seither gestreamt hat und bba und pso schon hat eine echte alternative.

für jemanden der pso noch nicht hat würde ich lieber dazu raten sich einen viper zu kaufen. ist ungefähr der selbe preis aber etwas komfortabler und beim starten doch schneller.

mike22222
Mit Zitat antworten

  #7  
Alt 22.02.2005, 09:24
fakemailer
 
Beiträge: n/a
Beitrag

es soll aber auch über Action Replay bootbar sein das file

</font><blockquote>Zitat:</font><hr /> alright i think i have figured out how to make it work with SDLoad!!!!!!!, i haven't gotten my lidsensor done because its late. but when i load anaconda, it spins up, stops, and then spins up again, and all other previous attempts results in the gamecube crashing.

[quot="xor37h"]yeah no viper needed

just run it at 0x81700000 or compile your own version

The box has been opened i don't know if SDloader occupies this address or not, but other posts suggested that PSO and AR load anaconda as an app, and since sdload must be an app....

DolTool v0.3 - loser 2003
usage: DolTool &lt;option&gt; &lt;input filename&gt;
options: -i list info on dol file
-b dump dol to binary file
-e dump dol to elf file
-c convert binary file to dol file
-d convert elf file to dol file

C:\tempr\newgc\DolTool3&gt;doltool -b ana04.dol
DolTool v0.3 - loser 2003

Dumped ana04.dol to ana04.bin
Load Address: 0x81700000
Entry point: 0x81700000

C:\tempr\newgc\DolTool3&gt;copy ana04.bin e:\SDLOADER.BIN

this results in anaconda being loaded instead of sdloader.

you can probably use the bin file included in the original release. </font>[/quote]siehe: http://www.dextrose.com/_forum/showt...threadid=10437

[ 22. Februar 2005, 10:27: Beitrag editiert von: fakemailer ]
Mit Zitat antworten

  #8  
Alt 22.02.2005, 10:31
mike22222 mike22222 ist offline
Cool Guy
 
Registriert seit: 02.02.2004
Beiträge: 195
mike22222 Nice guy
Beitrag

das kann ich nicht testen da ich keines habe, wäre dann aber natürlich ne feine alternative und ist auch ab 30 euro zu bekommen.

denke dann sollte der viper etwas billiger werden.

mike22222
Mit Zitat antworten

  #9  
Alt 22.02.2005, 12:17
killer7 killer7 ist offline
Gamefreax Addict
 
Registriert seit: 22.12.2004
Beiträge: 270
killer7 Nice guy
Beitrag

Hallo,

ich finde das es zum Viper keine große alternative ist. Mann kann es zwar anscheinend mit dem sd loader ubd dem AR laden dennoch muss mann hinten den laser "anschalter" überlisten oder mit klebeband abkleben.
Hab die file kann sie verschicken wenn sie jemand will. Gebt mir eure email dann mach ich es.

[ 22. Februar 2005, 13:20: Beitrag editiert von: killer7 ]
Mit Zitat antworten

  #10  
Alt 22.02.2005, 13:05
Benutzerbild von crash
crash crash ist offline
Premium Member
 
Registriert seit: 01.09.2002
Beiträge: 1.655
crash Nice guy
Beitrag

naja dafür weiß man jetz wies funzt und weite groups können nen bios machen vll kommt da ja noch was gutes [img]smile.gif[/img]
Mit Zitat antworten

Antwort


Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge anzufügen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

vB Code ist An.
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.
Gehe zu


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:57 Uhr.

Kontakt - Gamefreax - Archiv - Nach oben

Best viewed with Firefox / Powered by Viel-Preiswerter
Powered by vBulletin® Version 3.6.8 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
(C) Gamefreax - Hosting by Arke