[Tutorial] - Auto Rehash & Resign

AAW Mar 23, 2014

  1. AAW

    AAW Developer XPG Developer Lifetime Gold
    85/94

    Joined:
    Aug 6, 2012
    Messages:
    652
    Likes Received:
    690
    Trophy Points:
    85
    Gender:
    Male
    Location:
    Inside XPG
    Console:
    Xbox
    First add "X360.dll" too your project
    [​IMG]

    Import the DLL
    Code:
    Imports x360.STFS
    [​IMG]
    Make a new sub should be like this
    Code:
    Private Sub ResignFile(ByVal FilePath As String)
          Dim stfs As New STFSPackage(Nothing)
          Try
    stfs.FlushPackage(New RSAParams(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "/KV.bin"))
          stfs.CloseIO()
          Catch ex As Exception
          stfs.CloseIO()
          MessageBox.Show("Cant Rehash & Resign File", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
            End Try
        End Sub

    Once you've added that, just put this where you write the file
    Code:
    RehashFile(FilePath)
    [​IMG]
    [hr]

    Thought i'd make a tutorial just for people to learn off :) have fun :p
     

    Attached Files:

    • X360.rar
      File size:
      100.5 KB
      Views:
      526

Share This Page

Close