zzz Posted August 27, 2009 Report Posted August 27, 2009 Hi, i want to make a simple app for changing "Gald"-(money) amount in "Tales Of vesperia" game save, in c#.I am only a beginner at this, i hope this lil app will be a good practice for me. The app would look something like this (nothing fancy)http://img262.imageshack.us/img262/1163/capturelpw.pngI just quickly made this in MS visual studio 08 - pro, but the problem is obviuosly in coding it.Let my start-off by saying i have no clue on how actually this gamesave-editing should work, tho i do have a guess other apps like this change the hex value at a certain address to a wanted-one is that about right ? I've found a very similar application to what i want to achieve - exept for a dif game (prototype)Where Dakote Provided a code for itImports System.IO Imports System.Text Public Class Form1 Public fileName Private Sub btnOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpen.Click Dim ofd As New OpenFileDialog If ofd.ShowDialog() = DialogResult.OK Then fileName = ofd.FileName Dim fs As New FileStream(ofd.FileName, FileMode.Open) Dim br As New BinaryReader(fs) Dim length As Long = fs.Length br.BaseStream.Position = &H666 'HeX Offset Dim EP As Byte() = br.ReadBytes(666) 'lengh of EP allowed txtEP.Text = ASCIIEncoding.ASCII.GetString(EP) End If End Sub Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Dim bw As New BinaryWriter(New FileStream(fileName, FileMode.Open)) bw.BaseStream.Position = &H666 'EP Offset Dim EP As Byte() = ASCIIEncoding.ASCII.GetBytes(txtEP.Text) bw.Write(EP) End Sub End Class And i was wondering if i could modify this so that it would work for me. Could any one highlight to what i should be paying attention?Sorry for noob'ish questions - im new to programing and this forum P.s Please excuse my english grammar - it isn't my first lang.P.p.s Manual hex editing for this game works i allready tested it out.
Rogue Modder Posted August 27, 2009 Report Posted August 27, 2009 What is the Offset and Length of the Gold* in the game?
zzz Posted August 27, 2009 Author Report Posted August 27, 2009 (edited) http://img216.imageshack.us/img216/6496/capturefar.pngFirst offset - 70335Second offset - 70362 And it is actually called gald not gold Edited August 27, 2009 by zzz
Rogue Modder Posted August 27, 2009 Report Posted August 27, 2009 Upload a save game, and comment how much gald you have in it.
zzz Posted August 27, 2009 Author Report Posted August 27, 2009 (edited) Here you go - dummy save just at the start of the game. Gald is set to 999999Should find 3 values From the top; 1st one is just a text that show how much gald you have when loading up game - but doesent actually change the gald value itself2nd value is the gald in the game (the one i was talking about in #3 post)3rd i havent tested it out yet (but dont think it has anything to do with gald at all) EDIT: what now Dakote? is it possible ? DummyToVsave.rar Edited August 27, 2009 by zzz
Rogue Modder Posted August 27, 2009 Report Posted August 27, 2009 Yeah it is. I'm writing a Sauce now. I will attach it to this post when done. 1
zzz Posted August 27, 2009 Author Report Posted August 27, 2009 I rly hope you'll get to finish it mate - and help this dumb guy
SotG Caboose Posted August 27, 2009 Report Posted August 27, 2009 Why are you calling it yours if someone is going to code it for you?
zzz Posted August 27, 2009 Author Report Posted August 27, 2009 Why are you calling it yours if someone is going to code it for you?Ehm i dont know where you got that impresion from - it's not like im gonna release it or anything claiming i made it. Im plainly intereseted in how game editors like this are working, so that i could one day maybe code my own one. For today im only experimenting, now i just want to see how Dakote modified that code from working on Prototype to this game. Hopefully Dakote will show us 2moro.
Rogue Modder Posted August 27, 2009 Report Posted August 27, 2009 I can't find the values... That's not the correct offsets.
zzz Posted August 27, 2009 Author Report Posted August 27, 2009 Well im not really sure if this is correct way to find offsets- what i did is just moved the mouse to the line where the gald value is, and it just showed the offset. is this the correct way of finding it ? (look at the pic) Also could this be a problem because the value streches over 2 offsets (The highlited hexvalue is 999999 in the pic) and as you can see it goes from 70335 down to 70362 offset.What can i do more to help ? sry for noobish questions P.s for saves to work on the game i need to use hash block calc - is it possible to include such feature into apps like this, so that it i'll be like all in one?
Rogue Modder Posted August 28, 2009 Report Posted August 28, 2009 (edited) Yeah, sorry. I was looking for unicode or ASCII. it's in hexadecimal. And no, that Hash Block Calc is Supermoders work. I don't have permission to use his rehashing method. Edited August 28, 2009 by Dakote
Dark Slipstream Posted August 28, 2009 Report Posted August 28, 2009 Why are you calling it yours if someone is going to code it for you? lol.. cough... 1
unknown v2 Posted September 6, 2009 Report Posted September 6, 2009 Two things: 1) it's not a byte, it's a int32. ( {int.parse()}) 2) you have to write in big endian for 360 games
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now