ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Dec 12, 2019 3:42 pm

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Nov 14, 2019 6:08 am 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 253
how can i calculate crc32 of a file for print in quickbms?


Top
   
PostPosted: Thu Nov 14, 2019 6:34 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 496
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.

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Thu Nov 28, 2019 2:41 pm 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 253
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?


Top
   
PostPosted: Tue Dec 03, 2019 10:06 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 496
https://forum.xentax.com/viewtopic.php?p=144858#p144858

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Wed Dec 04, 2019 6:01 am 
User avatar

Joined: Sat Sep 15, 2018 5:22 am
Posts: 253
Delutto wrote:

thank you Delutto


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited