Log in

View Full Version : [Helping Others Make Edior] For Disney Epic Mickey Mouse 2



Noctis Caelum
11-03-2012, 07:30 AM
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



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.



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

Noctis Caelum
11-03-2012, 07:41 AM
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

CloudStrife7x
11-03-2012, 05:54 PM
i dont get it :033:................wait maybe i do :P :lol:

Noctis Caelum
11-03-2012, 06:59 PM
i dont get it :033:................wait maybe i do :P :lol:
Its not hard honestly, but ima do this for awhile to help others.

Emerald Lance
11-03-2012, 11:20 PM
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

TechnoWolf
11-04-2012, 12:14 AM
already have made an editor for this game will upload shortly with my nfs most wanted 2012 editor

Idlehands88
11-04-2012, 12:19 AM
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

Noctis Caelum
11-04-2012, 01:21 AM
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..

Emerald Lance
11-04-2012, 02:09 AM
I might just take you up on that, Sinister. ^-^