[00:03] Littleboy (~littleboy@c-174-62-174-218.hsd1.ma.comcast.net) got lost in the net-split. [00:07] Vanfanel (~sddhwo@164.Red-83-34-172.dynamicIP.rima-tde.net) left irc: Quit: Lost terminal [00:11] D0SFreak (~D0SFreak@66.55.134.218) left irc: Ping timeout: 246 seconds [00:40] criezy (~criezy@host31-53-241-154.range31-53.btcentralplus.com) left irc: Quit: criezy [00:56] RUBICN64 (~Android@2601:7:9480:5ba:5805:7235:88fc:a5d9) joined #scummvm. [01:12] Dominus (~dominus@unaffiliated/dominus) left irc: Ping timeout: 246 seconds [01:12] Dominus (~dominus@unaffiliated/dominus) joined #scummvm. [01:17] Javacat (~Javacat@unaffiliated/javacat) left irc: Quit: Please, try the fish [01:22] _marc` (~marc@p20030046081F9CFCF01C9922453B63D3.dip0.t-ipconnect.de) left irc: Ping timeout: 260 seconds [01:26] kurtwr2 (~kurtwr@c-98-208-17-184.hsd1.ca.comcast.net) left irc: Ping timeout: 272 seconds [01:37] _marc` (~marc@p4FF78F4F.dip0.t-ipconnect.de) joined #scummvm. [01:38] RUBICN64 (~Android@2601:7:9480:5ba:5805:7235:88fc:a5d9) left irc: Quit: AndroidIrc Disconnecting [01:41] Vampire0_ (~Vampire@jEdit/Vampire) joined #scummvm. [01:45] Guest72212 (~Vampire@pD9E16531.dip0.t-ipconnect.de) left irc: Ping timeout: 272 seconds [02:22] kurtwr (~kurtwr@c-98-208-17-184.hsd1.ca.comcast.net) joined #scummvm. [03:22] RUBICN64 (~Android@2601:7:9480:5ba:5805:7235:88fc:a5d9) joined #scummvm. [03:31] ImperatorPrime (~Imperator@c-24-7-104-182.hsd1.ca.comcast.net) joined #scummvm. [03:34] LordHoto (~johannes@unaffiliated/lordhoto) joined #scummvm. [03:34] #scummvm: mode change '+o LordHoto' by ChanServ!ChanServ@services. [03:43] Ramal (~dennis@2.70.41.188.mobile.tre.se) left irc: Ping timeout: 272 seconds [03:44] Ramal (~dennis@2.66.17.172.mobile.tre.se) joined #scummvm. [03:44] RUBICN64 (~Android@2601:7:9480:5ba:5805:7235:88fc:a5d9) left irc: Quit: AndroidIrc Disconnecting [04:00] MrSiggler (~textual@blk-89-213-45.eastlink.ca) left irc: Quit: Textual IRC Client: www.textualapp.com [04:01] Poly-C (~Poly-C@gentoo/developer/Polynomial-C) joined #scummvm. [04:04] Polynomial-C (~Poly-C@gentoo/developer/Polynomial-C) left irc: Ping timeout: 245 seconds [04:28] LordHoto (~johannes@unaffiliated/lordhoto) left irc: Quit: leaving [04:49] SugarCube (~servus@2605:e000:850e:e00:c69:ecbe:d8b5:d537) left irc: Ping timeout: 272 seconds [05:00] SugarCube (~servus@2605:e000:850e:e00:d999:28d1:75b8:5282) joined #scummvm. [05:02] bgKa (~bbouclet@vai69-5-88-183-207-181.fbx.proxad.net) joined #scummvm. [05:02] #scummvm: mode change '+o bgKa' by ChanServ!ChanServ@services. [05:25] pigeon (~pigeon@eth5284.nsw.adsl.internode.on.net) left irc: Ping timeout: 250 seconds [05:49] uruk-hai (~uruk-hai@1F2E88F9.catv.pool.telekom.hu) joined #scummvm. [05:49] #scummvm: mode change '+o uruk-hai' by ChanServ!ChanServ@services. [05:57] Cheeseness (~cheesenes@ppp118-208-248-197.lns20.hba2.internode.on.net) left irc: Quit: Leaving. [06:03] waltervn (~walter@541B5492.cm-5-4b.dynamic.ziggo.nl) joined #scummvm. [06:04] morning [06:04] _marc` (~marc@p4FF78F4F.dip0.t-ipconnect.de) left irc: Ping timeout: 250 seconds [06:44] Lightkey (~jonas@p200300764F71382622CF30FFFE083718.dip0.t-ipconnect.de) left irc: Ping timeout: 260 seconds [06:48] bgKa (~bbouclet@vai69-5-88-183-207-181.fbx.proxad.net) left irc: Ping timeout: 272 seconds [06:55] _sev (~sev@scummvm/undead/sev) left irc: Quit: This computer has gone to sleep [06:57] Lightkey (~jonas@p200300764F71380522CF30FFFE083718.dip0.t-ipconnect.de) joined #scummvm. [07:02] _marc` (~marc@p5DDC746F.dip0.t-ipconnect.de) joined #scummvm. [07:03] SylvainTV (~SylvainTV@ALille-252-1-62-49.w83-198.abo.wanadoo.fr) left irc: Ping timeout: 258 seconds [07:13] pigeon (~pigeon@eth5284.nsw.adsl.internode.on.net) joined #scummvm. [07:13] #scummvm: mode change '+v pigeon' by ChanServ!ChanServ@services. [07:33] ajax16384 (~User@ip90.net176.n37.ru) joined #scummvm. [07:33] #scummvm: mode change '+o ajax16384' by ChanServ!ChanServ@services. [08:03] Cheeseness (~cheesenes@ppp118-208-248-197.lns20.hba2.internode.on.net) joined #scummvm. [08:29] Jon_God (~jon_god@2601:9:6700:4d9:3e07:54ff:fe26:6d61) left irc: Remote host closed the connection [08:41] gsoc tshirt this year is better than I expected, neat [08:48] how did gsoc turn out this year? [08:56] fuzzie, yes :D [08:56] waltervn, pretty good ;) [08:56] i think we were as successfull as last year, if not more [08:57] at least now i was able to finish CGE2... :D [08:59] Good. :) Though, to me personally, any GSoC that doesn't include the "Audio Output Selection" and "MIDI Device Configuration" tasks, is a big disappointment. ;) [09:01] we should just put next cool stuff on the list next year, then the student will be forced to pick those [09:01] *fewer cool stuff [09:01] *less [09:01] _sev|work_ (~sev@scummvm/undead/sev) joined #scummvm. [09:01] #scummvm: mode change '+o _sev|work_' by ChanServ!ChanServ@services. [09:03] _sev|work (~sev@scummvm/undead/sev) left irc: Ping timeout: 245 seconds [09:04] :D [09:04] speaking about it, i have a friend at university who is really interested in things like these [09:04] i won't forget to direct him to our ideas page next semster ;) [09:08] TMM (~hp@fsf/member/pdpc.professional.tmm) joined #scummvm. [09:08] Strangerke|work (51f60aa1@gateway/web/freenode/ip.81.246.10.161) joined #scummvm. [09:08] #scummvm: mode change '+o Strangerke|work' by ChanServ!ChanServ@services. [09:08] hi guys [09:08] hey [09:09] heya :) [09:36] guys! can someone help me a bit with our advanced detector? here's my problem: both soltys and sfinx has vol.* files what are checked when detecting for these games. the problem is that when i "add game.." sfinx (however, thsi problem doesn't manifest in soltys), it brings up a list to choose from sfinx or soltys. if i choose sfinx, it all works perectly, i just want to avoid this list bringing up [09:37] so i decided to check for a certain file in sfinx's data archives, vol.dat [09:37] a file that is not amongst soltys data for sure [09:37] but i don't know where i can do this check [09:38] i suppose i'll have to override one of the functions of AdvancedMetaEngine, i just don't know which one is it [09:39] iirc, there's some pretty insane detection code in Gob, you could give it a look [09:40] There's just a weird detector for Once Upon a Time [09:41] https://github.com/scummvm/scummvm/blob/master/engines/gob/detection/detection.cpp#L84 [09:43] ah, okay, tahnks guys :) [09:59] Cheeseness (~cheesenes@ppp118-208-248-197.lns20.hba2.internode.on.net) left irc: Quit: Leaving. [10:05] Action: uruk-hai summons Strangerke|work [10:24] _sev|work_ (~sev@scummvm/undead/sev) left irc: Quit: This computer has gone to sleep [10:25] _sev|work_ (~sev@proxy-gw-l.booking.com) joined #scummvm. [10:25] _sev|work_ (~sev@proxy-gw-l.booking.com) left irc: Changing host [10:25] _sev|work_ (~sev@scummvm/undead/sev) joined #scummvm. [10:25] #scummvm: mode change '+o _sev|work_' by ChanServ!ChanServ@services. [10:27] D0SFreak (~D0SFreak@172.56.0.152) joined #scummvm. [10:28] bgKa (~bbouclet@vai69-5-88-183-207-181.fbx.proxad.net) joined #scummvm. [10:28] #scummvm: mode change '+o bgKa' by ChanServ!ChanServ@services. [10:33] Deledrius_ (~Deledrius@66-215-182-125.dhcp.rvsd.ca.charter.com) joined #scummvm. [10:33] h00ligan (~User@ip90.net176.n37.ru) joined #scummvm. [10:33] #scummvm: mode change '+o h00ligan' by ChanServ!ChanServ@services. [10:36] ajax16384 (~User@ip90.net176.n37.ru) left irc: Ping timeout: 258 seconds [10:36] Deledrius (~Deledrius@66-215-182-125.dhcp.rvsd.ca.charter.com) left irc: Ping timeout: 258 seconds [10:45] KingGuppy (~kingguppy@2a01:4f8:201:2261::253) joined #scummvm. [10:46] GodGuppy (~kingguppy@2a01:4f8:201:2261::253) left irc: Quit: No Ping reply in 180 seconds. [10:55] Raziel^ (~Raziel@p4FE833F2.dip0.t-ipconnect.de) joined #scummvm. [10:55] #scummvm: mode change '+v Raziel^' by ChanServ!ChanServ@services. [11:11] SylvainTV (~SylvainTV@ALille-252-1-62-49.w83-198.abo.wanadoo.fr) joined #scummvm. [11:11] #scummvm: mode change '+o SylvainTV' by ChanServ!ChanServ@services. [11:13] kaan (~kaan@178.241.55.109) joined #scummvm. [11:31] echelog-1 (~echelog-1@37.205.127.168) left irc: Ping timeout: 246 seconds [11:33] bgKa (~bbouclet@vai69-5-88-183-207-181.fbx.proxad.net) left irc: Ping timeout: 250 seconds [11:35] echelog-1 (~echelog-1@37.205.127.168) joined #scummvm. [11:37] ImperatorPrime (~Imperator@c-24-7-104-182.hsd1.ca.comcast.net) left irc: Quit: Konversation terminated! [11:50] about that putt-putt gm/mt32 bug report: is there an "obvious" thing that would make the user conclude that "ScummVM considers they are MT32"? [11:51] because I'm not sure which symptoms would make you readily conclude that [11:52] hey wjp [11:54] hi [11:55] FWIW, no objections for a new drawer icon of course [11:55] thank you :-) [11:55] although having a top-level icons/ directory is starting to look a bit strange [11:55] (but that has no immediate impact on this PR) [11:58] i'm writing an installer script too for the next release, still hvae to figure out how to tell it to install that drawer a level above the other files :-) [12:02] GitHub192 (~GitHub192@192.30.252.45) joined #scummvm. [12:02] [scummvm] urukgit pushed 1 new commit to master: http://git.io/4_lofw [12:02] scummvm/master 11872df Peter Bozsó: CGE: Remove fallback detection. [12:02] GitHub192 (GitHub192@192.30.252.45) left #scummvm. [12:02] uruk-hai: such commits could really use an explanation of why in the commit message [12:03] oh, sorry :\ [12:04] btw it's to avoid clashing with CGE2's detection and also it's really not needed anymore [12:19] uruk-hai (~uruk-hai@1F2E88F9.catv.pool.telekom.hu) left irc: Quit: Leaving [12:20] GitHub74 (~GitHub74@192.30.252.40) joined #scummvm. [12:20] [scummvm] digitall closed pull request #501: AMIGAOS: Add and make use of a new drawer icon (master...patch-3) http://git.io/ahYV9g [12:20] GitHub74 (GitHub74@192.30.252.40) left #scummvm. [12:20] GitHub93 (~GitHub93@192.30.252.43) joined #scummvm. [12:20] [scummvm] digitall pushed 2 new commits to master: http://git.io/61weaQ [12:20] scummvm/master 01dc551 raziel-: AMIGAOS: Make use of the new drawer icon... [12:20] scummvm/master 2b9a5ca David Turner: Merge pull request #501 from raziel-/patch-3... [12:20] GitHub93 (GitHub93@192.30.252.43) left #scummvm. [12:20] thank you :-) [12:20] can i delete the branch? [12:21] and the two others aswell? [12:21] Nick change: _sev|work_ -> _sev|work [12:23] Raziel^: "two others"? [12:24] droid2727: sorry, i meant the other two branches (patch-1 and patch-2) from former PR's [12:24] yes, you can delete them [12:24] ok, thank you [12:26] kaan (~kaan@178.241.55.109) left irc: Ping timeout: 260 seconds [12:29] wjp: he had "don't use general midi" selected? [12:56] droid2727 (~droid2727@2600:1001:b015:8433:d00e:ceb5:3dff:3762) left irc: Ping timeout: 272 seconds [13:06] Kirben (Kirben@c110-22-51-140.brasd4.vic.optusnet.com.au) left irc: [13:08] droid2727 (~droid2727@2600:1001:b00d:2b50:dd68:9c7d:f86:2844) joined #scummvm. [13:08] #scummvm: mode change '+o droid2727' by ChanServ!ChanServ@services. [13:10] kaan (~kaan@178.241.41.157) joined #scummvm. [13:20] meunierd_ (~dmeunier@dhcp-0-1d-d2-58-1a-54.cpe.sourcecable.net) joined #scummvm. [13:34] MrSiggler (~textual@blk-89-213-45.eastlink.ca) joined #scummvm. [14:23] Strangerke|work (51f60aa1@gateway/web/freenode/ip.81.246.10.161) left irc: Quit: Bbl [14:27] dtcrshr (~datacrush@unaffiliated/datacrusher) joined #scummvm. [14:36] RichieSams|work (407dfa11@gateway/web/freenode/ip.64.125.250.17) joined #scummvm. [14:36] #scummvm: mode change '+o RichieSams|work' by ChanServ!ChanServ@services. [14:44] _marc` (~marc@p5DDC746F.dip0.t-ipconnect.de) left irc: Ping timeout: 272 seconds [15:45] _marc` (~marc@p20030046081F6BFC3C1CF0282650E809.dip0.t-ipconnect.de) joined #scummvm. [15:48] Ooooh [15:48] https://github.com/keedreams/keen [15:49] "This repository contains the source for Commander Keen in Keen Dreams. It is released under the GNU GPLv2+." [15:49] Raziel^ (~Raziel@p4FE833F2.dip0.t-ipconnect.de) left irc: Read error: Connection reset by peer [15:49] Raziel^ (~Raziel@p4FE833F2.dip0.t-ipconnect.de) joined #scummvm. [15:49] #scummvm: mode change '+v Raziel^' by ChanServ!ChanServ@services. [15:55] RUBICN64 (~Android@2601:7:9480:5ba:5805:7235:88fc:a5d9) joined #scummvm. [16:05] RUBICN64 (~Android@2601:7:9480:5ba:5805:7235:88fc:a5d9) left irc: Quit: AndroidIrc Disconnecting [16:08] Nick change: Vampire0_ -> Vampire0 [16:10] D0SFreak (~D0SFreak@172.56.0.152) left irc: Ping timeout: 260 seconds [16:14] nice :D [16:21] WooShell (woo@ipbcc0be82.dynamic.kabel-deutschland.de) joined #scummvm. [16:22] meow =^.^= [16:35] Littleboy (~littleboy@c-174-62-174-218.hsd1.ma.comcast.net) joined #scummvm. [16:35] #scummvm: mode change '+o Littleboy' by ChanServ!ChanServ@services. [16:38] can someone help me understand which compilers support 64 bit byte swapping? [16:38] vs, which ones need a macro definition [16:41] bgKa (~bbouclet@vai69-5-88-183-207-181.fbx.proxad.net) joined #scummvm. [16:41] #scummvm: mode change '+o bgKa' by ChanServ!ChanServ@services. [16:45] D0SFreak (~D0SFreak@172.56.0.152) joined #scummvm. [16:53] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) joined #scummvm. [16:56] RichieSams|work: Why do you need that information? [16:57] to add to endian.h [16:57] to support 64bit swaps [16:58] in order to support stream out of int64 and after some additions to the stream class, float and double [16:59] I really dislike adding the 64-bit functions [16:59] both the macros and the Stream functions [17:00] 64-bit integers aren't supported on every platform we support [17:01] (iirc) [17:02] _sev checked [17:02] and thought they were [17:02] where would I check to find out? [17:05] By checking every toolchain [17:06] But if uint64 is always defined now by configure, then we do assert 64-bit is available already [17:07] Vanfanel (~sddhwo@60.Red-79-144-183.dynamicIP.rima-tde.net) joined #scummvm. [17:08] (and then can ignore what I said altogether) [17:12] 64-bit looks optional in configure still [17:13] Is there someone who knows about the graphics backends? I usually ask LordHoto, but he's not here now [17:13] If we want to make an assertion that 64-bit integers are available, then that should be changed first [17:14] Action: Raziel^ summons LordHoto [17:15] Vanfanel: you should just ask and see if anyone responds, honestly [17:16] droid2727: ok [17:16] thanks for the info [17:17] I could disable the 64 bit sections with a #ifdef [17:17] using the flag from configure [17:17] fuzzie: ok, sorry about that. That's nettiquette I guess. [17:18] RichieSams|work: but then your engine would only work with that feature [17:18] true [17:18] RichieSams|work: Which is why, IMO, you should avoid them [17:19] but would the backends the don't support 64 be able to play the engine at all? [17:19] since it requires doubles [17:20] I mean I guess you could have a FPU that supports doubles [17:20] and not have int64 support [17:21] Ok, I have setup EGL context for GLES1 and GLES2 on the Raspberry Pi, and both are WAY slower (15% CPU usage vs 25%) than dispmanx (native Rpi 2D API) rendering, which I currently have working though my own SDL 1.2.x "hack". So I'm considering another solution, like a modified surfacesdl backend, etc. What other alternatives could I have? [17:21] RichieSams|work: Usually, toolchains for systems without hardware floating point support come with software implementations [17:21] Which are, of course, dead slow [17:21] TMM (~hp@fsf/member/pdpc.professional.tmm) left irc: Quit: Ex-Chat [17:22] What I would like is that Rpi users don't have to install an special libSDL implementation [17:22] but even software implementations of double would require int64, no? [17:22] kurtwr (~kurtwr@c-98-208-17-184.hsd1.ca.comcast.net) left irc: Ping timeout: 245 seconds [17:22] No [17:23] It's not even certain that a double is actually 64bit wide [17:23] these percents are both in Monkey Island intro [17:23] would they massively truncate or do some kind of fixed point with two int32? [17:24] ah true, 64 bit wide is by IEEE standard [17:24] The standard only says that sizeof(double) is not smaller than sizeof(float) [17:24] oh! [17:24] sizeof(double) == sizeof(float) is entirely valid [17:25] /cry [17:25] Vanfanel: can't you just use dispmanx directly? [17:26] so I guess the hacky way would be, for 64 disabled backends, truncate double to floats [17:27] how does that work for saves? [17:27] isn't that what this is about? [17:28] yes [17:28] still can't load a 64-bit integer if it's the type isn't present [17:28] sirlemonhead (~bduncan22@95.44.164.183) joined #scummvm. [17:28] -it's [17:28] RichieSams|work: Also, just dumping the float data to file is bad too [17:28] right [17:28] A float doesn't have to be IEEE [17:29] the plan is to manually serialize as IEEE [17:29] not cast [17:29] then manually deserialize [17:30] and as I said days ago, do we want to assert ieee format across all platforms? [17:30] we don't [17:30] you would do it in software [17:30] not a cast [17:31] you just said to serialize as ieee? [17:31] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) left irc: Quit: „Wahrlich, keiner ist weise, der nicht das Dunkel kennt.“ (Hermann Hesse) [17:31] so, calculate the exponent and significand from the number, store as such (as an int) [17:31] then read as an int [17:32] bitshift to give you the significand and exponent [17:32] and manually calculate the float again [17:33] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) joined #scummvm. [17:34] would that work? [17:34] granted, you would be adding a couple math ops per read [17:34] but how often do we read and write floating point data? [17:36] is the sizeof(float) also not set? [17:36] just sizeof(double) >= sizeof(float) [17:38] Raziel^ (~Raziel@p4FE833F2.dip0.t-ipconnect.de) left irc: Ping timeout: 245 seconds [17:38] RichieSams|work: As far as I know only that [17:39] ah.... [17:39] any thoughts on the manual serialization? [17:40] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) left irc: Quit: „Wahrlich, keiner ist weise, der nicht das Dunkel kennt.“ (Hermann Hesse) [17:40] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) joined #scummvm. [17:43] RichieSams|work: Possible. You can use frexp() to split the float, ldexp() to merge it again [17:44] yea, wjp suggested that the other day. I put together a quick demo and it seemed to work well [17:47] fuzzie: use dispmanx directly in scummvm is what I would like to do now, but there are some difficulties involved. For example, I would still need to call SDL_SetVideoMode() so SDL initialices mouse input. Ok, I can call SDL_SetVideoMode() with a surface size of 0x0, but then, it still creates a visible surface with the monitor's native resolution. No idea why: 0x0 should just initialize input in this case. Then I would have to " [17:55] kurtwr (~kurtwr@c-98-208-17-184.hsd1.ca.comcast.net) joined #scummvm. [17:57] MrSiggler (~textual@blk-89-213-45.eastlink.ca) left irc: Quit: My iMac has gone to sleep. ZZZzzz& [18:04] _sev (~sev@j200077.upc-j.chello.nl) joined #scummvm. [18:04] _sev (~sev@j200077.upc-j.chello.nl) left irc: Changing host [18:04] _sev (~sev@scummvm/undead/sev) joined #scummvm. [18:04] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services. [18:07] kurtwr2 (~kurtwr@c-98-208-17-184.hsd1.ca.comcast.net) joined #scummvm. [18:08] kurtwr (~kurtwr@c-98-208-17-184.hsd1.ca.comcast.net) left irc: Ping timeout: 272 seconds [18:31] kurtwr (~kurtwr@c-98-208-17-184.hsd1.ca.comcast.net) joined #scummvm. [18:31] kurtwr2 (~kurtwr@c-98-208-17-184.hsd1.ca.comcast.net) left irc: Ping timeout: 240 seconds [18:45] Vanfanel (~sddhwo@60.Red-79-144-183.dynamicIP.rima-tde.net) left irc: Ping timeout: 240 seconds [18:51] criezy (~criezy@host86-191-23-28.range86-191.btcentralplus.com) joined #scummvm. [18:51] #scummvm: mode change '+o criezy' by ChanServ!ChanServ@services. [18:52] frankyboy_ (~franky@ppp91-77-75-241.pppoe.mtu-net.ru) joined #scummvm. [19:03] GitHub150 (~GitHub150@192.30.252.34) joined #scummvm. [19:03] [scummvm] RichieSams opened pull request #508: COMMON: Add support for endian-safe reading/writing of int64 (master...add_endian_and_stream_support_for_int64) http://git.io/N3ftNw [19:03] GitHub150 (GitHub150@192.30.252.34) left #scummvm. [19:03] droid2727: pull request created [19:04] I noted your thoughts, but feel free to add others [19:11] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) left irc: Quit: „Wahrlich, keiner ist weise, der nicht das Dunkel kennt.“ (Hermann Hesse) [19:16] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) joined #scummvm. [19:17] bgKa (~bbouclet@vai69-5-88-183-207-181.fbx.proxad.net) left irc: Ping timeout: 272 seconds [19:20] RichieSams|work: But, can you do your floating point value storing without 64-bit? [19:20] that's kind of the point I was trying to make [19:20] avoid the need for a 64-bit requirement altogether [19:21] I don't see how. Other than with a string [19:21] unless there is a way to split it into two 32 bits [19:25] That is why I suggested string last week [19:25] even if it is "crazy" [19:26] and as DrMcCoy said, there's no guarantee 64-bit will be enough [19:26] I guess if we let the string output have a decent amount of digits of precision, the truncation shouldn't be terrible [19:30] D0SFreak (~D0SFreak@172.56.0.152) left irc: Ping timeout: 240 seconds [19:43] uruk-hai (~uruk-hai@1F2E88F9.catv.pool.telekom.hu) joined #scummvm. [19:43] #scummvm: mode change '+o uruk-hai' by ChanServ!ChanServ@services. [19:49] frankyboy_ (~franky@ppp91-77-75-241.pppoe.mtu-net.ru) left irc: Remote host closed the connection [19:50] RUBICN64 (~Android@2601:7:9480:5ba:c86d:db27:7514:1358) joined #scummvm. [19:50] Is this for saving floats again? [19:55] Sylvain (~SylvainTV@ALille-252-1-62-49.w83-198.abo.wanadoo.fr) joined #scummvm. [19:57] SylvainTV (~SylvainTV@ALille-252-1-62-49.w83-198.abo.wanadoo.fr) left irc: Ping timeout: 246 seconds [20:00] yes [20:07] blitter (~blitter@c-24-23-255-133.hsd1.ca.comcast.net) left irc: Read error: Connection timed out [20:08] blitter (~blitter@c-24-23-255-133.hsd1.ca.comcast.net) joined #scummvm. [20:14] SylvainTV: Stop hiding! I see you! [20:26] should be doable to store the significant in two steps as two uint32s [20:27] just shift, floor, cast to uint32, subtract, shift, and cast the rest [20:28] RUBICN64 (~Android@2601:7:9480:5ba:c86d:db27:7514:1358) left irc: Quit: AndroidIrc Disconnecting [20:28] ok, I've got working code that manually converts a double to a uint64 [20:29] I could then shift and split this into two uint32 [20:29] _sev (~sev@scummvm/undead/sev) left irc: Quit: This computer has gone to sleep [20:29] which would remove the need for the int64 stream and endian stuff [20:31] the tricky bit may be getting the infinity, NaN and sign subtleties right [20:31] the sign I've gotten [20:31] infinity and NaN I don't [20:32] http://pastebin.com/wJ1gYZig [20:41] Nick change: Sylvain -> SylvainTV [20:41] #scummvm: mode change '+o SylvainTV' by ChanServ!ChanServ@services. [20:41] _sev (~sev@j200077.upc-j.chello.nl) joined #scummvm. [20:41] _sev (~sev@j200077.upc-j.chello.nl) left irc: Changing host [20:41] _sev (~sev@scummvm/undead/sev) joined #scummvm. [20:41] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services. [20:43] ny00123 (~ny00123@109.66.33.19) left irc: Quit: Leaving [20:44] ny00123 (~ny00123@109.66.33.19) joined #scummvm. [20:45] h00ligan (~User@ip90.net176.n37.ru) left irc: Read error: Connection reset by peer [20:46] uruk-hai (~uruk-hai@1F2E88F9.catv.pool.telekom.hu) left irc: Quit: Leaving [20:46] D0SFreak (~D0SFreak@64.237.51.165) joined #scummvm. [20:50] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) left irc: Quit: „Wahrlich, keiner ist weise, der nicht das Dunkel kennt.“ (Hermann Hesse) [20:51] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) joined #scummvm. [20:52] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) left irc: Client Quit [20:54] working on a split int32 solution [21:00] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) joined #scummvm. [21:03] (you should do a s/significant/significand/ ) [21:10] Wishmaster (Wishmaster@dslb-084-060-123-076.084.060.pools.vodafone-ip.de) left irc: Read error: Connection reset by peer [21:30] pigeon (~pigeon@eth5284.nsw.adsl.internode.on.net) left irc: Read error: Connection reset by peer [21:31] pigeon (~pigeon@eth5284.nsw.adsl.internode.on.net) joined #scummvm. [21:31] #scummvm: mode change '+v pigeon' by ChanServ!ChanServ@services. [21:42] hmm [21:42] wjp: are you still here? [21:43] if I floor and subtract, the conversion becomes lossy [21:43] because of the subtraction [21:45] the other option is jujst to shift twice, without subtracting [21:45] however, that means you're relying on the cast from double to int to truncate properly [21:45] and I don't know if we can trust that [21:45] WooShell (woo@ipbcc0be82.dynamic.kabel-deutschland.de) left irc: Quit: Walking upside down in the sky, between the satellites passing by. Gliding along the black rainbow, I fly away with my shadow. Scratching the moon like a DJ, the night follows its odyssey. [22:00] droid2727 (~droid2727@2600:1001:b00d:2b50:dd68:9c7d:f86:2844) left irc: Ping timeout: 260 seconds [22:00] RichieSams|work: I'm not sure I see the lossiness due to subtraction [22:01] but you can always just use the floor for the cast and keep the original value [22:01] uh, wait, I'm not sure I see that last one actually [22:02] dammit clones [22:04] say your original value is 12345.6789 [22:04] you subtract to get 0.6789 [22:05] the representation of 0.6789 is going to shift the precision [22:06] right, if you keep the original value and keep going [22:06] it will work [22:06] droid2727 (~droid2727@2600:1001:b00d:2b50:dd68:9c7d:f86:2844) joined #scummvm. [22:06] #scummvm: mode change '+o droid2727' by ChanServ!ChanServ@services. [22:07] however, now you're doing a uint32 secondValue = (uint32)veryLargeDouble [22:07] and relying on a truncate to get the 32 lower bits [22:07] pigeon (~pigeon@eth5284.nsw.adsl.internode.on.net) left irc: Ping timeout: 240 seconds [22:09] http://pastebin.com/kewLhPKQ [22:10] wjp: The struct can be packed, I just left it big for simplicity atm [22:11] kaan (~kaan@178.241.41.157) left irc: Ping timeout: 260 seconds [22:12] kaan (~kaan@178.241.54.211) joined #scummvm. [22:16] Large numbers are lossless [22:16] numbers smaller than 1.0 are lossy [22:17] though, the losses are really really small [22:20] _marc` (~marc@p20030046081F6BFC3C1CF0282650E809.dip0.t-ipconnect.de) left irc: Ping timeout: 272 seconds [22:28] I don't understand the purpose of the frexp calls in decodeDouble() [22:30] you're more or less arbitrarily shifting significandTwo now depending on the highest set bit [22:31] (also still note the spelling of significand) [22:31] but bedtime; good night [22:31] funny that i was just discussing something similar to this. using integers to perform math for subpixel movement [22:35] basically using values shifted left 16 bits. so 5 would be 0x50000 and .5 something like 0x08000 then to do 5 times .5 50000*8000 and shift right 16 to get 28000 (2.5) [22:36] pigeon (~pigeon@eth5284.nsw.adsl.internode.on.net) joined #scummvm. [22:36] #scummvm: mode change '+v pigeon' by ChanServ!ChanServ@services. [22:46] Javacat (~Javacat@unaffiliated/javacat) joined #scummvm. [22:56] criezy (~criezy@host86-191-23-28.range86-191.btcentralplus.com) left irc: Quit: criezy [22:57] waltervn (~walter@541B5492.cm-5-4b.dynamic.ziggo.nl) left irc: Quit: night! [22:58] wjp: the completed code [22:59] again, for very small numbers, the algorithm becomes lossy, but they're really small losses [23:00] RichieSams|work (407dfa11@gateway/web/freenode/ip.64.125.250.17) left irc: Quit: driving home [23:02] sirlemonhead (bduncan22@95.44.164.183) left #scummvm. [23:05] Kirben (Kirben@c110-22-51-140.brasd4.vic.optusnet.com.au) joined #scummvm. [23:05] #scummvm: mode change '+o Kirben' by ChanServ!ChanServ@services. [23:12] _sev|work (~sev@scummvm/undead/sev) left irc: Read error: Connection reset by peer [23:12] _sev|work (~sev@scummvm/undead/sev) joined #scummvm. [23:12] #scummvm: mode change '+o _sev|work' by ChanServ!ChanServ@services. [23:14] Cheeseness (~cheesenes@ppp118-208-248-197.lns20.hba2.internode.on.net) joined #scummvm. [23:30] droid2727 (droid2727@2600:1001:b00d:2b50:dd68:9c7d:f86:2844) left #scummvm ("Statement: Good-bye, meatbags!"). [23:42] Jon_God (~jon_god@2601:9:6700:4d9:3e07:54ff:fe26:6d61) joined #scummvm. [23:49] D0SFreak (~D0SFreak@64.237.51.165) left irc: Ping timeout: 255 seconds [23:54] Vanfanel (~sddhwo@246.Red-83-49-175.dynamicIP.rima-tde.net) joined #scummvm. [23:58] meunierd_ (~dmeunier@dhcp-0-1d-d2-58-1a-54.cpe.sourcecable.net) left irc: Quit: meunierd_ [00:00] --- Wed Sep 17 2014