can't start game, audio.vox not found

Started by , Wed 12/02/2014 10:57:59

Previous topic - Next topic

Thesie

Hi!

Today I wanted to get the game to a friend, so I build a .exe, copied all the things from the "Compiled" folder
into the CD. But when I try to start the game from it, it gives me:

Error: pack_fopen: unable to open datafile: not found: .\H:audio.vox

I definately have the file in the CD, and when I open the game from the "Compiled" folder it works..

Someone? :confused:


Crimson Wizard

#1
What AGS version do you use?

".\H:audio.vox" is an incorrect path, should be either ".\audio.vox" or "H:\audio.vox".
Have you copied the error message correctly? Might be error in the engine too...

Thesie


the version is: AGS Editor .NET (Build 3.2.1.111)

seems that i copied it wrong, i uploaded a screenshot in my first post..

Crimson Wizard

#3
Oh, I see the pic. It is AGS 3.2.1, and the path is really ".\H:audio.vox".
That might be error in the engine, it does not construct the path properly.

Do you really have to run the game from CD? Does it work when you (or your friend) copy it to hard-drive?

Just for reference: you can usually copy text from the message like that by simply pressing Ctrl+C (it will go into Windows clipboard); you don't have to select the text like in text editor, it will copy whole.

Thesie


I also tried to copy it into a flash drive, that is also not working.

When I copy the file to hard-drive it works.
But I would love to get it working on CD with autorun..

Strange isnt it :undecided:

Khris

Even early games that ran mostly from CD would have an install routine that created a hard drive folder for save games and configuration files.
This is not unusual, on the contrary.

Running a game from a flash drive should work though; the important thing is that the game isn't run from a write-protected place.

Distributing stuff on CD is really oldschool, does your friend not have an internet connection?
Looking at your screenshot, your game files take up ~50MB, and putting them in a zip archive should further cut that in half. That's really not much these days.

Thesie


I know its oldschool, but thats exactly why I wanted it :wink:

But I solved the Problem on the flash drive, I put all the files in an
ne folder, and from the folder it starts. So no autostart, but anyways,
this is a way I am okay with.

Thank you guys!

Crimson Wizard

Quote from: Thesie on Wed 12/02/2014 12:37:07
But I solved the Problem on the flash drive, I put all the files in an
ne folder, and from the folder it starts. So no autostart,
I think you can write relative path in "autorun.inf" like:
Quote
[autorun]
action=MyFolder/game.exe
*Not 100% sure about syntax, it's been a while since I used this last time.

Thesie


Crimson Wizard

#9
This bug also persists in 3.3.0.


EDIT:
Scrapped previous post.
It does not depend on what drive it is, whenever audio.vox or speech.vox is in the drive's root (C:/, D:/, whatever) game fails to find it. This is due incorrect path construction.

SMF spam blocked by CleanTalk