Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
NES XML file examples for Nestopia #82007
10/09/12 12:10 PM
10/09/12 12:10 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
Anna Wu  Offline OP
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
I made 3 NES XML file examples for Nestopia.
For each game you need 3 files (PRG/CHR/XML)
Except the games which support sound samples. They need additional the sample (.wav) files.

Super Mario Bros. 3

The contents of the Super Mario Bros. 3.xml file:
Code:
<?xml version="1.0" encoding="utf-8"?>
<romset>
	<game name="Super Mario Bros. 3" class="Licensed" catalog="NES-UM-FRG" publisher="Nintendo" region="Germany" players="2" date="1991-08-29">
		<cartridge system="NES-PAL-B" crc="1ED5C801" sha1="31144C7C436CC78D7FD3AC42B224EEE3A6C2BABC" dump="ok" dumper="Bregalad" datedumped="2007-06-09">
			<board type="NES-TSROM" pcb="NES-TSROM-08" mapper="4">
				<prg name="PAL-UM-0 PRG" size="256k" crc="80CD1919" sha1="8D389A0893BEEDF273E21EF865C9A8288A929184" file="PAL-UM-0.PRG"/>
				<chr name="PAL-UM-0 CHR" size="128k" crc="7970A157" sha1="40F179ABFB0CD980EB0DE0CEE7382A26AD5EAF92" file="PAL-UM-0.CHR"/>
				<wram size="8k"/>
				<chip type="MMC3C"/>
				<cic type="3195A"/>
			</board>
		</cartridge>
	</game>
</romset>


Snake Rattle 'n Roll

The contents of the Snake Rattle 'n Roll.xml file:

Code:
<?xml version="1.0" encoding="utf-8"?>
<romset>
	<game name="Snake Rattle 'n Roll" class="Licensed" catalog="NES-RJ-EEC" publisher="Nintendo" region="Europe" players="2" date="1991-03-27">
		<cartridge system="NES-PAL-B" crc="3824F7A5" sha1="4AD06ED3FCAB7CFEBC7DC23E75C7B599928A889A" dump="ok" dumper="Kinopio" datedumped="2008-02-04">
			<board type="NES-SEROM" pcb="NES-SEROM-04" mapper="1">
				<prg name="PAL-RJ-0.PRG" size="32k" crc="533F5707" sha1="58AD9B56B03B99BDA8C4992998D9185AE4D7CE8A" file="PAL-RJ-0.PRG"/>
				<chr name="NES-RJ-0.CHR" size="32k" crc="ADD26ABB" sha1="D9976B677AD222B76FBDAF31713374E2F283D44E" file="NES-RJ-0.CHR"/>
				
				<chip type="MMC1B2"/>
				<cic type="3195A"/>
			</board>
		</cartridge>
	</game>
</romset>


Pinball

The contents of the Pinball.xml file:

Code:
<?xml version="1.0" encoding="utf-8"?>
<romset>
	<game name="Pinball" class="Licensed" catalog="NES-PN-USA" publisher="Nintendo" region="USA" players="2" date="1985-10">
		<cartridge system="NES-NTSC" crc="035DC2E9" sha1="BE348431A9C03D1A588A8363C0094B5A0722D9BE" dump="ok" dumper="bootgod" datedumped="2005-09-18">
			<board type="NES-NROM-128" pcb="NES-NROM-128-04" mapper="0">
				<prg name="HVC-PN-0.PRG" size="16k" crc="91D33E3C" sha1="607C5954E5C577AC78DB3234987F8FE62F86F068" file="HVC-PN-0.PRG"/>
				<chr name="HVC-PN-0.CHR" size="8k" crc="F2A53B3D" sha1="0D2A521FD984C76CBF9B3CBD47E68C6CE4C6EEAE" file="HVC-PN-0.CHR"/>
				

				<cic type="6113A"/>
			</board>
		</cartridge>
	</game>
</romset>  


