Page 2 of 2
Re: EzPack Crossplatform packer
Posted: Mon Nov 10, 2025 10:19 pm
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
Re: EzPack Crossplatform packer
Posted: Mon Nov 10, 2025 10:38 pm
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.
Re: EzPack Crossplatform packer
Posted: Tue Nov 11, 2025 3:00 am
by Piero
idle wrote: Mon Nov 10, 2025 10:38 pm
can you check the examples work on mac.
Seems all OK now

The only thing was that I had to set to Console (no "; ExecutableFormat = Console")

Re: EzPack Crossplatform packer
Posted: Tue Nov 11, 2025 3:11 am
by idle
Thanks for the clarification
Re: EzPack Crossplatform packer
Posted: Tue Nov 11, 2025 3:35 am
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"
THANKS again!
Re: EzPack Crossplatform packer
Posted: Tue Nov 11, 2025 5:54 am
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.