Serebriakov / pink-pony

Automatically exported from code.google.com/p/pink-pony
0 stars 0 forks source link

Could not open file pony.options for reading #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create the package from the source code
2. Install pink-pony on the system
3. Launch command Pony

What is the expected output? What do you see instead?
Error message is displayed : Could not open file pony.options for reading

What version of the product are you using? On what operating system?
1.0 on Archlinux

Please provide any additional information below.
You find the PKGBUILD a script to build a package for Archlinux with source
code, I write for pink-pony. Thanks for your response.

Original issue reported on code.google.com by darkbab...@gmail.com on 14 Jul 2009 at 3:53

Attachments:

GoogleCodeExporter commented 9 years ago
Hello darkbaboon,

The 'Pony' executable needs it's resources (i.e. the models, levels, GLSL, 
textures
and music folder) in it's working directory.

It also needs the path to an .options file as commandline argument. Per 
default, the
game will look for pony.options in the current dir. This is also why you got the
error message that this file is missing.

I guess the best method would be to put the executable and it's data into 
something
like /usr/share/pink-pony and put a small shell script into /usr/bin that does 
the
following:

#!/bin/sh

cd /usr/share/pink-pony
./Pony ~/.config/pony.options

This way the user can change the settings from his/her home directory. Maybe the
script should also accept other option files as parameter and copy a default
pony.options into the dir if there is none yet.. 

Archlinux is my main Desktop OS, so I could help you with this.

Original comment by gin...@gmail.com on 14 Jul 2009 at 11:37

GoogleCodeExporter commented 9 years ago
Please test the following PKGBUILD tarball on your system.

Original comment by gin...@gmail.com on 15 Jul 2009 at 12:20

GoogleCodeExporter commented 9 years ago
I had to fix a small problem in the current source tarball, so here is a 
PKGBUILD
with the new md5sum.

Original comment by gin...@gmail.com on 15 Jul 2009 at 12:34

Attachments:

GoogleCodeExporter commented 9 years ago
Hello ginquo,

Thank you for your early responses and nice to meet another archer!

I follow your modification on the PKGBUILD. Since, I get the logo from the 
project
page (http://code.google.com/p/pink-pony/logo?logo_id=1245786400) in order to 
create
a pink-pony.desktop file. It should be a good idea to include this file by 
default in
the source package.

You can find my submitting PKGBUILD and the related files on AUR at this URL :
http://aur.archlinux.org/packages.php?ID=28350

Original comment by darkbab...@gmail.com on 16 Jul 2009 at 9:38

GoogleCodeExporter commented 9 years ago
I just downloaded your tested you PKGBUILD. Works like a charm. :)

You're right, these things should be added to the source tarball.

Original comment by gin...@gmail.com on 16 Jul 2009 at 11:26