Jump to content











Photo
- - - - -

WBzip v001


  • Please log in to reply
19 replies to this topic

#1 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 9,912 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 26 October 2006 - 10:27 AM

This program is available here:
http://www.boot-land...ds-file-21.html
It can be used to encode and decode binary files onto text files, it will use full file and path names. Wildcards are not yet supported but can be added if requested.

If you have any questions regarding the code, please ask them here.


Source code is included (delphi 7.2) to all of those who wish to use it inside their own applications. The compiled delphi units are also available as open source.

The working syntax is explained whenever you run it without parameters.

Hope this is useful! :P

EDIT by jaclaz:

Attached WBZIP.EXE (only the executable) and a separate archive with two sources and exes

Attached Files



#2 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,654 posts

Posted 30 October 2006 - 04:46 PM

Can this be used by any developer. If so. Why not include it in the tools folder so that it can be a universal way for developer to call a way to embed files. Unless there already is an easy way.

#3 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 30 October 2006 - 04:58 PM

@Nuno can you make Winbuilder to work with this command line?
I mean that instead of adding WBzip in the toold folder, just do it wih winbuilder

#4 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 9,912 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 30 October 2006 - 10:27 PM

Sure it can be done - hadn't thought on that before.. :P


Always thought people would just prefer to have a smallish app to distribute along with their works, but this can also be a good feature.. Will work on it! :P

#5 pedrole15

pedrole15

    Silver Member

  • .script developer
  • 731 posts
  •  
    France

Posted 22 November 2006 - 01:49 AM

I make a gui for encode file with WBzip
But the file don't appear in Winbuilder
Nuno, Is it a special command for WBzip ?
WB_Encode.zip

#6 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 9,912 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 22 November 2006 - 11:01 AM

You still need to add a [main] section where some keys need to be placed like title and level.

Good work!! :P

#7 pedrole15

pedrole15

    Silver Member

  • .script developer
  • 731 posts
  •  
    France

Posted 22 November 2006 - 12:23 PM

You still need to add a [main] section where some keys need to be placed like title and level.

Good work!! :P

When open script in WinBuilder the encoded folder don't appear :P
Folder are hidden , perhaps WBzip encode only with option hide file ?
Adding a section Main and some Key : result same :P
I plan to use it in MakeScript.

#8 pedrole15

pedrole15

    Silver Member

  • .script developer
  • 731 posts
  •  
    France

Posted 22 November 2006 - 12:37 PM

When open script in WinBuilder the encoded folder don't appear :P
Folder are hidden , perhaps WBzip encode only with option hide file ?
Adding a section Main and some Key : result same :P
I plan to use it in MakeScript.

Ok I've found why folder don't appear
I must add a section [EncodedFolders] wich contain the list of folder :P

#9 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 9,912 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 27 November 2006 - 10:48 PM

Ok I've found why folder don't appear
I must add a section [EncodedFolders] wich contain the list of folder :P


Is there any new GUI version available for testing? :P

#10 pedrole15

pedrole15

    Silver Member

  • .script developer
  • 731 posts
  •  
    France

Posted 29 November 2006 - 12:36 AM

Is there any new GUI version available for testing? :P

Yes here
Some little modif in it

#11 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 9,912 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 29 November 2006 - 12:53 AM

I've tested it and it works well, but it took some time to figure how to work with it - perhaps a good idea to add hints or small help texts to explain what each button/option will do.

On the message window "Ready for encoding.." the last part of text appeared hidden, don't know the reason why, here's a screenshot:
wbzipGui.PNG


Nice work! :P

#12 edborg

edborg

    Frequent Member

  • .script developer
  • 370 posts
  •  
    Italy

Posted 29 November 2006 - 09:24 AM

Useful tool! :P
It works fine for me, without graphic problems (I use the Windows classic GUI, though).
edborg

#13 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 9,912 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 07 December 2006 - 08:15 PM

Wbzip was updated to show Kb and Mb instead of exact byte filesize.

Download link:
http://www.boot-land...w...iew&iden=21

:P

Edit by jaclaz:
See first post of the thread

#14 yahoouk

yahoouk

    Silver Member

  • .script developer
  • 518 posts

Posted 07 December 2006 - 09:40 PM

Hi All, :P

As for me, encoding & decoding is very useful for small programs, but bigger ones.
If the program has 120MB included 23 folders, it would be in trouble to do so, :P
Also opening WB time last 2 to 5 minutes for me. I tried it. :P

Regards :P

#15 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 9,912 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 08 December 2006 - 12:06 PM

Hi All, :P

As for me, encoding & decoding is very useful for small programs, but bigger ones.
If the program has 120MB included 23 folders, it would be in trouble to do so, :P
Also opening WB time last 2 to 5 minutes for me. I tried it. :P

Regards :P



Thanks for reporting - never really tried it out with a 129Mb file.. :P

On these cases might still be better to just include all extra big sized files inside a zip - and if needed download it from a server and use 7zip to unpack files. :P

#16 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 02 September 2007 - 02:48 PM

I have a bit of a problem with wbzip.

When i try to encode a file into a script, the original script is deleted and a new one is created. :loleverybody:

I use the following command.
wbzip -a Test.script EncodedFolders Program.7z

The download from Boot-Land read wbzip version 2 but the exe claims to be version 1.0. :w00t:

:w00t:

#17 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 9,912 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 02 September 2007 - 11:49 PM

booty and psc have been active on this area and there is a new binary based on this source that likely no longer overwrites the older file.

I'm also a bit far from my usual work environment but I can look for the sources and change them to work as you require, just give me a few days until I find some time break to compile a new binary.

:loleverybody:

#18 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 03 September 2007 - 12:24 PM

Sorry, Nuno.
Should have posted yesterday that i found the problem.
If the file wbzip should encode something to, has no sections it is deleted and replaced by a new file with the same name.
If a section, any section, already exists, wbzip works fine.

Though no idea why wbzip behaves that strangly.

:loleverybody:

#19 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 8,789 posts
  • Location:The Outside of the Asylum
  •  
    Italy

Posted 17 March 2010 - 09:45 PM

Just to keep things as together as possible:
http://www.boot-land...showtopic=10783

unwbzip batch

:)

Wonko

#20 MrChucong™

MrChucong™

    Member

  • Members
  • 59 posts
  • Location:Small City
  • Interests:Life Or Death
  •  
    Vietnam

Posted 11 January 2012 - 02:06 PM

thanks !




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users