Recent

Author Topic: Lazarus Resource Builder  (Read 23954 times)

wOvAN

  • New Member
  • *
  • Posts: 47
    • wxSoft.Ru
Lazarus Resource Builder
« on: December 10, 2009, 07:50:39 pm »
I've just written a little gui tool for lazarus, based on "lazres"  by  Mattias Gaertner, providing ability for visual building of .LRS files.   
Sources are attached. I hope it will be useful.
« Last Edit: March 08, 2013, 02:32:56 am by wOvAN »

Troodon

  • Sr. Member
  • ****
  • Posts: 484
Re: Lazarus Resource Builder
« Reply #1 on: December 10, 2009, 08:45:15 pm »
The .lpr file is empty.
Lazarus/FPC on Linux

wOvAN

  • New Member
  • *
  • Posts: 47
    • wxSoft.Ru
Re: Lazarus Resource Builder
« Reply #2 on: December 10, 2009, 10:00:49 pm »
The .lpr file is empty.

sorry :).  now should be ok.

Troodon

  • Sr. Member
  • ****
  • Posts: 484
Re: Lazarus Resource Builder
« Reply #3 on: December 11, 2009, 09:10:49 pm »
Nice work. IMO such a GUI interface to lazres should be included with Lazarus, eventually. You may wish to check for duplicate resources before generating the .lrs file.
« Last Edit: December 11, 2009, 09:48:51 pm by Troodon »
Lazarus/FPC on Linux

oniriabot

  • New Member
  • *
  • Posts: 12
Re: Lazarus Resource Builder
« Reply #4 on: December 13, 2009, 06:48:06 pm »
Hello,

I post on sourceforge the same project. I create LRS explorer can create lrs file.
But you create a good software.

Regards

Oniriabot

SirLucifer

  • New Member
  • *
  • Posts: 18
Re: Lazarus Resource Builder
« Reply #5 on: December 14, 2009, 12:37:15 pm »
Alright, I'm quite new to Lazarus/Free Pascal, but I thought a ready-made project would be easy to start out with...
When building, I get "Illegal unit name: Calendar".
Any suggestions on how to continue?

My environment is:
Lazarus 0.9.29 r23132 FPC 2.3.1 x86_64-win64-win32/win64

AShen

  • Newbie
  • Posts: 1
Re: Lazarus Resource Builder
« Reply #6 on: December 15, 2009, 11:16:42 am »

hinst

  • Sr. Member
  • ****
  • Posts: 303
Re: Lazarus Resource Builder
« Reply #7 on: December 16, 2009, 01:52:15 pm »
Can smbd tell me, where can i see|find a guide "how to load resources from .lrs files in runtime"?
« Last Edit: December 16, 2009, 07:08:47 pm by hinst »
Too late to escape fate

Leledumbo

  • Hero Member
  • *****
  • Posts: 8834
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Lazarus Resource Builder
« Reply #8 on: December 17, 2009, 08:53:52 am »
Quote
Can smbd tell me, where can i see|find a guide "how to load resources from .lrs files in runtime"?
Use LazarusResources.Find(<resource name>), that will load the resource as plain string.

oniriabot

  • New Member
  • *
  • Posts: 12
Re: Lazarus Resource Builder
« Reply #9 on: December 21, 2009, 07:37:29 pm »
The Project LRS explorer isn't dead. But I work with a russian friend who work very hard and when he will have enough time, he post a very good work that support a full language system like french, english, russian... and more.

If someone have idea on this project, write your idea here that we will add to this project.

regards.

Troodon

  • Sr. Member
  • ****
  • Posts: 484
Re: Lazarus Resource Builder
« Reply #10 on: December 21, 2009, 08:07:13 pm »
If someone have idea on this project, write your idea here that we will add to this project.

Maybe you already have this in your project, but if you don't, here goes:

- Add a compress option for strings that are saved to a .lrs file. Using compressed strings would allow for larger audio clips (.wav) to be added as resources to Lazarus/FPC applications. These audio strings could be decompressed "on-the-fly" at run time to be played using functions such as PlaySound. FreePascal includes the paszlib unit (http://wiki.freepascal.org/paszlib).
« Last Edit: December 21, 2009, 09:10:04 pm by Troodon »
Lazarus/FPC on Linux

Kurt

  • Jr. Member
  • **
  • Posts: 63
Re: Lazarus Resource Builder
« Reply #11 on: December 22, 2009, 11:40:43 pm »
The test to see if a resource is an image file of a type that can be displayed is case sensitive.  It will preview picture.jpg but not PICTURE.JPG.

codedeep

  • New Member
  • *
  • Posts: 22
  • The slowness is a bug
    • http://www.dinlabs.com
Re: Lazarus Resource Builder
« Reply #12 on: February 17, 2010, 12:41:36 pm »
« Last Edit: February 17, 2010, 12:43:17 pm by codedeep »
The slowness is a bug
Lazarus 0.9.31 Revision: 31754 SVN / freepascal 2.4.4 2011-07-20 (win32)

avra

  • Hero Member
  • *****
  • Posts: 2570
    • Additional info
Re: Lazarus Resource Builder
« Reply #13 on: July 19, 2012, 12:13:40 pm »
LazResBuilder.ico is missing which holds compilation. Workaround found by putting some dummy icon file instead.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

 

TinyPortal © 2005-2018