DataPacker (yet another DataSection packer/generator)

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

DataPacker (yet another DataSection packer/generator)

Post by Lunasole »

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
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DataPacker (yet another DataSection packer/generator)

Post by Lunasole »

+ 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
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DataPacker (yet another DataSection packer/generator)

Post by Lunasole »

Now it should be usable ^^
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.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Post Reply