#exult@irc.freenode.net logs for 16 Dec 2016 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[02:41:57] <-- Dominus has left IRC (Ping timeout: 240 seconds)
[02:43:13] --> Dominus has joined #exult
[02:43:13] <-- Dominus has left IRC (Changing host)
[02:43:13] --> Dominus has joined #exult
[02:43:13] --- ChanServ gives channel operator status to Dominus
[04:52:27] --> azeem_ has joined #exult
[04:55:57] <-- azeem has left IRC (Ping timeout: 248 seconds)
[08:28:01] <-- Lightkey has left IRC (Ping timeout: 258 seconds)
[08:40:54] --> Lightkey has joined #exult
[10:08:27] <Dominus> wjp: the filenames are actually "almost" ok, it's the order of how the map gets processed that is different (not left to right but top to bottom)
[10:21:43] <Dominus> "almost" because it numbers in hex which is correct but only numbers up to B. I mean 0,1, 2, 3...9, a, b
[10:22:35] <wjp> why does it matter in which way it processes them?
[10:22:36] <Dominus> but I guess Exult just doesn't process the map in a similar way to the ifix/ireg numbering
[10:22:52] <wjp> you presumably don't care about the timestamps on the files?
[10:23:31] <Dominus> no, I was mostly wondering whether it could be done that the filename numbering matches the ifix/ireg layout
[10:23:32] <Dominus> http://exult.sourceforge.net/images/studiobgiregs.png
[10:23:46] <wjp> sure, just change that snprintf
[10:24:01] <wjp> it sounds like maybe you want snprintf(fn, 15, "u7map%x%x.pcx", y, x) instead?
[10:24:24] <wjp> (i.e., flip the two numbers in there)
[10:24:55] <wjp> or maybe you also want to change the size of the blocks
[10:25:10] <wjp> oh, wait
[10:25:19] <wjp> they're numbered linearly?
[10:25:29] <Dominus> I'm pretty sure they are
[10:25:44] <wjp> so then you'll want "u7map%02x.pcx", (12*y)+x ?
[10:26:12] <Dominus> oddly switching x and y produced staitc instead of real screenshots
[10:26:33] <wjp> then something else is wrong
[10:28:11] <wjp> because changing the snprintf line will only change the filename that's produced
[10:28:27] <Dominus> yes, I'm puzzled why it misbheaves suddenly
[10:38:37] <Dominus> wth
[10:45:23] <Dominus> seems I got foiled by SDL2 again
[10:47:24] <Dominus> why it seemed to work before is a mystery to me...
[10:48:05] <Dominus> Of course using an SDL2 built is not working as x1 scaling is not working with SDL2
[10:48:26] <Dominus> wjp, your last sprintf is correct
[10:50:04] <Dominus> thanks a lot
[15:48:49] <-- Rottingbeef has left IRC ()
[17:29:35] --> GitHub has joined #exult
[17:29:35] <GitHub> [exult] DominusExult pushed 1 new commit to master: https://git.io/v1Qlj
[17:29:35] <GitHub> exult/master bd1ee9c DominusExult: the file numbering of the --buildmap option is now in sync with the U7IFIXnn and U7IREGnn (thanks Wjp). This way you can quickly match them, for example with the charts at http://exult.sourceforge.net/studio.php#ifix_iregs.
[17:29:35] <-- GitHub has left #exult
[23:49:24] --> GitHub has joined #exult
[23:49:24] <GitHub> [exult] KnightCaptain opened pull request #16: SIFixes Adds Ernesto as NPC (master...master) https://git.io/v17Y4
[23:49:24] <-- GitHub has left #exult
[23:49:56] --> KnightCaptain has joined #exult
[23:51:33] <KnightCaptain> Hurray, fixed a bunch of stuff in SIfixes connected to Ernesto and minor map stuff. :D