Tutorials Navigation
How to make a simple mod tool.
Tutorial Name: How to make a simple mod tool.
Category: PC Tutorials
Submitted By: Sega
Date Added:
Comments: 0
Views: 4,934
Related Forum: PC Building Forum
Share:
Okay,
Today I will be teaching you how to make a simple modding tool using PackageIO.dll in VB.NET(Made by Fuedale Nate).
This tool is for Dead Rising 2.
Step 1.
Open Visual Studio and create a new form.
Step 2.
Add Package IO as a reference
[ Register or Signin to view external links. ]
Step 3.
Add 2 labels, 2 Textboxes, And 2 Buttons
Make the text of label 1: Current Level
Make the text of label 2: Mod Level to
Make the text of button 1: Open
Make the text of button 2: Save
Now your form should look like this
[ Register or Signin to view external links. ]
Ignore the dotnetbar
Step 4.
Import Package IO to your form.
[ Register or Signin to view external links. ]
Imports Package IO
Step 5.
Now lets Dim some stuff.
[ Register or Signin to view external links. ]
Dim X As String
Dim projectdata As Object
Step 6.
Lets add the read function for Package IO
[ Register or Signin to view external links. ]
Public Sub ReadFile(ByVal X As String)
Dim reader As New PackageIO.Reader(X, Endian.Big, 0)
reader.Position = &HEEC2
Me.TextBoxX1.Text = (reader.ReadInt32)
End Sub
In this case our offset is EEC2
Step 7.
Lets code the Open button
[ Register or Signin to view external links. ]
Dim open As New OpenFileDialog
open.Filter = "All Files (*.*)|*.*"
If open.ShowDialog = Windows.Forms.DialogResult.OK Then
Try
X = open.FileName
ReadFile(X)
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error")
End Try
End If
Step 8.
Now lets code the write function for Package IO
[ Register or Signin to view external links. ]
Public Sub WriteFile(ByVal X As String)
Dim writer As New PackageIO.Writer(X, Endian.Big, 0)
writer.Position = &HEEC2
writer.WriteInt32(Me.TextBoxX2.Text)
End Sub
Step 9.
Now lets code the save button.
[ Register or Signin to view external links. ]
Try
Me.ReadFile(Me.X)
Me.WriteFile(Me.X)
Interaction.MsgBox("File Saved!", MsgBoxStyle.Information, "")
Catch ex As Exception
projectdata.SetProjectError(ex)
Dim exception As Exception = ex
Interaction.MsgBox("Error", MsgBoxStyle.Critical, "")
projectdata.ClearProjectError()
End Try
End Sub
Step 10.
Make a nice GUI and test it.
Ratings
Comments
Related Tutorials
- 01. Emulating Xbox 360 on PC for Running COD4 With Mods(2,386)
- 02. How to: Matrix Numbers | Batch File(1,636)
- 03. How to Password Protect Files on Windows(775)
- 04. How to play Socom 2/3/ and Combined Assault on PC(5,452)
- 05. Modern Warfare 2 Vac Ban Bypass Tutorial(5,210)
- 06. How to embed an image on TheTechGame(2,828)
- 07. [PC] NIOH 2 OTHER USER SAVE RESIGN(12,465)
- 08. Host bot lobbies! Full Tutorial!(9,774)
- 09. Unban yourself [Plutonium BO2](13,639)
- 10. Fall Guys - How to Change Your Name Color on Fall Guys(8,113)
- 11. Best Crosshair Settings for Valorant(6,220)
- 12. Othercide The Surgeon Boss Guide(2,264)
- 13. Othercide Remembrances Unlock Guide(4,005)
- 14. Othercide Beginners Tips and Tricks(2,499)
- 15. How to Fix Grounded Crashes, Loading Time, Low FPS and Other(4,429)
"How to make a simple mod tool." :: Login/Create an Account :: 0 comments