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

World: r3wp

[SDK]

amacleod
3-Oct-2009
[1480]
I tried to make a reshack script to change the icon image but I could 
not get it to work...will have another look..
Henrik
3-Oct-2009
[1481]
I simply used CALL to call encap and reshack sequentially. Kind of 
a make-file.
Maxim
4-Oct-2009
[1482x3]
I have massive make files like this which do all kinds of script 
fixup, directory creations, zipping of archives, backups... and call 
res hacker... its the easiest way to encap stuff.
note that the icon has to be of an exact specification... you can't 
replace just any icon.  basically, there are 9 sizes/colors in the 
icon, and you have to use EXACTLY the same setup.
in the SDK docs, there is an example of a reshacker script call.
amacleod
4-Oct-2009
[1485]
I've been able to change my icon with res hacker's ui but not via 
a script...i'll have another look at the SDK doc example...
Ashley
5-Oct-2009
[1486]
http://www.dobeash.com/RebGUI/cookbook.html#section-2.3
amacleod
5-Oct-2009
[1487]
Thanks, Ashley, I had seen this help page before but I did not remember 
ResHack stuff in it...Great!
amacleod
13-Dec-2009
[1488x2]
Getting a weird behavior with an encapped app....


It works fine on most computers but on one computer an image in the 
face is not displaying properly...

its as if white space is being added to the right  and bottom sides 
throwing of the layout. 

I tried placing in a box with specific size. THis retains the basic 
layout but the image is squeezed up into a part of the box.
Only a problem on one computer so far ...
as a script I do not see this issue...
Graham
13-Dec-2009
[1490x3]
different OS?
different service pack?
what have you tried so far to debug this?
Maxim
13-Dec-2009
[1493x2]
carefull... graham will give you his paypal account after   ;-P
I've never seen that artefact appear.  did you try changing the image?
Graham
13-Dec-2009
[1495]
Yeah .. I need to increase the amount of my bounty since no one is 
biting :)
amacleod
13-Dec-2009
[1496]
3 computers > XP pro and 1 > vista laptop. Offending machine > xp 
pro
Graham
13-Dec-2009
[1497]
and have you determined whether it's specific to XP?  Or just to 
that PC?
amacleod
13-Dec-2009
[1498]
I originaly just had teh pic displayed in a layout with "image pic"

I later put in a 'box with specified size (matching the resolution 
of image)
Maxim
13-Dec-2009
[1499]
that is what image style is  ;-)
amacleod
13-Dec-2009
[1500x2]
It appears to be just that machine but I tried it on an other machine 
with same hardware with no prob
oh
Maxim
13-Dec-2009
[1502]
did you try different images?
amacleod
13-Dec-2009
[1503x3]
The image was creaed from a layout (to-image)
created
But the layout also contains a jpg
Maxim
13-Dec-2009
[1506]
and you are sure the image itself doesn't have the artefact?  (llooking 
into picture viewer, for eample)
amacleod
13-Dec-2009
[1507x2]
I can't play with different images now as the offending computer 
is at work...I'll play with it tomorrow night..
Just wanted to see if it was a common problem..

Thanks
jpeg looks clean and displays proper everywhere else
Maxim
13-Dec-2009
[1509x2]
there is a strange bug in view where face with edges need a color 
to be specified.  if color is none I've seen screwy thing happen 
with the edges.
but this just happens in some parent/child face nesting circumstance 
which I don't recall.
amacleod
13-Dec-2009
[1511]
I'll try some other pics tomorrow night...its got to be something 
with the jpeg..
Maxim
13-Dec-2009
[1512]
try making sure each face has a color, if you see the problem again, 
with another image.
amacleod
13-Dec-2009
[1513]
Why only that computer and only when encapped is my question..


The work computer is FDNY property and locked down somewhat so its 
hard to debug if its the computer's issue...
Maxim
13-Dec-2009
[1514]
to me its the "only when encapped" part which is the strangest!
Graham
13-Dec-2009
[1515]
Especially if the image is part of the binary
amacleod
13-Dec-2009
[1516]
it is
Gregg
13-Dec-2009
[1517]
Is the offending system set to use large fonts, or does it have a 
funky video setting (different DPI) that might be the culprit?
amacleod
13-Dec-2009
[1518]
The screen does look off (aspect and resolution wise) but I can't 
check as the display properties access seems to be locked down for 
security...
Gregg
13-Dec-2009
[1519]
In my old VB days, large fonts was a major bugbear.
amacleod
13-Dec-2009
[1520]
That may also be the problem...some of the officers have bad eyes 
and may have increased font size..I'll check it out. Thanks for the 
hints Gregg.
amacleod
15-Dec-2009
[1521]
New element to the puzzle....


I got it to work on the offending machine but only if the app is 
NOT located on the desktop. When placed in its own folder under c: 
it works fine.
Maxim
15-Dec-2009
[1522]
that is totally weird!
amacleod
15-Dec-2009
[1523x2]
There might be some unusual disokay properties set but I do not have 
access to them it seems...
display = disokay
Maxim
15-Dec-2009
[1525]
the only problem I've ever had with apps on the desktop is with the 
spaces in the file path.
Graham
15-Dec-2009
[1526]
I check for desktop and warn users that the app might not run correctly.
amacleod
15-Dec-2009
[1527]
Graham, you have had issues running from desktop?  or is that your 
advice?
Graham
15-Dec-2009
[1528]
Yes, issues running from desktop ... so don't advise it .. and I 
specifically check for desktop installation and alert user not to 
do this ...
amacleod
15-Dec-2009
[1529]
Is this a bug in rebol encap? Or do other platforms have this same 
issue?