View unanswered posts | View active topics It is currently Fri Sep 03, 2010 8:57 am



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 177 posts ]  Go to page 1, 2, 3, 4, 5 ... 12  Next
 BBInterface 0.9.89 
Author Message
BBAdult
User avatar

Joined: Mon Aug 29, 2005 2:53 am
Posts: 30
Reply with quote
Post BBInterface 0.9.89
Hey all,

New version is ready. A whole lots of features in this one... including some new and exiting things that make a lot possible. Can't wait to see what the scripters come up with.

Download at:
http://www.psyci.com/bbi/

Here are the details.

BBI CORE IMPROVEMENTS:

Architecture Improvements: [psyci]
- Agents themselves cannot have agents attached to them (allows Compound Text Agent, Switched State Agent, and Graph agent to exist, and has lots of potential)

Styles: [pkt-zer0]
- Style literals
- Extra color format: rgb10:r/g/b - r, g, and b are decimal values 0-255

Modules (improved) [pkt-zer0]
- No more limitations on naming and control count.
- Use commented lines to set the different properties: "!Module: <name>" is necessary, <name> can only contain alphanumeric characters and underscores. Other properties are "!Author:" and "!Comments:"
- "Interface operations > Assign to module..." option added.
- "Set Active Module": New controls will automatically be assigned to this module.
- OnLoad and OnUnload actions - for the main config file, too.

Message preprocessing [pkt-zer0]
- Quoted broams are no longer exempt from preprocessing, use $$VarName$$ in such places, if that's the desired behaviour.
- Variable indirection: The value of a variable is used to access a control or another variable. ($*VarName$)
- $Slider.Value$ and $Switch.Value$ added.
- Variables saved to file: Use the "Static" keyword after the "Set" command, and optionally a module name to specify where it should be saved. (@BBInterface Set Static [Module] Variable Value)
- Expression evaluation for the "Set" command

Menu Improvements [psyci]
- Menu layout slightly easier to navigate (Options are on top, assigned agent type is displayed in menu)

CONTROLS:

Slider Control (Improved) [psyci]
- Slider control now has OnGrab, OnRelease, and OnChange agent slots that can be assigned to any action
- Added MinimumBroadcastValue and MaximumBroadcastValue property (use with Bro@ms)

Button/SwitchButton Control (Improved) [psyci]
- Buttons now have ImageWhenPressed agent slot (when this isn't set, the Image property is used)

AGENTS:

Winamp Agent (Improved) [psyci]
- Track time elapsed now available to assign to any text field
- Track time remaining now available to assign to any text field
- Track time remaining now available to assign to any text field
- Is Playing now available as a boolean value

System Monitor Agent (Improved) [psyci]
- All system monitor agents (CPU, Memory, Battery) can now be attached in text form to any text field
- Fixed bug with battery meter when plugged in

Compound Text Agent (NEW) [psyci]
- New agent can string together multiple pieces of text from any text source (for example, "CPU: 25% Memory: 30% Winamp Title: Your Song Here" can be the title of a button)

Switched State Agent (NEW) [psyci]
- Values linked to any boolean value can have two state images/text/triggers (for example, a button could have a different image and a different piece of text depending on if the volume is muted or not).

Graph Agent (NEW) [psyci]
- Attach as an image to any control that can contain an image (button, label, frame)
- Graphs any scale value over time (CPU Usage, Memory Usage, Battery Power, Volume, etc)

Slider Control (Improved) [psyci]
- Added OnChange, OnGrab, and OnRelease agents to Slider control
- Added Minimum & Maximum Broadcast Value property

Bitmap/Icon Agent (Improved) [psyci]
- Added "Change Source..." item to options menu that allows you to change source of icon without losing alignment/sizing properties

Bro@m Agent (Improved) [psyci]
- Removed ability to assign broams to sliders (did not fit in to architecture)
- Added ability to replace "$BroadcastValue$" in a broam message with the assigned control's value (0 or 1 for switch buttons, customizable range for sliders)


A compatibility note: Just about everything should be compatible with the previous versions. However, there is one change that script-makers should be aware of. Previously, you could assign a broam to a slider. This was kind of strange; a broam is not really a value. I changed the implementation of this, which might break a few scripts, but it is for the better. Changes are:
- Sliders now have "OnGrab", "OnChange", and "OnRelease" agents that can be assigned to *any* action, including broams.
- Sliders have "Minimum Broadcast Value" and "Maximum Broadcast Value" properties now (replacing the MinValue and MaxValue properties of broams)
- Broams now have the ability to replace "$BroadcastValue$" with the value of the control they are attached to.
Combine those three changes together, and you can get the same functionality but with a better architecture.

Enjoy!


Sun Jun 04, 2006 5:17 am
Report this post
Profile
Sponsored Links
Google Adsense


Lawful Good Response Troll

Joined: Wed Jan 12, 2005 4:44 am
Posts: 275
Reply with quote
Post 
Quick question. Is there any reason this .dll is roughly 5 times the size of .9.7?

Good work, psyci and pkt-zer0 :)

_________________
Image


Sun Jun 04, 2006 7:14 am
Report this post
Profile
Moderator
User avatar

Joined: Wed Jan 26, 2005 8:04 am
Posts: 2252
Location: Philadelphia, PA
Reply with quote
Post 
Totally kick (forgive my French) ass update. Took me a second to figure things out, but all in all, it's was easy to adjust to the changes.

I do notice an improvement of speed in this release. Even with a uh, lot of bbi modules loaded at once ;).

The new slider variables are really useful... Can't wait to play around with those in tcl...

_________________
if you can not believe it's not butter, then help out with the blackbox Wiki http://wiki.bb4win.org/wiki/Main_Page


Sun Jun 04, 2006 7:33 am
Report this post
Profile WWW
BBChild

Joined: Sun Mar 19, 2006 10:59 am
Posts: 9
Reply with quote
Post 
Super Update!

but i have one problem with creating sliders.
When i create a slider and save bbinterface configuration i always get a

Runtime Error in BLACKBOX.EXE

R6002 -floating point not loaded

This happens in version 0.9.85 and also in new version 0.9.89

I tried several older bblean versions and get the same error.


Sun Jun 04, 2006 10:37 am
Report this post
Profile
Moderator
User avatar

Joined: Wed Jan 26, 2005 8:04 am
Posts: 2252
Location: Philadelphia, PA
Reply with quote
Post 
I just tried it, created a slider and saved the config, and I did not get the error.

Does this error happen when saving it as a control or saving the entire config as a whole?

_________________
if you can not believe it's not butter, then help out with the blackbox Wiki http://wiki.bb4win.org/wiki/Main_Page


Sun Jun 04, 2006 10:40 am
Report this post
Profile WWW
BBChild

Joined: Sun Mar 19, 2006 10:59 am
Posts: 9
Reply with quote
Post 
Well i tried both and it's always the same error :(


Sun Jun 04, 2006 10:44 am
Report this post
Profile
BBAdult

Joined: Mon Mar 20, 2006 9:00 pm
Posts: 26
Reply with quote
Post 
Forgive me for being a spaz
But the compound agent allows for example...Winamp TimeElapsed and Winamp TimeRemaining on the same button...Right? I dont have a clue as to what I have to write in that text box. Other than my common sence...Excellent update


Sun Jun 04, 2006 11:21 am
Report this post
Profile
BBChild

Joined: Sun Mar 19, 2006 10:59 am
Posts: 9
Reply with quote
Post 
I resolved the problem with the runtime error!

I had compressed the bbinterface.dll with an exe-compressor winupack.
Using the uncompressed dll helped!


Sun Jun 04, 2006 12:18 pm
Report this post
Profile
BBAdult
User avatar

Joined: Mon Aug 29, 2005 2:53 am
Posts: 30
Reply with quote
Post 
TREX6662k5 wrote:
Forgive me for being a spaz
But the compound agent allows for example...Winamp TimeElapsed and Winamp TimeRemaining on the same button...Right? I dont have a clue as to what I have to write in that text box. Other than my common sence...Excellent update


