LoabBrush under Windows

Find quick help here to get you started with Hollywood
Post Reply
GMKai
Posts: 140
Joined: Mon Feb 15, 2010 10:58 am

LoabBrush under Windows

Post by GMKai »

Hello,
when using Loadbrush with "tbimages:backup_g" as path,
this works under amiganoid-systems
but where to put the file under windows?
gerograph
Posts: 39
Joined: Thu Mar 04, 2010 9:38 pm

Re: LoabBrush under Windows

Post by gerograph »

some more infos would be useful, to find a suitable solution... firstofall I would directly link those "toolbarimages" into your Hollywood executable. If you cannot do that (for any reason ?). Copy those images into the same dir as your executeable, and load them from there !

greetings gerograph
User avatar
Tuxedo
Posts: 345
Joined: Sun Feb 14, 2010 12:41 pm

Re: LoabBrush under Windows

Post by Tuxedo »

Why siomply dont check if exists the tbimages: assign in general and if not:

1 - the program exit beacuse AISS not installed
2 - use alternative images from a dir inside the program folder...

Hope that helps!
Simone"Tuxedo"Monsignori, Perugia, ITALY.
GMKai
Posts: 140
Joined: Mon Feb 15, 2010 10:58 am

Re: LoabBrush under Windows

Post by GMKai »

Isn't there a way of faking an assign tbimages: under windows?

If not, how and where does Windows go, if it should look a place like "tbimages:"?

I would like to avoid including stuff into the Exe.
Besides any licensing issues I would also like to have the very same code run on every possible platform
User avatar
Allanon
Posts: 732
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: LoabBrush under Windows

Post by Allanon »

Why don't you check in your code on which platform are running your program and act accordingly?
If you are on amigaish systems load from your assign, if on windows load from another path...
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: LoabBrush under Windows

Post by airsoftsoftwair »

GMKai wrote: If not, how and where does Windows go, if it should look a place like "tbimages:"?
Nowhere.... assigns just don't work on Windows. Try to use relative paths. These will work everywhere without adaptation.
Post Reply