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.

calculating crc file in bms

Featured Replies

  • Author
  • Localization

Shokoniraya, posted Thu Nov 14, 2019 6:08 am (52092)


how can i calculate crc32 of a file for print in quickbms?
  • Author
  • Localization

Delutto, posted Thu Nov 14, 2019 6:34 pm (52109)


From quickbms.txt
Code:
crc, a complete and powerful checksum function that can be fully configured:
  - key is the polynomial (use "" for the default crc32 0x77073096)
  - ivec contains:
    - the size of the crc (8/16/32/64)
    - the initial value (like -1)
    - the final xor value (-1, the complement)
    - the type (various supported, check crc_calc in src/crc.c)
    - the reverse/reflect mode during the generation of the table (0 or 1)
    - the bitmask_side (0 or 1 where 1 is the most used one)
  default values: 0xedb88320 32 -1 -1 0 0 1
  if you need the classical crc16 (0xc0c1) use:
    encryption crc 0xa001 "16 0 0 0 0 1"
  or
    encryption crc "" 16
  the result is placed in the variable QUICKBMS_CRC

So, you get the CRC result from the internal variable QUICKBMS_CRC.
  • Author
  • Localization

Shokoniraya, posted Thu Nov 28, 2019 2:41 pm (52295)


i want to get crc32 of a file and print it
anyone can write a example script?
delutto, thanks for answering, but i don't know how can i get crc just like normal crc that used in microsoft windows or zip file
sir aluigi, can you write a example for print crc 32 of a file by quickbms?
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.