Comments (4)
Interesting. Are you able to share the installation files with me?
Increasing MAX_FILE_GROUP_COUNT will make unshield read more "file group" entries, and that will push "component" entries forward and that will cause a crash. These are listed by the g and c commands, respectively.
The reason less files are extracted than the file count can be found in the unshield_file_is_valid function. There are a number of cases where a file entry is not actually a file.
from unshield.
I have sent the entire iso (by torrent) to your email.
Using the original MAX_FILE_GROUP_COUNT
set as 71, I can list the groups and components:
$ src/unshield g /mnt/1/data1.cab
...
1648 file groups
$ src/unshield c /mnt/1/data1.cab
...
1445 components
But with the above warning:
WARNING: self->file_group_count = 151
The invalid files (shown by a improvised printf call in unshield_file_is_valid
function), sum exactly the initial ones:
$ src/unshield l /mnt/1/data1.cab | grep 'Invalid file' | wc -l
990
$ echo '19911 + 990' | bc -l
20901
And the cases, classified by increasing number in the branches starting at 1:
$ src/unshield l /mnt/1/data1.cab | grep 'Reason' | sort | uniq -c
384 Reason 3
606 Reason 5
For the reason 3, fd->flags
has the flag FILE_INVALID
, and for the 5, fd->data_offset
is NULL
.
from unshield.
Got it, thanks! I'll see if I can get it working this weekend!
from unshield.
Looks like I didn't get it working that weekend... Due to personal time priorities/constraints I need a PR to fix this, if it's still an issue.
from unshield.
Related Issues (20)
- Failed to extract file. HOT 19
- Always builds a static library HOT 3
- Request: Open CAB without fopen HOT 9
- issue with run-tests: failures in older linux distros? HOT 6
- Cannot extract last file of the volume in multi-vulume cab files HOT 2
- Extraction without group folder HOT 7
- tag new release? HOT 3
- Fix library name on UNIX HOT 1
- Failed to read ... bytes of file, Failed to read ... from input cabinet file, Failed to extract file HOT 5
- warning: remote HEAD refers to nonexistent ref, unable to checkout HOT 4
- Extraction Failure HOT 1
- travis-ci.org is ceased HOT 4
- Extraction failures on PowerPC with unshield 1.5.1 HOT 24
- Commented out for a long time HOT 2
- make install fails with permission denied error HOT 3
- baldurs_gate_old_compression segfaults
- Where do I find the latest Windows binaries? HOT 13
- Maybe git LFS wasn't such a good idea :( HOT 1
- Path traversal bug in src/unshield.c HOT 1
- Custom logger function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unshield.