Minetest logo

IRC log for #minetest-mods, 2012-08-23

| Channels | #minetest-mods index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:23 NakedFury joined #minetest-mods
00:36 NakedFury joined #minetest-mods
05:06 VanessaE_ joined #minetest-mods
10:14 PilzAdam joined #minetest-mods
15:33 jordach joined #minetest-mods
15:33 jordach good afternoon
15:33 PilzAdam hi
15:33 * jordach pushed tweaks to minetest-classic :)
15:35 VanessaE_ jordach: seen the latest change to the photorealistic pack?  JPG is directly supported by irrlicht, and is not related to texture compression in a video card.
15:35 PilzAdam its fun whats going on on #minetest
15:35 VanessaE_ it works everywhere.
15:35 jordach :(
15:36 jordach VanessaE_: im working on a texture pack; designed for the height of wool
15:36 VanessaE_ so anyone can use it in any mod or texture pack.  Mine shrunk from 263MB to 93 without any visible loss in quality.
15:36 VanessaE_ cool
15:36 jordach including RAM?
15:37 VanessaE_ didn't look at the memory usage, just the unzipped size on disk
15:37 * jordach rolls eyes
15:37 VanessaE_ doubt it helps memory any though :-)
15:37 jordach youre right\
15:37 jordach btw; you live in a nice place
15:37 jordach (google maps ftw)
15:38 VanessaE_ eh?
15:38 VanessaE_ our apartment doesn't show up in google maps :-)
15:39 jordach oh ti does
15:39 jordach it*
15:39 * jordach point to your site
15:40 VanessaE_ still no street view of the house though :-)
15:40 NakedFury joined #minetest-mods
15:40 jordach sup nf
15:41 VanessaE_ jordach: also, another note:
15:41 jordach mm
15:41 VanessaE_ if you name your files all .jpg, even if the mod needs a png, it'll pull the jpg if that's all the game can find.
15:41 VanessaE_ so you don't even have to change anything about the game/mods' code.
15:41 VanessaE_ (assuming a jpg will hold the data okay, e.g. no transparency)
15:42 jordach im smiling
15:42 jordach because i found this out first
15:42 jordach thanks tv mod
15:43 VanessaE_ yup
15:43 jordach so i started a trend?
15:43 VanessaE_ which is why I'm saying it now so you know it's not just some quirk regarding texture compression in a modern video card :-)
15:44 jordach lol
15:44 jordach actually it only worked if i used my SiS inboard
15:44 VanessaE_ then you did it wrong :-)
15:44 VanessaE_ because it's a feature of irrlicht.
15:45 jordach http://www.currys.co.uk/gbuk/pny-geforce-620​0-agp-graphics-card-512mb-10893079-pdt.html
15:45 jordach thats my card
15:46 VanessaE_ but anyway, name the files .jpg (don't just put a jpeg inside a .png filename) and it just works.
15:46 jordach i did
15:46 jordach and thats why tv mod fails
15:47 VanessaE_ strange
15:48 jordach however my card is capable of Call of Duty 5
15:48 jordach with 40fps
15:48 jordach my card is so damn rare, nowhere has one; good thing; it was the last in pc world
15:49 VanessaE_ You never said, by the way
15:49 VanessaE_ what exactly fails?
15:49 VanessaE_ what did it do wrong?
15:49 jordach nothing
15:50 jordach its not 512mb, its 768mb of ram
15:50 VanessaE_ [08-23 11:46] <VanessaE_> but anyway, name the files .jpg (don't just put a jpeg inside a .png filename) and it just works.
15:50 VanessaE_ [08-23 11:46] <jordach> i did
15:50 VanessaE_ [08-23 11:46] <jordach> and thats why tv mod fails
15:50 VanessaE_ no, this
15:50 VanessaE_ I'm genuinely curious
15:51 jordach it says failed to load texture
15:51 VanessaE_ you still have that old code?
15:51 VanessaE_ also, glad you came back to IRC.  I was kinda missing these chats.
15:51 jordach why yes
15:51 jordach its in my github
15:52 VanessaE_ link?  I wanna take a look and see what went wrong
15:52 jordach im still away from #minetest
15:52 jordach github.com/jordach
15:52 jordach its my damn minetest mods repo
15:52 VanessaE_ got oit
15:52 VanessaE_ it
15:52 VanessaE_ you seen the latest pipeworks btw? :-)
15:53 jordach tes
15:53 jordach yes
15:53 jordach i went to win xp again :) 200fps on mc
15:53 VanessaE_ nice.
15:54 VanessaE_ these are just real PNGs btw.  I wanted the code that didn't work :-)
15:54 jordach you'd think it'd correlate to mt, no. 20-30fps
15:54 jordach THE FILES ARE LPGS
15:54 jordach jpgs as .png
15:54 VanessaE_ everyone's having performance problems with MT lately, vicscandl and others are looking into it.
15:55 VanessaE_ vanessa@rainbird:~$ file tv_screen_5.png
15:55 VanessaE_ tv_screen_5.png: PNG image data, 36 x 36, 8-bit/color RGB, non-interlaced
15:55 VanessaE_ (file would have told me if it were JPG content)
15:55 jordach 7 i know was
15:55 * VanessaE_ looks
15:55 VanessaE_ vanessa@rainbird:~$ file tv_screen_7.png tv_screen_7.png: JPEG image data, JFIF standard 1.01
15:55 VanessaE_ yup.
15:56 VanessaE_ did you try renaming it to .jpg - but don't change the mod code?
15:56 jordach no.
15:56 VanessaE_ the game will load it as long as no png with the same basename exists.
15:56 VanessaE_ it ignores the filename extension, or is supposed to anyway
15:57 VanessaE_ c55 and I had a chat about this to finally clear it up :-)
15:58 jordach i saw the battle between c55's bot in a comp.
15:58 VanessaE_ bot?
15:58 jordach battle robots
15:58 VanessaE_ oh
15:58 jordach he lost
16:00 * VanessaE_ tests it...
16:00 VanessaE_ (the jpg issue)
16:00 VanessaE_ interesting.  If I tweak the init.lua to look for tv_screen_7.jpg and name the file .jpg, it works.
16:02 VanessaE_ you've hit a bug in the game apparently.  you're supposed to be able to give no file extension at all as well.
16:02 jordach thats odd
16:03 jordach i only copy and pasted the tv mod
16:03 jordach was out of ntime
16:03 VanessaE_ no prob, but now you know the fix in case you want to play around more with jpg textures.
16:03 VanessaE_ also you can do tiff, tga, bmp, and a few others.
16:04 jordach oohh
16:04 VanessaE_ (oddly, not GIF)
16:04 jordach but we have node anims tho
16:04 VanessaE_ yes
16:04 jordach so gif IS redundant
16:04 VanessaE_ which have to be vertical-strip format
16:04 jordach mc uses this to
16:04 VanessaE_ yeah I know
16:04 VanessaE_ horrible format.
16:04 jordach unless you have gimp
16:05 VanessaE_ animated GIF can be smaller than the equivalent vertical strip
16:05 VanessaE_ and with 16px textures, that's 256 pixels, so gif loses nothing in number of colors :-)
16:08 jordach bbl
16:08 VanessaE_ k
18:01 triplei joined #minetest-mods
18:08 mika__ joined #minetest-mods
18:26 jordach joined #minetest-mods
18:27 jordach good evening
18:27 VanessaE_ evening
18:27 jordach ./nick VanessaE VanessaE_
18:27 jordach underscores annoy me
18:28 jordach one sign of xchat laziness
18:28 VanessaE_ jordach: c55 and I talked; the filename issue is a bug.  https://github.com/celeron55/minetest/issues/223
18:28 VanessaE there.
18:29 jordach so i tripped on a highly obscure bug
18:29 VanessaE yup
18:29 VanessaE it'll get fixed eventually
18:29 jordach WOOT!
18:29 VanessaE in the meantime, make sure you save your images with proper filenames and codec that matches the file extension. :-)
18:30 VanessaE bbiab
18:31 jordach ENGLISH ZBGURESHPXRE, DO YOU SPEAK IT?
23:24 VanessaE joined #minetest-mods

| Channels | #minetest-mods index | Today | | Google Search | Plaintext