Difference between revisions of "AGOS/TODO"

Jump to navigation Jump to search
1,013 bytes added ,  23:09, 25 May 2009
→‎Feeble Files: Added unshield patch which makes it possible to extract the FF data files.
(→‎Feeble Files: Added unshield patch which makes it possible to extract the FF data files.)
Line 36: Line 36:


* Currently, it is difficult to extract the Feeble Files .cab files for people on non-windows systems. Sadly, unshield [https://sourceforge.net/tracker/?func=detail&atid=399601&aid=1429549&group_id=30550 does not properly support the FF .cab files]. It would be nice if somebody could work on this. Maybe looking at the [http://programmerstools.org/node/122 i5comp source code] could help.
* Currently, it is difficult to extract the Feeble Files .cab files for people on non-windows systems. Sadly, unshield [https://sourceforge.net/tracker/?func=detail&atid=399601&aid=1429549&group_id=30550 does not properly support the FF .cab files]. It would be nice if somebody could work on this. Maybe looking at the [http://programmerstools.org/node/122 i5comp source code] could help.
UPDATE: Actually, applying the following patch to unshield allows one to use "unshield -O x data1.cab" to extract the FF data1.cab file.
<syntax type="diff">
diff -ru unshield-0.5.1/lib/file.c unshield-0.5.1-patched/lib/file.c
--- unshield-0.5.1/lib/file.c 2009-05-26 00:42:18.000000000 +0200
+++ unshield-0.5.1-patched/lib/file.c 2009-05-26 00:43:00.000000000 +0200
@@ -266,7 +266,7 @@
    if (err != Z_OK)
      return err;
-    err = inflate(&stream, Z_BLOCK);
+    err = inflate(&stream, Z_SYNC_FLUSH);
    if (err != Z_OK)
    {
      inflateEnd(&stream);
diff -ru unshield-0.5.1/lib/libunshield.c unshield-0.5.1-patched/lib/libunshield.c
--- unshield-0.5.1/lib/libunshield.c 2009-05-26 00:42:18.000000000 +0200
+++ unshield-0.5.1-patched/lib/libunshield.c 2009-05-26 00:42:54.000000000 +0200
@@ -271,7 +271,7 @@
     
      header->major_version = (header->common.version >> 12) & 0xf;
-#if 0
+#if 1
      if (header->major_version < 5)
        header->major_version = 5;
#endif
</syntax>


=== Some observations about the missing line breaks ===
=== Some observations about the missing line breaks ===
1,079

edits

Navigation menu