Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 05:41
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AbrahamR, AndrewAMD), 1,278 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
.AVIs playing from CD-ROM #8795
04/17/02 23:15
04/17/02 23:15

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Hi guys from conitec,

My game is ready and I have a lot of .AVI movies to play within the game.

I would like to let them on CD-ROM to avoid a lot of data on hard disk.

I'm using Install Shield to create the install CD.

I know how to do to install the game without the AVIs.

The problem is:
How can I say to the engine to seek these AVIs on cd rom, since every machine has a different letter to represent the drive?

When the player start the game, how can I do to verify if the CD is inserted into the drive?

Thanks,

Re: .AVIs playing from CD-ROM #8796
04/18/02 04:37
04/18/02 04:37
Joined: Oct 2001
Posts: 395
Arlington Heights, IL USA
cbw Offline
Senior Member
cbw  Offline
Senior Member

Joined: Oct 2001
Posts: 395
Arlington Heights, IL USA
This is useful topic. Could you tell me when you get some usefull replies? Thanks.


Greg Szemiot, Lead Designer, Orb Crossbeam Studios Entertainment
Re: .AVIs playing from CD-ROM #8797
04/18/02 08:11
04/18/02 08:11

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Although it's not automatic (less professional?) you could display a panel asking the user for their CDROM drive letter.
Then prepend their response to a string var that you use to play the AVIs.

Just a rough idea:

String AVImovie = " "; // 32 spaces.
String DriveLetter =" "; // A single space
String AVI01 = "://AviDir//Intro1.avi"
<Get user input to DriveLetter>
str_copy(AVImovie, ""); // set to null
str_cat(AVImovie,DriveLetter); // add the drive letter
str_cat(AVImovie, AVI01); add the path & filename.

play_moviefile(AVImovie);

I don't know if this will work....

But there has to be a better way...

Re: .AVIs playing from CD-ROM #8798
04/18/02 09:33
04/18/02 09:33

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Hi, A better way would be to use the new file I/O functions, to scan the drives for a dummy file in your AVI Directory structure, once you've found the file, you know where to play the AVI's from.
The handle to the file is 0, if it can't be openned.

Jethro.

Re: .AVIs playing from CD-ROM #8799
04/20/02 01:45
04/20/02 01:45

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



quote:
Originally posted by rjhubner:
Hi guys from conitec,

Hi rjhubner,

even I'm not a employee of Conitec I think I have
something interesting to offer. Go to my site,

http://www.media.wegetitright.de

My GSCDAudio.DLL has a function that can help
you easily.

Have fun

Re: .AVIs playing from CD-ROM #8800
04/20/02 02:46
04/20/02 02:46
Joined: Oct 2001
Posts: 678
Alabama
Cameron_Aycock Offline
Developer
Cameron_Aycock  Offline
Developer

Joined: Oct 2001
Posts: 678
Alabama
I think Michael may already have this wrapped up for you, but, I believe most applications either write to the registry or an Ini file during the installation as to where it is being installed FROM .. this is how they get the path to these files.


Popular media is the opiate of the masses. Think for yourself.

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1