Yes. Here's what to do to:
Control Options -> Caption -> Compound Text -> "$ / $"
Control Options -> Caption -> Options -> Text1 -> Winamp -> Time Elapsed
Control Options -> Caption -> Options -> Text2 -> Winamp -> Time Remaining

That will make the control value look like TIME ELAPSED / TIME REMAINING

If you want to make it even more useful...

Control Options -> Caption -> Switched State Value -> Set
Control Options -> Caption -> Options -> Value -> Winamp -> Track Is Playing
Control Options -> Caption -> Options -> ResultWhenTrue -> Compound Text -> "$ / $"
Control Options -> Caption -> Options -> ResultWhenTrue -> Options -> Text1 -> Winamp -> Time Elapsed
Control Options -> Caption -> Options -> ResultWhenTrue -> Options -> Text2 -> Winamp -> Time Remaining
Control Options -> Caption -> Options -> ResultWhenFalse -> Static Text -> "Winamp"

This will make it say "Winamp" when winamp is not playing, and "TIMEELAPSED / TIMEREMAINING" when winamp is playing.


Sun Jun 04, 2006 3:03 pm
Report this post
Profile
BBChild

Joined: Sun Jun 04, 2006 3:53 pm
Posts: 5
Reply with quote
Post 
Psyci, I like what I see so far! Nice job on the new version! You just cut down on my useing of like 3 other plug-ins.


Sun Jun 04, 2006 3:58 pm
Report this post
Profile
BBAdult

Joined: Mon Mar 20, 2006 9:00 pm
Posts: 26
Reply with quote
Post 
wow, thanks psyci


Sun Jun 04, 2006 6:37 pm
Report this post
Profile
Moderator

Joined: Tue Jan 25, 2005 1:13 am
Posts: 595
Reply with quote
Post 
This is a great update - fast and furious :) Super work, psyci and pkt-zer0, kudos. Next stop, spherical objects - or so I would like to think :D


Mon Jun 05, 2006 4:22 am
Report this post
Profile
Moderator
User avatar

Joined: Wed Jan 26, 2005 8:04 am
Posts: 2252
Location: Philadelphia, PA
Reply with quote
Post 
Will you guys just give Pete a freakin circle.. :P ... lol j/k

_________________
if you can not believe it's not butter, then help out with the blackbox Wiki http://wiki.bb4win.org/wiki/Main_Page


Mon Jun 05, 2006 5:11 am
Report this post
Profile WWW
Lawful Good Response Troll

Joined: Wed Jan 12, 2005 4:44 am
Posts: 275
Reply with quote
Post 
psyci, why is this version 5 times the size of .9.7? Surely the answer lies in the way it was compiled...I doubt enough has been added to multiply its size by a factor of 5. I mean, this wasn't a debug compile or something was it?

_________________
Image


Mon Jun 05, 2006 7:09 am
Report this post
Profile
BBDinosaur
User avatar

Joined: Wed Feb 15, 2006 4:57 pm
Posts: 249
Reply with quote
Post 
More stuff included, I guess. The expression evaluator makes use of the stream library, that made things a bit larger. Though that can be optimized out by writing only the needed low-level routines. Then there's the thing with style literals - it uses an associative array, basically, and a pretty large at that: had to be copied from the bbLean source, since there wasn't a matching BBApi alternative. Not horrible increases in code size, still.
Older releases were also compressed with UPX (well, ysuke's version was, I'm sure), making the DLL file smaller, but causing compatibility errors for some.
I'll try compiling with the exact same tools ysuke used, though I doubt it'll yield wildly different results.

Also, 9.71 was 140k, 9.85 at 175k, 9.89 at 254k, to be more precise. So, I am starting to see a pattern here. There's probably a good reason for it, though - most likely the added SysMonitor/Winamp Agents and whatever dependencies they have.

_________________
Dislike the lack of documentation for bb4win? You have the power to change this... Help out on the bb4win wiki.


Mon Jun 05, 2006 10:08 am
Report this post
Profile
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 177 posts ]  Go to page 1, 2, 3, 4, 5 ... 12  Next


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.