AIMP Forum

AIMP for PC => Плагины / Plugins => Дополнения / Addons => Декодеры / Decoders => Topic started by: Lex Xie on July 12, 2026, 15:56:35

Title: 【Help Needed】aimp_gsf_plugin fixing -0714 updated
Post by: Lex Xie on July 12, 2026, 15:56:35
Hi Everyone,

Good day!
I posting my help needed here since there are many experts here and maybe someone will interested in it's fixing or re-build.

The thing is, despite there is a converter, I built a GSF decoder .minigsf decoder by AI based on my requirements. After struggled many days, finally I got a half-finished plugin.
Some music can play, some play silence only, while some even crash the player...
I attempted many times but faild to fix it.
Hopefully anyone can help to fix or re-build it, thank you in advance.
Attaching the pre‑compiled DLL and .minigsf music sample for your testing.

Note:To enable play .minigsf,
1.Place aimp_gsf.dll under AIMP\Plugins\aimp_gsf folder.
2.Place zlib1.dll in the root directory of AIMP.

Get the source code here, it maybe a mess as its AI generated —— https://github.com/A1130155732/aimp_gsf_plugin-half (https://github.com/A1130155732/aimp_gsf_plugin-half)

Apologize for updating again. This 2 times I was lucky that the AI went right direction, rather than running further and further in the wrong way.

Currently only music from certain games is playable. My personal test results are as follows
 (not a complete list – I only selected a few of my favorite tracks, so it is possible that some tracks from the same game work while others do not):

0715 update: tested some popular? game titles, still many issues :o...
Supported game music:
  • Yggdra Union – works
  • The Legend of Zelda: The Minish Cap– works
  • Pokémon Sapphire– works
  • Black Matrix Zero – works
  • Riviera: The Promised Land– works
  • Super Robot Taisen OG2 – works 7.13 fixed
  • Gyakuten Saiban – works
  • Lunar Legend– works 7.14 fixed
  • Oriental Blue: Ao no Tengai– works
  • Breath of Fire– works
  • Ninja Five-O– works
  • Advance Wars– works
  • Sonic Advance– works
  • Mario and Luigi - Superstar Saga– works
  • Final Fantasy V Advance– works
  • Mega Man Zero 2– works
  • Kirby and the Amazing Mirror– works
  • Super Circuit– works
  • Final Fantasy Tactics Advance– works
  • Tales of Phantasia– works

Unsupported game music:

Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Soolo on July 13, 2026, 09:28:47
https://aimp.ru/?do=catalog&rec_id=627
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Lex Xie on July 13, 2026, 14:00:47
https://aimp.ru/?do=catalog&rec_id=627

thank you for the reply, not for the .GSF file but for .minigsf file. let me edit my post also.
sorry for the inconvenience caused.
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Soolo on July 13, 2026, 14:08:59
Can you share examples of .minigsf files?
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Lex Xie on July 13, 2026, 14:35:02
Can you share examples of .minigsf files?

sure, I've attached 3 sample games music, along with the latest plugin.
Kindly check.
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: MCW on July 13, 2026, 19:59:03
Установил в AIMP_6.00.3071_Beta_4 плагин aimp_gsf, в списке Плагины / Декодеры он присутствует и активирован. Для треков из папок 宝可梦蓝宝石 и 超级机器人大战OG2 в плейлисте есть их технические данные, для треков из папки 铸剑物语3 параметров треков нет.

Но самое главное не один трек не воспроизводится в проигрывателе, в отличии от foobar2000 + foo_input_gsf.
Скорее всего в плагине не хватает какой то библиотеки, если сравнивать их размеры (aimp_gsf.dll = 232 кБ и foo_input_gsf.dll = 570 кБ).
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Artem on July 13, 2026, 20:14:33
Установил в AIMP_6.00.3071_Beta_4 плагин aimp_gsf, в списке Плагины / Декодеры он присутствует и активирован. Для треков из папок 宝可梦蓝宝石 и 超级机器人大战OG2 в плейлисте есть их технические данные, для треков из папки 铸剑物语3 параметров треков нет.

Но самое главное не один трек не воспроизводится в проигрывателе, в отличии от foobar2000 + foo_input_gsf.
Скорее всего в плагине не хватает какой то библиотеки, если сравнивать их размеры (aimp_gsf.dll = 232 кБ и foo_input_gsf.dll = 570 кБ).

На вскидку, эта DLL-ка требует только kernel32.dll.
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: MCW on July 13, 2026, 20:29:41
На вскидку, эта DLL-ка требует только kernel32.dll.
Имелось в виду не системные, а которая работает с gsf.
Тогда уж проще спросить, у кого нибудь воспроизводятся треки в предложенной конфигурации?
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Алексей Долматов on July 13, 2026, 21:17:19
Quote
- The add-on supports only single-file formats. To play multi-file formats (e.g. *.minipsf + *.psflib) you may archive all files into any supported archive (zip, 7z, tar, gz, rar) optionally changing the extension of the archive to a supported extension (e.g. *.psf).
Что-то на этом этапе у меня плеер вообще завис на открытии файлов из 铸剑物语3. Потреблял много памяти и нагружал процессор. В итоге, обработал (открыл) и воспроизвёл. Для 112 файлов получилось 2 ГБ памяти. При одновременном просмотре сведений и до 3 ГБ доходило. Потом падает до стандартных мегабайтов. Одиночно всё гораздо быстрее. Как небольшой обычный файл.

Файл AGB-B3CJ-JPN.gsflib обязательно должен быть, иначе плагин не сможет прочитать minigsf и выдаст ошибку декодирования.
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Artem on July 13, 2026, 21:19:41
А через Zxtune эти gsf не проигрываются?
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Алексей Долматов on July 13, 2026, 21:21:24
foobar2000 + foo_input_gsf
Quote
The .MINIGSF format requires its accompanying .GSFLIB files to be present in the same form as they were packaged by the ripper, usually the same directory.
Похоже, в этом и отличие. Плагин для AIMP следует логике оригинальной библиотеки, подгружая GSFLIB из архива. Плагин для foobar2000 умеет подгружать одноимённые файлы из директории, нет необходимости упаковывать в архив.
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Алексей Долматов on July 13, 2026, 21:25:59
А через Zxtune эти gsf не проигрываются?
Я использовал указанный плагин-декодер BASSZXTUNE v2.4.10.
"Напрямую" minigsf им не поддерживаются. Как понимаю, потому что не содержат необходимых данных, в отличии от полноценных gsf.
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Lex Xie on July 14, 2026, 02:58:31
But most importantly, none of the tracks are played back by the player, unlike foobar2000 + foo_input_gsf.
It’s likely that the plugin is missing some necessary libraries. If we compare their sizes, we see that aimp_gsf.dll is 232 KB, while foo_input_gsf.dll is 570 KB.

Yes, that's an issue too, but I have no idea what's going on. Even the fact that the plugin itself can play some songs feels like a miracle to me...
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Lex Xie on July 14, 2026, 03:21:10
And these GSF files can’t be played through Zxtune?

Currently the Zxtune support .GSF, not support .minigsf.
The original foobar2000 + foo_input_gsf supports both .GSF and .minigsf, but it will be too difficult for me to extend the .GSF support.
Also since Zxtune already support .GSF, I removed .GSF detect from the code.
Title: Re: 【Help Needed】aimp_gsf_plugin fixing
Post by: Soolo on July 14, 2026, 08:34:17
если упаковать файлы .minigsf и .gsflib в zip-архив, затем полученный файл переименовать в .gsf - AIMP с плагином zxtune такой файл играет, но не может разбить на отдельные треки.
Title: Re: 【Help Needed】aimp_gsf_plugin fixing -0714 updated
Post by: MCW on July 14, 2026, 14:22:27
Yes, that's an issue too, but I have no idea what's going on. Even the fact that the plugin itself can play some songs feels like a miracle to me...
У меня данный плагин (aimp_gsf) не воспроизводит все файлы (*.minigsf и *.gsf) из sample music.
Title: Re: 【Help Needed】aimp_gsf_plugin fixing -0714 updated
Post by: Алексей Долматов on July 14, 2026, 15:11:18
По проекту "aimp_gsf_plugin".

Указано, что нужна библиотека zlib. Почему нельзя разместить в репозитории плагина или в теме? Также отсутствует поиск в папке плагина, что несколько неправильно для зависимой библиотеки. Лучше скомпилировать актуальную версию самостоятельно. Предлагаемый сайт (https://www.winimage.com/zLibDll/index.html) содержит версию 1.2.3 вместо 1.3.2 на основном сайте.
После "установки" zlib плагин начинает воспроизводить файлы minigsf.

Плагин только x86 (32 бита). Пришлось проверять на портативной (чистой) установке 5.40.2722.
Title: Re: 【Help Needed】aimp_gsf_plugin fixing -0714 updated
Post by: MCW on July 14, 2026, 16:43:10
После "установки" zlib плагин начинает воспроизводить файлы minigsf.

Поэтому и писал
Скорее всего в плагине не хватает какой то библиотеки

и согласен с
Почему нельзя разместить в репозитории плагина или в теме?

и указать где должен размещаться zlib.dll (корневая папка AIMP.)
Title: Re: 【Help Needed】aimp_gsf_plugin fixing -0714 updated
Post by: Lex Xie on July 14, 2026, 17:58:50
With this plugin (aimp_gsf), not all files in the sample music folder (*.minigsf and *.gsf) can be played.
exactly, currently only certain games music are supported and I attahced one of them. Still trying to ask AI fix it but no progress till now...
Title: Re: 【Help Needed】aimp_gsf_plugin fixing -0714 updated
Post by: Lex Xie on July 14, 2026, 18:08:45
After “installing” zlib, the plugin begins playing minigsf files.
And indicate where zlib.dll should be placed (in the root directory of AIMP).

Sorry for the inconvenience caused and thanks for the information, I'll add the shared one to the post and add the note to readme.


The plugin is only available for x86 (32-bit) systems.
I just realized there was  64-bit version...long time ago there was only 32-bit version, I use the update fuction in the AIMP itself and seems the app itself applied the 32-bit version update...