Skip to content

Unable to create a texture of size #46

Open
@KoBeWi

Description

@KoBeWi

Some player reported an error in one of my games. Whenever he starts a level, he gets this exception:

Unable to create a texture of size 768x672
C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / ashton / texture.rb: 73: in initialize_ ' C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / ashton / texture.rb: 73: in initialize '
C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / ashton / window_buffer.rb: 5: in initialize ' C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / map.rb: 48: in new '
C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / map.rb: 48: in mask ' C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / map.rb: 42: in modify_mask '
C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / map.rb: 217: in init ' C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / map.rb: 26: in block in draw '
C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / map.rb: 26: in each ' C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / map.rb: 26: in draw '
C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / game.rb: 113: in draw ' C: /Users/Ulis/AppData/Local/Temp/ocrB9AE.tmp/src/Adventure_Island.rb: 85: in draw '
C: / Users / Ulis / Desktop / Adventure Island Ruby / Adventure_Island / data / scripts / console.rb: 71: in draw ' C: /Users/Ulis/AppData/Local/Temp/ocrB9AE.tmp/lib/ruby/gems/2.2.0/gems/gosu-0.11.2-x86-mingw32/lib/gosu/patches.rb: 152: in tick '
C: /Users/Ulis/AppData/Local/Temp/ocrB9AE.tmp/lib/ruby/gems/2.2.0/gems/gosu-0.11.2-x86-mingw32/lib/gosu/patches.rb: 152: in tick ' C: /Users/Ulis/AppData/Local/Temp/ocrB9AE.tmp/src/Adventure_Island.rb: 118: in

'

(ignore the fact that Ashton is embedded in game, it's some old release)

The game at this line creates a WindowBuffer. I've seen someone has this error years ago and I believe it's related to old graphic card, but I'm reporting in case it can be fixed somehow.

You can see the game here: https://youtu.be/6uvSeOi4HOA (download in description)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions