Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Game Emu Player (foo_gep) by kode54 (Read 273483 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Game Emu Player (foo_gep) by kode54

Reply #425
Hi there, this plugin no longer works in foobar v.1.3.8. Maybe it works in earlier version.

It appears to be working in my environment(foobar2000 v1.3.8 Windows7).
You need to put PMDWin.dll and WinFMP.dll into the directory same as foo_input_fmpmd.dll.

Do you know Japanese? Could you reach out to the author so that he could revisit the plug-in and maintain the update on foobar's site? I think the author's site is at http://c60.la.coocan.jp/, but he has never responded to my request.

Yes, I know Japanese.
However, I can't reach out to the author because I don't know who he/she is.
I DON'T think "http://c60.la.coocan.jp/" is his/her site. It is the site of the author who made PMDWin.dll and WinFMP.dll.


You are totally right. Thanks for pointing the above out. I could play the music files I uploaded now. It even displays the Japanese characters!!! This is so awesome. Thank you so much. It is weird though that the readme file in foo_input_fmpmd_v0.8.0.15.zip pointed out PMDWin.dll and WinFMP.dll are from C60 without providing the actual downloading URL.

Would you be able to tell who the author is to foo_input_fmpmd_v0.8.0.15.zip? The Japanese does not display correctly in my windows 10. Not sure if I have to switch to Non-Unicode Japanese in regions first. I was hoping you could reach out to them and ask them to update their site to show this interaction among the three DLL files.

Thank you so much again.

Game Emu Player (foo_gep) by kode54

Reply #426
Open console and you'll see
Code: [Select]
Warning: [PMDWin] Driver module load failed.
Warning: [WinFMP] Driver module load failed.

Apparently foo_input_fmpmd also requires PMDWin.dll/WinFMP.dll


I am sharing the existing music files I have from this console

https://www.dropbox.com/s/7nwh8mng7ol5cu2/P...0Files.zip?dl=0

All could be played back and even Japanese are displayed in the tags, except for files from "Dragon Knight 4 - PC98". Not that I need to solve this DK4 mystery because I have the music in SPC format as well, but it would be nice to figure out why the three DLLs can't play back the DK4 files.

Game Emu Player (foo_gep) by kode54

Reply #427
First time poster, but I just wanted to run by an issue I've had with the plugin.

From what I can tell, the SPC format seems to override whatever is set for fade-out in the plugin settings, using the file's fade-out instead. Would it be possible to get an override switch of some sort to ignore tagged fades? I'd hate to need to retag my entire library whenever I want to change the fade-out.

Edit: almost forgot, thanks a lot for your hard work! I've been very impressed with the stability of your plugins.

Game Emu Player (foo_gep) by kode54

Reply #428
Fastfourier - don't you use other SPC aware plugin, like foo_zxtune or foo_snesapu? Or foo_game ? It may be caused by the fact that foobar may use the other plugin for processing data.

Game Emu Player (foo_gep) by kode54

Reply #429
Fastfourier - don't you use other SPC aware plugin, like foo_zxtune or foo_snesapu? Or foo_game ? It may be caused by the fact that foobar may use the other plugin for processing data.


No, I don't have those installed, only Kode54's plugins (foo_gep, foo_input_gsf, foo_input_usf). Kode54's plugin is definitely reading the SPC files for their tagged fadeouts, which isn't really a bug (the Winamp plugins do as well), but it would be very desirable to override that.

Game Emu Player (foo_gep) by kode54

Reply #430
Hello,

Why did you removed the ability to mute individual channels in the latest version of GEP ? That sucks, i had to download some 2014 version to get back the channel muting function for VGM musics

Game Emu Player (foo_gep) by kode54

Reply #431
Supporting mute for the latest VGM player will be quite an effort, since the VGM player supports a veritable wealth of chips, all at once, and muting would require stepping through all the chips that are present.

It will require enumerating which chips are enabled in the file, how many channels each has, etc. I will only support muting the first 32 channels, though.

Game Emu Player (foo_gep) by kode54

Reply #432
Hello kode54,

Seems like every time I update the Game Emu Player something newer and better has been added. I'm very thankful that you've put in so much time and effort to consolidate so many plugins into one for foobar2000. How may I send you a donation?

Game Emu Player (foo_gep) by kode54

Reply #433
There's a link to Flattr on the component page

Game Emu Player (foo_gep) by kode54

Reply #434
I also accept Square Cash $kode54, which may work for you since I see you're in the US. So glad I could please you with this software.

Game Emu Player (foo_gep) by kode54

Reply #435
Hi,

This plugin seems to have a memory leak. Anytime I start playing a VGM or GBS file (these are the two formats where I've noticed this thus far anyway), foobar2000's memory usage increases and never drops back down.  If you keep on replaying the same file over and over memory usage will climb a bit more each time upon restarting the track. 

I actually first noticed this when I added a full mirror of the joshw rips (i.e., vgm.joshw.info, etc.) to my media library - foobar actually eventually fails to allocate memory and crashes as it approaches 4 GB of memory in use (!).  In trying to figure out the faulty plugin (since I assumed this was a memory leak of some sort), I also extracted all the rips into their own folders, so I knew the 7-zip unpack plugin wasn't to blame.  So then I started experimenting with playing all the different sound formats and have definitely found these two so far that cause memory to climb and never be released.  I'll also keep looking since I'm not yet sure that this leak would be enough for usage to get so insanely high even with a large library of said files. 

Game Emu Player (foo_gep) by kode54

Reply #436
In monitoring memory usage and the media library as it was being populated, the culprit of the memory leak is definitely the VGM support in GEP.  GBS is very minor in comparison and definitely not enough to cause foobar2000 to exhaust addressable memory, whereas memory usage is steadily climbing at a pretty rapid pace (5-10 MB/sec) as it indexes VGM's.

Game Emu Player (foo_gep) by kode54

Reply #437
Taking a quick look through the foo_gep and Game_Emu_Player source, it looks like you never call unload in several of the emu cores' destructors (Gbs_Emu, Hes_Emu, Nsfe_Emu, Sgc_Emu, and Vgm_Emu - that I spotted), which it appears you are doing in the other core types.  I don't have a development environment set up so I can't easily test but this may essentially be a simple one-line fix for each affected file type.

Game Emu Player (foo_gep) by kode54

Reply #438
Seems to be problems with playback and rendering .VGM with YM2151 chip. Noticeable click in rendered .WAV http://puu.sh/lxY2F.mp3
And FM channels problem, though PCM samples is ok. http://puu.sh/lxYoc.mp3 It's triggered on other tune, but this problem stay over other tracks.

Game Emu Player (foo_gep) by kode54

Reply #439
Confirming the memory leak issue with VGM files -- I recently got a full archive of the set off project2612 and foobar2000 will crash with an out-of-memory error when adding it to the library (it only gets to about 100-200 soundtracks before failing).


Game Emu Player (foo_gep) by kode54

Reply #440
Thank Kode54, I sent you some cash to say thank you for all your great work!

Btw, do you plan on ever adding SNDH (Atari ST) format support to the Game Emu Player. There are a lot of SNDH players (http://sndh.atari.org/players.php), but so far nobody has made a foobar2000 plugin, and it seems fitting to be added to this plugin.

Cheers!

Game Emu Player (foo_gep) by kode54

Reply #441
I see the new version should fix the VGM memory leak - I'll check this tonight when I get home and verify it.  Thanks for the quick turnaround!

Game Emu Player (foo_gep) by kode54

Reply #442
Incidentally, it had nothing to do with the use of unload() functions, or the lack thereof. It had more to do with not calling the correct libvgmplay function to release the actual VGM file data. All chip emulators, and the final container were released, but the file data call was not called.

Then I had to go in and undo a bunch of C99 and C++11 isms that were broken by my step back to MSVC 2010. Alas, maybe for a future version, if and when it comes time to drop Windows XP support.

@TheAlmightyGuru: Thank you for your contribution! I'll look into those formats, but I don't know if there's already a multi-threading safe library for that format. If there's at least a single thread safe library, I can probably spend a few hours converting it to a full state machine emulator with instance structure passed around everywhere, like I've done for numerous other libraries, such as lazyusf (Project 64) and lazyusf2. (mupen64plus)

As for that YM2151 chip, the issue may be with the MAME or whatever emulator library is in use by the libvgmplay code I forked and converted. If it is fixed in the original VGMPlay, I will look into integrating their latest changes into my fork, which won't be an automatic code merge, since I made major changes all around to make it possible to use as a thread safe library.

Game Emu Player (foo_gep) by kode54

Reply #443
Confirmed fixed, thanks again!  I just Flattr'd you given how much use I get out of this and your other plugins for streaming game music rips to devices that have no way of playing them (via foo_upnp and BubbleUPnP for DLNA and internet support).


Game Emu Player (foo_gep) by kode54

Reply #445
Hi. I updated foo_gep from 1.184 to version 1.193 and now foobar2000 crashes when playing certain KSS sets. Sometimes the crash happens on playback, sometimes when stopping/seeking/changing tracks. None of these crashes happened using v1.184 this I can confirm. I couldn't find a proper crash report anywhere so I'll post what I can.

Here's a few post crash messages
Code: [Select]
Problem signature:
  Problem Event Name: APPCRASH
  Application Name: foobar2000.exe
  Application Version: 1.3.9.0
  Application Timestamp: 563765ca
  Fault Module Name: StackHash_8f78
  Fault Module Version: 6.1.7601.19045
  Fault Module Timestamp: 56258e62
  Exception Code: c0000374
  Exception Offset: 000ced0b
  OS Version: 6.1.7601.2.1.0.256.1
  Locale ID: 1033
  Additional Information 1: 8f78
  Additional Information 2: 8f78655a26133635ff6e15e5efa43ae5
  Additional Information 3: 7cd2
  Additional Information 4: 7cd20a739c8b4a3b479d2e83df278959

Read our privacy statement online:
  [url=http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409]http://go.microsoft.com/fwlink/?linkid=104...mp;clcid=0x0409[/url]

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Code: [Select]
Problem signature:
  Problem Event Name: APPCRASH
  Application Name: foobar2000.exe
  Application Version: 1.3.9.0
  Application Timestamp: 563765ca
  Fault Module Name: StackHash_5076
  Fault Module Version: 6.1.7601.19045
  Fault Module Timestamp: 56258e62
  Exception Code: c0000374
  Exception Offset: 000ced0b
  OS Version: 6.1.7601.2.1.0.256.1
  Locale ID: 1033
  Additional Information 1: 5076
  Additional Information 2: 50768a3b7c841346e6a9298d1c310e79
  Additional Information 3: 7736
  Additional Information 4: 77361e96f9313fd3c0cd5ff680890b52

Read our privacy statement online:
  [url=http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409]http://go.microsoft.com/fwlink/?linkid=104...mp;clcid=0x0409[/url]

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Code: [Select]
Problem signature:
  Problem Event Name: APPCRASH
  Application Name: foobar2000.exe
  Application Version: 1.3.9.0
  Application Timestamp: 563765ca
  Fault Module Name: StackHash_9828
  Fault Module Version: 6.1.7601.19045
  Fault Module Timestamp: 56258e62
  Exception Code: c0000374
  Exception Offset: 000ced0b
  OS Version: 6.1.7601.2.1.0.256.1
  Locale ID: 1033
  Additional Information 1: 9828
  Additional Information 2: 9828f4805fe0d32ecece1866b624ed97
  Additional Information 3: 6593
  Additional Information 4: 6593841ea98f47d2a36ad7e96398c081

Read our privacy statement online:
  [url=http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409]http://go.microsoft.com/fwlink/?linkid=104...mp;clcid=0x0409[/url]

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Here is a list of components I have installed
Code: [Select]
Core (2015-11-02 13:34:32 UTC)
    foobar2000 core 1.3.9
foo_albumlist.dll (2015-11-02 13:31:02 UTC)
    Album List 4.5
foo_cdda.dll (2015-11-02 13:30:24 UTC)
    CD Audio Decoder 3.0
foo_converter.dll (2015-11-02 13:30:32 UTC)
    Converter 1.5
foo_dsp_crossfeed.dll (2012-10-08 23:56:20 UTC)
    Crossfeed 1.1.1
foo_dsp_eq.dll (2015-11-02 13:30:52 UTC)
    Equalizer 1.0
foo_dsp_std.dll (2015-11-02 13:30:38 UTC)
    Standard DSP Array 1.3.1
foo_dumb.dll (2015-11-21 23:18:33 UTC)
    DUMB module decoder 1.0.158
foo_fileops.dll (2015-11-02 13:30:04 UTC)
    File Operations 2.2.1
foo_freedb2.dll (2015-11-02 13:30:14 UTC)
    Online Tagger 0.7
foo_gep.dll (2015-12-31 02:29:35 UTC)
    Game Emu Player 1.193
foo_input_adplug.dll (2014-10-29 22:36:49 UTC)
    AdPlug 1.46
foo_input_gsf.dll (2015-03-11 20:27:51 UTC)
    Highly Advanced 2.0.8
foo_input_ht.dll (2015-06-02 22:55:32 UTC)
    Highly Theoretical 2.0.41
foo_input_hvl.dll (2015-02-27 02:39:58 UTC)
    Hively Tracker decoder 1.17
foo_input_mdx.dll (2015-03-14 09:57:51 UTC)
    MDC input 1.1.1
    MDX input 1.3.2
foo_input_s98.dll (2009-04-18 16:37:45 UTC)
    S98 input 1.11
foo_input_std.dll (2015-11-02 13:34:32 UTC)
    Standard Input Array 1.0
foo_input_usf.dll (2015-05-18 03:20:27 UTC)
    LazyUSF 2.2.39
foo_input_vio2sf.dll (2015-03-16 02:16:08 UTC)
    2SF Decoder 0.24.12
foo_midi.dll (2015-11-09 23:15:14 UTC)
    MIDI synthesizer host 1.247
foo_qpsf.dll (2015-11-09 23:11:58 UTC)
    Highly Experimental 2.1
foo_r128norm.dll (2014-10-18 03:20:23 UTC)
    EBU R128 Normalizer 1.11
foo_rgscan.dll (2015-11-02 13:31:02 UTC)
    ReplayGain Scanner 2.2.2
foo_sc68.dll (2015-12-07 04:05:51 UTC)
    sc68 for foobar2000 0.7.0
foo_sid.dll (2015-11-09 23:15:14 UTC)
    sidplay2 1.34
foo_ui_std.dll (2015-11-02 13:34:32 UTC)
    Default User Interface 0.9.5
foo_unpack.dll (2015-11-02 13:30:38 UTC)
    ZIP/GZIP/RAR Reader 1.7.1
foo_unpack_7z.dll (2013-10-22 18:02:22 UTC)
    7-Zip reader 1.10
And here is a list of the sets that crash for what it's worth
Code: [Select]
ASO [Arcade] (1985)(SNK)
Athena [Arcade] (1986)(SNK)
Basugo (MSX)(19xx)(Momonoki House)
Blaster Burn - Budruga Episode 3 (MSX)(1990)(Compile)
D.A.S.S. (MSX)(1993)(MSX-Engine)
Family Stadium (MSX)(1989)(Namco)
Ikari Warriors [Arcade] (1986)(SNK)
Labyrinth - Maou no Meikyuu (MSX)(1987)(Pack-In-Video)
Madou Monogatari (MSX)(1990)(Compile)
Madou Monogatari 1-2-3 (MSX)(1990)(Compile)
Megaz Monkey Do (MSX)(1989)(Compile)
Psycho Soldier [Arcade] (1987)(SNK)
Psycho Soldier JP [Arcade] (1987)(SNK)
Puyo Puyo (MSX)(1991)(Compile)
Randar II - Revenge of Death (MSX)(1989)(Compile)
Randar III - The Adventure of Randar (MSX)(1990)(Compile)
Runemaster 2 (MSX)(1990)(Compile)
Runemaster 3 (MSX)(1991)(Compile)
T.A.N.K [Arcade] (1985)(SNK)
Terra Cresta [Arcade] (YM3526) (1985)(Nichibutsu)
Xevious - Fardraut Saga (MSX)(1992)(Compile, Namco)
Zero Wing [Arcade] (1989)(Toaplan)
Thank you in advance for any help. Happy holidays 
 P.S. Also would you please consider putting up older versions of GEP too (e.g. on kode54.foobar2000.org or someplace handy) along with the newest version in case one wishes to roll back for some reason? Thanks.

Re: Game Emu Player (foo_gep) by kode54

Reply #446
Hi. I updated foo_gep from 1.184 to version 1.193 and now foobar2000 crashes when playing certain KSS sets. Sometimes the crash happens on playback, sometimes when stopping/seeking/changing tracks. None of these crashes happened using v1.184 this I can confirm. I couldn't find a proper crash report anywhere so I'll post what I can.

[...]

Disregard this post. The problem was on my end with my laptop. It is resolved now.

Re: Game Emu Player (foo_gep) by kode54

Reply #447
Thx Kode54 as always for my favorite Foobar 2000 plugins ^_^

Re: Game Emu Player (foo_gep) by kode54

Reply #448
Hi. I updated foo_gep from 1.184 to version 1.193 and now foobar2000 crashes when playing certain KSS sets. Sometimes the crash happens on playback, sometimes when stopping/seeking/changing tracks. None of these crashes happened using v1.184 this I can confirm. I couldn't find a proper crash report anywhere so I'll post what I can.

[...]

Disregard this post. The problem was on my end with my laptop. It is resolved now.
Could you elaborate on this? I'm on a brand new computer and getting the same crash with .kss sets. The sets that don't crash play completely wrong or don't play at all, though otherwise gep works great as usual.

Re: Game Emu Player (foo_gep) by kode54

Reply #449
Looks like somewhere between the version I was using mid-last-year and now, Interpolation broke, it's now stuck on for SPC tracks. Doesn't matter what I set it to (e.g. "None"), it's clearly always on (not sure what it's stuck on to, just that it's clearly on).