It is currently Thu Oct 17, 2019 10:02 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: DataPacker (yet another DataSection packer/generator)
PostPosted: Fri Oct 13, 2017 7:55 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Oct 26, 2015 2:55 am
Posts: 908
Location: UA
Nothing much special, one more small tool which allows to be more lazy with PB ^^

It takes input file(s) and packs them as is to data section. Folders processed also.
I've made this one instead of using existing mostly because of some different output representation: it stores file size as a constant (instead of 2 labels), also label and constant names are same as name of input file + all data is stored in a single line, thus allowing to scroll less.

Generally see screenshots or check it yourself:
http://geocities.ws/lunasole/data/_4pb/datapacker/l

_________________
Dreamness

Like a copyleft notify: all the source code created by me and posted on Purebasic official forums is free to use and modification in all possible (and several impossible) ways for anyone, without asking my permission


Top
 Profile  
Reply with quote  
 Post subject: Re: DataPacker (yet another DataSection packer/generator)
PostPosted: Fri Oct 13, 2017 8:09 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Oct 26, 2015 2:55 am
Posts: 908
Location: UA
Quote:
+ all data is stored in a single line, thus allowing to scroll less


Though now I see that might be bad idea. Seems that IDE hangs much more if put 10mb text in a single line, lol, unlike if split it to several.
Somehow later I'll improve that

_________________
Dreamness

Like a copyleft notify: all the source code created by me and posted on Purebasic official forums is free to use and modification in all possible (and several impossible) ways for anyone, without asking my permission


Top
 Profile  
Reply with quote  
 Post subject: Re: DataPacker (yet another DataSection packer/generator)
PostPosted: Sat Oct 14, 2017 5:42 am 
Offline
Addict
Addict
User avatar

Joined: Mon Oct 26, 2015 2:55 am
Posts: 908
Location: UA
Now it should be usable ^^
Quote:
1.0.0.1
- fixed bug with "remove selected" menu
- fixed processing of 0-len files
- now records of resulting DataSection are sorted
- now records have timestamp (file modified date)
- improved processing at all


Generally not bad idea to use with some standalone include files (instead of playing with external dependencies).
For large files IncludeBinary is better of course.

_________________
Dreamness

Like a copyleft notify: all the source code created by me and posted on Purebasic official forums is free to use and modification in all possible (and several impossible) ways for anyone, without asking my permission


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye