You are viewing our Forum Archives. To view or take place in current topics click here.
WOW Guys Need Help " Some One Please " Will Rep
Posted:

WOW Guys Need Help " Some One Please " Will RepPosted:

XxRedxNeckxX
  • 1000 Thanks
Status: Offline
Joined: May 28, 201113Year Member
Posts: 1,101
Reputation Power: 24
Status: Offline
Joined: May 28, 201113Year Member
Posts: 1,101
Reputation Power: 24
Ok Im Working In Visual Basics, And Im Trying To Find Info On How to Open A Usb. Like Modio " Explore A Device " Rep To Anyone Can Help. But Remember Im Learning As I Go
#2. Posted:
-TTGxPr0M0dz
  • Powerhouse
Status: Offline
Joined: Jul 18, 201113Year Member
Posts: 430
Reputation Power: 20
Status: Offline
Joined: Jul 18, 201113Year Member
Posts: 430
Reputation Power: 20
Are you trying to open up an xBox configured USB? if so, you might want to look into [ Register or Signin to view external links. ]

(The actual .dll download should be near the bottom)
#3. Posted:
XxRedxNeckxX
  • 1000 Thanks
Status: Offline
Joined: May 28, 201113Year Member
Posts: 1,101
Reputation Power: 24
Status: Offline
Joined: May 28, 201113Year Member
Posts: 1,101
Reputation Power: 24
-TTGxPr0M0dz wrote Are you trying to open up an xBox configured USB? if so, you might want to look into [ Register or Signin to view external links. ]

(The actual .dll download should be near the bottom)

Yea I Downloaded It But There Is So Much Shiiiit In It, Cant Make Heads Or Tales From IT
#4. Posted:
Slicc
  • Wise One
Status: Offline
Joined: Jul 24, 201113Year Member
Posts: 588
Reputation Power: 30
Status: Offline
Joined: Jul 24, 201113Year Member
Posts: 588
Reputation Power: 30
RedNeck!!!! What exactly are you trying to do?
I much prefer Horizon over Modio.
#5. Posted:
XxRedxNeckxX
  • 1000 Thanks
Status: Offline
Joined: May 28, 201113Year Member
Posts: 1,101
Reputation Power: 24
Status: Offline
Joined: May 28, 201113Year Member
Posts: 1,101
Reputation Power: 24
Slicc wrote RedNeck!!!! What exactly are you trying to do?
I much prefer Horizon over Modio.

Well i was putting together a program with Different modding tools, and decided to Put In A Usb Explorer in it. but cant find any info on how too Anywhere. Im New To making programs.

I Put All The Links To All Of The big Modding Sites. mw3 editor, bo editor, bo 2 editor, ff.veiwer, cod tool, rehash and resign, plus more stuff


Last edited by XxRedxNeckxX ; edited 1 time in total
#6. Posted:
-TTGxPr0M0dz
  • Powerhouse
Status: Offline
Joined: Jul 18, 201113Year Member
Posts: 430
Reputation Power: 20
Status: Offline
Joined: Jul 18, 201113Year Member
Posts: 430
Reputation Power: 20
XxRedxNeckxX wrote
-TTGxPr0M0dz wrote Are you trying to open up an xBox configured USB? if so, you might want to look into [ Register or Signin to view external links. ]

(The actual .dll download should be near the bottom)

Yea I Downloaded It But There Is So Much Shiiiit In It, Cant Make Heads Or Tales From IT


You open the package first like this:
private void openPackageToolStripMenuItem_Click(object sender, EventArgs e)
        {
            STFSPackage xPackage = new STFSPackage(null);
            if (!xPackage.ParseSuccess)
                return;
            // Note: to access a file, make a path, such as "assets/saves/save1"
            // or if its in the root, just "save", an STFS package is just a folder
            FileEntry xent = xPackage.GetFile("save path");
            if (xent == null)
            { // if the library wasnt able to find the file
                xPackage.CloseIO();
                MessageBox.Show("Error: could not locate save data");
                return;
            }
            // Set up temporary save extraction file and extract it
            string outlocale = X360.Other.VariousFunctions.GetTempFileLocale();
            if (!xent.Extract(outlocale))
            { // if the library wasnt able to extract it
                xPackage.CloseIO();
                MessageBox.Show("Error: could not locate save data");
                return;
            }
            if (pack != null)
                pack.CloseIO(); // close previous IO (if applicable)
            if (savedata != null)
                savedata.Close(); // close the previous IO (if applicable)
            // Set global variables and enable buttons
            savedata = new DJsIO(outlocale, DJFileMode.Open, true);
            entry = xent;
            pack = xPackage;
            textBox1.Text = xPackage.FileNameLong;
            button1.Enabled = button2.Enabled = true;
        }


Then you would make the edits to your savegame (presumably through editing some hex values), and then you would use this method to rehash/resign
private void button1_Click(object sender, EventArgs e)
        {
            if (!entry.Replace(savedata))
            { // If the library was unable to replace the file
                MessageBox.Show("Error: modifications were not saved");
                return;
            }
            if (!pack.FlushPackage(new RSAParams(Application.StartupPath + "/KV.bin")))
            { // If the library was unable to fix the file
                MessageBox.Show("Error: could not hash/sign the save");
                return;
            }
            MessageBox.Show("Done");
        }
#7. Posted:
XxRedxNeckxX
  • TTG Senior
Status: Offline
Joined: May 28, 201113Year Member
Posts: 1,101
Reputation Power: 24
Status: Offline
Joined: May 28, 201113Year Member
Posts: 1,101
Reputation Power: 24
-TTGxPr0M0dz wrote
XxRedxNeckxX wrote
-TTGxPr0M0dz wrote Are you trying to open up an xBox configured USB? if so, you might want to look into [ Register or Signin to view external links. ]

(The actual .dll download should be near the bottom)

Yea I Downloaded It But There Is So Much Shiiiit In It, Cant Make Heads Or Tales From IT


You open the package first like this:
private void openPackageToolStripMenuItem_Click(object sender, EventArgs e)
        {
            STFSPackage xPackage = new STFSPackage(null);
            if (!xPackage.ParseSuccess)
                return;
            // Note: to access a file, make a path, such as "assets/saves/save1"
            // or if its in the root, just "save", an STFS package is just a folder
            FileEntry xent = xPackage.GetFile("save path");
            if (xent == null)
            { // if the library wasnt able to find the file
                xPackage.CloseIO();
                MessageBox.Show("Error: could not locate save data");
                return;
            }
            // Set up temporary save extraction file and extract it
            string outlocale = X360.Other.VariousFunctions.GetTempFileLocale();
            if (!xent.Extract(outlocale))
            { // if the library wasnt able to extract it
                xPackage.CloseIO();
                MessageBox.Show("Error: could not locate save data");
                return;
            }
            if (pack != null)
                pack.CloseIO(); // close previous IO (if applicable)
            if (savedata != null)
                savedata.Close(); // close the previous IO (if applicable)
            // Set global variables and enable buttons
            savedata = new DJsIO(outlocale, DJFileMode.Open, true);
            entry = xent;
            pack = xPackage;
            textBox1.Text = xPackage.FileNameLong;
            button1.Enabled = button2.Enabled = true;
        }


Then you would make the edits to your savegame (presumably through editing some hex values), and then you would use this method to rehash/resign
private void button1_Click(object sender, EventArgs e)
        {
            if (!entry.Replace(savedata))
            { // If the library was unable to replace the file
                MessageBox.Show("Error: modifications were not saved");
                return;
            }
            if (!pack.FlushPackage(new RSAParams(Application.StartupPath + "/KV.bin")))
            { // If the library was unable to fix the file
                MessageBox.Show("Error: could not hash/sign the save");
                return;
            }
            MessageBox.Show("Done");
        }





Modio
Cod tool
ff.viewer
hex workshop
mw 3 editor
bo editor
bo2 editor
rehash/resign
Notepad ++
code blocks
hopefully open a usb, flash drive
#8. Posted:
Slicc
  • Wise One
Status: Offline
Joined: Jul 24, 201113Year Member
Posts: 588
Reputation Power: 30
Status: Offline
Joined: Jul 24, 201113Year Member
Posts: 588
Reputation Power: 30
You could try to take the coding from Horizon & add in their system to your tool. I'd love to test out your program once finished! =)
#9. Posted:
XxRedxNeckxX
  • 1000 Thanks
Status: Offline
Joined: May 28, 201113Year Member
Posts: 1,101
Reputation Power: 24
Status: Offline
Joined: May 28, 201113Year Member
Posts: 1,101
Reputation Power: 24
Slicc wrote You could try to take the coding from Horizon & add in their system to your tool. I'd love to test out your program once finished! =)


Im Uploading A Preview Of It Right Know
#10. Posted:
Z61
  • TTG Fanatic
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Slicc wrote You could try to take the coding from Horizon & add in their system to your tool. I'd love to test out your program once finished! =)

Please, don't post in here again. You obviously don't know what you're talking about.
Either does Promodz.
He wants to make his own device explorer that reads FATX.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.