Re: Building standalones AARRGGH

2010-09-01 Thread Richmond

On 09/01/2010 10:20 PM, Shari wrote:
I just spent three hours trying to build a standalone.  I want to make 
sure I understand what is going on.


It cannot be done in Rev or MC 4.0 at all because of some new internal 
hoohah Rev put into the engine?  Rev spit out an error without telling 
me what caused it, just a bunch of mish mash number sets that looked 
like RGB color codes.  MC said the engine wasn't a valid Metacard engine.


I tried so many things I don't remember exactly but as best I could 
tell, I couldn't even use MC 4.0 with the 3.5 engine.  I had to launch 
MC 3.5 and build with the 3.5 engine.


Tired and frustrated and taking a break before I test the build.  I 
had wanted to use a more recent version so that the build would be 
loving the newest operating systems.
I've been doing things in 4.0 but apparently this is the first time 
I've tried to create a standalone in this version.


Utterly miserable at the moment.




Umm . . . poor you . . .

Well here are a few fairly daft thoughts, but, you never know:

1.  What is wrong with building a standalone with the 3.5 engine? Unless 
you are doing
 something fancy with the 4.0 graphic capabilities this really 
shouldn't be here or there.


2.  Try and build a MC 4.0 via Jacque Landman Gay's automated setup via 
RunRev 4 and
 (new) RevOnline; and then try building with that: probably a 
better bet than an earlier

 version of MC with a swapped engine from RunRev 4.0.

3.  new internal hoohah; I wonder if you might not be using some sort 
of coding that

 was changed between 3.5 and 4?

 Of course it will be another hoohah searching through the 
documentation to find all

 the stuff that has or hasn't been changed between 3.5 and 4.0.

4.  I had wanted to use a more recent version so that the build would 
be loving the newest operating systems.


 I wouldn't bet on that one. As far as I can tell 3.5 standalones 
should be OK on Windows XP, V and 7,

 Mac 10.3.9 onwards and recent Linux distros.

Love, Richmond.
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Building standalones AARRGGH

2010-09-01 Thread Richmond

On 09/01/2010 10:20 PM, Shari wrote:
I just spent three hours trying to build a standalone.  I want to make 
sure I understand what is going on.


It cannot be done in Rev or MC 4.0 at all because of some new internal 
hoohah Rev put into the engine?  Rev spit out an error without telling 
me what caused it, just a bunch of mish mash number sets that looked 
like RGB color codes.  MC said the engine wasn't a valid Metacard engine.


I tried so many things I don't remember exactly but as best I could 
tell, I couldn't even use MC 4.0 with the 3.5 engine.  I had to launch 
MC 3.5 and build with the 3.5 engine.


Tired and frustrated and taking a break before I test the build.  I 
had wanted to use a more recent version so that the build would be 
loving the newest operating systems.  I've been doing things in 4.0 
but apparently this is the first time I've tried to create a 
standalone in this version.


Utterly miserable at the moment.


 Possibly the quickest way to get some reasonable sort of reply to your 
question is to post to

the RunRev Use-List rather than the Metacard one.
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Building standalones AARRGGH

2010-09-01 Thread J. Landman Gay

On 9/1/10 2:20 PM, Shari wrote:

I just spent three hours trying to build a standalone.  I want to make
sure I understand what is going on.

It cannot be done in Rev or MC 4.0 at all because of some new internal
hoohah Rev put into the engine? Rev spit out an error without telling me
what caused it, just a bunch of mish mash number sets that looked like
RGB color codes.


Those are uninterpreted error codes, which the IDE usually looks up for 
you but the standalone builder does not. If you have the Rev browser 
plugin installed you can look them up here:

http://jacque.on-rev.com/codebits/dualrevlets.irev

Just look up the first number in the first line, that's usually the 
important one.


If you don't have the plugin, you can get the list from Rev itself:

  get the cErrorsList of card 1 of stack revErrorDisplay

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Building standalones AARRGGH

2010-09-01 Thread Shari
 Possibly the quickest way to get some reasonable sort of reply to 
your question is to post to

the RunRev Use-List rather than the Metacard one.


Richmond,

I only attempted a build in Rev after the MC attempt gave an error. 
I do everything in MC so I came here first hoping for an MC fix.  The 
3.5 build worked.  Hopefully you are right and it plays nice with all 
the most recent operating systems.


I will try your suggestion for building MC 4.0 with Jacque's setup.

My code hasn't changed significantly.  The only thing I changed with 
this release was to add/delete a couple of menu items that go to 
websites.  Deleted websites I no longer own and added my new ones and 
added a very simple button that also goes to a website.


I guess it's been awhile since I released a new version.  It seemed 
like all I was doing was updating one game over and over and I felt 
like I was spinning my wheels too much on one thing.  So I started 
working on a different game that won't come out for a long while plus 
writing the book.  (see my sig line for the book :-)


Shari


--
Bad Dog to Best Friend paperback and Kindle book
http://books.gityasome.com
WlND0WS and MAClNT0SH shareware
http://www.gypsyware.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Building standalones AARRGGH

2010-09-01 Thread Shari

Jacques,

Thank you for the URL.  From some of what I was reading about the 
whole 4.0+ change, I got the impression that there may come a time 
when we cannot build standalones in Metacard.  So it would be good to 
know how to do it in Rev.  I've never successfully done it in Rev as 
Rev doesn't like my stacks and never has.


Shari
--
Bad Dog to Best Friend paperback and Kindle book
http://books.gityasome.com
WlND0WS and MAClNT0SH shareware
http://www.gypsyware.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Building standalones AARRGGH

2010-09-01 Thread J. Landman Gay

On 9/1/10 5:08 PM, Shari wrote:

Jacques,

Thank you for the URL. From some of what I was reading about the whole
4.0+ change, I got the impression that there may come a time when we
cannot build standalones in Metacard. So it would be good to know how to
do it in Rev. I've never successfully done it in Rev as Rev doesn't like
my stacks and never has.


So far you're the only one I know of who can't make it work. We don't 
even get any complaints in the support queue. So there is something 
about your stacks that's different than the norm.


Two things to try. First, tell us what those error codes are and I'll 
look them up. That should give a clue.


Second, if you are including MC resources in your stack, Rev may not 
like it. Make a copy of one that won't build and, as a test, open it in 
MC and use the resource mover to remove all MC resources. Save the 
stack. If the file extension is mc on disk then change it to rev 
(shouldn't be necessary any more but that used to be a problem.) Open 
the test stack in Rev, use Standalone Settings to choose some options 
and platforms, and try a build. If that works, your other attempts were 
probably getting hung up on the issue where you can't have two stacks 
with the same name (ask/answer dialogs, most likely.) If that's the 
problem then the error codes should tell us.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Building standalones AARRGGH

2010-09-01 Thread Shari
Second, if you are including MC resources in your stack, Rev may not 
like it. Make a copy of one that won't build and, as a test, open it 
in MC and use the resource mover to remove all MC resources. Save 
the stack. If the file extension is mc on disk then change it to 
rev (shouldn't be necessary any more but that used to be a 
problem.) Open the test stack in Rev, use Standalone Settings to 
choose some options and platforms, and try a build. If that works, 
your other attempts were probably getting hung up on the issue where 
you can't have two stacks with the same name (ask/answer dialogs, 
most likely.) If that's the problem then the error codes should tell 
us.


Yes, that's what tripped me up in the past.  My stacks have the 
Ask/Answer already in them but they've been edited.  I actually have 
them named xAsk, xAnswer and xExecution Error and rename them on 
standalone launch.  Newer projects were done differently and don't 
even use Ask/Answer anymore because of the Rev issue but I really 
didn't want to go back and redo older projects.  They already have a 
lengthy update to-do list :-)


In looking thru the substacks I also see File Selector, Moved Icons, 
libUrl and Cursors, none of which I've edited so they could be 
removed and put back in on build.  I remember it mentioning something 
being already loaded prior to the error window.  I think it was File 
Selector.  Let me try removing it (them) and retesting the Rev 
builder...


--
Bad Dog to Best Friend Dog Training Book
http://www.amazon.com/gp/product/1453683178
Critters, humor, patriots and sports t-shirts
http://www.villagetshirts.com
 WlND0WS and MAClNT0SH shareware
 http://www.gypsyware.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Building standalones AARRGGH

2010-09-01 Thread Shari
Two things to try. First, tell us what those error codes are and 
I'll look them up. That should give a clue.


Tried removing all the stacks except xWhatever and I couldn't even 
launch my stack since it looks for libUrl on launch.  So took out 
just the one I remembered it mentioning and tried but no go.  Betting 
this is a stack already loaded error:


91,783,42

--
Bad Dog to Best Friend Dog Training Book
http://www.amazon.com/gp/product/1453683178
Critters, humor, patriots and sports t-shirts
http://www.villagetshirts.com
 WlND0WS and MAClNT0SH shareware
 http://www.gypsyware.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Building standalones AARRGGH

2010-09-01 Thread J. Landman Gay

On 9/1/10 6:23 PM, Shari wrote:

Two things to try. First, tell us what those error codes are and I'll
look them up. That should give a clue.


Tried removing all the stacks except xWhatever and I couldn't even
launch my stack since it looks for libUrl on launch. So took out
just the one I remembered it mentioning and tried but no go. Betting
this is a stack already loaded error:

91,783,42



