nope spoke to soon, seems I missunderstand the searching.
Back to drawing board lol
Ok latest theory, search for the model/fx/skill/ and then do a search for .ros
Then use the address for the m... and the .ros to return everything in the middle, somehow lol
Some sort of print for whats in between the 2 addresses including last address.
If I could do that though I could go back to original thought of searching for model/fx/skill and then printing from that address and for another 30 odd bytes after.
I have it searching and finding atm with this
Code: Select all
pattern = string.char(0x6D, 0x6F, 0x64, 0x65, 0x6C, 0x2F, 0x66, 0x78) -- model/fx
startloc = 0x5AF0714 -- where it starts to have the occurances of model/fx
mask = "xxxxxxxx" -- 8 spots for model/fx
found = findPatternInProcess(getProc(), pattern, mask, startloc)
then this to write to a file
which writes 95356692
So it deffinately needs work.