<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 18 Nov 2020 at 07:19, James Paige <<a href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Tue, Nov 17, 2020 at 8:18 AM Ralph Versteegen <<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>I've made gfx_sdl2 the default build on Linux and Windows, though I don't know whether anyone got the svn commit messages. I didn't.</div></div></div></blockquote><div><br></div><div>Yeah, the commit message e-mails are borked.</div></div></div></blockquote><div>But oddly I did get a single email from one of my commits yesterday.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>I dug into it a but today and found two different problems</div><div>1) Dreamhost changed svn to run as an apache service user (www-data) instead of as my user (james_paige) and the commit e-mail script contained a ~ which resolved to the wrong place when it was run for real. I fixed that part.</div><div>2) The dreamhost mail server associated with <a href="http://lists.motherhamster.org" target="_blank">lists.motherhamster.org</a> is blocking the IP address of the dreamhost apache/svn server due to a Spamhaus RBL. I checked all of the relevant IP addresses and e-mail addresses in Spamhaus's online tool, and none of them listed, which probably means dreamhost is using an obsolete cached copy of the the blocklist, so I reported it to their tech support. Maybe they'll fix it?<br></div></div></div></blockquote><div>Hopefully! <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>However, Linux nightlies are failing because the libsdl2 and libsdl2_mixer libraries are missing from both build VMs.<br></div></div></blockquote><div><br></div><div>Fixed!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>I think gfx_sdl2 on Mac is not complete and not ready yet and should be put off until a later release, due to:</div><div><div><a id="gmail-m_-2223163356144950835gmail-m_-3457462904384689727gmail-issue_1183_link" href="https://github.com/ohrrpgce/ohrrpgce/issues/1183" target="_blank"></a></div><div>#1175: <a id="gmail-m_-2223163356144950835gmail-m_-3457462904384689727gmail-issue_1175_link" href="https://github.com/ohrrpgce/ohrrpgce/issues/1175" target="_blank">Mac/gfx_sdl2: crash when unplugging and replugging a controller</a>
</div><div>#1181:<a id="gmail-m_-2223163356144950835gmail-m_-3457462904384689727gmail-issue_1181_link" href="https://github.com/ohrrpgce/ohrrpgce/issues/1181" target="_blank"> Mac/gfx_sdl2: Random crash when resizing window</a></div><div>#1183: <a id="gmail-m_-2223163356144950835gmail-m_-3457462904384689727gmail-issue_1183_link" href="https://github.com/ohrrpgce/ohrrpgce/issues/1183" target="_blank">Mac/gfx_sdl2 lacks custom menu bar</a>
</div></div><div><br></div><div>However, #1181  won't actually affect games distributed for Mac, and #1183 isn't very important, so we could still make sdl2 the default for distributed games. And when SDL 2.0.14 is finally released we can re-upload the mac-minimal package for hróðvitnir with the fix for #1175. Considering that every Mac game that uses SDL2 is affected by #1175, which is an awful lot of them, I guess it's not such a showstopper.</div><div><div><br></div><div>The change in backends also causes problems for the Distribute Game menu which we need to sort out, because it needs to know which backends are in use by downloaded builds for Windows and Linux (not Mac). Plus we don't want to break older versions of the engine. I'll file a bug with more details.<br></div></div></div></blockquote><div><br></div><div>Yeah, I can see is treating those as non-blockers for those reasons.</div></div></div></blockquote><div> </div><div><div>To be comfortable using gfx_sdl2 when distributing for Mac it ought to get some more testing.</div><div>Hmm... we could do like we did on Windows until a few days ago, and use gfx_sdl for Custom and gfx_sdl2 for Game for 64-bit Mac builds. That should give people the best of both worlds.<br></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>for bug #1181 does it happen when maximizing/unmaximizing or switching between full-screen and windowed?<br></div></div></div></blockquote><div><br></div><div>I don't think I've seen it happen when switching to fullscreen. I don't know whether that even causes a window resize event. But I can't test anything on Mac right now.</div><div><br></div><div>There is also the possibility that #1181 is fixed in SDL Hg/2.0.14, as there is a fix for a very similar bug except it's when calling SDL on multiple threads. I'll need to compile it myself to test it.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div></div></div><div><br></div><div>I'm going to try add the gamecontroller API to gfx_sdl2 before release too.</div><div></div><div><br></div><div>One more blocker, I found some bugs in the Local/Global NPC editor a while back that I didn't get around to fixing, but to re-find and document them is time consuming. But I do remember that there's a bug on this line!</div><div><br></div><div>    IF starts_with(menu(<a href="http://state.pt" target="_blank">state.pt</a>), "Global") THEN<br>     'Oh my gosh this is such a hack I hope TMC doesn't see. SHHH! Nobody tell him! <br>     npcdef = @st.global_npc_def(npcinst->id - 1)<br></div></div></blockquote><div><br></div><div>Haha! You caught me! :D</div><div>No worries, I fixed it this morning.<br></div></div></div></blockquote><div><br></div><div>Ahaha, that is a very creative fix :)</div><div>But I didn't mean the elegant string-based duck-typing, the *actual* bug was that st.global_npc_def(npcinst->id - 1) can be an OOB access (as mentioned in my other email).</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 28 Oct 2020 at 12:41, Ralph Versteegen <<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 28 Oct 2020 at 12:30, James Paige <<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Okay, actually, you have me convinced. Let's go ahead and switch to sdl2, and make that the main release goal for Hróðvitnir</div><div><br></div><div>Somehow I had it in my head that sdl2 was unfinished, but that seems to be somewhere between barely true, and not true at all :D</div></div></blockquote><div> </div><div>I considered and have described gfx_sdl2 as unfinished because it didn't allow changing the window zoom. However it turns out that was actually due to a typo bug, rather than being unimplemented!<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I am assuming that Android will be the one platform exception, since we'll have to figure out how to do sdl2-centric android builds instead of commandergenius style builds.</div></div></blockquote><div><br></div><div>Yes. I've never looked into it, but since sdl2 is also in the commandergenius repo, I wonder whether that sdl2 fork has support for onscreen gamepad buttons patched in, like the sdl1.2 fork? That would save us a lot of trouble!</div><div><br></div><div>Also, SDL2 requires Win XP at the minimum, so we will have to advertise separate builds for old and new Windows versions, the same as we already have for Linux (32-bit vs 64-bit) and Mac (32-bit gfx_sdl vs 64-bit gfx_sdl2), including in the Distribute Game menu. I don't think that's a concern.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div>---</div><div>James Paige<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 27, 2020 at 6:52 PM Ralph Versteegen <<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Unfortunately I didn't foresee that I would spend almost no time working on the engine over the last two months. In hindsight we should just have released two months ago.</div><div>You might be pleased to know I almost, but didn't, merge my huge incomplete branch for better text rendering and font support last night! But it's still incomplete enough that it hardly adds any new features.</div><div><br></div><div>That missing sprite component bug (#1137) really needs fixing.<br></div><div>I need to file a bunch of bugs (eg from crash reports, which I'm really not keeping on top of), but none of them are blockers... except maybe "(BUG) KILLSCRIPTTHREAD: Inappropriate call" which has been reported at least 4 times by different people; worth prioritising.<br></div><div></div><div><br></div><div>I know this will make you *super nervous* but I would like to make gfx_sdl2 the default for Hróðvitnir. I am working on the gfx_sdl2 zoom-changing bug right now, and will fix the Mac+gfx_sdl2 bug #1171 next.</div><div>SDL 2 and SDL_mixer 2 fix many problems but introduce no new bugs I know about aside from those two and <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1175" target="_blank">https://github.com/ohrrpgce/ohrrpgce/issues/1175</a>.</div><div>See<br></div><div><a href="https://github.com/ohrrpgce/ohrrpgce/issues?q=is%3Aissue+is%3Aopen+label%3Agfx_sdl" target="_blank">https://github.com/ohrrpgce/ohrrpgce/issues?q=is%3Aissue+is%3Aopen+label%3Agfx_sdl</a></div><div><a href="https://github.com/ohrrpgce/ohrrpgce/issues?q=is%3Aissue+is%3Aopen+label%3Amusic_sdl" target="_blank">https://github.com/ohrrpgce/ohrrpgce/issues?q=is%3Aissue+is%3Aopen+label%3Amusic_sdl</a></div><div>(sigh, no support for OR queries when searching the issue tracker... I still miss bugzilla)</div><div>There are also other problems not filed on bugzilla, especially the very bad fullscreen handling in SDL 1.2 which ruins all my monitor settings every time I accidentally fullscreen.<br></div><div><br></div><div><div></div><div>In fact, a number of people have been using gfx_sdl2 as their main backend for up to two years now, so most of the gfx_sdl2 bugs were found and fixed already last year. I don't even know anyone who still uses gfx_sdl on Mac, they all migrated to gfx_sdl2 because of the numerous bugs.<br></div></div></div></blockquote></div></blockquote><div><div><br></div><div>Oh, turns out kylekrack went back to gfx_sdl due to the aforementioned gfx_sdl2 bugs (that I'm fixing).</div><div>Unfortunately SDL 2.0.14 still hasn't been released with the fix for the controller reconnection crash. I don't want to have to compile SDL 2 for Mac myself.<br></div><div>  <br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div></div></div><div><br></div><div>Actually, a main reason for switching to gfx_sdl2 is to make sure it gets enough testing that it can confidently be used for Axe Cop, because I want to use the new SDL2 Controller API, which will finally give us full gamepad support, which RMZ is desperate to have. So better to switch to gfx_sdl2 now rather than in a month.<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 28 Oct 2020 at 06:25, James Paige <<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>What bugs do we currently have that should block the Hróðvitnir release?</div><div><br></div><div>Looking at the bug tracker, I only see two with the release-blocker tag, one of which I think is already resolved<br></div><div><br></div><div><a href="https://github.com/ohrrpgce/ohrrpgce/issues?q=is%3Aissue+is%3Aopen+label%3Arelease-blocker" target="_blank">https://github.com/ohrrpgce/ohrrpgce/issues?q=is%3Aissue+is%3Aopen+label%3Arelease-blocker</a></div><div><br></div><div>I also know I need to add the latest Vikings of Midgard data files, because, well: <span><span><i>Hróðvitnir</i></span></span></div><div><span><span><i><br></i></span></span></div><div><span><span>---</span></span></div><div><span><span>James Paige<i><br></i></span></span></div></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div></div>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div></div>