From eloranta at aa6kj.hopto.org Mon Jan 2 10:51:00 2023 From: eloranta at aa6kj.hopto.org (Jussi Eloranta) Date: Mon, 2 Jan 2023 08:51:00 -0800 Subject: [crossfire] flatpak In-Reply-To: <5015322.3AYRbQ5h9F@gros> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <31158895-abba-a019-7a69-fd9b0ea3b69c@aa6kj.hopto.org> <5015322.3AYRbQ5h9F@gros> Message-ID: <9af5f719-5734-ad79-67b2-ee25e519e994@aa6kj.hopto.org> Hi, OK, I managed to get the bare-to-the-bones version of flatpak/flathub system for crossfire going: https://github.com/flathub/net.crossfireatlas.crossfire Do you guys have github accounts? If you do, I can include you with read/write access. So, whenever a change is pushed there, flathub bot will automatically rebuild the package and it will be available at flathub (as an update). Right now, I don't think this is fully live yet (= available at flathub publicly), but it should be soon. I installed the temporary flathub package on my steam deck and that works. There are some packaging related things that should probably be worked on (versioning, better screenshots, icons, etc.) but that will come later - I am stuck playing crossfire again!! :-) I discovered along the way that it is possible to distribute gtk2-based programs but that will require some experimenting. gtk2 is no longer part of the standard flathub runtimes. The above is just for the java client. BTW does the java client support sound? If it does, where should the sound files be placed at? Happy New Year, Jussi Eloranta From eloranta at aa6kj.hopto.org Mon Jan 2 21:13:22 2023 From: eloranta at aa6kj.hopto.org (Jussi Eloranta) Date: Mon, 2 Jan 2023 19:13:22 -0800 Subject: [crossfire] flatpak In-Reply-To: <9af5f719-5734-ad79-67b2-ee25e519e994@aa6kj.hopto.org> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <31158895-abba-a019-7a69-fd9b0ea3b69c@aa6kj.hopto.org> <5015322.3AYRbQ5h9F@gros> <9af5f719-5734-ad79-67b2-ee25e519e994@aa6kj.hopto.org> Message-ID: <64830205-f1c3-a66a-9052-2dd9fef62ba0@aa6kj.hopto.org> Hi, Actually it is now visible on flathub: https://flathub.org/apps/details/net.crossfireatlas.crossfire I also checked that the standard package manager on my deck can see it. Jussi On 1/2/23 08:51, Jussi Eloranta wrote: > Hi, > > OK, I managed to get the bare-to-the-bones version of flatpak/flathub > system for crossfire going: > > https://github.com/flathub/net.crossfireatlas.crossfire > > Do you guys have github accounts? If you do, I can include you with > read/write access. So, whenever a change is pushed there, flathub bot > will automatically rebuild the package and it will be available at > flathub (as an update). > > Right now, I don't think this is fully live yet (= available at > flathub publicly), but it should be soon. I installed the temporary > flathub package on my steam deck and that works. There are some > packaging related things that should probably be worked on > (versioning, better screenshots, icons, etc.) but that will come later > - I am stuck playing crossfire again!! :-) > > I discovered along the way that it is possible to distribute > gtk2-based programs but that will require some experimenting. gtk2 is > no longer part of the standard flathub runtimes. > > The above is just for the java client. BTW does the java client > support sound? If it does, where should the sound files be placed at? > > Happy New Year, > > Jussi Eloranta > > > _______________________________________________ > crossfire mailing list > crossfire at metalforge.org > http://mailman.metalforge.org/mailman/listinfo/crossfire > IRC: http://crossfire.real-time.com/irc/index.html > Discord: http://crossfire.real-time.com/discord/index.html > Project Site: https://sourceforge.net/projects/crossfire/ > Wiki: http://wiki.cross-fire.org/ > Website: http://crossfire.real-time.com > From leaf at real-time.com Mon Jan 2 23:18:20 2023 From: leaf at real-time.com (Rick Tanner) Date: Mon, 2 Jan 2023 23:18:20 -0600 Subject: [crossfire] flatpak In-Reply-To: <9af5f719-5734-ad79-67b2-ee25e519e994@aa6kj.hopto.org> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <31158895-abba-a019-7a69-fd9b0ea3b69c@aa6kj.hopto.org> <5015322.3AYRbQ5h9F@gros> <9af5f719-5734-ad79-67b2-ee25e519e994@aa6kj.hopto.org> Message-ID: <07398d72-495f-eb20-6994-e83a7dba79f5@real-time.com> Thank you very much for all the work and effort on this! > Do you guys have github accounts? If you do, I can include you with > read/write access. So, whenever a change is pushed there, flathub bot > will automatically rebuild the package and it will be available at > flathub (as an update). FWIW, yes, I do at: https://github.com/tannerrj I know others on this list have GitHub accounts as well, but I will let them post if they want to have the access that you mention above. > I installed the temporary flathub > package on my steam deck and that works. There are some packaging > related things that should probably be worked on (versioning, better > screenshots, icons, etc.) but that will come later - I am stuck playing > crossfire again!! :-) Nice to hear! What are some of icons and things that you would like to see improved or updated? > I discovered along the way that it is possible to distribute gtk2-based > programs but that will require some experimenting. gtk2 is no longer > part of the standard flathub runtimes. There is a GTKv3 client branch in the works. Does GTKv3 makes things better, or the same, or worse for FlatHub? NOTE: The client is not ready for public use, quite a few layout bugs and issues need some more work. > The above is just for the java client. BTW does the java client support > sound? If it does, where should the sound files be placed at? Short answer, yes - the Java client supports sounds. However, do you specifically mean the in-game sounds (i.e., foot steps or monster deaths) or the background music files? From eloranta at aa6kj.hopto.org Sat Jan 7 18:17:24 2023 From: eloranta at aa6kj.hopto.org (Jussi Eloranta) Date: Sat, 7 Jan 2023 16:17:24 -0800 Subject: [crossfire] flatpak In-Reply-To: <07398d72-495f-eb20-6994-e83a7dba79f5@real-time.com> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <31158895-abba-a019-7a69-fd9b0ea3b69c@aa6kj.hopto.org> <5015322.3AYRbQ5h9F@gros> <9af5f719-5734-ad79-67b2-ee25e519e994@aa6kj.hopto.org> <07398d72-495f-eb20-6994-e83a7dba79f5@real-time.com> Message-ID: <803f9f76-5457-aa4b-394a-dd5955748c1a@aa6kj.hopto.org> Hi Rick, > FWIW, yes, I do at: https://github.com/tannerrj > > I opened flathub ticket for this. I will let you know when it is completed. > > > What are some of icons and things that you would like to see improved > or updated? > I recall that 128x128 is a requirement (that is what we have) but there are optional sizes that could be provided. So nothing serious. Also, the author is - for now - just crossfire developers. I know > > There is a GTKv3 client branch in the works. Does GTKv3 makes things > better, or the same, or worse for FlatHub? > > NOTE: The client is not ready for public use, quite a few layout bugs > and issues need some more work. > Yes, standard flathub runtimes support gtk3 directly, so that would definitely help. > > Short answer, yes - the Java client supports sounds. However, do you > specifically mean the in-game sounds (i.e., foot steps or monster > deaths) or the background music files? > Well, both. Where should these files be placed so that the java client would pick them up? Best wishes, Jussi Eloranta From nicolas.weeger at laposte.net Sun Jan 8 02:18:18 2023 From: nicolas.weeger at laposte.net (Nicolas Weeger) Date: Sun, 08 Jan 2023 09:18:18 +0100 Subject: [crossfire] flatpak In-Reply-To: <803f9f76-5457-aa4b-394a-dd5955748c1a@aa6kj.hopto.org> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <07398d72-495f-eb20-6994-e83a7dba79f5@real-time.com> <803f9f76-5457-aa4b-394a-dd5955748c1a@aa6kj.hopto.org> Message-ID: <19044227.y0CfubIgkL@gros> Hello. Thanks for the work on flathub :) > > Short answer, yes - the Java client supports sounds. However, do you > > specifically mean the in-game sounds (i.e., foot steps or monster > > deaths) or the background music files? > > Well, both. Where should these files be placed so that the java client > would pick them up? If you build the Java client using the "standard" method, that is gradle, and have the "sounds" repository checked out in the jxclient root (you have jxclient/sounds), then the build process will embed the sounds in the .jar directly. For the background music, I admit I'm not 100% sure. Best regards Nicolas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. URL: From eloranta at aa6kj.hopto.org Sun Jan 8 09:54:09 2023 From: eloranta at aa6kj.hopto.org (Jussi Eloranta) Date: Sun, 8 Jan 2023 07:54:09 -0800 Subject: [crossfire] flatpak In-Reply-To: <19044227.y0CfubIgkL@gros> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <07398d72-495f-eb20-6994-e83a7dba79f5@real-time.com> <803f9f76-5457-aa4b-394a-dd5955748c1a@aa6kj.hopto.org> <19044227.y0CfubIgkL@gros> Message-ID: Hi Rick, On 1/8/23 00:18, Nicolas Weeger wrote: > > If you build the Java client using the "standard" method, that is gradle, and > have the "sounds" repository checked out in the jxclient root (you have > jxclient/sounds), then the build process will embed the sounds in the .jar > directly. > Right now the flathub script is downloading the jar file from sourceforge. I am guessing that this build does not include sound? Jussi From eloranta at aa6kj.hopto.org Sun Jan 8 17:10:12 2023 From: eloranta at aa6kj.hopto.org (Jussi Eloranta) Date: Sun, 8 Jan 2023 15:10:12 -0800 Subject: [crossfire] flatpak In-Reply-To: References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <07398d72-495f-eb20-6994-e83a7dba79f5@real-time.com> <803f9f76-5457-aa4b-394a-dd5955748c1a@aa6kj.hopto.org> <19044227.y0CfubIgkL@gros> Message-ID: On 1/8/23 07:54, Jussi Eloranta wrote: > Hi Rick, > > On 1/8/23 00:18, Nicolas Weeger wrote: Sorry, I meant Nicolas !! :-) Doesn't take much to confuse me... Jussi From leaf at real-time.com Thu Jan 12 15:41:31 2023 From: leaf at real-time.com (Rick Tanner) Date: Thu, 12 Jan 2023 15:41:31 -0600 Subject: [crossfire] flatpak In-Reply-To: References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <07398d72-495f-eb20-6994-e83a7dba79f5@real-time.com> <803f9f76-5457-aa4b-394a-dd5955748c1a@aa6kj.hopto.org> <19044227.y0CfubIgkL@gros> Message-ID: <41655152-7429-398e-71f1-c8657cc1abb8@real-time.com> On 1/8/23 9:54 AM, Jussi Eloranta wrote: > > Right now the flathub script is downloading the jar file from > sourceforge. I am guessing that this build does not include sound? The missing sound support is an error on my side when building the .jar I am working on correcting this and will post an update when I have made some progress. From leaf at real-time.com Fri Jan 13 15:23:55 2023 From: leaf at real-time.com (Rick Tanner) Date: Fri, 13 Jan 2023 15:23:55 -0600 Subject: [crossfire] flatpak In-Reply-To: <41655152-7429-398e-71f1-c8657cc1abb8@real-time.com> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <07398d72-495f-eb20-6994-e83a7dba79f5@real-time.com> <803f9f76-5457-aa4b-394a-dd5955748c1a@aa6kj.hopto.org> <19044227.y0CfubIgkL@gros> <41655152-7429-398e-71f1-c8657cc1abb8@real-time.com> Message-ID: I created a new jxclient .jar file that is available for testing and download from https://sourceforge.net/projects/crossfire/files/jxclient/jxclient-2023-01-12_sounds.jar/download (19.0 MB) SHA1: 7bad57aeb98b40c5c61613e30933cee2d39ff62d Does sounds work for anyone who is available to test that .jar ? I want to make sure it works for others besides me. ;-) From eloranta at aa6kj.hopto.org Fri Jan 13 22:53:56 2023 From: eloranta at aa6kj.hopto.org (Jussi Eloranta) Date: Fri, 13 Jan 2023 20:53:56 -0800 Subject: [crossfire] flatpak In-Reply-To: References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <07398d72-495f-eb20-6994-e83a7dba79f5@real-time.com> <803f9f76-5457-aa4b-394a-dd5955748c1a@aa6kj.hopto.org> <19044227.y0CfubIgkL@gros> <41655152-7429-398e-71f1-c8657cc1abb8@real-time.com> Message-ID: <5a180a29-7981-3f50-4741-55b12ac66d36@aa6kj.hopto.org> Hi Rick, On 1/13/23 13:23, Rick Tanner wrote: > I created a new jxclient .jar file that is available for testing and > download from > > > https://sourceforge.net/projects/crossfire/files/jxclient/jxclient-2023-01-12_sounds.jar/download > (19.0 MB) > > SHA1: 7bad57aeb98b40c5c61613e30933cee2d39ff62d > > Does sounds work for anyone who is available to test that .jar ? I just tried but could not hear any sounds. I also tried unchecking/checking the two sound related options but no cigar. Is there something else that I should do to enable sound? I ran it from console with java -jar ... (no error messages or anything popped up). Jussi From leaf at real-time.com Sun Jan 15 00:00:25 2023 From: leaf at real-time.com (Rick Tanner) Date: Sun, 15 Jan 2023 00:00:25 -0600 Subject: [crossfire] flatpak In-Reply-To: <5a180a29-7981-3f50-4741-55b12ac66d36@aa6kj.hopto.org> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <07398d72-495f-eb20-6994-e83a7dba79f5@real-time.com> <803f9f76-5457-aa4b-394a-dd5955748c1a@aa6kj.hopto.org> <19044227.y0CfubIgkL@gros> <41655152-7429-398e-71f1-c8657cc1abb8@real-time.com> <5a180a29-7981-3f50-4741-55b12ac66d36@aa6kj.hopto.org> Message-ID: On 1/13/23 10:53 PM, Jussi Eloranta wrote: > > I just tried but could not hear any sounds. Sound worked for me on Mac OS. but I could not get sound working under Linux for me - which I figured was a local problem as I could not get any sound to work from any source, so that is why I posted and asked for further testing. There was also confirmation via Discord that sound worked with the client on Windows 11, JRE 8u341. Does anyone have sound working with the JX Client on Linux? If so, care to share any details on your set up or troubleshooting to get sound working? From nicolas.weeger at laposte.net Sun Jan 15 02:13:20 2023 From: nicolas.weeger at laposte.net (Nicolas Weeger) Date: Sun, 15 Jan 2023 09:13:20 +0100 Subject: [crossfire] flatpak In-Reply-To: References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <5a180a29-7981-3f50-4741-55b12ac66d36@aa6kj.hopto.org> Message-ID: <1840333.UCXC4IENOl@gros> Hello. > Does anyone have sound working with the JX Client on Linux? > If so, care to share any details on your set up or troubleshooting to > get sound working? I have sound with JXClient, Debian system (Stretch, pretty old, but shouldn't matter). Nothing specific to do for me to get it working... I _think_ it uses ALSA, but don't bet too much on it ;) As a side note, you can get a daily build from https://crossfire.weeger.org/ jxclient.jar Best regards Nicolas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. URL: From eloranta at aa6kj.hopto.org Sun Jan 15 12:14:37 2023 From: eloranta at aa6kj.hopto.org (Jussi Eloranta) Date: Sun, 15 Jan 2023 10:14:37 -0800 Subject: [crossfire] flatpak In-Reply-To: <1840333.UCXC4IENOl@gros> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <5a180a29-7981-3f50-4741-55b12ac66d36@aa6kj.hopto.org> <1840333.UCXC4IENOl@gros> Message-ID: <53f1b657-6355-3370-cb36-695dcf0ed108@aa6kj.hopto.org> Hi Nicolas, On 1/15/23 00:13, Nicolas Weeger wrote: > I have sound with JXClient, Debian system (Stretch, pretty old, but > shouldn't > matter). > > Nothing specific to do for me to get it working... > > > I _think_ it uses ALSA, but don't bet too much on it ;) > > > As a side note, you can get a daily build fromhttps://crossfire.weeger.org/ > jxclient.jar I tried that one as well but no sound. I am using OpenJDK 19.0.1. Checking audio settings while jxclient is running does not show it using sound. I think that I am missing some piece that goes between ALSA and pipewire/pulseaudio or possibly my ALSA settings are messed up? This is what my alsactl info says: $ alsactl info # # Sound card # - card: 0  id: Generic  name: HD-Audio Generic  longname: HD-Audio Generic at 0x803c0000 irq 69  mixer_name: ATI R6xx HDMI  components: HDA:1002aa01,00aa0100,00100800  controls_count: 28  pcm:    - stream: PLAYBACK      devices:        - device: 3          id: HDMI 0          name: HDMI 0          subdevices:            - subdevice: 0              name: subdevice #0        - device: 7          id: HDMI 1          name: HDMI 1          subdevices:            - subdevice: 0              name: subdevice #0        - device: 8          id: HDMI 2          name: E421VA          subdevices:            - subdevice: 0              name: subdevice #0        - device: 9          id: HDMI 3          name: HDMI 3          subdevices:            - subdevice: 0              name: subdevice #0 alsactl: rawmidi_device_list:105: snd_ctl_rawmidi_next_device Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From eloranta at aa6kj.hopto.org Sun Jan 15 23:08:27 2023 From: eloranta at aa6kj.hopto.org (Jussi Eloranta) Date: Sun, 15 Jan 2023 21:08:27 -0800 Subject: [crossfire] flatpak In-Reply-To: <53f1b657-6355-3370-cb36-695dcf0ed108@aa6kj.hopto.org> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <5a180a29-7981-3f50-4741-55b12ac66d36@aa6kj.hopto.org> <1840333.UCXC4IENOl@gros> <53f1b657-6355-3370-cb36-695dcf0ed108@aa6kj.hopto.org> Message-ID: <8ceddd72-07f8-7ff9-b7b9-393c77aabedc@aa6kj.hopto.org> Hi, OK, got it to work: $ padsp java -jar jxclient.jar Now I am not sure if the flathub runtimes allow me to do this, so more thinking needed. Jussi From leaf at real-time.com Wed Jan 18 10:11:21 2023 From: leaf at real-time.com (Rick Tanner) Date: Wed, 18 Jan 2023 10:11:21 -0600 Subject: [crossfire] flatpak In-Reply-To: <8ceddd72-07f8-7ff9-b7b9-393c77aabedc@aa6kj.hopto.org> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <5a180a29-7981-3f50-4741-55b12ac66d36@aa6kj.hopto.org> <1840333.UCXC4IENOl@gros> <53f1b657-6355-3370-cb36-695dcf0ed108@aa6kj.hopto.org> <8ceddd72-07f8-7ff9-b7b9-393c77aabedc@aa6kj.hopto.org> Message-ID: Thank you to everyone for testing the release and for the feedback. I will make a snapshot release this weekend. FWIW, I found sounds to work (combat sound, walking steps, etc. along with background music) on a stock install of Ubuntu Jammy with the test JX Client build at SourceForge. From eloranta at aa6kj.hopto.org Wed Jan 25 11:42:38 2023 From: eloranta at aa6kj.hopto.org (Jussi Eloranta) Date: Wed, 25 Jan 2023 09:42:38 -0800 Subject: [crossfire] server list In-Reply-To: <8ceddd72-07f8-7ff9-b7b9-393c77aabedc@aa6kj.hopto.org> References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <5a180a29-7981-3f50-4741-55b12ac66d36@aa6kj.hopto.org> <1840333.UCXC4IENOl@gros> <53f1b657-6355-3370-cb36-695dcf0ed108@aa6kj.hopto.org> <8ceddd72-07f8-7ff9-b7b9-393c77aabedc@aa6kj.hopto.org> Message-ID: Hi, Any idea why some servers have dropped off from the server list? Like invidious2.meflin.net used to be there (and the server is alive) but it does not show up anymore. I can connect to that by manually entering the host name. Jussi Eloranta From leaf at real-time.com Wed Jan 25 23:51:11 2023 From: leaf at real-time.com (Rick Tanner) Date: Wed, 25 Jan 2023 23:51:11 -0600 Subject: [crossfire] server list In-Reply-To: References: <10f9ce82-17b0-9753-86a8-ebbd020d63f2@aa6kj.hopto.org> <5a180a29-7981-3f50-4741-55b12ac66d36@aa6kj.hopto.org> <1840333.UCXC4IENOl@gros> <53f1b657-6355-3370-cb36-695dcf0ed108@aa6kj.hopto.org> <8ceddd72-07f8-7ff9-b7b9-393c77aabedc@aa6kj.hopto.org> Message-ID: On 1/25/23 11:42 AM, Jussi Eloranta wrote: > > Any idea why some servers have dropped off from the server list? Various reasons and events happen like... Game servers drop off the list for unknown reasons and do not rejoin or report to the metaserver list until the game server has crash event, stop and restart the game server, or reboot. The primary metaserver has a crash event and game servers need a restart to report or rejoin the metaserver lists. It's like the game server tries to report to the metaserver, fails, and then stops reporting going forward. There is also an issue that if the primary metaserver goes down (crash, network event, reboot for web server update, etc.), game servers do not reporter to the EU list or the secondary US list.