Image crashes editor

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
User avatar
Lady Saavik
Posts: 1763
Joined: Tue May 13, 2014 4:02 pm
Player profile: http://ddnet.tw/players/Lady-32-Saavik/
Mapper profile: http://ddnet.tw/mappers/Saavik/

Re: Editor Virus

Post by Lady Saavik »

I just added alpha channel and it works for me
User avatar
BannZay
Posts: 837
Joined: Mon May 04, 2015 12:26 am
Location: Ukraine
Player profile: http://ddnet.tw/players/BannZay
Mapper profile: http://ddnet.tw/mappers/BannZay/

Re: Image crashes editor

Post by BannZay »

screenshot_2015-09-18_17-29-57.png
screenshot_2015-09-18_17-29-57.png (183.24 KiB) Viewed 2327 times
So usual mapres for me.. but after adding I can lost hours of work if dont make save every 10 min.
User avatar
hi_leute_gll
Posts: 2525
Joined: Mon Jul 21, 2014 1:15 am
Player profile: http://ddnet.tw/players/hi-95-leute-95-gll/
Mapper profile: http://ddnet.tw/mappers/hi-95-leute-95-gll/
Clan: iMTG

Re: Image crashes editor

Post by hi_leute_gll »

You even show in your screen that the mapres is still bugged.
.hi._.leute._.gll. | iMTGmember
User avatar
Soreu
Posts: 1371
Joined: Fri Aug 22, 2014 2:47 pm
Location: Poland
Player profile: http://ddnet.tw/players/Soreu
Mapper profile: http://ddnet.tw/mappers/Soreu
Clan: GSP

Re: Image crashes editor

Post by Soreu »

First of all, it shouldn't have white background...
But anyway, if it doesn't crash for deen & Chairn, it's again something with the magical windows >.>
„Vince te ipsum”

         :3             |     GSP Founder     Honorary iMTGmember
Graphic-guy     |     Website & Forum Team Leader (Ex)     [ToP] Leader (Dead)

Last truly active: Sun Aug 28, 2016 11:13 pm - having great DDNet in both memory and heart
User avatar
BannZay
Posts: 837
Joined: Mon May 04, 2015 12:26 am
Location: Ukraine
Player profile: http://ddnet.tw/players/BannZay
Mapper profile: http://ddnet.tw/mappers/BannZay/

Re: Image crashes editor

Post by BannZay »

God, leutte, not everyone can got that its critical for map :
SpoilerShow
111.png
Who knows mb here is white tiles
User avatar
Soreu
Posts: 1371
Joined: Fri Aug 22, 2014 2:47 pm
Location: Poland
Player profile: http://ddnet.tw/players/Soreu
Mapper profile: http://ddnet.tw/mappers/Soreu
Clan: GSP

Re: Image crashes editor

Post by Soreu »

maybe, but first tile on top left should still be rather transparent if tileset would be made properly - as this tile is cleared by game & used as eraser
„Vince te ipsum”

         :3             |     GSP Founder     Honorary iMTGmember
Graphic-guy     |     Website & Forum Team Leader (Ex)     [ToP] Leader (Dead)

Last truly active: Sun Aug 28, 2016 11:13 pm - having great DDNet in both memory and heart
User avatar
BannZay
Posts: 837
Joined: Mon May 04, 2015 12:26 am
Location: Ukraine
Player profile: http://ddnet.tw/players/BannZay
Mapper profile: http://ddnet.tw/mappers/BannZay/

Re: Image crashes editor

Post by BannZay »

the problem in client! I know how to fix image. But this is huge bug, that client crash(not only crash, its also broke the maps!) instead of ignoring broked image. I`m report about bug, and still not see any strong reason to ignore that in your words
User avatar
Soreu
Posts: 1371
Joined: Fri Aug 22, 2014 2:47 pm
Location: Poland
Player profile: http://ddnet.tw/players/Soreu
Mapper profile: http://ddnet.tw/mappers/Soreu
Clan: GSP

Re: Image crashes editor

Post by Soreu »

Soreu wrote:But anyway, if it doesn't crash for deen & Chairn, it's again something with the magical windows >.>
This is already an info that there is bug in client for windows...
„Vince te ipsum”

         :3             |     GSP Founder     Honorary iMTGmember
Graphic-guy     |     Website & Forum Team Leader (Ex)     [ToP] Leader (Dead)

Last truly active: Sun Aug 28, 2016 11:13 pm - having great DDNet in both memory and heart
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Image crashes editor

Post by deen »

Ok, 32bit client only crashes, 64bit seems to work. I can't really reproduce it, but I hope this fixes it: http://git.io/vnqOF

After tonight you can download the nightly build and test it.
unsigned char*
Posts: 42
Joined: Mon May 12, 2014 11:41 pm
Player profile: http://ddnet.tw/players/unsigned-32-char-42-/

Re: Image crashes editor

Post by unsigned char* »

Perhaps the issues start here....
https://github.com/ddnet/ddnet/blob/mas ... s.cpp#L343

If i'm not wrong.. when a image is a RGB:
format = RGB
storeFormat = RGBA

And you can read here that 'internalformat must match format. No conversion between formats is supported during texture image processing.': https://www.khronos.org/opengles/sdk/do ... mage2D.xml
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests