Menu

#44 <FATAL> texture.cpp 157 : Texture file "/usr/share/opencity/graphism/electricity/nuclear/texture.png" not found

SVN
closed-fixed
frodrigo
None
5
2015-03-16
2013-11-28
G4JC
No

Hi frodrigo,

It seems that the bug comes from libpng... Could you please have a look at this ?

Thank you.

Discussion

  • Duong Khang NGUYEN

    • status: open --> closed
    • assigned_to: Duong Khang NGUYEN
    • Priority: 7 --> 5
     
  • Duong Khang NGUYEN

    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.

     
    • G4JC

      G4JC - 2013-12-02

      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.

       
  • Duong Khang NGUYEN

    • Description has changed:

    Diff:

    --- 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
     
  • Duong Khang NGUYEN

    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."

     
  • Stuart Tanner

    Stuart Tanner - 2014-02-15

    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.

     
  • Alexandre Moine

    Alexandre Moine - 2015-02-18

    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 :)

     
  • frodrigo

    frodrigo - 2015-03-01

    I fix all the png files.

     
  • Duong Khang NGUYEN

    Fixed in 0.0.6.5stable.

    Thank you all.

     
  • Duong Khang NGUYEN

    • status: pending --> closed-fixed
     

Log in to post a comment.