Launch game from a different folder

Started by After, Sat 13/12/2003 03:42:48

Previous topic - Next topic

After

I've noticed that a few AGS games can have a startup program that runs AGS games kept in separate subdirectories.

How can this be acheived within AGS? Or is it in fact dependent on non-AGS programs?

Ben

That's usually done with a program outside of AGS. You can make something like that with Flash or Multimedia Fusion.. I think there might even be a few free programs that are made especially for this kind of thing.

Pau

paused -- get the startup menu creator (version 1.1) for AGS games. (Use save target as..)

After

Nice work, Pau.
Although, I don't like that it launches Internet Explorer instead of the user's default browser.

P.S. The manual says that you'll accept "gits" (i.e. dweebs, useless people) ;D

Pau

#4
Quote from: After on Sun 14/12/2003 03:35:41
Although, I don't like that it launches Internet Explorer instead of the user's default browser.
That's because Microsoft pays me a lot of money in order to impose ie over Netscape.  ;)

The explorer is the only one I have (I used to have Mozilla too but I didn't reistalled after formatting my HD....) so it's difficult for me to test.

Try to open the startup.tcl file with the notepad and replace the line
"exec explorer $webpage &;" with "exec start $webpage &;"

If it works it will be possible to launch manuals in any format (html,pdf,doc...) as far as you have the needed programs.

Please tell me whether it works and say what is your windows version(because the command start maybe it's not present in all versions, but I think it should be) and I'll fix it in the next version.

PS:"I'll accept gits" is obviously a typo, it should say: "I accept goats".
paused -- get the startup menu creator (version 1.1) for AGS games. (Use save target as..)

Scorpiorus

Nice proggy, Pau! Never noticed it before. :)

Pau

Quote from: Scorpiorus on Sun 14/12/2003 14:44:32
Nice proggy, Pau!
I'm glad you liked it. I hope it will be useful for your games.

Quote from: Scorpiorus on Sun 14/12/2003 14:44:32
Never noticed it before. :)
I don't like the massive promotion, so I just anounced it the first time and put a link in my signature. Well, when I saw this thread, I couldnt't resist to talk about my little creation.
paused -- get the startup menu creator (version 1.1) for AGS games. (Use save target as..)

After

It didn't work on Win2k.
I can't think of what would work either.
Luckily, I wasn't going to use that feature anyway.

Main thing is that I really hate it when MSIE gets started unexpectedly, and that wopuld happen if I clicked on a link in someone else's game.

Pau

If you don't want to add annoying links, or any other element (manual button, or any sound) just delete them (related images/sound files) from their directory and erase their references in the list.txt. Then compile again.


I've found a bug (I'll fix it in next version):
The compilation process inserts all the files listed in list.txt into the generated executable, but I forgot to include the config.txt reference in the list.txt.
So you have to include it manually (open list.txt and append "config.txt", not the content just the name), in other case you'll have to keep the config.txt in the same folder as your generated menu is.
paused -- get the startup menu creator (version 1.1) for AGS games. (Use save target as..)

SMF spam blocked by CleanTalk