Previous Thread
Next Thread
Print Thread
Page 6 of 9 1 2 3 4 5 6 7 8 9
Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
BootGod seems to have worked it out. It's unclear when there'll be a new NEStopia to take advantage though.

Joined: Jan 2006
Posts: 138
M
Marty Offline OP
Senior Member
OP Offline
Senior Member
M
Joined: Jan 2006
Posts: 138
It certainly will. We're adding the final touches to it for v1.0. cool
I may post an XML schema file here later for viewing and feedback.

Joined: Jan 2006
Posts: 3,690
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,690
it would be really nice smile

Joined: Jan 2006
Posts: 138
M
Marty Offline OP
Senior Member
OP Offline
Senior Member
M
Joined: Jan 2006
Posts: 138
Here's a WIP XML schema file of the database format:

Download Link

Romset schema is not completed yet but should look almost the same. Not being terribly experienced in XML schema creation, it may not be entirely correct and some of the rules may sometimes be too strict or too loose, but it's a start.

For reference, here's how a game element may look:

Code:
<game name="Bird Week" class="Licensed" catalog="TFS-BK" publisher="Toemiland" developer="Lenar" region="Japan" players="1" date="1986-6-3">
  <cartridge system="Famicom" dumper="bootgod" datedumped="2006-12-24" crc="A8A9B982" sha1="22EAF03CC4A148EB7F96CCBDB878170B6D117940">
    <board type="HVC-CNROM" pcb="HVC-CNROM-256K-01" mapper="185">
      <prg name="TFS-BK-0 PRG" size="16k" crc="2A629F7D" sha1="BD0B7D6974CE1E3BC0A8AFB55FEBD0C03332361C"/>
      <chr name="TFS-BK-0 CHR" size="8k" crc="970A934E" sha1="2307A6DAF73984CA4242A93858CAABF9F86469AD">
        <pin number="26" function="CE"/>
        <pin number="27" function="CE"/>
      </chr>
      <chip type="74xx161"/>
      <pad h="1" v="0"/>
    </board>
    <properties>
      <property name="Back Label ID" value="860410"/>
      <property name="Label ID Code" value="TFS-BK"/>
      <property name="Manufacturer ID" value="09"/>
      <property name="Cart Type" value="Standard"/>
      <property name="Cart Producer" value="Famicom"/>
      <property name="Cart Color" value="Aqua"/>
      <property name="Secondary ID" value="FS-2003G"/>
    </properties>
  </cartridge>
</game>

And a minimalistic approach:

Code:
<game>
  <cartridge system="Famicom" crc="A8A9B982" sha1="22EAF03CC4A148EB7F96CCBDB878170B6D117940">
    <board type="HVC-CNROM" mapper="185">
      <prg size="16k" />
      <chr size="8k">
        <pin number="26" function="CE" />
        <pin number="27" function="CE" />
      </chr>
      <pad h="1" v="0" />
    </board>
  </cartridge>
</game>


Joined: Oct 2005
Posts: 351
R
Senior Member
Offline
Senior Member
R
Joined: Oct 2005
Posts: 351
Great Marty!
I can not wait for next Nestopia update!
BTW, will nestopia use split images as the PCB roms, or still joined images?

Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
Very cool smile

Joined: Feb 2006
Posts: 81
D
Member
Offline
Member
D
Joined: Feb 2006
Posts: 81
Whoa, that's really neat! I can tell you spent a lot of time on this project. No wonder Nestopia hasn't been updated lately...

You might want to post this on the nesdev forum as well.


"Last version was better," says Floyd. "More bugs. Bugs make game fun."
Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
nesdev alternately denies there's a problem with iNES and pushes the weak-sauce iNES 2.0. I'm not sure they'll like medicine this strong, but with Marty and bootgod driving it's sure to attract attention :-)

Joined: Dec 2007
Posts: 23
T
Member
Offline
Member
T
Joined: Dec 2007
Posts: 23
That looks great so far, has anyone given any though yet to adding things to the zip file like artwork, cheat.dat, info.dat and so forth?

Or maybe some of these could be in the xml itself?

Also would a basic rom file be named after the PCB? so if the prg and chr weren't split the file would be HVC-CNROM-256K-01.bin ?

It's not fully clear to me what the filenames would be for the file(s) in the zip

Last edited by Tetsuo55; 02/26/08 05:25 PM.
Joined: Mar 2001
Posts: 16,923
Likes: 57
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,923
Likes: 57
Pretty much the entire point of the zip wrapper is exactly so that manual/label/pcb/cart scans can be included. And there's no need for fixed filenames - the XML points to the ROMs, and presumably there'd be only one XML in the zip so that wouldn't need to be any special name either.

Last edited by R. Belmont; 02/26/08 05:35 PM.
Page 6 of 9 1 2 3 4 5 6 7 8 9

Moderated by  Marty, R. Belmont 

Link Copied to Clipboard
Who's Online Now
0 members (), 22 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,102
Posts119,263
Members5,019
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com