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.

Crc32

Featured Replies

  • Author
  • Localization

chrrox, posted Wed May 01, 2019 1:40 pm (47494)


How do I use the crc table from Apple
https://opensource.apple.com/source/xnu ... rn/crc32.c

I am trying to get this result

Character/cc0001_b01a.apk 00000000000000000000003566186470

The initialize value should be the string length oF Character/cc0001_b01a.apk then convert the hex to dec to get the number

https://estertion.win/2019/04/星 ... 法/
  • Author
  • Localization

chrrox, posted Thu May 02, 2019 2:12 am (47525)


This worked is there a cleaner way to make this OPTIONS string?
Code:
set NAME string "Character/cc0001_b01a.apk"
Strlen SIZE NAME
set OPTIONS string " 32 "
string OPTIONS = SIZE
string OPTIONS = " 0 0 0 1"
encryption crc 0xedb88320 OPTIONS
string DUMMY E= NAME
print "%QUICKBMS_CRC|x%"
  • Author
  • Localization

aluigi, posted Thu May 02, 2019 1:20 pm (47535)


So basically the initial value of the crc isn't 0 or -1 like all the algorithms but it's the same size of the string... interesting.

The only way to make it shorter would be using String 'p':
Code:
set NAME string "Character/cc0001_b01a.apk"
string OPTIONS p " 32 %d 0 0 0 1" SIZE
encryption crc 0xedb88320 OPTIONS
string DUMMY E= NAME
print "%QUICKBMS_CRC|x%"
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.