Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

*View All Threads*Show in Threaded Mode


SubjectRebuilding error new Reply to this message
Posted byalcoatjez
Posted on08/27/05 09:09 AM



Hi Roman!

First of all, thanks for your excellent tool!
I have one problem with the rebuilding of files. When I rebuild some unzipped ROMs and zip them, the rebuilder tells me on all files: Corrupt Zipfile: Reason: UNKNOWN LOCAL FILE HEADER
The directory is pretty 'deep', 6 levels f.e. c:\a\b\c\d\e\f\
If I rebuild to another directory which is only 2 levels deep, there are no problems. Can this 'deep' dir perhaps be a problem?
I'm using XP Pro SP2 and an NTFS file system.

TIA, alcoatjez




SubjectRe: Rebuilding error new Reply to this message
Posted byRoman
Posted on08/29/05 01:57 AM



> Hi Roman!
>
> First of all, thanks for your excellent tool!
> I have one problem with the rebuilding of files. When I rebuild some unzipped
> ROMs and zip them, the rebuilder tells me on all files: Corrupt Zipfile: Reason:
> UNKNOWN LOCAL FILE HEADER
> The directory is pretty 'deep', 6 levels f.e. c:\a\b\c\d\e\f\
> If I rebuild to another directory which is only 2 levels deep, there are no
> problems. Can this 'deep' dir perhaps be a problem?
> I'm using XP Pro SP2 and an NTFS file system.
>
> TIA, alcoatjez
>

The depth is not a problem as long as the operating system supports it (don't remember the exact number of characters...let's say...something around 230).
UNKNOWN LOCAL FILE HEADER is an error in the zipfile localfileheader structure. In this case it's a localfileheader id which isn't the standard one. Try to rezip the file with a common zipfile program to get a valid standard localfileheader id.
Although the way to describe it is weird. If the rebuilder rebuilds them fine and afterwards it tells you it's bad, something is wrong. I did some tests and rebuilt unzipped files to d:\a\b\c\d\e\f\g\h\i\j....they all rebuild fine. Sounds like a system problem to me. Maybe problems with your harddisk's write cache. You can try to enable settings->zipsettings->additional zipflush and the full structure scan there. Also try to rebuild to a different drive and check your ide/sata/scsi cable depending on the used harddisk.
It would be also interesting if you mail me such a bad file.


Roman Scherzer



SubjectRe: Rebuilding error Reply to this message
Posted byalcoatjez
Posted on08/29/05 09:33 AM



> Try to rezip the file with a common zipfile program to get > a valid standard localfileheader id.

The file unzips fine, but nothing is extracted, since it's an empty zip!

> I did some tests and rebuilt unzipped files to
> d:\a\b\c\d\e\f\g\h\i\j....they all rebuild fine.

The actual dir I'm rebuilding to is E:\Roms\TOSEC\Commodore\C64\Games\[D64], not sure if this matters, but I thought I should mention it.

> You can try to enable settings->zipsettings->additional
> zipflush and the full structure scan there. Also try to
> rebuild to a different drive and check
> your ide/sata/scsi cable depending on the used harddisk.

I had done that already. Everything is fine with the cables and rebuilding to another disk goes flawlessly. Strange thing is: when I rebuild to E:\Roms\TOSEC\Commodore\C64\Games, nothing's wrong!

> It would be also interesting if you mail me such a bad
> file.

Done!

Thanks again, alcoatjez




SubjectRe: Rebuilding error new Reply to this message
Posted byRoman
Posted on08/29/05 09:52 AM



> > Try to rezip the file with a common zipfile program to get > a valid standard
> localfileheader id.
>
> The file unzips fine, but nothing is extracted, since it's an empty zip!
>
> > I did some tests and rebuilt unzipped files to
> > d:\a\b\c\d\e\f\g\h\i\j....they all rebuild fine.
>
> The actual dir I'm rebuilding to is E:\Roms\TOSEC\Commodore\C64\Games\[D64], not
> sure if this matters, but I thought I should mention it.
>
> > You can try to enable settings->zipsettings->additional
> > zipflush and the full structure scan there. Also try to
> > rebuild to a different drive and check
> > your ide/sata/scsi cable depending on the used harddisk.
>
> I had done that already. Everything is fine with the cables and rebuilding to
> another disk goes flawlessly. Strange thing is: when I rebuild to
> E:\Roms\TOSEC\Commodore\C64\Games, nothing's wrong!
>
> > It would be also interesting if you mail me such a bad
> > file.
>
> Done!
>
> Thanks again, alcoatjez
>


I will use your paths later at home. Please also send me the datfile, the unzipped source file and the belonging clrmamepro settings file (in cmpro's settings folder something.cmp)


Roman Scherzer



SubjectRe: Rebuilding error new Reply to this message
Posted byalcoatjez
Posted on08/29/05 10:58 AM



Files sent :)




SubjectRe: Rebuilding error *edit* new Reply to this message
Posted byRoman
Posted on08/29/05 12:32 PM



> Files sent :)
>

hasn't arrived yet :(

Anyway...I used your path (E:\Roms\TOSEC\Commodore\C64\Games\[D64]) and any file I tried with several datfiles worked fine...the zip was always 100%....

I will have a further look if you sent me the files....but I guess it's somehow systemrelated....maybe some background task interfear (virusscanner....zip tool).



Roman Scherzer



View All Threads*Show in Threaded Mode