Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create a texture of size #46

Open
KoBeWi opened this issue Jun 1, 2018 · 0 comments
Open

Unable to create a texture of size #46

KoBeWi opened this issue Jun 1, 2018 · 0 comments

Comments

@KoBeWi
Copy link

KoBeWi commented Jun 1, 2018

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant