Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > FamiTracker Talk > Hoot and NSF Owner: davidbelmont New post
Page 1 of 1 Sort:  
Hoot and NSF Posted: 2015-01-06 17:44 Reply | Quote
davidbelmont



Member for: 2723 days
Location: Finland
Status: Offline

#64748
I found another thread on the same topic on these forums (http://famitracker.com/forum/posts.php?id=4409), so I'm being hopeful someone can help me with this spectacular piece of software.

I want to use NSF files with Hoot, but even after researching the topic, I haven't been able to make things go my way. Here's what I've been doing:

I'm using the NSF rip from Silver Surfer (renamed as silversurf.nsf) as my test file (downloaded from Zophar). First I run silversurf.nsf through VGMToolBox's Hoot XML Builder tool which generates me a XML file (silversurf.xml) which should contain the minimum info that Hoot requires. I modify the XML a bit and place it into the XML folder which is in the Hoot root folder. After this I pack silversurf.nsf in silversurf.zip and place it into the nes folder in Hoot root folder.

Here's a rundown of silversurf.xml:

[quote=]<?xml version="1.0" encoding="utf-8"?>
<game>
<name>[NES] Silver Surfer (Siruvata Surafura) (2A03)</name>
<driver type="nsf">nes</driver>
<driveralias type="NES">silversurf</driveralias>
<romlist archive="silversurf">
<rom type="code">silversurf.nsf</rom>
</romlist>
<titlelist>
<title code="0x00">BGM #00</title>
<title code="0x01">BGM #01</title>
<title code="0x02">BGM #02</title>
<title code="0x03">BGM #03</title>
<title code="0x04">BGM #04</title>
<title code="0x05">BGM #05</title>
<title code="0x06">BGM #06</title>
<title code="0x07">BGM #07</title>
<title code="0x08">BGM #08</title>
</titlelist>
</game>[/quote]

Everything should be ok, but isn't?? I have no particular reason why I'd like to NSF files with these piece of software, but I've spent so much time trying to make this work, that I might lose my mind if I can't figure this out! Any help much appreciated!!

RE: Hoot and NSF Posted: 2015-01-06 19:00  (Last Edited: 2015-01-06 19:04) Reply | Quote
Shywolf



Member for: 4098 days
Status: Offline

#64749
You must include the silversurf.xml in the list of .xmls in the hoot.xml file in the Hoot root folder.

Alternatively, you can avoid all of this trouble and literally drag and drop .nsfs onto the Hoot main window.

Anyways, I still recommend the generally more accurate NSFPlay 2.3 instead for playing .nsfs.

RE: Hoot and NSF Posted: 2015-01-06 20:39 Reply | Quote
davidbelmont



Member for: 2723 days
Location: Finland
Status: Offline

#64750
Hi Shywolf,

Yeah, I tried NSFPlay after reading your comment on the previous thread and it didn't feel bad at all.

YET

I forgot to mention I actually also tried adding the XML file on hoot.xml. This is what I added under the <childlists> tag under letter S:

[quote=]<list>xml/silversurf.xml</list>[/quote]

Should be exactly right? Still no effect...

Thanks for the tip about dragging & dropping. I might declare this as partial victory.

RE: Hoot and NSF Posted: 2015-01-06 22:31 Reply | Quote
Shywolf



Member for: 4098 days
Status: Offline

#64751
Oh, OK, I've got it. It seems that that .xml generator doesn't add the <gamelist></gamelist> tags that need to go around the <game></game> tags in the .xml. When added like so:

[quote=]<?xml version="1.0" encoding="utf-8"?>
[b]<gamelist date="2015/01/06">[/b]
<game>
<name>[NES] Silver Surfer (Siruvata Surafura) (2A03)</name>
<driver type="nsf">nes</driver>
<driveralias type="NES">silversurf</driveralias>
<romlist archive="silversurf">
<rom type="code">silversurf.nsf</rom>
</romlist>
<titlelist>
<title code="0x00">BGM #00</title>
<title code="0x01">BGM #01</title>
<title code="0x02">BGM #02</title>
<title code="0x03">BGM #03</title>
<title code="0x04">BGM #04</title>
<title code="0x05">BGM #05</title>
<title code="0x06">BGM #06</title>
<title code="0x07">BGM #07</title>
<title code="0x08">BGM #08</title>
</titlelist>
</game>
[b]</gamelist>[/b][/quote]
It should (and does, at least for me) show up in the list.

RE: Hoot and NSF Posted: 2015-01-06 23:05 Reply | Quote
davidbelmont



Member for: 2723 days
Location: Finland
Status: Offline

#64752
Sadly I have to report even after adding the <gamelist> tag, the game doesn't show up on the list. Could there be something fishy in my hoot.ini? I've downloaded a XML package from [url=http://hoot.joshw.info/]this site, which seems to contain a custom hoot.ini and hoot.xml.

RE: Hoot and NSF Posted: 2015-01-06 23:33 Reply | Quote
Shywolf



Member for: 4098 days
Status: Offline

#64754
[quote=davidbelmont]Could there be something fishy in my hoot.ini?[/quote]
Yup, that seems to be it. At the top of that file (as downloaded from that hoot.joshw.info repository), there is this string:

[quote=]data_dir=roms;x68k;msx;pc88;pc98;x1;mucom88;pc;pc9821;pc88va;fm7;fmtowns;w:\muzyka\zzz_players\m1\roms[/quote]

This is a list of the root folders that hoot will check for files in. "nes" isn't in that list, so add it like so:
[quote=]data_dir=roms;x68k;msx;pc88;pc98;x1;mucom88;pc;pc9821;pc88va;fm7;fmtowns;w:\muzyka\zzz_players\m1\roms[b];nes[/b][/quote]
Then close and re-open Hoot, and it should finally show up after a <ctrl-r>.

RE: Hoot and NSF Posted: 2015-01-07 14:07 Reply | Quote
davidbelmont



Member for: 2723 days
Location: Finland
Status: Offline

#64763
While waiting for your previous reply I also noticed the data_dir option and the absence of nes string. I tried adding the nes, but I might've forgot to type the semicolon or push ctrl+r in Hoot, since there was yet no result. I tried this again after your suggestion and NOW IT FINALLY WORKS THANK YOU SO MUCH. It is infuriating how these extremely little things can block the system from working and now that it works I actually have no real use for this, but atleast it works now!!!

And just for the heck of it; bonus question: how can I make Hoot run SPC files?? I doubt very much it is as easy as it is described in the snesmusic.org Hoot FAQ...

RE: Hoot and NSF Posted: 2015-01-07 23:28 Reply | Quote
Shywolf



Member for: 4098 days
Status: Offline

#64769
Cool.

[quote=davidbelmont]And just for the heck of it; bonus question: how can I make Hoot run SPC files?? I doubt very much it is as easy as it is described in the snesmusic.org Hoot FAQ...[/quote]
It actually is just as easy as the blurb on the FAQ suggests... provided you're using the .xml files they provide. Those .xmls already contain the data for a large percentage of the snesmusic site's packs. What the blurb doesn't mention is that you must add "_spc" to the ends of the .zip archive filenames for the packs to be recognized (e.g. "ff4.zip" becomes "ff4_spc.zip" ).

However, the hoot.joshw.info .xmls don't have those snesmusic set lists. You can manually add sets using this template:
[quote=]<gamelist date="2015/01/07">
<game>
<name>[b][set title][/b]</name>
<driver type="spc">snes</driver>
<driveralias type="[b](Put section name here)[/b]">[b](Filename of XML file)[/b]</driveralias>
<options>
<option name="apu_mix" value="0x200"/>
</options>
<romlist archive="[b](Filename of .zip file)[/b]">
<rom type="data" offset="0x01">[b](Filename of an SPC within .zip file)[/b].spc</rom>
<rom type="data" offset="0x02">[b](Filename of an SPC within .zip file)[/b].spc</rom>
<rom type="data" offset="0x03">[b](Filename of an SPC within .zip file)[/b].spc</rom>
<rom type="data" offset="0x04">[b](Filename of an SPC within .zip file)[/b].spc</rom>
</romlist>
<titlelist>
<title code="0x01">[b](Title of SPC file corresponding to offset 0x01)[/b]</title>
<title code="0x02">[b](Title of SPC file corresponding to offset 0x02)[/b]</title>
<title code="0x03">[b](Title of SPC file corresponding to offset 0x03)[/b]</title>
<title code="0x04">[b](Title of SPC file corresponding to offset 0x04)[/b]</title>
</titlelist>
</game>
</gamelist>[/quote]
...Or, again, you can just drag and drop .spc files.

Page 1 of 1 Sort: