It seems that you've tried to compile & run OpenCity from the SVN. The texture file is there and is not corrupted. It seems that the OpenCity's executable couldn't find it on the drive. It means that you didn't run the configure command correctly to tell it where to find its data.
Regards.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Actually this was compiled from opencity-0.0.6.4stable.tar.bz2. However I found out I'm not the only one suffering this issue: https://aur.archlinux.org/packages/opencity/
It may be an issue in libpng. Oddly ALL other png's work. This file appears as a large transparent 512x512 image with a few garbled green pixels in the top right when opened in GIMP (which is the only thing I could even get to partially open the file). Game boots fine if replaced with a blank image file that is a valid PNG.
I would advise reuploading the image file or saving it again so others can open it.
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
--- old+++ new@@ -1,8 +1,5 @@-The SVN has a corrupt file which causes failure to launch the game:-<FATAL> texture.cpp 157 : Texture file "/usr/share/opencity/graphism/electricity/nuclear/texture.png" not found+Hi frodrigo,+It seems that the bug comes from libpng... Could you please have a look at this ?-The corrupt file appears to be located at:-https://svn.code.sf.net/p/opencity/code/trunk/opencity/graphism/electricity/nuclear/texture.png--I am unable to view it in an image viewer either.+Thank you.
status: closed --> pending
assigned_to: Duong Khang NGUYEN --> frodrigo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've deleted accidentally the following message from G4JC
"Hello,
Actually this was compiled from opencity-0.0.6.4stable.tar.bz2. However I found out I'm not the only one suffering this issue: https://aur.archlinux.org/packages/opencity/
It may be an issue in libpng. Oddly ALL other png's work. This file appears as a large transparent 512x512 image with a few garbled green pixels in the top right when opened in GIMP (which is the only thing I could even get to partially open the file). Game boots fine if replaced with a blank image file that is a valid PNG.
I would advise reuploading the image file or saving it again so others can open it.
Thank you."
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
It seems that you've tried to compile & run OpenCity from the SVN. The texture file is there and is not corrupted. It seems that the OpenCity's executable couldn't find it on the drive. It means that you didn't run the configure command correctly to tell it where to find its data.
Regards.
Hello,
Actually this was compiled from opencity-0.0.6.4stable.tar.bz2. However I found out I'm not the only one suffering this issue:
https://aur.archlinux.org/packages/opencity/
It may be an issue in libpng. Oddly ALL other png's work. This file appears as a large transparent 512x512 image with a few garbled green pixels in the top right when opened in GIMP (which is the only thing I could even get to partially open the file). Game boots fine if replaced with a blank image file that is a valid PNG.
I would advise reuploading the image file or saving it again so others can open it.
Thank you.
Diff:
I've deleted accidentally the following message from G4JC
"Hello,
Actually this was compiled from opencity-0.0.6.4stable.tar.bz2. However I found out I'm not the only one suffering this issue:
https://aur.archlinux.org/packages/opencity/
It may be an issue in libpng. Oddly ALL other png's work. This file appears as a large transparent 512x512 image with a few garbled green pixels in the top right when opened in GIMP (which is the only thing I could even get to partially open the file). Game boots fine if replaced with a blank image file that is a valid PNG.
I would advise reuploading the image file or saving it again so others can open it.
Thank you."
I have just installed opencity from the openSUSE 13.1 Games repo and I have this issue - where can I download the missing file or a bug fix thanks.
Hi,
I try to make a rpm for Fedora, and I have the same problem. The solution, for me, is to run this, at the top directory:
pngcrush -fix -force graphism/electricity/nuclear/texture.png graphism/electricity/nuclear/texture.png.fixed
mv graphism/electricity/nuclear/texture.png.fixed graphism/electricity/nuclear/texture.png
Tell me if it works for you, and if you can commit this change :)
I fix all the png files.
Fixed in 0.0.6.5stable.
Thank you all.