XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 02, 2010, 10:23:22 PM


Login with username, password and session length


Pages: 1 2 »
  Print  
Author Topic: X360 Library and Source  (Read 3547 times)
jester
Master Hacker
****
Posts: 174


View Profile
« on: December 05, 2009, 06:01:32 AM »

Released by my friend DJ Shepherd, a very robust open-source app and library, extremely relevant for the way it handles all FatX drives and all SFTS packages. You can modify the contents of a LIVE package and resign it for dev, (allowing you to run it on a rebooted retail).

I apologize in advance if it's hard to read due to the abundance of furry-ness. :\

Quote
So, let’s start off wif the library, X360, it’s perty much self explanatory (refer to Le Fluffie sawce if you are having troubles wif an aspect), I will go through wif you on how to make your own STFSPackage class though:

For all you developers here, I have made a friendly STFS class to allow you to make ease of your Xbox haxing life.  I implemented a basic parse check which checks if the package is valid (you should always put that at the top of your package function, unenclosed so the end user doesn’t try to f*** up the package) and to prevent multithreading (if you try to add a file while it’s hashing it, good things do not happen >.< ).

Refer to my ProfilePackage in X360 for a good example of how to make your own STFS Package, here’s a quick (non-meant-to-be-compiled code):

public class H3Forge : STFSPackage
{
// H3 variables
public H3Forge(STFSPackage xIn)
: base(xIn)
{
LoadFile();
}

void LoadFile()
{
// functions to load the H3Forge package
}

// Whatever other functions are needed
// Make sure you include ParseCheck(); at the top of each function
// to prevent any fuxups
}

So ya, that’s perty much the basic thing, like I said, everything is self explanatory.

Quick list of things:

Proper STFS:
Package Creation
General Package Manipulation
Adding Files
Deleting Files
Renaming Files
Replacing Files
Injecting Files
Folder Adding/Renaming
Proper File Extraction
Proper Hashing

Profile Editing:
Gamertag and General info in the account block
Achievements/Gamerscore haxing
2 Ways to add games (the XBL hack and the proper GPD addition)
Edit your profile info/add new info

FATX:
File Extraction/Delete/Renaming/Replacing/Injection
Folder Adding
Gets STFS Package name (if applicable) or Gamertag (if applicable)
Drive backup/restore

HDD Games:
Payload Extraction
Rehashing
Signing

Music Files:
Song info
WMA Extraction

USER NOTES:
1) Yes, it is open source, you can use the code for whatever you like, and most likely, you won’t give a sh*t about Copyright laws.  Well, be that as it may, I don’t have an edick like those people and if it came down to a job between me and yew, well, look who can actually code >:3 you have fun jerkin your edick to my library, I’m just that gud <3

2) Any bugs should REALLY be reported to me so I can fix them.  Simple thing to do, just post in my blog, upload the file you got an error wif, explain what you did and what happened.

3) To save achievement edits, all you have to do is update the title to the profile and hit the Fix button on security to finalize the changes.

Future updates:
* I will implement file streaming from the FATX drive wifout having to extract the files
* STFS does not load the blocks right off the bat like I do, they read the level 2 block (if applicable) then read the level 1 (if applicable) then get the block from that, I just thought it would be handy to read blocks and have access to them but I will implement it the true way later
* Fix up a thing or two in DriveIO
* Any reported bugs of course

Also note wif Le Fluffie, I LOVE to thread the crap outta it, but at that point it causes some error’s that randomly happen.  Just try and ignore them and restart the application if that happens, usually fixes it.
KNOWN BUG:
* FATX Replace image function takes FOREVER, stupid DriveIO properties v.v, working on better way to implement it (I’d use Xport to replace images until I can figure out a better way)

Binaries and Sources:
Download (CLICK ME)



News Source
« Last Edit: December 05, 2009, 07:07:06 AM by jester » Logged
jester
Master Hacker
****
Posts: 174


View Profile
« Reply #1 on: December 06, 2009, 06:36:00 AM »

He updated binaries and sources, please check main download link!
Logged
utar
Master Hacker
****
Posts: 174


View Profile
« Reply #2 on: December 06, 2009, 06:43:18 AM »


Thanks for this Jester / DJ Shepard.


Utar
Logged
jelle2503
Xbox Hacker
*****
Posts: 1542


elitist prick


View Profile
« Reply #3 on: December 06, 2009, 07:14:13 AM »

good program. very much appreciated for this <3

unpacking my arcade games as we speak thx
Logged

Jasper Xbox 360 with Cygnos v2
If you post on Xboxhacker.net you oblige to THIS

Quote from: Blackaddr
There was a time when 'newbie' simply meant that you had not learned yet, not that you would never learn.
DJ Shepherd
Member
**
Posts: 12


View Profile
« Reply #4 on: December 07, 2009, 02:53:04 AM »

I updated the library, you should check it out, FATX updated and should work nao. :3
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6459


View Profile
« Reply #5 on: December 07, 2009, 01:05:19 PM »

Still no go on my 160 gig seagate drive.
edit: Maybe it's cause I am running win7 64bit? Xplorer360 also sees no drives, so I use a VMWare XP32 install for that. However, if i try to run the app in the VM, I get "The application could not be initialized".
« Last Edit: December 07, 2009, 01:12:34 PM by Arakon » Logged

I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
jester
Master Hacker
****
Posts: 174


View Profile
« Reply #6 on: December 07, 2009, 01:10:59 PM »

Still no go on my 160 gig seagate drive.

Meaning it doesn't show up at all? Or you can't see the extended partitions?
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6459


View Profile
« Reply #7 on: December 07, 2009, 01:12:53 PM »

not at all, sees no drive. note edit above.
Logged

I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
DJ Shepherd
Member
**
Posts: 12


View Profile
« Reply #8 on: December 07, 2009, 01:27:40 PM »

have you tried $#!t-sta 101?
*Make sure you are an admin account
*Right click and go to properties, select "Run as administrator" on compatability tab, and also run in Windows XP mode

And do you have the newest .NET framework installed on your VMWare OS?
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6459


View Profile
« Reply #9 on: December 07, 2009, 01:35:20 PM »

I tried with compatibility mode and run as admin, no go.. but I just tried on my XP laptop and it does show up there, so it's an issue with win7 or 64 bit.
Logged

I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
jester
Master Hacker
****
Posts: 174


View Profile
« Reply #10 on: December 07, 2009, 01:36:20 PM »

I tried with compatibility mode and run as admin, no go.. but I just tried on my XP laptop and it does show up there, so it's an issue with win7 or 64 bit.

I use Win7 x64 and my 120GB works fine.
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 6459


View Profile
« Reply #11 on: December 07, 2009, 02:02:55 PM »

Hmm.. won't detect any HDD at all for me in win7 64.. with the .net service pack, it works in XP32 on VMware now, though.
Logged

I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
DJ Shepherd
Member
**
Posts: 12


View Profile
« Reply #12 on: December 07, 2009, 03:00:54 PM »

Game adding now works, check in DLL update
Logged
Lux
Newbie
*
Posts: 2


View Profile
« Reply #13 on: December 07, 2009, 04:56:54 PM »

I get this twice in a row when I try to open my HDD:


Then after the second time it lets me open my HDD (stock 20GB), but when I open it it only shows Partition 0 and 1.
Logged
DJ Shepherd
Member
**
Posts: 12


View Profile
« Reply #14 on: December 07, 2009, 05:03:39 PM »

I get this twice in a row when I try to open my HDD:


Then after the second time it lets me open my HDD (stock 20GB), but when I open it it only shows Partition 0 and 1.
o.o I think that's a Native error, not of managed code, I think it has something to do with your Windows because my stock 20 works fantizziliastically
Logged
DJ Shepherd
Member
**
Posts: 12


View Profile
« Reply #15 on: December 07, 2009, 11:07:14 PM »

Fixed a FATX issue, fix confirmed by a few people too.
Logged
Lux
Newbie
*
Posts: 2


View Profile
« Reply #16 on: December 07, 2009, 11:30:05 PM »

It reads my partitions correctly now, but I still get that error, only once now though. Oh well it's probably an issue on my end.
Logged
DJ Shepherd
Member
**
Posts: 12


View Profile
« Reply #17 on: December 07, 2009, 11:42:56 PM »

ya cause its a native error it looks like, coming from the imports.

Make sure you run in admin, might help
Logged
evestu
Hacker
***
Posts: 54


View Profile
« Reply #18 on: December 07, 2009, 11:57:15 PM »

now trying to read 250gb WDC i get this error in 1.0.8




Code:
    /// Returns the stream position
        /// </summary>
        public long Position
        {
            get { return xStream.Position; }
            set
            {
                try
                {
                    if (value == xStream.Position)
                        return;
                    xStream.Seek(value, SeekOrigin.Begin);
                }
                catch (Exception x) { throw x; }
            }
        }


ERROR :: An attempt was made to move the file pointer before the beginning of the file.
but with ver 1.0.7 it readsfine
Logged
DJ Shepherd
Member
**
Posts: 12


View Profile
« Reply #19 on: December 08, 2009, 12:00:34 AM »

For some reason, when I uploaded the source, it was using a previous x360.8 library before i released it, so all you have to do is either 1) download the LeFluffie.9 source or 2) replace the DLL wif the newest one.
Logged
Pages: 1 2 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM