EzPack Crossplatform packer

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Piero
Addict
Addict
Posts: 1094
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: EzPack Crossplatform packer

Post by Piero »

Thanks Idle!

PS
Bug:

Code: Select all

CompilerIf #PB_OS_Windows ; always true
; Should be:
CompilerIf #PB_Compiler_OS = #PB_OS_Windows
Also, on Mac:
/Resources/examples/3d/Demos/Tank.pb
NOT:
/purebasic/Examples/3D/Demos/Tank.pb
User avatar
idle
Always Here
Always Here
Posts: 6064
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: EzPack Crossplatform packer

Post by idle »

Piero wrote: Mon Nov 10, 2025 10:19 pm Thanks Idle!

PS
Bug:

Code: Select all

CompilerIf #PB_OS_Windows ; always true
; Should be:
CompilerIf #PB_Compiler_OS = #PB_OS_Windows
Also, on Mac:
/Resources/examples/3d/Demos/Tank.pb
NOT:
/purebasic/Examples/3D/Demos/Tank.pb
Thanks, I've added the changes and added it to github.
can you check the examples work on mac.
User avatar
Piero
Addict
Addict
Posts: 1094
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: EzPack Crossplatform packer

Post by Piero »

idle wrote: Mon Nov 10, 2025 10:38 pm can you check the examples work on mac.
Seems all OK now :D
The only thing was that I had to set to Console (no "; ExecutableFormat = Console") :)
User avatar
idle
Always Here
Always Here
Posts: 6064
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: EzPack Crossplatform packer

Post by idle »

Thanks for the clarification
User avatar
Piero
Addict
Addict
Posts: 1094
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: EzPack Crossplatform packer

Post by Piero »

zPack_6_ExtractSelectedFilesToMemory.pb
pack\OpenFile has problems:

[ERROR] EzPack.pbi (Line: 963)
[ERROR] AllocateMemory(): Can't allocate a memory block of size 0.

Edit: seems it's because, with my settings (tmp exe in source directory) I need 2 tpak.ezp: 1 in sources folder and 1 in home folder (to successfully test all examples)

Edit2: it's not because of tmp exe in source directory, it's because of IncludeBinary "tpak.ezp" :oops:
THANKS again!
User avatar
idle
Always Here
Always Here
Posts: 6064
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: EzPack Crossplatform packer

Post by idle »

Umm yes I tried make it clear in the read me, you need to run the 1st example to create the tpak.ezp I didn't really spend any time considering the compiler settings.
Post Reply