r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[SDK]

Pekr
27-Mar-2005
[18x2]
what is latest SDK version, please?
I mean - even beta ... of course if it is stable enough though ... 
:-)
Graham
27-Mar-2005
[20]
cz out http://www.rebol.net/
Ashley
27-Mar-2005
[21]
With source dir: 1.2.0; without: 1.2.48. I've been using 1.2.0 for 
the last two years or so without any major issues; don't know about 
1.2.48 though (apart from the fact that the executables it generates 
are 30Kb larger).
[unknown: 5]
27-Mar-2005
[22]
I got a second sdk later on with support for more icons
Gabriele
31-Mar-2005
[23]
i use 1.2.48
Ashley
31-Mar-2005
[24]
Paul: version?
[unknown: 5]
31-Mar-2005
[25]
maybe the 1.2.48.3.1 version
Carl
31-Mar-2005
[26x3]
Yes, that 30KB is due to the full-color XP icons. Unfortunately, 
that space must be reserved in the exe, for reasons that MS must 
have, but are not entirely clear.
In other words, if you open the exe in an icon editor, you will see 
all the different kinds of icons that are in there taking that space.
It is ironic, those icons take up almost 3 times the space of the 
entire REBOL/Services enhancement!
Gregg
1-Apr-2005
[29]
Ironic but critical for making a good impression sometimes. We could 
probably get real tricky about how to reduce the need for them, but 
is it worth the effort?
[unknown: 5]
1-Apr-2005
[30x2]
I believe the icons are needed because I was experimenting with it 
and found without it I couldn't not get the results I wanted on XP.
They are that one thing that people associate a name with - may as 
well make it look good in my opinion.
Graham
5-Apr-2005
[32x2]
Has anyone else seen this nasty encap bug where you can't read the 
current directory?
ie. this fails ... 

read what-dir

and you have to 

read dirize what-dir

instead?
[unknown: 5]
5-Apr-2005
[34x2]
I remember reporting a directory bug sometime back but it was only 
related to root directories I think
Oh I think I remember that bug also where there is no path
Graham
5-Apr-2005
[36]
I looked at rambo .. nothing there, so I entered it today.
Ashley
6-Apr-2005
[37]
Is it related to this problem: http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlNBPC
Graham
6-Apr-2005
[38x2]
Hmm.  Could be.  I''ll ask my user to see if they are using request-dir 
before the error occurs
even 

write join %./ %file.txt "sometext" fails
Rondon
6-Apr-2005
[40]
Hi Folks! How to solve to not open the console window or to change 
the window title for no-windows applications?
Geomol
6-Apr-2005
[41]
Console window: use header word "encap". See in docs/encap.html of 
your SDK.
Rondon
6-Apr-2005
[42x4]
Geomol, I'm using this word
http://www.rebol.net/cgi-bin/rambo.r?id=3660&
take a look
I'm trying to encap my non View applications.. cgi[
Graham
6-Apr-2005
[46]
you can't change the title yet for console windows .. I've asked 
carl to fix this.
Ashley
7-Apr-2005
[47]
Anyone recommend a good [free] WinXP substitute for IconEdit32 since 
I've moved from SDK 1.2.10 to 1.2.48 (it doesn't support 16.8m color 
icons).
Chris
7-Apr-2005
[48x2]
IconSushi.  It's not so much an editor as a compiler, importing PNG 
(including 32-bit) and BMP...
http://www.towofu.net/soft/e-aicon.php
Ashley
7-Apr-2005
[50x2]
Thanks Chris, that's a handy little util. The only thing it can't 
do is change PNG color depth (useful if you generate your PNGs from 
REBOL). Any ideas on that score?
Hmm, I tracked down pngcrush (http://sourceforge.net/project/showfiles.php?group_id=1689&package_id=6641), 
 and while its usage seems clear enough:

	pngcrush.exe -bit_depth 4 24bit.png 4bit.png

it dosen't seem to work.
[unknown: 9]
7-Apr-2005
[52x2]
That does suck indeed.
But that also requires colour space which is why they prob decided 
to just bunt.
Ashley
7-Apr-2005
[54]
Not quite the batch solution I had in mind, but MSPaint lets you 
save a PNG as a 4, 8 or 24 bit BMP ... which is good enough for IconSushi 
... which works with good old ResHacker ... which lets me, wait for 
it, change the default REBOL icons in an encapped program ... and 
folks wonder why REBOL isn't mainstream yet! ;) (An "Encap: [icons 
%my-icons.ico]" type option would be a good thing IMHO).
Graham
7-Apr-2005
[55]
rambo !
Chris
8-Apr-2005
[56x2]
If you're into Amiga emulation, I can recommend PPaint (it's what 
I use for exactly this purpose) to reduce 24-bit pngs.  PNGQuant 
is another command line utility that I use to convert 32-bit to 8-bit 
rgba (for small IOS icons :o) though 8-bit windows icons are strictly 
rgb.
Oh, almost forgot: http://www.libpng.org/pub/png/apps/pngquant.html
Gregg
8-Apr-2005
[58x3]
*LOVE* ResHacker for that. Easy to script into encap build processes.
you can't change the title yet for console windows

 -- You can probably do it with API calls. Haven't tried, but it should 
 work NP.
I use Axialis's IconWorkshop. Not free, but works well for me.
Cyphre
8-Apr-2005
[61]
the best tool for PNG optimization in size is pngout.exe from famous 
ken Silverman:
http://advsys.net/ken/utils.htm
sqlab
11-Apr-2005
[62x2]
I use this for window titles

win-lib: make object! [
	
	user-lib: load/library %user32.dll

	SetWindowText: make routine! [
		handle			[integer!]
		Title			[string!]
		return:			[integer!]
	] user-lib "SetWindowTextA"
	
	set 'WindowTitle: func [
		Title [string!] 
	] [
		SetWindowText get-modes system/ports/system 'window Title
	]
	
]
Sorry,

set 'WindowTitle func [
Graham
11-Apr-2005
[64]
that works for all windows including consoles?
Anton
11-Apr-2005
[65]
Works at least in Rebol/View console :)
sqlab
11-Apr-2005
[66]
It works for all console windows of Rebol, if you can load a .dll
Volker
11-Apr-2005
[67]
what are you doing, changing window-title?