Page 16 of 16

Re: PBOSL - A OpenSource Library-Collection for PureBasic

Posted: Wed Mar 03, 2010 2:51 pm
by ts-soft
sqlite3 userlib is useless. use the native one in pb.

Re: PBOSL - A OpenSource Library-Collection for PureBasic

Posted: Mon Mar 22, 2010 10:55 am
by rudz
Using PB v4.41 x64
Tailbite v1.4.3 (using MultiLib)
PellesC v6.0.4
nasm v2.08.01

I have managed to compile the following libs without any MAJOR hassle:
  • PBOSL_AnimSprite
    PBOSL_AppRunning
    PBOSL_BriefLZ
    PBOSL_CPUmonitor
    PBOSL_DBin
    PBOSL_ExDatabase
    PBOSL_GlobalSharedMemory
    PBOSL_LoadDllMemory
    PBOSL_MSXML3
    PBOSL_NTService
    PBOSL_SkinWin
    PBOSL_SkinWinFast
    PBOSL_Timer
    PBOSL_ToolbarPro
    PBOSL_TryCatch
    PBOSL_WindowSubclass
Also didn't have any problems making the help file.


Ran into the following issues:
  • Setup.bat required some changes, i ran into some issues using spaces in location names. (also with ").
    C\PBOSL_SkinWinFast: requires Unicode flag support - compiles.
    ASM\PBOSL_AppRunning: requires Unicode flag support - compiles.
    ASM\PBOSL_TryCatch: requires Unicode flag support - compiles.
    PB\PBOSL_CreateGadget: need prototyping - fails.
    PB\PBOSL_ExPrinter: unknown structure field(s) - fails.
    PB\PBOSL_Process: TB-ERROR: ExamineDrivers.asm#30#Code -122 UNDEFINED_SYMBOL.
    <- 64 bit problem?
    PB\PBOSL_RFile: TB-ERROR: PureBasic.asm [2321|MP38]: Undefined symbol 's_New_RFile.p_VT'.
    PB\PBOSL_ScreenGadgets: TB-ERROR: PureBasic.asm [16367|MP190]: Undefined symbol 's_SG_ScreenGadgetEvent.v_WaitMouseRelease_SL'.
Edit: I have only tested CPUUsage(), does not work in PB-x64 but in PB-x86 it howls from the speakers with a high pitch noise, then does nothing but return -1 value.

The rest will have to wait.

Re: PBOSL - A OpenSource Library-Collection for PureBasic

Posted: Sat Jun 12, 2010 1:45 pm
by Gansta93
Hello,

WebPM doesn't work anymore... is there another colaborative space (CVS, SVN...) for PBOSL?
Is PBOSL still under development or abandoned?

Re: PBOSL - A OpenSource Library-Collection for PureBasic

Posted: Sat Jun 11, 2011 1:55 pm
by User_Russian
Compiled from source PBOSL for PureBasic 4.5x.
Download.

Re: PBOSL - A OpenSource Library-Collection for PureBasic

Posted: Sat Jun 18, 2011 4:46 am
by electrochrisso
Hi User_Russian, thanks for download, did you need to alter the source much. :?:
If so, any chance of submitting the changes you had to make.

Re: PBOSL - A OpenSource Library-Collection for PureBasic

Posted: Mon Apr 02, 2012 5:04 pm
by le_magn
User_Russian wrote:Compiled from source PBOSL for PureBasic 4.5x.
Download.
Hi, is this version also compatible with PB 4.61?

Re: PBOSL - A OpenSource Library-Collection for PureBasic

Posted: Thu Jan 03, 2013 8:13 am
by applePi
le_magn wrote:
Hi, is this version also compatible with PB 4.61?
there is an update for binaries to ts-soft lib by user_russian look for PureBasic 5.00 x86 here: http://pure-basic.narod.ru/libs.html . it works with pb5.10b1. use google translator to translate pages to english.

Re: PBOSL - A OpenSource Library-Collection for PureBasic

Posted: Tue Nov 19, 2013 10:48 pm
by Joakim Christiansen
electrochrisso wrote:Hi User_Russian, thanks for download, did you need to alter the source much. :?:
If so, any chance of submitting the changes you had to make.
Someone should just put it up on GitHub, GitHub has gotten quite popular and makes it easy for people to "subscribe" to a project automatically syncing the latest changes to their disk, etc.

Offtopic: Actually instead of having a Tips and Tricks section it would be nice with an official rep. at GitHub where all examples are published and maintained by the community. Then the current work with updating the code in that forum section would be a breeze.

Re: PBOSL - A OpenSource Library-Collection for PureBasic

Posted: Wed Jan 22, 2014 8:38 pm
by Danilo
SkinWinFast library update for PB5.21 (requires SkinWin lib from PBOSL package):

DOWNLOAD: SkinWinFast_PB521.zip

Changes:
- GenerateFastSkin()'s "compress" argument takes now a #PB_PackerPlugin_ constant (#PB_PackerPlugin_Zip, #PB_PackerPlugin_LZMA, #PB_PackerPlugin_BriefLZ, 0 = no compression)
- You need to include the correct UseXXXPacker() command in your executable that uses compressed .pbs skin files
- File version of .pbs skins updated to v2, as it is not compatible to v1 skins. You need to re-generate your skins.

Small test included. Final EXE sizes with the included example image:

Code: Select all

BriefLZ:  42,0 KB
LZMA:     78,5 KB
Zip:     112,0 KB
Resulting EXE size depends on the image and packer you use.
LZMA may create smaller .pbs files, but the packer/unpacker is much
bigger itself. BriefLZ packer/unpacker is much smaller (round about 40KB),
but compressed skins are usually bigger. You need to test this if you want
the smallest possible executable.