Parsing Strings issue

Doubts, help and support about QuickBMS and other game research tools
zgoro
Posts: 16
Joined: Sat May 02, 2020 12:46 pm

Parsing Strings issue

Post by zgoro »

Been hard at work to complete this script, but there's a critical issue on using strings with FindLoc:

By using GetDString, when reading a byte array starting with 00 doesn't store the string properly and cannot be used.

Image

FIND DUPLICATES - Copy.bms


TEST.bin
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Parsing Strings issue

Post by aluigi »

Why did you use "String" with findloc?

I replaced it with binary and I obtain the following instead:

Code: Select all

Text 2 , START: 0x00000048, SIZE: 72
Text Content:
Scanning.. String Found at OFFSET: 0x00000048
Is it correct or still wrong?
zgoro
Posts: 16
Joined: Sat May 02, 2020 12:46 pm

Re: Parsing Strings issue

Post by zgoro »

Yeah it does work as intended now, thank you very much Aluigi!