News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

JArc betatesters needed

Started by jj2007, November 03, 2012, 06:37:46 AM

Previous topic - Next topic

jj2007

Hi folks,

Attached a beta of a little proggie that is destinated to replace my trusted 16-bit unzip.dll written by Christian Ghisler more than 15 years ago.

The good news is: JArc works, at least on my XP and Win7-32 puters, and it squeezes a lot of hot air out of your precious sources - roughly 3 times more than WinZip does :greensml:

The bad news is: Use at your own risk. This is still experimental. Here be dragons, and you've been warned. PM me for the source - there's MasmBasic in it, of course.

Examples.arc contains the complete *.asm and *.rc files of Masm32\Examples.

   db "Keyboard help:", 13, 10
   db "CtrL S to save settings", 13, 10
   db "Cursor up/down to scroll", 13, 10
   db "Space selects any line", 13, 10
   db "Cursor left/right selects single line", 0


... and NumPad +/- changes the font size.

Feedback (crashes, errors, handling) is welcome :bgrin:

P.S.: For safety reasons, I have replaced the examples.arc with a shorter one containing only the files that I definitely haven't edited. New archive is named JArc.zip.

Tedd

Did a quick test, seems okay, but a few points..

  • the first message box requires installation of FreeArc, but clicking No still acts like Yes
  • doesn't extract to folders, all files are extracted to the current - as a result, files with the same names in different folders get overwritten
  • "Find" changes the selection but doesn't update the focus so the selection is in view
  • "Sfx" fails (FreeArc: "WARNING: no files, erasing empty archive")
  • the listview should use the default GUI font, not Arial 12pt (of course I 'can' change it, but the default exists for a reason :P)
  • on-top window style is annoying
  • starting window size is too large for smaller screens (laptop)
Potato2

jj2007

#2
Thanks a lot, Tedd, very helpful :t

Quote from: Tedd on November 03, 2012, 09:49:36 AM
Did a quick test, seems okay, but a few points..

  • the first message box requires installation of FreeArc, but clicking No still acts like Yes
"No" leads to a ShellExecute JArc.ini, perhaps it's better to launch Notepad instead; will change that
Quote
  • doesn't extract to folders, all files are extracted to the current - as a result, files with the same names in different folders get overwritten
Will change that. Line 5 of JArc.ini should be ext=x -y -dp\, not ext=e -y
Quote
  • "Find" changes the selection but doesn't update the focus so the selection is in view
Good point, will be changed.
Quote
  • "Sfx" fails (FreeArc: "WARNING: no files, erasing empty archive")
That's a surprise. Is %ProgramFiles%\FreeArc\bin\freearc-tiny.sfx present in your installation?
Note that only selected files get converted to SFX, and that the original *.arc doesn't get touched. This is by design but debatable.
Quote
  • the listview should use the default GUI font, not Arial 12pt (of course I 'can' change it, but the default exists for a reason :P)
For my eyes, DEFAULT_GUI_FONT (or ANSI_VAR_FONT, which seems to be the same) are too small, that's why I added bigger fonts. The default GUI font can be set by pressing NumPad 0, and saved via Ctrl S.
Quote
  • on-top window style is annoying
It's meant for dragging files from Explorer or other file managers, but you are right that it should be an option. I usually minimise the window when it starts bothering me ;-)
Quote
  • starting window size is too large for smaller screens (laptop)
Ok
:t

EDIT: Version 2 attached, with Tedd's remarks taken into account. There is still a problem with the SFX button.

Always on top status can be set by pressing Alt T;
Ctrl S saves:
- window pos and size
- on top status
- the checkboxes and radiobuttons state
- font size
- last sort order

jj2007

Version 3, with many improvements. Inter alia, you can now use wildcards, e.g.

\Masm32\*.asm;*.rc

You can check if you want to include subfolders, and specify a maximum age for the files to be included. Just unzip the attachment to a folder and open JArc.exe.

bluedevil

1. Are they same, your attached proggie and the one on FreeArc.org

2. On my XP SP3 (intel core 2 duo) machine when execute JArc.exe
it gives an error, So i changes JArc.exe to Arc.exe and when i execute it it starts opening itself "eternally", i mean it never stops executing. Finally i' changed the name of the file and it stops!
..Dreams make the future
But the past never lies..
BlueDeviL // SCT
My Code Site:
BlueDeviL Github

jj2007

Quote from: blue_devil on November 07, 2012, 07:34:02 AM
1. Are they same, your attached proggie and the one on FreeArc.org
No, they are not the same. JArc.exe needs Arc.exe to function, though.

Quote2. On my XP SP3 (intel core 2 duo) machine when execute JArc.exe it gives an error
Which error?

bluedevil

Quote from: jj2007 on November 07, 2012, 07:50:17 AM
Quote from: blue_devil on November 07, 2012, 07:34:02 AM
1. Are they same, your attached proggie and the one on FreeArc.org
No, they are not the same. JArc.exe needs Arc.exe to function, though.

Quote2. On my XP SP3 (intel core 2 duo) machine when execute JArc.exe it gives an error
Which error?
:dazzled:haha, i have misunderstood smth jj2007. It is now ok. First i have downloaded FreeArc from its own website. and add your files to bin directory. Now it works fine ;)
And there is no error!
..Dreams make the future
But the past never lies..
BlueDeviL // SCT
My Code Site:
BlueDeviL Github

jj2007

> and add your files to bin directory. Now it works fine
Great :t

In JArc.ini, you'll find the line
exe="%ProgramFiles%\FreeArc\bin\Arc.exe"

So if you installed FreeArc to its default location,
C:\Program Files\FreeArc on English,
C:\Programmi\FreeArc on Italian Windows etc

then JArc.exe should work fine from any location, even from a different drive.

See ExpandEnv$() for more explanation.

bluedevil

It is working  :t
+there should be a shortcut on right click menu, what do you think?
..Dreams make the future
But the past never lies..
BlueDeviL // SCT
My Code Site:
BlueDeviL Github

jj2007

Quote from: blue_devil on November 07, 2012, 08:54:51 AM
It is working  :t
+there should be a shortcut on right click menu, what do you think?

Will think about it ;-)