[01:50:07] --- DominusExult is now known as Dominus
[11:57:05] <Dominus> soo... managed to compile Exult for Apple's tvOS... but now need to figure out how the datafiles could ever be transferred. It's not something Apple expects you to do manually. Not to mention that you can't even do anything because we have no controller support (no buttons etc...) and while the new joystick code allows moving around, you can't get to that point
[11:57:30] <Dominus> (without additional mouse movement via the other gamepad control)
[12:12:07] <Dominus> ok, on the tvOS simulator it works nicely and I can get into the game as the desktop keyboard gets attached as a keyboardon the simulated AppleTV
[12:12:29] <Dominus> still can't click on anything but that is already quite nice
[12:39:33] <Dominus> and the biggest hurdle is getting the games on the device :(
[13:10:13] <Marzo> I have some prototype code for controlling the mouse pointer with the other analog stick on a joystick
[13:10:35] <Marzo> But the major issue is that there are several game loops in Exult, and similar code will have to be added to them all
[13:10:47] <Marzo> I think I will instead refactor the input code
[13:34:31] * Dominus nods
[13:35:21] <Dominus> As for AppleTV it's all moot if there is no way to transfer the game files ;(
[13:58:04] <Marzo> I was also thinking of adding some code for multiple joysticks controlling different characters in the party
[13:58:16] <Marzo> Maybe also adding a button to attack using the current weapon
[13:58:38] <Marzo> But it seems too much work for too little gain
[14:12:43] <Dominus> Yes, that sounds neat but really no gain ;)
[14:13:52] <Dominus> It needs to initialize the joystick buttons so you can have a mouseclick and eventually be able to assign buttons to hotkeys
[14:14:09] <Dominus> But really special stuff is overkill ;)
[15:05:02] <Marzo> Initially, I am thinking of having a fixed set of assigned buttons, similarly to the mouse
[15:07:36] <Marzo> Something like A -> left click, B -> double click, X -> right click (but you can just use the left analog stick to move, so it would be more for closing gumps), back -> esc, start -> open save menu?, guide -> show help
[15:08:39] <Marzo> That would leave Y, left and right stick press, left and right shoulder, the dpad, and left and right triggers
[15:11:25] <Marzo> Maybe the dpad could be used to move through menus, similarly to how UltimaHacks does conversations with the keyboard
[15:56:57] <Dominus> yes, that sounds like a good button assignment
[16:07:42] <Marzo> Y could be middle click/target, now that I think about it
[16:46:56] <Marzo> Dominus: out of curiosity, you managed to get exult.flx, exult_bg.flx, and exult_si.flx into your TV?
[16:50:10] <Dominus> yes, those get generated by xcode and placed int he data folder correctly
[16:50:35] <Dominus> I guess I need to see if I get further with https://github.com/eclectocrat/exult-ios/commit/8ce29884340db97bae2eee09db4d578d7218104c
[16:51:22] <Dominus> but that still is not a good solution as this means you can only get it there via xcode uploading the binary and the data files
[20:32:50] <jasonaowen> I feel like there could be a path involving GOG and their unofficial API: sign in to GOG, download the game, and extract the relevant assets
[20:33:02] <jasonaowen> but... that seems like it'd be both complicated and fragile
[20:33:13] <Dominus> yes, they like to muck things up :)
[21:14:46] <Dominus> so... https://stackoverflow.com/questions/58977501/xcode-tvos-error-you-don-t-have-permission-to-save-the-file-filename-txt-in <- this seems to indicate that Exult on AppleTV is just not feasible. It would *need* to come with the games on installation and savegames would *need* to use iCloud to sync
[21:16:26] <jasonaowen> yeah, distribution is hard :(
[21:17:37] <Dominus> yes, impossible without the games
[21:18:08] <Dominus> so ok, if you put the app on your AppleTV yourself but not for us to offer it
[21:18:25] <Dominus> and that puts the userbase at a very low number :)