Hallo Lukas,
ich habe die SED Version 7.35.0. Gerade mit der PRO Edition von Game-Studio für ca. EUR 800 gekauft. Müsste also o.k. sein.
Es gibt keine Fehlermeldung. Das gepackte Video wird einfach ignoriert.
Ich habe mit der PRO-Edition ja auch ein Jahr Gamestudio-Support.
Der Gamestudio-Support (Herr Lotter) hat mir geschrieben:
„Um Media-Dateien abzuspielen, müssen Sie sie zuerst per file_cpy entpacken. Näheres finden Sie im Abschnitt zu "media-play" und "file_cpy" im Handbuch.“
Ich habe daraufhin die Video-Datei video.wmv in video.pak umbenannt und mit PRAGMA_BIND in das Lite-C-Skript eingefügt.:
#define PRAGMA_BIND "video.pak“;
Dann weiter im Script:
file_cpy("video.wmv“, "video.pak“);
media_play("video.wmv",NULL,100);
Beim Compilieren (Resource checked) erhalte ich aber die Fehler_Meldung „can’t open file video.pak".
So funktioniert es also nicht.
Hat vielleicht jemand eine Lösung?
spiral75, 28.02.2010
Hi Lukas,
I have SED Version 7.35.0. Just purchased with the PRO Edition of Gamestudio for about EUR 800. So it should work.
There is no error message. The packed video just gets ignored.
With the PRO-Edition I also have a year of Gamestudio-Support.
Gamestudio-Support (Mr. Lotter) wrote:
„To play Media-Files you have first to decompress these with file_cpy. Fore more information see chapter "media-play" and "file_cpy" in the manual.“
So I renamed the video file video.wmv to video.pak and included it with PRAGMA_BIND into the Lite-C-Script:
#define PRAGMA_BIND "video.pak“;
Then further in the script.:
file_cpy("video.wmv“,"video.pak“);
media_play("video.wmv",NULL,100);
But when publishing (Resource checked) I get the error message „can’t open file video.pak".
So it does not work this way.
Any help for a solution is appreciated?
spiral75, February 28, 2010