[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Movies in .exe
- To: "pygame-users@xxxxxxxx" <pygame-users@xxxxxxxx>
- Subject: [pygame] Movies in .exe
- From: "Ian Mallett" <geometrian@xxxxxxxxx>
- Date: Fri, 2 Jan 2009 13:49:25 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Fri, 02 Jan 2009 16:49:29 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=oA7axZLlB6TSK+CbIDxxa/KffIz1NR8ZWC56X89JjEI=; b=fyG3Op0ENmrBRreLXrYqZcWgQKuL2gCkluLIrfijP/lxudVh3Rmu0zDUfAWSGug9E3 9lj/MQyKZWMHinw3HBrc2AO8DDVU8eIvugdu5Qbh/Jq1VsFSxLcIFox2eZnYXiVRMuud 5NVG+iuDemPpH/YMSI3g/PcvBbDkQhHniiPKs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=L4cD9/lR4csUTN7r0Ek3AFpGz6b9W0eG+iCfGO6q+dlGXUIxMrhS5uy6/GTuOj7anC 64OzrD/9ua8emhZRQ87g7cJn6Mpz26RjztuXiwpFaBplgQrlYV3gWBkwfNDVBv69wMOa g60/ccoQA+j1S3QVBUuPajPtnZUyGhahpofGQ=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi,
I have a .mpg movie that I want to play in a .exe, but I also want the movie file to be included inside the .exe itself. I came up with two solutions:
1. Supposedly, this is possible with py2exe, but I don't know how. I looked at http://www.py2exe.org/index.cgi/CustomDataInExe, I couldn't figure it out.
2. The alternative is storing the movie file in the .py file itself as a string. I tried this, but I don't know how to transform the string into a suitable object for pygame.movie.Movie().
Ideas, anyone?
Ian