Greetings.
Is it possible that there is a bug with v245 ?
I tried to do a new installation and i get "illegal 2-byte read from offset 3682620 of 2692-byte file nalia8.cre" during bg2-fixpack installation. I get the error with 32/64bit linux version and with 32bit windows version through wine. I verified that weidu 244 works fine with the same installation.
The bg2-fixpack version is v11 beta4 and i think that the error occurs in "nalia short one prof star at all levels" code (Line 7895 in setup-bg2fixpack.tp2). I may be wrong though.
The difference in debug files is the following:
--- debug-244 2018-05-20 16:51:38.718054599 +0300
+++ debug-245 2018-05-20 16:54:15.675855684 +0300
@@ -1,4 +1,4 @@
-WeiDU v 24400 Log
+WeiDU v 24500 Log
weidu --log setup-bg2fixpack.debug bg2fixpack/setup-bg2fixpack.tp2
[./chitin.key] loaded, 590551 bytes
@@ -9114,6985 +9114,444 @@
Copied [minsc12.cre] to [override/minsc12.cre]
Copying and patching 6 files ...
[./override/nalia8.cre] loaded, 2692 bytes
-Copied [nalia8.cre] to [override/nalia8.cre]
-[./override/nalia10.cre] loaded, 2692 bytes
-Copied [nalia10.cre] to [override/nalia10.cre]
....
+ERROR: illegal 2-byte read from offset 3682620 of 2692-byte file nalia8.cre
+ERROR: [nalia8.cre] -> [override] Patching Failed (COPY) (Failure("nalia8.cre: read out of bounds"))
+Stopping installation because of error.
I tried to run weinstall through strace and got the following differences in output:
--- 244 2018-05-20 17:03:53.471755488 +0300
+++ 245 2018-05-20 17:04:10.907510926 +0300
@@ -81278,462 +81110,15093 @@
stat("./override/nalia11.cre", {st_mode=S_IFREG|0777, st_size=2752, ...}) = 0
stat("./override/nalia13.cre", {st_mode=S_IFREG|0777, st_size=3112, ...}) = 0
stat("./override/nalia15.cre", {st_mode=S_IFREG|0777, st_size=3100, ...}) = 0
-stat("./override/nalia18.cre", 0x7ffd2464f450) = -1 ENOENT (Δεν υπάρχει τέτοιο αρχείο ή κατάλογος)
+stat("./override/nalia18.cre", 0x7ffdfb137390) = -1 ENOENT (Δεν υπάρχει τέτοιο αρχείο ή κατάλογος)
write(1, "Copying and patching 6 files ..."..., 33) = 33
write(3, "Copying and patching 6 files ..."..., 33) = 33
-stat("nalia8.cre", 0x7ffd2464f5f0) = -1 ENOENT (Δεν υπάρχει τέτοιο αρχείο ή κατάλογος)
+stat("nalia8.cre", 0x7ffdfb137520) = -1 ENOENT (Δεν υπάρχει τέτοιο αρχείο ή κατάλογος)
stat("./override/nalia8.cre", {st_mode=S_IFREG|0777, st_size=2692, ...}) = 0
stat("./override/nalia8.cre", {st_mode=S_IFREG|0777, st_size=2692, ...}) = 0
openat(AT_FDCWD, "./override/nalia8.cre", O_RDONLY) = 23
read(23, "CRE V1.0\216#\0\0\217#\0\0@\0\0\0\0\0\0\0\350t\2\0-\0\0\0"..., 2692) = 2692
close(23) = 0
write(3, "[./override/nalia8.cre] loaded, "..., 43) = 43
-stat("override", {st_mode=S_IFDIR|0755, st_size=82568, ...}) = 0
-stat("override", {st_mode=S_IFDIR|0755, st_size=82568, ...}) = 0
-stat("override/nalia8.cre", {st_mode=S_IFREG|0777, st_size=2692, ...}) = 0
-chmod("override/nalia8.cre", 0777) = 0
-openat(AT_FDCWD, "override/nalia8.cre", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 23
-fcntl(23, F_SETFD, FD_CLOEXEC) = 0
-lseek(23, 0, SEEK_CUR) = 0
-write(23, "CRE V1.0\216#\0\0\217#\0\0@\0\0\0\0\0\0\0\350t\2\0-\0\0\0"..., 2956) = 2956
-close(23) = 0
-chmod("override/nalia8.cre", 0777) = 0
-write(3, "Copied [nalia8.cre] to [override"..., 45) = 45
+write(1, "ERROR: illegal 2-byte read from "..., 76) = 76
+write(3, "ERROR: illegal 2-byte read from "..., 76) = 76
+write(1, "ERROR: [nalia8.cre] -> [override"..., 101) = 101
+write(3, "ERROR: [nalia8.cre] -> [override"..., 101) = 101
+write(1, "Stopping installation because of"..., 40) = 40
+write(3, "Stopping installation because of"..., 40) = 40
+write(1, "\nERROR Installing [BG2 Fixpack -"..., 77) = 77
+write(3, "\nERROR Installing [BG2 Fixpack -"..., 77) = 77
+openat(AT_FDCWD, "bg2fixpack/backup/0/unsetstr.0", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 23
fcntl(23, F_SETFD, FD_CLOEXEC) = 0
lseek(23, 0, SEEK_CUR) = 0
-write(23, "CRE V1.0\216#\0\0\217#\0\0@\0\0\0\0\0\0\0\0005\f\0-\0\0\0"..., 3304) = 3304
+write(23, "\204\225\246\276\0\0\\\304\0\0\0\345\0\0\31i\0\0\0161\240\260\2\0\1\34?\320C @@"..., 23768) = 23768
close(23) = 0
Does this help at all ?
Thank you for your time.