PS: Thanks Mark to help me to understand the NES XML format for Nestopia. smile

Re: NES XML file examples for Nestopia [Re: Anna Wu] #82008
10/09/12 12:12 PM
10/09/12 12:12 PM
Joined: Mar 2001
Posts: 16,206
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,206
USA
The baseball game with the .WAV samples is necessary to understand the full extent of the format, however smile

Re: NES XML file examples for Nestopia [Re: R. Belmont] #82009
10/09/12 12:21 PM
10/09/12 12:21 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
Anna Wu  Offline OP
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Originally Posted By R. Belmont
The baseball game with the .WAV samples is necessary to understand the full extent of the format, however smile


Yes, a couple of games exist which need the sound samples.
But this is not XML specific only, you need the samples for the .NES files too.

Family Trainer - Aerobics Studio
Moero!! Pro Yakyuu
Moero!! Pro Yakyuu '88 - Ketteiban
Moe Pro! '90 - Kandou Hen
Moe Pro! - Saikyou Hen
Shin Moero!! Pro Yakyuu
Moero!! Pro Tennis
Terao no Dosukoi Oozumou

These are games with sound sample support.

Re: NES XML file examples for Nestopia [Re: Anna Wu] #82011
10/09/12 01:11 PM
10/09/12 01:11 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
Anna Wu  Offline OP
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
For the game you need the PRG/CHR/XML + sound sample (WAV) files.

Moero!! Pro Yakyuu

The contents of the Moero!! Pro Yakyuu.xml file:

Code:
<?xml version="1.0" encoding="utf-8"?>
<romset>
	<game name="Moero!! Pro Yakyuu" class="Licensed" catalog="JF-13" publisher="Jaleco" region="Japan" players="2" date="1987-06-26">
		<cartridge system="Famicom" crc="30BF2DBA" sha1="5E5C20907A3EFA2768C0BD35AC518DAD607F7902" dump="ok" dumper="bootgod" datedumped="2007-11-28">
			<board type="JF-13" pcb="JALECO-JF-13" mapper="86">
        <prg name="JF13.PRG" size="128k" crc="DB53A88D" sha1="2ED5A5A466B373E58DEB04FCF0D12BAB7E410415" file="JF13.PRG"/> 
        <chr name="0.CHR" size="64k" crc="26A94526" sha1="C06EF1F446C4E66CE5EFC4E8B282E5F7B9EB3BAA" file="0.CHR"/>
        <chip type="74xx139"/>
        <chip type="74xx174"/>
        <chip type="74xx174"/>
        <chip type="D7756C">
          <sample id="0" file="D7756C/00.wav" />
          <sample id="1" file="D7756C/01.wav" />
          <sample id="2" file="D7756C/02.wav" />
          <sample id="3" file="D7756C/03.wav" />
          <sample id="4" file="D7756C/04.wav" />
          <sample id="5" file="D7756C/05.wav" />
          <sample id="6" file="D7756C/06.wav" />
          <sample id="7" file="D7756C/07.wav" />
          <sample id="8" file="D7756C/08.wav" />
          <sample id="9" file="D7756C/09.wav" />
          <sample id="10" file="D7756C/10.wav" />
          <sample id="11" file="D7756C/11.wav" />
          <sample id="12" file="D7756C/12.wav" />
          <sample id="13" file="D7756C/13.wav" />
          <sample id="14" file="D7756C/14.wav" />
          <sample id="15" file="D7756C/15.wav" />
     </chip>
    
        <pad h="1" v="0"/>

			</board>
		</cartridge>
	</game>
</romset>


PS: In my example exist a subfolder called "D7756C" which contains all sound samples (WAV).

Re: NES XML file examples for Nestopia [Re: Anna Wu] #82639
11/03/12 08:35 AM
11/03/12 08:35 AM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
Anna Wu  Offline OP
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Hmm, I have to find out how I can add hardware peripherals because

