[Helping Others Make Edior] For Disney Epic Mickey Mouse 2
Helping others make a save editor.
Use this pointer for Money, Gold (Whatever lol), Scrap Metal and Purple (whatever). Whatever meaning i dont know the proper name, sorry.
Pointer: 43757272656E6379 + 16 = Money, + 20 = Gold(whatever), + 24 = Scrap Metal, + 28 = Purple(whatever)
Simple way to code this is Ex. below
Code:
Dim reader As New PackageIO.Reader(save, Endian.Big)
TempOffset = reader.SearchString("43757272656E6379", SearchType.ByteByByte, StringType.Hexadecimal, 0, True)(0)
reader.Position = TempOffset + 20
setNumericValue(Money, reader.ReadUInt32)
setNumericValue(Gold whatever, reader.ReadUInt32)
setNumericValue(Scrap Metal, reader.ReadUInt32)
setNumericValue(purple whatever, reader.ReadUInt32)
reader.Close(True, True)
So thats the read me part, pretty easy. You can code it like that because when it reads that + 20, since the next values that u want are all 4 bytes away it will keep reading the next for bytes.
Code:
Dim writer As New PackageIO.Writer(save, Endian.Big)
writer.Position = TempOffset + 20
writer.WriteInt32(Money.Value)
writer.WriteUInt32(Gold Whatever.Value)
writer.WriteUInt32(Scrap Metal.Value)
writer.WriteUInt32(Purple whatever.Value)
writer.Flush()
writer.Close(True, True)
Writer is just as easy.
I used TempOffset instead of something like ex.(Moneyoffset) because when it gets to the EOF it throws a unhandled overflow error with this method it fixes it.
Also make sure you declare the tempoffset. Ex. Dim TempOffset, TempOffset1, Etc(meaning keep adding tempoffset2,3,4 etc) as long
Well hope i helped someone make an editor, if you need any help feel free to ask, Later
Re: [Helping Others Make Edior] For Disney Epic Mickey Mouse 2
Changed the title so people dont get confused. I dont need help, lol...Im helping others understand how to use pointers and make a mickey mouse editor
Re: [Helping Others Make Edior] For Disney Epic Mickey Mouse 2
i dont get it :033:................wait maybe i do :P :lol:
Re: [Helping Others Make Edior] For Disney Epic Mickey Mouse 2
Quote:
Originally Posted by
CloudStrife7x
i dont get it :033:................wait maybe i do :P :lol:
Its not hard honestly, but ima do this for awhile to help others.
Re: [Helping Others Make Edior] For Disney Epic Mickey Mouse 2
Quote:
Originally Posted by
CloudStrife7x
i dont get it :033:................wait maybe i do :P :lol:
Don't worry Cloud. I code in VB as well, and I don't get half of it either. :P
Re: [Helping Others Make Edior] For Disney Epic Mickey Mouse 2
already have made an editor for this game will upload shortly with my nfs most wanted 2012 editor
Re: [Helping Others Make Edior] For Disney Epic Mickey Mouse 2
Quote:
Originally Posted by
TechnoWolf
already have made an editor for this game will upload shortly with my nfs most wanted 2012 editor
LOL I already made an Editor for those :P Good job on yours :D
Re: [Helping Others Make Edior] For Disney Epic Mickey Mouse 2
Quote:
Originally Posted by
Emerald Lance
Don't worry Cloud. I code in VB as well, and I don't get half of it either. :P
I can help you understand if ur working on anything new let me know and i can help..