Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

Text Problem

Featured Replies

  • Author
  • Localization

Shokoniraya, posted Sat Feb 09, 2019 2:15 pm (43317)


im going to show two problem from QuickBMS 9.2.0

Problem 1) is There no way to get UTF-16 text by string (get TEXT string)?
as you can see. there is a file without any offset and size! is there any way to get text by string? (string) works fine in none-unicode or utf-8 mode but how is these possible to use on 2byte characters?
[check box_q.bms]


Problem 2) if text strat with numbers then string cant get other characters
for example: i have a simple file and i just did it with string? ofcource! text doesnt have any Size!

main text is 2 Hostage found!
but quickbms will show text same as 2 (with a space from main word!)
[check txl.bms]

text.zip

  • Author
  • Localization

aluigi, posted Sat Feb 09, 2019 3:45 pm (43319)


1)
get TEXT unicode

2)
remove the text before and including the space
string TEXT | " "
  • Author
  • Localization

Shokoniraya, posted Sat Feb 09, 2019 3:57 pm (43322)


get TEXT unicode

but gives error

    quickbms.exe box_q.bms box_q
    Can't read 1 bytes from offset 00000065.
    Anyway don't worry, it's possible that the BMS script has been written
    to exit in this way if it's reached the end of the archive so check it
    or contact its author or verify that all the files have been extracted.
    Please check the following coverage information to know if it's ok.

    coverage file 0 100% 101 101 . offset 00000065

    Last script line before the error or that produced the error:
    6 get TEXT unicode
  • Author
  • Localization

aluigi, posted Sat Feb 09, 2019 6:13 pm (43327)


With text data I would ever use slog.
For example in that case:
Code:
math OFFSET = 0xb
get SIZE asize
math SIZE - OFFSET
slog "" OFFSET SIZE unicode
  • Author
  • Localization

Shokoniraya, posted Mon Feb 11, 2019 8:02 am (43367)


aluigi wrote:
With text data I would ever use slog.
For example in that case:
Code:
math OFFSET = 0xb
get SIZE asize
math SIZE - OFFSET
slog "" OFFSET SIZE unicode


can't use on multi-texts! just work on single!
  • Author
  • Localization

aluigi, posted Wed Feb 13, 2019 1:27 pm (43446)


What you mean with "multi-texts"?
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.