English Amiga Board


Go Back   English Amiga Board > abime.net - Home Projects > project.EAB

 
 
Thread Tools
Old 05 November 2001, 22:47   #1
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 50
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Exclamation CRC of The Zone doesn't match the one from WinZIP?

Hi,

since I'm a notorious non-believer ever since , I just checked if the CRC calculation on EAB was actually correct. I can't blatantly exclaim "it wasn't" for I don't know why it differs because I'd like to consider that the algorithm WinZIP uses for calculating might be a completely different one.
I also checked with another CRC tool and the result was the same as the CRC calculated by WinZIP.

This smells like a bug in the algorithm. RCK?

//Edit: CRC's for current files on the zone: (<-WinZIP)
Hell Run Machine (fixed) - 9da2b970
Cricket Captain - 12a4fde5

Last edited by andreas; 05 November 2001 at 23:02.
andreas is offline  
Old 06 November 2001, 00:00   #2
Ian
Global Moderator
 
Ian's Avatar
 
Join Date: May 2001
Location: Derby, UK
Age: 46
Posts: 2,287
First of all, I know jack shit about CRC32's.

But maybe the CRC in the zone is of the zip file itself, not the ADF inside it.
Ian is offline  
Old 06 November 2001, 02:14   #3
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 50
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Exclamation

Perhaps. But then it would really make no sense at all...
andreas is offline  
Old 06 November 2001, 03:34   #4
Twistin'Ghost
Give up the ghost
 
Join Date: Apr 2001
Location: U$A
Age: 33
Posts: 4,662
I would think that the CRC32 value should be in the contents of the zip, but what happens when a zip contains 4 adf's? Or an LHA or LZX or DMS Or (heaven forbid) ADZ?
Twistin'Ghost is offline  
Old 06 November 2001, 12:10   #5
RCK
Administrator
 
RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 45
Posts: 3,084
Yep, the CRC32 of the zone is only for the file uploaded.
so if you upload one ADF, you will have his correct crc32, but if you upload a zip, you will have the zip crc32

@andreas: Yes I know, but my server won't start to unzip / unace each file to check his crc32 ! lol
RCK is offline  
Old 06 November 2001, 12:18   #6
RCK
Administrator
 
RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 45
Posts: 3,084
wait wait,

I will look if I can unzipping files "on the fly" with php, and do crc32 operation in it...
RCK is offline  
Old 06 November 2001, 12:47   #7
RCK
Administrator
 
RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 45
Posts: 3,084
okay, the fonctions for reading contents of zip (and then maybe check the CRC of the files) are not yet implemented in the stable version (4.0.6).

So I will have to wait the 4.1.0 one in order to code that
RCK is offline  
Old 06 November 2001, 12:50   #8
RCK
Administrator
 
RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 45
Posts: 3,084
Re: CRC of The Zone doesn't match the one from WinZIP?

Quote:
Originally posted by andreas
//Edit: CRC's for current files on the zone: (<-WinZIP)
Hell Run Machine (fixed) - 9da2b970
Cricket Captain - 12a4fde5
check the CRC32 of "SpaceBalls - State Of The Art.adf" and you will see it is correct
(in the zone: 9ad306a3)
RCK is offline  
Old 06 November 2001, 14:36   #9
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 50
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Smile

Well I blindly believe you that this is correct as it is.
But alas, the only way out is actually to wait for support of the inside-zip thing in PHP, BECAUSE otherwise everyone wanting to give others an occasion to check their CRC first (i. e. if he/she has this game version already or not) would have to upload the game in PLAIN ADF format, uncompressed, that is!
And this would really be silly! I don't want to imagine how long it will take until the 50 MB disk space on the zone is exhausted.
Argh. A loud and clear "no" from my point of view.
andreas is offline  
Old 06 November 2001, 18:12   #10
RCK
Administrator
 
RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 45
Posts: 3,084
Yep I know.
I'll try to find another solution.
RCK is offline  
Old 16 November 2001, 20:45   #11
MethodGit
Junior Member
 
MethodGit's Avatar
 
Join Date: Dec 2002
Location: The Streets
Age: 39
Posts: 2,731
Quote:
Originally posted by andreas
I don't want to imagine how long it will take until the 50 MB disk space on the zone is exhausted.
How do you know the Zone has a limit of 50MB, then?
MethodGit is offline  
Old 16 November 2001, 21:07   #12
RCK
Administrator
 
RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 45
Posts: 3,084
euh...

cause I said it in another thread.
you can see the amount of data at the very end of the zone page.
RCK is offline  
Old 16 November 2001, 22:13   #13
RCK
Administrator
 
RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 45
Posts: 3,084
Shiiiiiiiiiiiiiiit :disgusted

During the EAB's update of this afternoon, I have lost the last version of "the zone"...

The CRC calculation isn't working anymore.
ok, it is not really important cause it was useless, but it's just boring me

Well, I will re-code it when I will be able to read into the zip files "on the fly", and get the crc32 of the files.
RCK is offline  
Old 17 November 2001, 11:41   #14
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 50
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Happy

Sounds good.
andreas is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is a CRC? DeafDaz New to Emulation or Amiga scene 1 05 September 2011 07:36
pc0 data CRC error hardwir3d support.Other 2 31 October 2008 11:34
Larry 5 german - disk 2+6 have crc-err Enrique request.Old Rare Games 19 15 September 2008 17:58
4 Wrong CRC in v1.3 [changed files in update?] dlrm project.MAGE 1 05 August 2006 11:53
CRC errors with 512MB CF-IDE cards Shrub support.Hardware 3 14 August 2005 13:45

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:49.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08275 seconds with 13 queries