Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Gemmalah on Tue 13/01/2004 09:52:09

Title: Can AGS games run from a cd?
Post by: Gemmalah on Tue 13/01/2004 09:52:09
I need a game to run off a CD for my school project.

I wrote it onto a cd and took it into school, the game wanted a folder to save the game though i had to save function, it also wanted a place for the setup programme. As far as i know.

The examiners will not copy the game from the cd to their computer to make it run. (this is the only way to do it) because they are paranoid of bugs, virus, ect...

heres the question, I do not know any programming at all, but is there an option to make it run without wanting to save anything.

Can CDs be virus checked? that might work? I really need them to see my work or i won't have any marks and i fail! oh woe is me (no university then)
thanks a bunch everyone
Title: Re:Can AGS games run from a cd?
Post by: Gilbert on Tue 13/01/2004 10:19:00
I'm not quite sure, but I think currently you must start an ags game in a writable directory (even if you use that "gamedir" option in config file) to write temp files and such (possibly savegame file also, I think the engine might sometimes write some "backup" savegame files even if the save functions aren't involved), so if you really need to have EVERYTHING on a CD, it may not work.
Title: Re:Can AGS games run from a cd?
Post by: Dorcan on Tue 13/01/2004 10:23:01
You could start it from a floppy disk... :P
AGS create a save file (agssave.999) when you start a game so that you can restart it from the begining by pressing F9
Title: Re:Can AGS games run from a cd?
Post by: a-v-o on Tue 13/01/2004 12:26:54
CDs can be virus checked like any other media (floppy disc, hard disc, ...).
Title: Re:Can AGS games run from a cd?
Post by: TerranRich on Tue 13/01/2004 15:09:42
I'm not sure, but wouldn't a virus on a CD be activated if you run a program containing it from that CD?

Also, I heard before that it was possible to keep data files on the CD, but the main program/executable on the hard drive.
Title: Re:Can AGS games run from a cd?
Post by: Scorpiorus on Tue 13/01/2004 16:26:00
...
QuoteThe examiners will not copy the game from the cd to their computer to make it run. (this is the only way to do it) because they are paranoid of bugs, virus, ect...
Yes, since computer virus is just a program all you need to do is execute it, no matter what from (CD or HD). A good thing about CD is that once it's recorded (and checked for viruses), no other virus can be copied on (at least by the virus itself).

~Cheers
Title: Re:Can AGS games run from a cd?
Post by: modgeulator on Wed 14/01/2004 07:01:16
Quote from: terranRICH on Tue 13/01/2004 15:09:42
I'm not sure, but wouldn't a virus on a CD be activated if you run a program containing it from that CD?

Yeah, but from what I remember of I remember of High School computer classes, there are some examiners out there with all sorts of strange beliefs about computers.
Perhaps you could write a batch script which copies the game to the hard drive, runs it, then deletes it after. If they think running programs from CDs stops viruses, it's doubtful they'll realize what's going on.
Title: Re:Can AGS games run from a cd?
Post by: TerranRich on Wed 14/01/2004 19:04:33
Good idea; use their own stupidity against them. :P