Code:
        <peripherals>
            <device type="familykeyboard" />
        </peripherals>


or

Code:
	<peripherals>
             <controller port="exp">Family BASIC</controller>
        </peripherals>

as example (Family BASIC keyboard) is not working.

Re: NES XML file examples for Nestopia [Re: Anna Wu] #82645
11/03/12 12:31 PM
11/03/12 12:31 PM
Joined: Mar 2001
Posts: 16,206
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,206
USA
I'm not sure peripheral selection through the XML was actually supported in any released versions.

Re: NES XML file examples for Nestopia [Re: R. Belmont] #82646
11/03/12 03:22 PM
11/03/12 03:22 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
Anna Wu  Offline OP
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Originally Posted By R. Belmont
I'm not sure peripheral selection through the XML was actually supported in any released versions.


Me too. smile

My NES XML file for Family BASIC 3.0 is working but I have to enable the Family BASIC Keyboard support by hand before.



Family BASIC Keyboard (enabled)



Anyway, I´ll wait for Mark´s feedback to be sure the peripheral selection is supported or not.


Re: NES XML file examples for Nestopia [Re: Anna Wu] #82698
11/07/12 08:18 PM
11/07/12 08:18 PM
Joined: Apr 2006
Posts: 646
Fort Worth, TX.
D
Dullaron Offline
Senior Member
Dullaron  Offline
Senior Member
D
Joined: Apr 2006
Posts: 646
Fort Worth, TX.
Where the samples came from?


Windows 10 Pro 64-bit / Intel Core i5-4460 3.20 GHz / 8.00 GB RAM / AMD Radeon R9 200 Series
Re: NES XML file examples for Nestopia [Re: Dullaron] #82702
11/08/12 07:10 AM
11/08/12 07:10 AM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
Anna Wu  Offline OP
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Search for: Moero!! Pro Yakyuu '88 samples
and you will find the rest.
Google is your friend.

PS: The sound samples are necessary for the voice support.
The games itself with the standard sound/music works without the sound samples too.

Re: NES XML file examples for Nestopia [Re: Anna Wu] #82707
11/09/12 04:05 AM
11/09/12 04:05 AM
Joined: Apr 2006
Posts: 646
Fort Worth, TX.
D
Dullaron Offline
Senior Member
Dullaron  Offline
Senior Member
D
Joined: Apr 2006
Posts: 646
Fort Worth, TX.
Found those.

Family_Trainer_-_Aerobics_Studio_(1987-02-01)(Bandai)(JP)[ftaerobi]
Moe_Pro!_-_Saikyou_Hen_(1991-11-22)(Jaleco)(JP)[mpsaikyo]
Moe_Pro!_'90_-_Kandou_Hen_(1990-07-27)(Jaleco)(JP)[moepro90]
Moero!!_Pro_Tennis_(1988-04-15)(Jaleco)(JP)[mptennis]
Moero!!_Pro_Yakyuu_(1987-06-26)(Jaleco)(JP)[moepro]
Moero!!_Pro_Yakyuu_'88_-_Ketteiban_(1988-08-10)(Jaleco)(JP)[moepro88]
Shin_Moero!!_Pro_Yakyuu_(1989-07-13)(Jaleco)(JP)[smoepro]
Terao_no_Dosukoi_Oozumou_(1989-11-24)(Jaleco)(JP)[terao]


Windows 10 Pro 64-bit / Intel Core i5-4460 3.20 GHz / 8.00 GB RAM / AMD Radeon R9 200 Series
Page 1 of 2 1 2

Moderated by  Marty, R. Belmont 

Who's Online Now
2 registered members (Dam0, reenigne), 31 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,654
Posts113,414
Members4,846
Most Online324
Dec 20th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.041s Queries: 15 (0.019s) Memory: 5.7280 MB (Peak: 5.9496 MB) Zlib enabled. Server Time: 2019-05-26 07:02:31 UTC