Can't find stack. If you're putting libURL in use, then try taking 
that out. You can make the same calls without loading the library 
because Rev loads it for you, in both the IDE and standalones.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Building standalones

2002-03-21 Thread Ken Ray

Shari,

Here's some answers... hopefully others will fill in the gaps:

 Standalone Builder - The Metacard engine, does this mean the Metacard
 program itself?  So I'd have to install all three versions of the
 program (PPC, Windows and OSX) to access those engines to build from?
 The only thing I can find to attach is the actual Metacard program,
 that I double click on to launch Metacard.

Yes. You will need to have MetaCard PPC, MetaCard Carbon and mc.exe
available to build your three standalones. When you go to build it, point to
one of these with the MetaCard Engine field. As I understand it, you can
build all three standalones for all three platforms using a Mac (although
I've never done it myself - I use a PC to build PC standalones and a Mac to
build Mac ones).

 Standalone Builder - Creator - in Hypercard I always chose to use a
 custom creator code.  Presumably this means the same thing?

Yes. Keep in mind that in order for your standalone to have the icon you
want (on Mac), you'll need to use ResEdit (or the equivalent) to edit the
resource fork and put in your icon.

 This means it's almost ready to distribute... (very big grin)

Congratulations!

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web site: http://www.sonsothunder.com/

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Building standalones

2002-03-21 Thread Mark Talluto


On Thursday, March 21, 2002, at 08:54 AM, Shari wrote:

 Questions...

 Resource Mover dialog - if I DON'T move any resources, and my stack 
 uses items such as the saving stack, those will not be included, or 
 will it just include the entire mctools.mc, or will I need to 
 distribute it with the mctools.mc?
If you are going to make a standalone, you will need to at least move 
over the answer and ask dialogs if you use them.  I also use the cursors 
and icons.  These are just stacks that will be added to your program.


 Resource Mover - my stack doesn't have a resource fork, as I am 
 distributing cross platform, this will not create a resource fork, will 
 it?
Only the Mac version will have the resource fork.  That is created when 
the stack is turned into a standalone.  The resource mover just brings 
in important stacks you code may call upon like the answer dialog.  You 
win version will work as expected even if you create it on the Mac.

 Resource Mover - I open the Resource Mover dialog, then open my stack, 
 click the resources I want to move, click Start Move, and nothing 
 happens.  How can I tell if anything was moved?  I did not find any new 
 stacks in the substacks menu.
Make sure that you have the correct stack labeled in the button at the 
top of the resource mover.  You should have your stack listed there.  
After you move the resources, if all when well, you will get a message 
stating so.

-Mark Talluto

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Building standalones

2002-03-21 Thread Shari

   Standalone Builder - Creator - in Hypercard I always chose to use a
  custom creator code.  Presumably this means the same thing?

Yes. Keep in mind that in order for your standalone to have the icon you
want (on Mac), you'll need to use ResEdit (or the equivalent) to edit the
resource fork and put in your icon.

As this is for compiling on Mac, OSX and Windows, a resource fork is out.

Attempting a build once, compile three times scenario :-)

So presumably I'd just paste the preferred icon in the finder window? 
I remember in Hypercard, that was not the optimal choice, and I'd go 
into the resource fork...

But the goal is NOT to have a resource fork, so I'm definitely trying 
to learn a new way for this.

Is there a icon id # I can use to embed a custom icon, and have 
Metacard use it?  Or would the goal be to edit the icon stack of 
Metacard (the one that gets embedded...?)

The first standalone builds so far did not work.  Got the engine etc. 
and moved the necessary resources, but the final program failed to 
function.  It never made it out of the splash stack.  (It opens a 
splash stack, then opens a second stack in the splash stack's window, 
then opens a third stack in a new window.  The second and third stack 
never opened in the standalone, though they open perfectly in the 
stack.  They are embedded into the splash stack.)

-- 
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Building standalones

2002-03-21 Thread J. Landman Gay

Shari wrote:
 
 As this is for compiling on Mac, OSX and Windows, a resource fork is out.

You'll need three different standalones, one for each platform. Since
the Mac versions will only run on Macs, having a resource fork is not a
problem. MetaCard will always create a resource fork for a Mac
standalone anyway -- it has to, since all the MC code resources are
there, and Mac applications built for OS 9 and below always require a
resource fork. Since the fork is there anyway, there is no problem
adding a few more resources of your own.

To get a custom icon, go ahead and do it the same way you did in
HyperCard. You can edit the icon resources in the resource fork after
the build.

After building a Windows standalone, there won't be a resource fork. For
the Windows build, you will need a pre-prepared icon with very specific
properties (16 bit, 4 color, built with a Windows tool usually. I can't
get Graphic Converter's ico format to be accecpted by MC.) The Windows
icon needs to be specified in the Windows information dialog in the
standalone builder, before the build is done. You can't easily add a
windows icon to a standalone after the fact, since most tools that can
do that look for 32-bit icons and MC doesn't support those (I wish it did.)

Another tip for a Windows build: if you don't put anything into each
field in the Windows info dialog, you will get MetaCard's defaults after
the build. You can substitute a few spaces for actual text if you want
the field to look empty. These fields are what people see when they
choose Properties on the standalone's contextual menu in Windows.

So the general rule is: add Windows resources and information before the
build, add Mac resources afterward.

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Building standalones

2002-03-21 Thread Mark Talluto

 As this is for compiling on Mac, OSX and Windows, a resource fork is 
 out.

 Attempting a build once, compile three times scenario :-)

 So presumably I'd just paste the preferred icon in the finder window? I 
 remember in Hypercard, that was not the optimal choice, and I'd go into 
 the resource fork...
Because all your mac flavors will have a resource fork, you should use 
it for your icons.  On OS X, you have to really dive in there with 
resedit to get your  icons to look just right.


 But the goal is NOT to have a resource fork, so I'm definitely trying 
 to learn a new way for this.
There is no way around not have a resource fork.  Your app must have one 
once it is a standalone.  All kinds of data is managed there anyways.  
MC puts its standard icons there.


 Is there a icon id # I can use to embed a custom icon, and have 
 Metacard use it?  Or would the goal be to edit the icon stack of 
 Metacard (the one that gets embedded...?)
On the Win side of things, you can set the icons from within the 
standalone builder.


-Mark Talluto

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Building standalones

2002-03-21 Thread Charles
I've tried to do this before, but can't seem to create an .ico file that will be accepted. (I'm a Mac user, mainly, maybe that add to the mystery for me.)
How do you do this?
What software and/or process do you use?
Do you have to do anything special for XP?

On Thursday, March 21, 2002, at 12:48 PM, Mark Talluto wrote:
[snip]...
Is there a icon id # I can use to embed a custom icon, and have Metacard use it?  Or would the goal be to edit the icon stack of Metacard (the one that gets embedded...?)
On the Win side of things, you can set the icons from within the standalone builder.

-Mark Talluto

- Charles
---
Charles Buchwald
Peregrine New Media
Victoria, BC, Canada
Boston, MA, USA

Re: Building standalones

2002-03-21 Thread Shari

Because all your mac flavors will have a resource fork, you should 
use it for your icons.  On OS X, you have to really dive in there 
with resedit to get your  icons to look just right.

OSX supports a resource fork?  I had heard that it didn't.  Though I 
haven't experienced OSX first hand...
-- 
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Building standalones

2002-03-21 Thread Ken Ray



Charles, you need to create a 16-color (NOT 16-bit color, but 
16 colors) icon. I use GraphicConverter, which does a wonderful job. Import/open 
a 32x32 graphic, downsample it to 16 colors, and then save it in "Windows Icon 
(*.ico)" format. Voila!

Ken RaySons of Thunder SoftwareEmail: [EMAIL PROTECTED]Web site: http://www.sonsothunder.com/

  - Original Message - 
  From: 
  Charles 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, March 21, 2002 3:31 
  PM
  Subject: Re: Building standalones
  I've tried to do this before, but can't seem to create an .ico 
  file that will be accepted. (I'm a Mac user, mainly, maybe that add to the 
  mystery for me.)How do you do this?What software and/or process do you 
  use?Do you have to do anything special for XP?On Thursday, March 
  21, 2002, at 12:48 PM, Mark Talluto wrote:
  
[snip]...Is there a icon id # I can use to embed a custom 
  icon, and have Metacard use it? Or would the goal be to edit the icon 
  stack of Metacard (the one that gets embedded...?)On the 
Win side of things, you can set the icons from within the standalone 
builder.-Mark Talluto- 
  Charles---Charles BuchwaldPeregrine New 
  MediaVictoria, BC, CanadaBoston, MA, USA


Re: Building standalones

2002-03-21 Thread Richard Gaskin

Shari wrote:

 Because all your mac flavors will have a resource fork, you should
 use it for your icons.  On OS X, you have to really dive in there
 with resedit to get your  icons to look just right.
 
 OSX supports a resource fork?  I had heard that it didn't.  Though I
 haven't experienced OSX first hand...

Welcome to NeXT -- er, Apple.  ;)

The NeXT folks that now run much of the OS development wanted to ditch the
resource fork altogether.  But after much feedback from developers they
acquiesced enough to allow the resource for during an unspecified
transitional period.

Same for creator codes, the long-term future of which is still largely
unknown at this time.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 Developer of WebMerge 1.9: Publish any Database on Any Site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard