mer-curious Posted December 23, 2021 Posted December 23, 2021 Hey Tux! Thank you so much for the latest 0.92.4 update. I've just tried it and couldn't find more issues with the controllers. I also tested Captain Commando with my four controllers plugged in at the same time and everything was fine as far as I've tested. So hopefully everything is fixed for the time being. 🙏 Except this, I've stumbled upon a weird bug while loading a save-state in KoF'97. Suddenly after loading this state many conflicting voice samples are heard in the game (they seem to be from the character Kyo, but he is not even in the match). I don't know if you'll be able to fix it because the issue might be already triggered in this save file. Anyway, here you have it if you'd like to check it eventually: https://drive.google.com/file/d/10wEwA7_9QGo08ut-SRUMoKiNUCVr8Cmi/view?usp=sharing That's it for this brief feedback. Thank you so much again for your time. 👍
Tux Posted December 23, 2021 Author Posted December 23, 2021 (edited) Glad to know this controller problem is finally in the past, I think I'll take a little break and look at what you found later. It's strange you find it now with all the tests you have done with the neogeo/neocd driver, nothing has changed recently in the way things are saved for this driver, so why now ? And if it's something which is not saved then maybe it can be reproduced only if I load it from the same place as you ! Anyway didn't test it yet, I'll look into it later. On my side when I tested with kof98, I loaded kof98 neogeo first and had a crash the 1st time. The crash happened at the very beginning of a fight, probably dependent on the background scenery, I have not been able to reproduce it, but there might be other problems to find then... ! edit : more info needed, when did you create this save ? With latest version ? Edited December 23, 2021 by Tux
mer-curious Posted December 24, 2021 Posted December 24, 2021 12 hours ago, Tux said: edit : more info needed, when did you create this save ? With latest version ? Hey Tux! Thanks for the fast reply. This save was created using the latest 0.92.4 version. I might have probably made a few load states before in this turn, but everything went well until I reached this stage, saved and then when I loaded I had this random voice samples loaded there too. I still haven't experienced something similar in KoF'98, but I'll let you know if I do. Thanks again for your attention. 👍
Tux Posted December 24, 2021 Author Posted December 24, 2021 (edited) Well apparently the status of the ym2610 (the sound chip used by neogeo/neocd games) isn't saved, I had even forgotten it was not saved because it's extremely rare to have a problem of restoration with it. Actually the fm part is saved, but it's almost never used in these games. The reason why is it's a mess of pointers inside. To sum up : you were just out of luck on this one ! I'll see if things can be improved at least a little... Ok, just added save ability for quite a few sound chips, including the 2610 required here, but quite a few at the same time. These were things to do for a very long time, but since it's boring and I had to find a way to translate some pointers 1st, it stayed like that for ages. For the pointers I simply manually added a name field so it can now recognize them. I didn't test everything, some games didn't even save the z80 ram, so it was sure to loose all sound in most cases when loading a savegame (all the gunbird driver and quite a few toaplan2 games were like that). Anyway it should have been done long ago, but better now than never ! Edited December 24, 2021 by Tux 1
Tux Posted December 29, 2021 Author Posted December 29, 2021 Slow progress, while I was in the audio functions, I added the ability to change the audio driver and the audio device from the gui. For the device, most computers have only the default sound card, but for the one I have plugged to a tv, it has actually 4 devices, 1 for the analog output, 1 for the digital output (the digital plug behind the computer, that's the one I have been using for many years), 1 for hdmi 0, and the last for hdmi 1, these 2 hdmi being what the video card exports. Which finally allows me to switch easily the sound between the stereo and the tv, I had never actually used the sound output on the hdmi until now on this setup, it doesn't sound bad... For the driver, it shouldn't be useful for most users, for wndows it's directsound by default. For linux it's pulseaudio if possible, otherwise alsa, otherwise dsp. The names of the output devices change depending on the selected audio driver... ! And each audio driver can have a preferred frequency, so the default frequency changes with it. Also the neocd raw audio tracks which worked previously only if you had set your audio output at 44.1 Khz (cd quality), now work with any output frequency, and it doesn't sound bad at 11 Khz actually ! (at least for the game which I tested, which was viewpoint). The conversion for the wav/mp3/ogg/flac format was already done automatically, there was only this raw format which had no conversion and which required 44.1 Khz output. 2
Tux Posted January 2, 2022 Author Posted January 2, 2022 Very old stuff : I found lately a forgotten file in the git repository, galaxian.c in the sound directory which was a beginning of the emulation of the sound for galaxian, which I had started around 2007, and then completely forgotten, it was imported in the initial commit to git in 2009 and I didn't even notice ! At that time I had given up the idea because the sound for galaxian is quite crazy, there is no sound command, no dedicated cpu for the sound, and the main cpu directly plays with frequencies to generate sounds. Which means you have some basic square signal generated at a very low frequency which must be converted to a playable frequency, and then it changes the base frequency of the signal in real time... ! Add to that that the background sound you hear during gameplay is generated by 3 samples playing at the same time at slightly different frequencies, + 2 channels for the sounds, controlled by timers too because otherwise it's not fun... ! Since I was busy with sound options lately and I felt more comfortable with sample rate conversions, I gave it another try, and this time it's good, galaxian finally has an emulated sound. By the way this game is supposed to date from 1979, it's amazing what such an old game can do ! Until now it had only emudx samples, but it really felt incomplete, in the real game you have a background sound which slowly accelerates when there are fewer and fewer enemies on screen, that was really missing from the emudx version. You can still choose to have emudx sprites and/or emudx sound to compare anyway ! 2
_MADrigal Posted January 9, 2022 Posted January 9, 2022 That's really good to see you back in action! Unfortunately I have bad news. Tested the latest 64-bit build of Raine on my Windows 10 x64 and none of the DX versions of the game work. The emulator closes automatically with no error message. I have placed the .dx files in the same folder as the raine executable. I am happy to help with some beta-testing if you tell me how to (eg can generate and send you a logfile if you can tell me how to do it) Eager to try the DX games on this new Raine!
Tux Posted January 9, 2022 Author Posted January 9, 2022 2 hours ago, _MADrigal said: That's really good to see you back in action! Unfortunately I have bad news. Tested the latest 64-bit build of Raine on my Windows 10 x64 and none of the DX versions of the game work. The emulator closes automatically with no error message. I have placed the .dx files in the same folder as the raine executable. I am happy to help with some beta-testing if you tell me how to (eg can generate and send you a logfile if you can tell me how to do it) Eager to try the DX games on this new Raine! Don't worry it's been fixed on december 31st already, but it's a slow time for now, hesitating between a few options, so finally except hesitating I haven't done much since January 3rd ! Oh well, I'll release a new binary so you'll get the fixes for that. For info, I talked with Mike about the 1st screen of donkey kong (when you insert a coin) and a few other things too. What there is now is not optimal, because all the game sprites are not available in the dx version so I can't draw what I want on screen. I think the best option is to revert to the emulated graphics just for this screen, and start the emudx game only once kong is at the top of the ladders and has jumped. But I didn't do it yet, so you'll get the "in between" version, with ladders drawing and disappearing while kong is climbing, really not optimal... And galaxian sound too... Anyway ! 1
_MADrigal Posted January 10, 2022 Posted January 10, 2022 Thanks, good news For some reason I was not notified of your response - I apologise in advance if I miss to reply to your posts in the future.
Tux Posted January 10, 2022 Author Posted January 10, 2022 2 hours ago, _MADrigal said: Thanks, good news For some reason I was not notified of your response - I apologise in advance if I miss to reply to your posts in the future. mail notification ? It probably arrived in your spam folder. Try to find it there, use the button to tell it's not a spam and next time it should work... By the way the forum also displays a kind of popup if you leave a window open on a subject to tell you a new reply has arrived, it's not a window popup though, you have to display the forum's window to see it. 1
_MADrigal Posted February 21, 2022 Posted February 21, 2022 (edited) On 1/10/2022 at 7:43 PM, Tux said: mail notification ? It probably arrived in your spam folder. Try to find it there, use the button to tell it's not a spam and next time it should work... By the way the forum also displays a kind of popup if you leave a window open on a subject to tell you a new reply has arrived, it's not a window popup though, you have to display the forum's window to see it. Quick one. Looking for old documentation, in particular trying to find out when the EmuDX support was first added. Is there a complete changeslog/history anywhere? Tried on the rainemu main website but can't find it. Maybe in old raine zipfiles? Edit: found old source code - October 2004 Edited February 21, 2022 by _MADrigal
Tux Posted February 21, 2022 Author Posted February 21, 2022 5 hours ago, _MADrigal said: Quick one. Looking for old documentation, in particular trying to find out when the EmuDX support was first added. Is there a complete changeslog/history anywhere? Tried on the rainemu main website but can't find it. Maybe in old raine zipfiles? Edit: found old source code - October 2004 Yeah well my git log starts in 2009, and there is a gap of a few years when I didn't use any source control tool, so I couldn't answer better than that. 2004 you say ? Quite old, but it didn't get a lot of love in all these years though ! (even the change I thought about for dkong, finally I gave it up for now).
Neville Posted February 21, 2022 Posted February 21, 2022 (edited) Ooops. Wrong thread. Edited February 21, 2022 by Neville
_MADrigal Posted February 23, 2022 Posted February 23, 2022 On 2/22/2022 at 5:46 AM, Tux said: Yeah well my git log starts in 2009, and there is a gap of a few years when I didn't use any source control tool, so I couldn't answer better than that. 2004 you say ? Quite old, but it didn't get a lot of love in all these years though ! (even the change I thought about for dkong, finally I gave it up for now). Yeh those were the golden years where you were starting your activity on Raine and I remember you struggled with tons of bugs in the first releases, those were early days and every release was like a blessing full of ton of fixes and new games. And those were the times of Zzap!Raine so we were constantly keeping an eye for new games and updates. I could not thank you and Mike enough for incorporating EmuDX into Raine! I love it!
Tux Posted February 23, 2022 Author Posted February 23, 2022 3 hours ago, _MADrigal said: Yeh those were the golden years where you were starting your activity on Raine and I remember you struggled with tons of bugs in the first releases, those were early days and every release was like a blessing full of ton of fixes and new games. And those were the times of Zzap!Raine so we were constantly keeping an eye for new games and updates. I could not thank you and Mike enough for incorporating EmuDX into Raine! I love it! Hehe, thanks for that, I forwarded the link to Mike ! 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now