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.
Re: EzPack Crossplatform packer
Posted: Fri Dec 19, 2025 1:18 am
by skinkairewalker
It would be interesting to add password protection.
Re: EzPack Crossplatform packer
Posted: Fri Dec 19, 2025 5:17 am
by idle
skinkairewalker wrote: Fri Dec 19, 2025 1:18 am
It would be interesting to add password protection.
It's not really of much use when it's embedded in your exe and its not so easy to add
Re: EzPack Crossplatform packer
Posted: Fri Dec 19, 2025 5:45 am
by skinkairewalker
idle wrote: Fri Dec 19, 2025 5:17 am
and its not so easy to add
I’m seeing that it’s hard in practice xD
viewtopic.php?t=87904
I’m trying to embed ezPack into my server code, but I’m having problems. I believe it’s due to my ‘poorly written and beginner’ server code.
Could you tell me what I should do in Procedure ProcessRequest(*req.client) to make reading files with ezPack via memory work?
Re: EzPack Crossplatform packer
Posted: Fri Dec 19, 2025 6:46 am
by miso
skinkairewalker wrote: Fri Dec 19, 2025 5:45 am
idle wrote: Fri Dec 19, 2025 5:17 am
and its not so easy to add
I’m seeing that it’s hard in practice xD
viewtopic.php?t=87904
I’m trying to embed ezPack into my server code, but I’m having problems. I believe it’s due to my ‘poorly written and beginner’ server code.
Could you tell me what I should do in Procedure ProcessRequest(*req.client) to make reading files with ezPack via memory work?
Pb has a wast amount of cypher capabilities. You can cypher the files that go into the zip.
Re: EzPack Crossplatform packer
Posted: Fri Dec 19, 2025 7:22 pm
by idle
skinkairewalker wrote: Fri Dec 19, 2025 5:45 am
idle wrote: Fri Dec 19, 2025 5:17 am
and its not so easy to add
I’m seeing that it’s hard in practice xD
viewtopic.php?t=87904
I’m trying to embed ezPack into my server code, but I’m having problems. I believe it’s due to my ‘poorly written and beginner’ server code.
Could you tell me what I should do in Procedure ProcessRequest(*req.client) to make reading files with ezPack via memory work?
You have the source for atomic webserver it does it already.
Re: EzPack Crossplatform packer
Posted: Mon Dec 22, 2025 9:59 pm
by skinkairewalker
idle wrote: Fri Dec 19, 2025 7:22 pm
You have the source for atomic webserver it does it already.
The only reason I can't use
Atomic Web Server 3 right now is that I can't run it on Mac/Linux.
this code works on Windows, Linux & Mac .
but with some error with stress test
viewtopic.php?t=88089
Re: EzPack Crossplatform packer
Posted: Mon Dec 22, 2025 10:42 pm
by idle
skinkairewalker wrote: Mon Dec 22, 2025 9:59 pm
idle wrote: Fri Dec 19, 2025 7:22 pm
You have the source for atomic webserver it does it already.
The only reason I can't use
Atomic Web Server 3 right now is that I can't run it on Mac/Linux.
I no longer have a mac to test it on but it was working on linux.