• evnt TICKIT Unable to identify packer for AmyList.l50

    From Fernando Toledo@1:103/705 to GitLab issue in main/sbbs on Sat Feb 25 09:24:22 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/524

    I try to setup a nodelist handler for amiganet, these come in lha formatI have added the archiver and it works ok with the files from the library![imagen](https://gitlab.synchro.net/main/sbbs/uploads/8f6f2659b773ef2ee4f413936f1a02c1/imagen.png)I test on tickit.cfg with both nodelist_handler and file_handler with same results:```[AMYLIST]Dir=amn_amylistSourceAddress=39:943/1@amiganetForceReplace=trueHandler=tickit/nodelist_handler.jsHandlerArg={"domain":"amiganet", "match":"AmyList.l*", "nlmatch":"AmyList.*"};Handler = tickit/file_handler.js;HandlerArg = { "match": "AmyList.l*", "files": [{ "source": "Amylist.*", "destination": "/sbbs/fido/NODELIST.AMIGANET" }]}```it seems that the part of code that tries to detect the archiver is not working for this case``` Object.keys(ctx.sbbsecho.packer).forEach(function(key) { var i; var sig = ''; f.position = ctx.sbbsecho.packer[key].offset; for (i=0; i<ctx.sbbsecho.packer[key].sig.length; i+=2) { sig += format("%02X", f.readBin(1)); if (f.eof) break; } if (sig === ctx.sbbsecho.packer[key].sig) unpack = ctx.sbbsecho.packer[key].unpack; }); f.close(); if (unpack == undefined) { log(LOG_DEBUG, "Unable to identify packer for '"+tic.file+"'"); return false; }```I attach a AmyList.l48 nodelist example that came from my boss.[AmyList.l48](/uploads/4f200dfa9dbe27939d5e68a697ba0a74/AmyList.l48)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Sat Feb 25 12:26:28 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/524#note_3279

    TickIT uses the echocfg->Archive Types configuration for extracting files (not SCFG->File Options->Extractable File Types and not the JS Archive object). So for this file type to be supported, you'd need to have echocfg->Archive Types->LZH set like so (or similar):```╔[■][?]═══════════════════════════════════════╗║ Archive Type - LZH ║╠═════════════════════════════════════════════╣║ │Archive Type LZH ║║ │Signature 2D6C68 ║║ │Signature Offset 2 ║║ │Pack Command Line lha a %f %s ║║ │Unpack Command Line lha e %f %s ║╚═════════════════════════════════════════════╝```
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Sat Feb 25 12:27:16 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/524#note_3280

    I think the best fix here would be to have tickit use the JS Archive class for extracting files.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Sun Feb 26 11:24:20 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/524#note_3285

    Excelent!!! I didn't remember that sbbsecho had its own archiver config. I add the lha config, I will wait to next nodelist arrive for verify !thanks!
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab issue in main/sbbs on Sun Feb 26 11:24:21 2023
    close https://gitlab.synchro.net/main/sbbs/-/issues/524
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)