Tutorials Navigation

Tutorials :: New :: Popular :: Top Rated

Tutorials: 18,326 Categories: 12

Total Tutorial Views: 41,418,220

{Tut} How to Use X360 Extractor Function VB

Tutorial Name: {Tut} How to Use X360 Extractor Function VB  

Category: PC Tutorials

Submitted By: Sega

Date Added:

Comments: 0

Views: 1,506

Related Forum: PC Building Forum

Share:

I will teach you how to extract a file from a file. For example extracting the Account file from your profile. In this tutorial I'll be using a PGR3 gamesave.

Step 1:
Add 1 Button and Name it Open

Step 2:
Above Public Class Form1 add this code:
Imports X360.STFS
Imports X360.IO


Then under Public Class Form1 add this code:
 Dim Filepath As String
   Dim stfs As STFSPackage
   Dim item As FileEntry


Step 3:
Double click the open button and add this code:
 Dim ofd As New System.Windows.Forms.OpenFileDialog()
      ofd.Filter = "profile.sav (*.*)|*.*"
      ofd.Title = "profie.sav"
      ofd.ShowDialog()
      stfs = New STFSPackage(ofd.FileName, Nothing)
      item = stfs.GetFile("profile.save")
      item.Extract(System.IO.Path.GetTempPath & "\profile.save")
      Me.Filepath = System.IO.Path.GetTempPath & "\profile.save"
      Me.Filepath = System.IO.Path.GetTempPath & "\profile.save"


Now the ofd.Filter = "profile.sav (*.*)|*.*" just change the profile.sav to whatever the first file is named. Do the same for the ofd.Title = "profile.sav"
For item = stfs.GetFile("profile.save") you have to change it to the EXACT name of the file you wanted extracted from the file you opened.
You MUST change everything that says \profile.save to the file you want extracted.
For Me.Filepath = System.IO.Path.GetTempPath this extracts the save to a temporary file location so you will have to change this to location you want it extracted to.

You're Done!

Ratings

Please take one second and rate this tutorial...

Not a Chance
1
2
3
4
5
6
7
8
9
10
Absolutely

Comments

"{Tut} How to Use X360 Extractor Function VB" :: Login/Create an Account :: 0 comments

If you would like to post a comment please signin to your account or register for an account.