--- Log opened Tue Jun 11 00:00:43 2019 20190611 00:22:45-!- celmin|away is now known as celticminstrel 20190611 00:28:13<+wesdiscordbot> banned for bad reference 20190611 00:28:23<+wesdiscordbot> πŸ˜‚ 20190611 03:03:01-!- lightbulbjim [sid361054@gateway/web/irccloud.com/x-rqjpiejafdufaigt] has joined #wesnoth 20190611 03:04:15< lightbulbjim> How can I load a custom theme (on Linux)? I've tried adding it to $HOME/.local/share/wesnoth/1.14/data/themes but it doesn't show up in the theme switcher. 20190611 04:36:56< celticminstrel> That's the correct way AFAIK. 20190611 04:37:43< celticminstrel> If it's not showing up in the theme switcher, I'd guess either there was an error loading it or you didn't refresh the data (either restart Wesnoth or press F5 at the title screen)... 20190611 04:40:21-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] 20190611 04:45:18< lightbulbjim> Hmm, not sure what I'm doing wrong then. When I start with the debug flag (-d) there's no mention of any errors. 20190611 05:10:29<+wesdiscordbot> what version is this btw? 20190611 05:10:41<+wesdiscordbot> er never mind 20190611 05:10:46<+wesdiscordbot> it's in the path 20190611 05:10:48<+wesdiscordbot> >.< 20190611 05:10:50< lightbulbjim> :) 20190611 05:47:50-!- mystic_x [~X@unaffiliated/mysticx] has left #wesnoth ["http://voluntaryismfaq.wikispaces.com/"] 20190611 05:50:14<+wesdiscordbot> I need some help 20190611 05:51:03<+wesdiscordbot> It's about modding 20190611 06:50:02-!- galegosimpatico [~ec2-user@unaffiliated/ushiu] has left #wesnoth ["WeeChat 1.9.1"] 20190611 06:58:58<+wesdiscordbot> You can ask about it in the modding channel. But you'll have to say what it's about in greater detail. 20190611 07:11:32-!- Haudegen [~quassel@178.115.237.87.static.drei.at] has joined #wesnoth 20190611 07:16:27-!- galegosimpatico [~ec2-user@unaffiliated/ushiu] has joined #wesnoth 20190611 07:36:39<+wesdiscordbot> is lightbulbjim still here? 20190611 07:36:42<+wesdiscordbot> I use a custom theme 20190611 07:38:42< lightbulbjim> Hello! 20190611 07:38:53< lightbulbjim> What’s the secret? 20190611 07:39:23<+wesdiscordbot> let's first make sure you used the right directory 20190611 07:39:37<+wesdiscordbot> start wesnoth, press the i button in the main menu bottom left, check that the user data dir is correct 20190611 07:39:54<+wesdiscordbot> Or run wesnoth --userdata-path 20190611 07:41:24< lightbulbjim> https://www.irccloud.com/pastebin/TLC1IBya/ 20190611 07:41:41< lightbulbjim> Shows as expected 20190611 07:42:12<+wesdiscordbot> πŸ€” 20190611 07:43:40<+wesdiscordbot> OK, I tried copying my theme to that dir and it doesn't show up 20190611 07:44:11<+wesdiscordbot> (I generally have it installed in the global data dir) 20190611 07:44:26<+wesdiscordbot> could you try that? 20190611 07:44:36< lightbulbjim> Just to confirm, my theme file is /home/chris/.local/share/wesnoth/1.14/data/themes/bigfont.cfg 20190611 07:44:43< lightbulbjim> Does that look reasonable? 20190611 07:44:43<+wesdiscordbot> wesnoth --data-path 20190611 07:45:33< lightbulbjim> I can't install it globally, no. I'm using NixOS, where the global directories are read-only. I can build a local copy sometime and poke around with it though. 20190611 07:46:04<+wesdiscordbot> You don't even have to build 20190611 07:46:16<+wesdiscordbot> If you just extract the tarball, you can test that way 20190611 07:46:35<+wesdiscordbot> tar xf wesnoth-1.14.7.tar.gz; cd wesnoth-1.14.7; cp bigfont.cfg data/themes; wesnoth 20190611 07:46:38<+wesdiscordbot> that should show your theme 20190611 07:46:55< lightbulbjim> Ah, good idea, that should help troubleshoot 20190611 07:47:06<+wesdiscordbot> To your question - it looks reasonable, but like I said, it doesn't work for me either, so it must be fishy 20190611 07:48:30< lightbulbjim> No worries. I'll try running it from the tarball and see what I get. I won't be able to try it for a while though. Thanks for your help, that eliminated some guesswork :-). 20190611 07:49:28<+wesdiscordbot> OK, good luck πŸ˜ƒ 20190611 07:49:47<+wesdiscordbot> If you want to follow up just tag me here (@josteph) or ask on the forums 20190611 07:49:54< lightbulbjim> Will do, thanks! 20190611 07:50:04<+wesdiscordbot> you're welcome πŸ˜„ 20190611 07:50:40<+wesdiscordbot> lightbulbjim, do you want to quickly paste your bigfont.cfg so I can take a look at it? 20190611 07:53:13<+wesdiscordbot> @Yumi 😒 20190611 07:53:50< lightbulbjim> It's just the default theme with the font sizes (defined at the top) bumped up a bit. No idea if it's actually valid due to sizes of the various rectangle areas etc. 20190611 07:54:09<+wesdiscordbot> That should just cause rendering errors 20190611 07:54:21<+wesdiscordbot> Not remove the theme from the list 20190611 07:54:33< lightbulbjim> Yeah, that's what I expected 20190611 07:54:36<+wesdiscordbot> By the way, the it's implemented it should work to create ~/.local/share/wesnoth/1.14/data/addons/bigfont/_main.cfg and paste the content of bigfont.cfg in there 20190611 07:54:41<+wesdiscordbot> sorry 20190611 07:54:51<+wesdiscordbot> "add-ons" should be hyphenated 20190611 07:55:19<+wesdiscordbot> lightbulbjim, did you change the id of the theme? 20190611 07:55:31< lightbulbjim> Oh, interesting. I'll try turning it into an addon 20190611 07:55:35<+wesdiscordbot> line 31 20190611 07:56:09< lightbulbjim> Yes, I changed the ID. This is everything that's different from the default theme: 20190611 07:56:13< lightbulbjim> https://www.irccloud.com/pastebin/vHKusfnM/ 20190611 07:56:29<+wesdiscordbot> link doesn't work 20190611 07:57:04< lightbulbjim> Hmm, let's try again 20190611 07:57:14< lightbulbjim> https://www.irccloud.com/pastebin/hMxGnjEh/ 20190611 07:57:37<+wesdiscordbot> the bug is reproducible. πŸ˜› 20190611 07:57:42< lightbulbjim> Oh dear 20190611 07:58:00< lightbulbjim> I have to run, but yes, I changed the ID, name and description 20190611 07:58:13< lightbulbjim> I'll try making it an addon and see what happens 20190611 07:59:18<+wesdiscordbot> hope it works. 20190611 07:59:29<+wesdiscordbot> And if it does, consider publishing it πŸ˜ƒ https://wiki.wesnoth.org/PblWML 20190611 07:59:59< lightbulbjim> Will do, thanks again :-) 20190611 08:00:12<+wesdiscordbot> πŸ˜ƒ 20190611 08:46:43-!- Haudegen [~quassel@178.115.237.87.static.drei.at] has quit [Remote host closed the connection] 20190611 09:04:05-!- Soo_Slow [Soo_Slow@gateway/vpn/privateinternetaccess/sooslow/x-31376162] has joined #wesnoth 20190611 09:56:54< lightbulbjim> @josteph turning the theme into an addon worked. Thanks for the tip! Now to turn it into a useful theme... 20190611 10:11:56<+wesdiscordbot> lightbulbjim, Great, thanks for letting me know πŸ˜ƒ 20190611 10:12:12<+wesdiscordbot> If you're curious, by the way, I use this https://forums.wesnoth.org/download/file.php?id=83887&mode=view 20190611 10:12:42<+wesdiscordbot> Oh. Thumbnail... 20190611 10:17:18< lightbulbjim> Looks interesting 20190611 10:18:09< lightbulbjim> I don't mind the default theme, but I recently got a hidpi display so the text is a bit too small. 20190611 10:18:26<+wesdiscordbot> it's based on https://forums.wesnoth.org/viewtopic.php?p=633133#p589619 but with some additions 20190611 10:18:46<+wesdiscordbot> (and, to be fair, some C++ patches) 20190611 10:25:16<+wesdiscordbot> http://sprunge.us/uLV6Pj 20190611 10:25:27<+wesdiscordbot> that's the theme file 20190611 10:28:32< lightbulbjim> Thanks 20190611 10:30:35<+wesdiscordbot> you won't get the red/black icons, they are in 1.15 only. The rest should work 20190611 11:25:05-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth 20190611 12:19:42-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20190611 12:27:20-!- Appleman1234 [~Appleman1@2001:44b8:21b3:4001::100] has joined #wesnoth 20190611 12:29:19-!- celticminstrel is now known as celmin|away 20190611 12:41:07-!- Appleman1234 [~Appleman1@2001:44b8:21b3:4001::100] has quit [Ping timeout: 250 seconds] 20190611 13:41:46-!- psymin [~psymin@69.146.8.222] has joined #wesnoth 20190611 16:18:35<+wesdiscordbot> 50+ messages 20190611 16:18:39<+wesdiscordbot> 😲 20190611 16:51:13<+wesdiscordbot> <ΠšΡ€Ρ‹Ρ> 50+ inches 20190611 17:32:29<+wesdiscordbot> why is discord people so surprised about 50+ messages? 20190611 17:33:06<+wesdiscordbot> BTW, what's about that Godot engine thing on twitter ? 20190611 17:33:34<+wesdiscordbot> It's an experiment about rewriting the whole game from scratch with Godot. 20190611 17:34:59<+wesdiscordbot> no please keep it experiment, I didn't like godot performance on my system 20190611 17:35:54<+wesdiscordbot> writing a full thick game by hand 20190611 17:35:59<+wesdiscordbot> is much better 20190611 17:36:00<+wesdiscordbot> Uh, the performance of Wesnoth's current software renderer is far worse. 20190611 17:36:38<+wesdiscordbot> wait it's software rendering? 20190611 17:36:50<+wesdiscordbot> Yeah, it is. 20190611 17:37:41<+wesdiscordbot> does it re-draw the inter screen? 20190611 17:38:11<+wesdiscordbot> The software renderer attempts to redraw as small areas as possible. 20190611 17:38:39<+wesdiscordbot> How well it works depends on what exactly is happening. Large animated areas (such as lots of water) are bad for it. 20190611 17:39:31<+wesdiscordbot> why are you planing to use a game engine? the graphics isn't that complex to be done in OpenGL by hand 20190611 17:41:21<+wesdiscordbot> Well, the lead programmer did attempt just that. However, his branch eventually became an unsalvageable mess. There were bugs all over the place, and they had been there for so long that it would have been essentially impossible to fix them (it wasn't really even possible to figure out when the bugs had been introduced). 20190611 17:42:21<+wesdiscordbot> He then decided to try restarting from a fully clean state without any legacy baggage slowing down development. 20190611 17:46:02<+wesdiscordbot> wew, that's doesn't look right... cuz AFAIK yes you will need to start a clean graphics starting from the window it self, but I still think using some thing like Godot engine is really really overkill for project has simple graphics as that 20190611 17:50:22<+wesdiscordbot> This branch is 45 commits ahead, 31538 commits behind master. ouch I think some one should clean the git repo 20190611 17:51:08<+wesdiscordbot> 14 years ago did github exist at that time? 20190611 17:51:27<+wesdiscordbot> I don't think so. 20190611 17:52:03<+wesdiscordbot> AFAIK, Wesnoth originally used a Subversion repository. The repo was moved from there to GitHub several years back, but commit history was preserved. 20190611 17:56:24-!- Narrat [~Narrat@p5DED1BEF.dip0.t-ipconnect.de] has joined #wesnoth 20190611 17:58:35< Soliton> it was even in CVS before. 20190611 17:58:59-!- Soo_Slow [Soo_Slow@gateway/vpn/privateinternetaccess/sooslow/x-31376162] has quit [Remote host closed the connection] 20190611 18:00:13-!- mystic_x [~X@unaffiliated/mysticx] has joined #wesnoth 20190611 18:01:48<+wesdiscordbot> @jyrkive Speaking of redrawing as small an area as possible, would you happen to know how to compute the set of hexes that intersects a sprite? See discussion here https://github.com/wesnoth/wesnoth/commit/1a7f9cc8a2b9e65434915a1e4a4756aeea4c5a34 20190611 18:03:03<+wesdiscordbot> I think it's not really that important. I don't expect players to undo recalls that often. 20190611 18:04:35<+wesdiscordbot> I'm asking primarily for the other two issues I linked in the discussion 20190611 18:05:15<+wesdiscordbot> I didn't say that on the discussion but I agree that performance of undonig recalls isn't critical. 20190611 18:09:52<+wesdiscordbot> I think I can find the code by playing with the debugger a bit. 20190611 18:11:45<+wesdiscordbot> Will take a while, I need to make a full build for that (and I'll also go AFK while I wait). 20190611 18:12:45<+wesdiscordbot> Thanks for having a look! πŸ‘ 20190611 18:12:55<+wesdiscordbot> It's not urgent at all, take your time πŸ˜ƒ 20190611 18:24:37-!- psymin [~psymin@69.146.8.222] has quit [Quit: Leaving] 20190611 18:51:47<+wesdiscordbot> All right, found it. display::hexes_under_rect(). 20190611 18:51:55<+wesdiscordbot> Here's how to use it: https://github.com/wesnoth/wesnoth/blob/master/src/units/frame.cpp#L683-L731 20190611 18:56:46<+wesdiscordbot> @jyrkive Thanks! 20190611 18:57:07<+wesdiscordbot> Not sure how I'd use that. It starts with an image but I'm starting with an x,y that has a unit. 20190611 18:58:30<+wesdiscordbot> You need to expose the unit sprite size in the unit class (or check if it's already exposed). 20190611 19:00:01<+wesdiscordbot> So I can always use the unit's base sprite? 20190611 19:00:10<+wesdiscordbot> No need to account for standing/idle animations? 20190611 19:01:27<+wesdiscordbot> Well, unit animation code itself assumes that every frame overlaps the same hexes (it doesn't check any frames other than the current one). 20190611 19:02:10<+wesdiscordbot> https://github.com/wesnoth/wesnoth/blob/master/src/units/animation.cpp#L1274-L1279 20190611 19:04:08<+wesdiscordbot> @jyrkive That's the info I was after, thank you very much! 20190611 19:04:15<+wesdiscordbot> I'll add it to github unless you want to do that yourself πŸ˜ƒ 20190611 19:37:56-!- Haudegen [~quassel@178.115.237.87.static.drei.at] has joined #wesnoth 20190611 20:06:25-!- APic [apic@apic.name] has joined #wesnoth 20190611 21:21:35-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 258 seconds] 20190611 21:28:24-!- Narrat [~Narrat@p5DED1BEF.dip0.t-ipconnect.de] has quit [Quit: They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.] 20190611 21:54:08-!- Rhonda [~rhonda@wesnoth/developer/rhonda] has quit [Ping timeout: 248 seconds] 20190611 21:55:44-!- Rhonda [~rhonda@wesnoth/developer/rhonda] has joined #wesnoth 20190611 22:05:19<+wesdiscordbot> has anyone ever experience an issue where the game runs fine but replays run like thick black mo-lasses? 20190611 22:14:46-!- mystic_x [~X@unaffiliated/mysticx] has quit [Quit: http://voluntaryismfaq.wikispaces.com/] 20190611 22:47:28-!- Haudegen [~quassel@178.115.237.87.static.drei.at] has quit [Ping timeout: 248 seconds] --- Log closed Wed Jun 12 00:00:44 2019