creating a save editor ( problem with hex) Record of Agarest War Zero

hnkgamer Mar 24, 2015

  1. hn

    hnkgamer Newbie
    0/47

    Joined:
    Mar 24, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    I am a new member and i have some VB and C# knowledges.
    Recently i started a project to make a save editor to help the community with games that are not popular.

    Record of Agarest War Zero is a J-RPG and because this is very hard to find something about how to make a save editor of this game, so i am making for us but a i have a problem.

    Imports PackageIO

    Public Class Form1

    Dim Open As New OpenFileDialog
    Dim filepath As String = Open.FileName

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    End Sub

    Private Sub open1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles open1.Click
    If Open.ShowDialog = Windows.Forms.DialogResult.OK Then
    filepath = Open.FileName
    readfile()
    End If
    End Sub
    Public Sub readfile()
    Try
    Dim reader As New PackageIO.Reader(filepath, PackageIO.Endian.Big)
    NumericUpDown1.Enabled = True
    save.Enabled = True
    reader.Position = &H836E0
    NumericUpDown1.Text = reader.ReadInt32

    Catch ex As Exception
    MessageBox.Show("error")
    NumericUpDown1.Enabled = False
    save.Enabled = False
    End Try
    End Sub

    Private Sub save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles save.Click
    Try
    Dim Writer As New PackageIO.Writer(filepath, Endian.Big)
    Writer.Position = &H836E0
    Writer.WriteInt32(NumericUpDown1.Value)
    MsgBox("saved!")
    Catch ex As Exception
    MsgBox("error", MsgBoxStyle.OkOnly, "try again")
    End Try
    End Sub
    End Class

    I can read the memory position and write in the save, but when i load the save, does not work, for example. The video game stays in a "Black Screen". i dont know how to solve this problem,


    This Hexadecimal 836E0 is the position of EP (experience points).
     
  2. Professor Sqil

    Professor Sqil Newbie
    0/47

    Joined:
    Feb 26, 2015
    Messages:
    1,042
    Likes Received:
    722
    Trophy Points:
    0
    Location:
    XP?
    Console:
    Xbox
    That Just for Hex editor there no xbox 360 rehash and resign you need a xbox 360 rehash and resign in your save editor.
     
  3. Professor Sqil

    Professor Sqil Newbie
    0/47

    Joined:
    Feb 26, 2015
    Messages:
    1,042
    Likes Received:
    722
    Trophy Points:
    0
    Location:
    XP?
    Console:
    Xbox
    NumericUpDown1.Text = reader.ReadInt32
    This is not for hex

    Change it To :

    NumericUpDown1.Text = reader.RedHex()
     
  4. hn

    hnkgamer Newbie
    0/47

    Joined:
    Mar 24, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    the packageio does not have ReadHex(), but i found ReadHexString(), is this ?
     
  5. Professor Sqil

    Professor Sqil Newbie
    0/47

    Joined:
    Feb 26, 2015
    Messages:
    1,042
    Likes Received:
    722
    Trophy Points:
    0
    Location:
    XP?
    Console:
    Xbox
    Dont change anything, you didnt code File as Xbox File you need to do that with X360.dll and rehash it when edit in your editor, if not its will corrupt.
     
  6. hn

    hnkgamer Newbie
    0/47

    Joined:
    Mar 24, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    thx man, i will try and return here
     
  7. hn

    hnkgamer Newbie
    0/47

    Joined:
    Mar 24, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Thx a lot man, The problem was it, rehash and resign!!
     

Share This Page

Close