Permalink
Browse files

v1

  • Loading branch information...
1 parent 56f298d commit e086f7dc47bd79fc05af19fc1c3a2006f31ab695 @euss committed Sep 23, 2011
View
@@ -0,0 +1 @@
+Anonymous Developers (Code Monkeys)
View
@@ -0,0 +1,37 @@
+#!/usr/bin/env wish8.5
+#
+# ps3mfw -- PS3 MFW creator
+#
+# Copyright (C) Anonymous Developers (Code Monkeys)
+#
+# This software is distributed under the terms of the GNU General Public
+# License ("GPL") version 3, as published by the Free Software Foundation.
+#
+
+# MacOS X / Windows wrapper
+#
+# Mac OSX: Remove Cocoa argument from arglist
+if {[string first "-psn" [lindex $argv 0]] == 0} { set argv [lrange $argv 1 end]}
+
+#Source the main file
+if { $::tcl_platform(platform) == "windows"} {
+ source [file join [pwd] ps3mfw]
+} else {
+ #Set variable program_dir
+ set program_dir [file dirname [info script]]
+ set program [file tail [info script]]
+
+ while {[catch {file readlink [file join $program_dir $program]} program]== 0} {
+ if {[file pathtype $program] == "absolute"} {
+ set program_dir [file dirname $program]
+ } else {
+ set program_dir [file join $program_dir [file dirname $program]]
+ }
+
+ set program [file tail $program]
+ }
+
+ unset program
+ source [file join $program_dir ps3mfw]
+}
+
View
674 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
View
21 CREDITS
@@ -0,0 +1,21 @@
+DEVELOPED BY:
+Anonymous Developers (Code Monkeys)
+
+SPECIAL THANKS TO:
+Phineus
+anonymous developer - (self_rebuilder)
+evilsperm
+jbc
+grafchokolo (LV1 Patch)
+PL3 and its contributors (LV2/vsh/nas_plugin patches)
+fail0verflow team
+
+TESTERS:
+jbc
+King "The Man" Dong
+CrackKillsDreams
+drizztbsd
+CrashSerious
+kmeaw
+a few other anonymous testers.
+
View
@@ -0,0 +1,12 @@
+3.15 PS3UPDAT.PUP
+MD5::54ee80e14e479f8351a988eb9a472072
+SHA1::fc4e891e84333f9b37ff7f253eca165aa416c6ad
+
+3.41 PS3UPDAT.PUP
+MD5::e07d2b84c9e9691c261b73e5f1aada20
+SHA1::e7f522ba85c8fc780b8bcbaff6c70d36487e2e45
+
+3.55 PS3UPDAT.PUP
+MD5::ca595ad9f3af8f1491d9c9b6921a8c61
+SHA1::a3a0d1c61e17c6a58a5fa247a3dbb51524329e0a
+
View
71 README
@@ -0,0 +1,71 @@
+
+==============================================================
+ .------. .-------. .-----. .. .-. .--------. .--.
+ /_____ \/ _____//_____ \ / \/ \ /_ _____/\ / /
+ / ____/\____ \ __(__ < / \ / __)\ \/\/ /
+ / / / \/ \ /\/\ Y / \ /
+/___/ /________/_________/__/ \___|__/ \__/\__/
+ PS3MFW Builder v0.1
+==============================================================
+
+------------
+INTRODUCTION
+------------
+
+For years, the security system of PS3 remained unbreached because Sony had a
+very good defense mechanism: Consumers could use it for more than just gaming
+by installing Linux via the "Other OS" feature. Therefore there was little
+motivation for security researchers to investigate the PS3. However, then Sony
+(or SCE, SCEA, SCEE or whatever, we aren't exactly sure what is going on there
+anymore) made an unprecedented move: Not only did they introduce a new PS3
+model that no longer allowed the installation of an Other OS, but with a
+firmware "upgrade" they removed the capability from previously sold consoles.
+While removing advertised features from a product (several years after its
+purchase!) is blatantly unlawful, having highly paid lawyers apparently allows
+you to get away with it- in a legal sense.
+
+
+But when the law fails to protect the people, then some of those people, being
+clever and resourceful, help themselves. And that is what happened here. Sony
+sunk its own battleship.
+
+PS3MFW is the next step in the process of returning to consumers control over
+their own hardware. Your PS3 belongs to you. You didn't lease it, and you
+signed no contract when you purchased it. It is your right to use it however
+you choose. It is your responsibility to do so within the legal boundaries.
+
+PS3MFW allows you to tailor your PS3's firmware to your specific needs, giving
+you a level of control you previously lacked. PS3MFW is open source. That
+means it is completely transparent, and anyone with the necessary programming
+knowledge can help to improve it and create new plugin tasks.
+
+It is with great pleasure and joy that we are now able to present you with the
+first public release of PS3MFW Builder. A lot of hard work went into this
+during the past five weeks, by some incredibly dedicated and inspired people.
+We would like to thank everyone who contributed, the people who got this
+project underway, and those who did all the programming and testing.
+
+PS3MFW Builder v0.1 has been successfully tested on all major PS3 hardware
+revisions, and in conjunction with OFW 3.10 - 3.55. It is NOT compatible with
+OFW 3.56.
+
+Remember that this is only the very first release of PS3MFW Builder, version
+0.1. With your support and feedback, we intend to create the definitive PS3
+firmware solution that makes all other closed-source custom firmwares obsolete.
+
+PS3MFW Builder is not distributed with any program code copyrighted by third
+parties.
+
+PS.
+KevinButler, you sunk your own battleship.
+
+------------
+REQUIREMENTS
+------------
+
+To use PS3MFW Builder, the following is needed:
+
+-The latest version of the f0 tools
+
+-Tcl/Tk 8.5 ( http://www.tcl.tk/software/tcltk/8.5.tml )
+
View
@@ -0,0 +1,199 @@
+# FILE: console.tcl
+ #
+ # Provides a console window.
+ #
+ # Last modified on: $Date: 2006-01-28 17:42:17 -0500 (Sat, 28 Jan 2006) $
+ # Last modified by: $Author: redacted $
+ #
+ # This file is evaluated to provide a console window interface to the
+ # root Tcl interpreter of an OOMMF application. It calls on a script
+ # included with the Tk script library to do most of the work, making use
+ # of Tk interface details which are only semi-public. For this reason,
+ # there is some risk that future versions of Tk will no longer support
+ # this script. That is why this script has been isolated in a file of
+ # its own.
+
+ ########################################################################
+ # If the Tcl command 'console' is already in the interpreter, our work
+ # is done.
+ ########################################################################
+ if {![catch {console show}]} {
+ return
+ }
+
+ ########################################################################
+ # Check Tcl/Tk support
+ ########################################################################
+ if {[catch {package require Tcl 8}]} {
+ package require Tcl 7.5
+ }
+
+ if {[catch {package require Tk 8}]} {
+ if {[catch {package require Tk 4.1}]} {
+ return -code error "Tk required but not loaded."
+ }
+ }
+
+ set _ [file join $tk_library console.tcl]
+ if {![file readable $_]} {
+ return -code error "File not readable: $_"
+ }
+
+ ########################################################################
+ # Provide the support which the Tk library script console.tcl assumes
+ ########################################################################
+ # 1. Create an interpreter for the console window widget and load Tk
+ set consoleInterp [interp create]
+ $consoleInterp eval [list set tk_library $tk_library]
+ $consoleInterp alias exit exit
+ load "" Tk $consoleInterp
+
+ # 2. A command 'console' in the application interpreter
+ ;proc console {sub {optarg {}}} [subst -nocommands {
+ switch -exact -- \$sub {
+ title {
+ $consoleInterp eval wm title . [list \$optarg]
+ }
+ hide {
+ $consoleInterp eval wm withdraw .
+ }
+ show {
+ $consoleInterp eval wm deiconify .
+ }
+ eval {
+ $consoleInterp eval \$optarg
+ }
+ default {
+ error "bad option \\\"\$sub\\\": should be hide, show, or title"
+ }
+ }
+ }]
+
+ # 3. Alias a command 'consoleinterp' in the console window interpreter
+ # to cause evaluation of the command 'consoleinterp' in the
+ # application interpreter.
+ ;proc consoleinterp {sub cmd} {
+ switch -exact -- $sub {
+ eval {
+ uplevel #0 $cmd
+ }
+ record {
+ history add $cmd
+ catch {uplevel #0 $cmd} retval
+ return $retval
+ }
+ default {
+ error "bad option \"$sub\": should be eval or record"
+ }
+ }
+ }
+ if {[package vsatisfies [package provide Tk] 4]} {
+ $consoleInterp alias interp consoleinterp
+ } else {
+ $consoleInterp alias consoleinterp consoleinterp
+ }
+
+ # 4. Bind the <Destroy> event of the application interpreter's main
+ # window to kill the console (via tkConsoleExit)
+ bind . <Destroy> [list +if {[string match . %W]} [list catch \
+ [list $consoleInterp eval tkConsoleExit]]]
+
+ # 5. Redefine the Tcl command 'puts' in the application interpreter
+ # so that messages to stdout and stderr appear in the console.
+ rename puts tcl_puts
+ ;proc puts {args} [subst -nocommands {
+ switch -exact -- [llength \$args] {
+ 1 {
+ if {[string match -nonewline \$args]} {
+ if {[catch {uplevel 1 [linsert \$args 0 tcl_puts]} msg]} {
+ regsub -all tcl_puts \$msg puts msg
+ return -code error \$msg
+ }
+ } else {
+ $consoleInterp eval [list tkConsoleOutput stdout \
+ "[lindex \$args 0]\n"]
+ }
+ }
+ 2 {
+ if {[string match -nonewline [lindex \$args 0]]} {
+ $consoleInterp eval [list tkConsoleOutput stdout \
+ [lindex \$args 1]]
+ } elseif {[string match stdout [lindex \$args 0]]} {
+ $consoleInterp eval [list tkConsoleOutput stdout \
+ "[lindex \$args 1]\n"]
+ } elseif {[string match stderr [lindex \$args 0]]} {
+ $consoleInterp eval [list tkConsoleOutput stderr \
+ "[lindex \$args 1]\n"]
+ } else {
+ if {[catch {uplevel 1 [linsert \$args 0 tcl_puts]} msg]} {
+ regsub -all tcl_puts \$msg puts msg
+ return -code error \$msg
+ }
+ }
+ }
+ 3 {
+ if {![string match -nonewline [lindex \$args 0]]} {
+ if {[catch {uplevel 1 [linsert \$args 0 tcl_puts]} msg]} {
+ regsub -all tcl_puts \$msg puts msg
+ return -code error \$msg
+ }
+ } elseif {[string match stdout [lindex \$args 1]]} {
+ $consoleInterp eval [list tkConsoleOutput stdout \
+ [lindex \$args 2]]
+ } elseif {[string match stderr [lindex \$args 1]]} {
+ $consoleInterp eval [list tkConsoleOutput stderr \
+ [lindex \$args 2]]
+ } else {
+ if {[catch {uplevel 1 [linsert \$args 0 tcl_puts]} msg]} {
+ regsub -all tcl_puts \$msg puts msg
+ return -code error \$msg
+ }
+ }
+ }
+ default {
+ if {[catch {uplevel 1 [linsert \$args 0 tcl_puts]} msg]} {
+ regsub -all tcl_puts \$msg puts msg
+ return -code error \$msg
+ }
+ }
+ }
+ }]
+ $consoleInterp alias puts puts
+
+ # 6. No matter what Tk_Main says, insist that this is an interactive shell
+ set tcl_interactive 1
+
+ ########################################################################
+ # Evaluate the Tk library script console.tcl in the console interpreter
+ ########################################################################
+ $consoleInterp eval source [list [file join $tk_library console.tcl]]
+ $consoleInterp eval {
+ if {![llength [info commands tkConsoleExit]]} {
+ tk::unsupported::ExposePrivateCommand tkConsoleExit
+ }
+ }
+ $consoleInterp eval {
+ if {![llength [info commands tkConsoleOutput]]} {
+ tk::unsupported::ExposePrivateCommand tkConsoleOutput
+ }
+ }
+ if {[string match 8.3.4 $tk_patchLevel]} {
+ # Workaround bug in first draft of the tkcon enhancments
+ $consoleInterp eval {
+ bind Console <Control-Key-v> {}
+ }
+ }
+ # Restore normal [puts] if console widget goes away...
+ proc Oc_RestorePuts {slave} {
+ rename puts {}
+ rename tcl_puts puts
+ interp delete $slave
+ }
+ $consoleInterp alias Oc_RestorePuts Oc_RestorePuts $consoleInterp
+ $consoleInterp eval {
+ bind Console <Destroy> +Oc_RestorePuts
+ }
+
+ unset consoleInterp
+
+ console title "[wm title .] Console"
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Binary file not shown.
Oops, something went wrong.

0 comments on commit e086f7d

Please sign in to comment.