• Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

How to make a Modding tool for ANY game!

AceProne

Member
Since Enstone just released Cex/Dex CCAPI . There will be a lot of people making tools for Ghost, MW3 , ect.


STEP BY STEP Tutorial! :cool:
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
2ln9z7o.jpg




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
dd9f4e7e0fc42b10a7557d9d52ba42ac.png

Ignore the dotnetbar http://www.*************.com/forums/images/smilies/LulzEnzo.png

(For Connecting / Attaching just put " Connect & Attatch)



Step 4.
Import Package IO to your form.
-----
View More View even More View Less Select All View Plain
Imports Package IO




Step 5.
Now lets DIM some stuff.
------
View More View even More View Less Select All View Plain
Dim X As String
Dim projectdata As Object




Step 6.
Lets add the read function for Package IO
2my4v3d.jpg

View More View even More View Less Select All View Plain
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
*Notes* When reading or writing to an offset always put &H and then the offset.
In this case our offset is EEC2



Step 7.
Lets code the Open button
29m613o.jpg

View More View even More View Less Select All View Plain
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
2cxt2yw.jpg

View More View even More View Less Select All View Plain
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.
-----
View More View even More View Less Select All View Plain
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
>http://oi53.tinypic.com/2a8hief.jpg



Step 10.
Make a nice GUI and test it. http://www.*************.com/forums/images/smilies/newset1/smile.gif all done! (This is the easiest way to make a tool, easy example to follow!)

Credits: Sega, FMT Enstone , an me
#NGU: Tazory
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • @ ShutTheCrunchUp:
    God damn nos
  • @ ShutTheCrunchUp:
    Nostalgia
  • @ ShutTheCrunchUp:
    Miss the good ol days
  • @ QM|T_JinX:
    hey bro how you
  • @ QM|T_JinX:
    yea me too for sure
  • @ ShutTheCrunchUp:
    Doing alright bro. Haven't been on here in years
  • @ QM|T_JinX:
    yea i know havent seen you in a long time welcome back tho hahah
  • @ ShutTheCrunchUp:
    Bro life been fucked up since 2016
  • @ QM|T_JinX:
    lol thats a long fucked up life then hhaha
  • @ QM|T_JinX:
    but you right men for sure back then it was way better on here
  • Chat Bot:
    mazeek101 is our newest member. Welcome!
  • @ QM|T_JinX:
    well its like 4 in the morning down here im gonna try to get some shut eye night bro
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Dnank is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    CutterSpaulding is our newest member. Welcome!
  • Chat Bot:
    CutterSpaulding has posted a new profile post.
  • Chat Bot:
    lpllll___ is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Macbook is our newest member. Welcome!
      Chat Bot: Macbook is our newest member. Welcome!
      Back
      Top