Author Topic: Still missing some roms on Select Game main screen [FBA 02.97.42]  (Read 8734 times)

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Hello to all!

I have generate all dats, scanned all roms on all system, no misses at all but FBA still insists on say me for some MIA roms, dunno why! Two PGM romset really dont load on that screen and the another rom sets appears like missing but runs!

I`m attaching all my dat, inis and some screens.
Maybe someone could point me what I?m doing wrong?

THX!

Offline Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1481
  • Karma: +33/-0
  • All games deserve to be emulated, more or less! :P
Re: Still missing some roms on Select Game main screen [FBA 02.97.42]
« Reply #1 on: September 12, 2017, 01:19:10 PM »
Hi Ashura-X,
in the PCB version of IGS PGM (PolyGame Master) games the required bios files must be put directly inside the game zipped ROMset... you can find the needed bios files in the pgm.zip:
bios.u42
ddp3_bios.u37
pgm_m01s.rom
pgm_p01s.u20
pgm_p02s.u20
pgm_t01s.rom

PS: IIRC the PCB version (Printed Circuit Board) should be an edition that doesn't use an interchangeable cartridge, but the datas chip ROMs are directly soldered on the mainboard.

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: Still missing some roms on Select Game main screen [FBA 02.97.42]
« Reply #2 on: September 12, 2017, 05:57:37 PM »
Well so exists an error on FBA when generating the arcade dat?

Offline Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1481
  • Karma: +33/-0
  • All games deserve to be emulated, more or less! :P
Re: Still missing some roms on Select Game main screen [FBA 02.97.42]
« Reply #3 on: September 13, 2017, 01:07:27 AM »
I don't know if it can be considered a "real error"... according to the dat file infos the PCB versions should use the bios files merged from the pgm.zip (as you can see below), while they require the bios files directly inside the zipped ROM...

<game name="svgpcb" cloneof="svg" romof="svg">
      <description>S.V.G. - Spectral vs Generation (V100, Japan, Single PCB Version)</description>
      <year>2005</year>
      <manufacturer>IGS</manufacturer>
      <rom name="svg_v100jp.u50" size="524288" crc="8d0405e4"/>
      <rom name="t05601w016.bin" merge="t05601w016.bin" size="2097152" crc="03e110dc"/>
      <rom name="a05601w064.bin" merge="a05601w064.bin" size="8388608" crc="ea6453e4"/>
      <rom name="a05602w064.bin" merge="a05602w064.bin" size="8388608" crc="6d00621b"/>
      <rom name="a05603w064.bin" merge="a05603w064.bin" size="8388608" crc="7b71c64f"/>
      <rom name="a05604w032.bin" merge="a05604w032.bin" size="4194304" crc="9452a567"/>
      <rom name="b05601w064.bin" merge="b05601w064.bin" size="8388608" crc="35c0a489"/>
      <rom name="b05602w064.bin" merge="b05602w064.bin" size="8388608" crc="8aad3f85"/>
      <rom name="w05601b064.bin" merge="w05601b064.bin" size="8388608" crc="bfe61a71"/>
      <rom name="w05602b032.bin" merge="w05602b032.bin" size="4194304" crc="0685166d"/>
      <rom name="svgpcb_igs027a_execute_only_area" size="392" status="nodump"/>
      <rom name="svgcpb_igs027a_v100_japan.bin" size="15992" crc="7a59da5d"/>
      <rom name="svg_v100jp.u64" size="4194304" crc="399d4a8b"/>
      <rom name="svg_v100jp.u65" size="4194304" crc="6e1c33b1"/>
      <rom name="pgm_t01s.rom" merge="pgm_t01s.rom" size="2097152" crc="1a7123a0"/>
      <rom name="pgm_m01s.rom" merge="pgm_m01s.rom" size="2097152" crc="45ae7159"/>
      <rom name="svg_bios.u49" size="131072" crc="3346401f"/>

PS: if you have a complete arcade ROMset (FBA 0.2.97.42) "this issue" should happen only for "Demon Front (V107, Korea, Single PCB Version) [dmnfrntpcb]" and "S.V.G. - Spectral vs Generation (V100, Japan, Single PCB Version) [svgpcb]", probably for "The Gladiator - Road Of The Sword (V100, Japan, PCB Version) [thegladpcb] " you are using a wrong ROMset.

Offline barbudreadmon

  • Administrator
  • *****
  • Posts: 1091
  • Karma: +59/-1
  • Helper
Re: Still missing some roms on Select Game main screen [FBA 02.97.42]
« Reply #4 on: September 13, 2017, 01:45:06 AM »
I can confirm the "issue" also happens for thegladpcb with a good romset, i had to deal with those 3 games in fbalpha-libretro (i added some hack in the libretro code to force loading of pgm.zip as if it was the parent of those roms)

Offline Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1481
  • Karma: +33/-0
  • All games deserve to be emulated, more or less! :P
Re: Still missing some roms on Select Game main screen [FBA 02.97.42]
« Reply #5 on: September 13, 2017, 04:50:24 AM »
I can confirm the "issue" also happens for thegladpcb with a good romset, i had to deal with those 3 games in fbalpha-libretro (i added some hack in the libretro code to force loading of pgm.zip as if it was the parent of those roms)

This is a bit weird, with the official FBA Windows release it doesn't happen... I analyzed the related strings on arcade dat file (generated with FBA 0.2.97.42 Windows Binary):

<game name="thegladpcb" cloneof="theglad" romof="theglad">
      <description>The Gladiator - Road Of The Sword / Shen Jian (V100, Japan, Single PCB Version)</description>
      <year>2003</year>
      <manufacturer>IGS</manufacturer>
      <rom name="glad_v100.43" size="524288" crc="bcf3b172"/>
      <rom name="t04601.u71" size="8388608" crc="e5dab371"/>
      <rom name="a04601.u30" size="8388608" crc="d9b2e004"/>
      <rom name="a04602.u31" size="8388608" crc="14f22308"/>
      <rom name="a04603.u32" size="8388608" crc="8f621e17"/>
      <rom name="b04601.u40" size="8388608" crc="ee72bccf"/>
      <rom name="b04602.u41" size="4194304" crc="7dba9c38"/>
      <rom name="w04601.u8" size="8388608" crc="5f15ddb3"/>
      <rom name="igs29.bin" size="2097152" crc="51acb395"/>
      <rom name="thegladpcb_igs027a_execute_only_area" size="392" status="nodump"/>
      <rom name="thegladpcb_igs027a_v100_japan.bin" size="15992" crc="d7f06e2d"/>
      <rom name="igs_v100.62" size="2097152" crc="0f3f511e"/>
      <rom name="pgm_t01s.u72" size="2097152" crc="1a7123a0"/>
      <rom name="pgm_m01s.u4" size="2097152" crc="45ae7159"/>
      <rom name="bios.42" size="131072" crc="517cf7a2"/>


... as you can see, according to the dat file infos, the needed bios files must be inside the zipped ROM and not merged from an external bios archive.

Offline jan_klaassen

  • FBNeo Dev
  • ******
  • Posts: 315
  • Karma: +10/-0
Re: Still missing some roms on Select Game main screen [FBA 02.97.42]
« Reply #6 on: September 13, 2017, 06:05:23 AM »
I don't know if it can be considered a "real error"... according to the dat file infos the PCB versions should use the bios files merged from the pgm.zip (as you can see below), while they require the bios files directly inside the zipped ROM...
That's not quite it -- it says the files should be merged, but only from the parent set (that set uses a bios file, but fba doesn't use a parent's bios when loading a clone).

The dat standard says that that dat is correct, the parent's bios set should be used, but that's not the way fba actually loads games. If you assume the dat standard is correct, then the official fba is getting both the dat generation and the loading wrong. But, I think the dat standard should allow clones to have different bios requirements, as that reflects the way things actually are.

Offline jan_klaassen

  • FBNeo Dev
  • ******
  • Posts: 315
  • Karma: +10/-0
Re: Still missing some roms on Select Game main screen [FBA 02.97.42]
« Reply #7 on: September 13, 2017, 06:36:56 AM »
Dealing with the final details: svg and theglad are different only in that theglad has different file names for the bios files (that have the exact same contents). The filename is taken into account when determining if a file should be merged from a parent. Given that we now use the labels of the chips as filename, and that differently labeled chips often contain the same data, that strikes me as wrong. All in all, that means that either fba's data generation should be changed to reflect teh above interpretationsm or that fba's loading should be changed. Or both.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: Still missing some roms on Select Game main screen [FBA 02.97.42]
« Reply #8 on: September 13, 2017, 07:22:31 AM »
Dealing with the final details: svg and theglad are different only in that theglad has different file names for the bios files (that have the exact same contents). The filename is taken into account when determining if a file should be merged from a parent. Given that we now use the labels of the chips as filename, and that differently labeled chips often contain the same data, that strikes me as wrong. All in all, that means that either fba's data generation should be changed to reflect teh above interpretationsm or that fba's loading should be changed. Or both.
If we're staying consistent with MAME, the file loading needs changed. I'll be doing that when I get time. IIRC fba can be passed a list of files to look for when searching for roms. That would be the cheapest, easiest fix.


Offline jan_klaassen

  • FBNeo Dev
  • ******
  • Posts: 315
  • Karma: +10/-0
Re: Still missing some roms on Select Game main screen [FBA 02.97.42]
« Reply #9 on: September 13, 2017, 07:45:26 AM »
I don't know. for these games, the mame sets have the bios so maybe http://www.logiqx.com is outdated.

Plugging the above observations about filenames and parent bios sets into the dat generation code, I get this:

Code: [Select]
<game name="thegladpcb" cloneof="theglad">
<description>The Gladiator - Road Of The Sword</description>
<year>2003</year>
<manufacturer>IGS</manufacturer>
<comment>PolyGameMaster hardware</comment>
<rom name="glad_v100.43" size="524288" crc="bcf3b172"/>
<rom name="t04601.u71" merge="t04601.u33" size="8388608" crc="e5dab371"/>
<rom name="a04601.u30" merge="a04601.u2" size="8388608" crc="d9b2e004"/>
<rom name="a04602.u31" merge="a04602.u4" size="8388608" crc="14f22308"/>
<rom name="a04603.u32" merge="a04603.u6" size="8388608" crc="8f621e17"/>
<rom name="b04601.u40" merge="b04601.u11" size="8388608" crc="ee72bccf"/>
<rom name="b04602.u41" merge="b04602.u12" size="4194304" crc="7dba9c38"/>
<rom name="w04601.u8" merge="w04601.u1" size="8388608" crc="5f15ddb3"/>
<rom name="igs29.bin" size="2097152" crc="51acb395"/>
<rom name="thegladpcb_igs027a_execute_only_area" merge="theglad_igs027a_execute_only_area" size="392" status="nodump"/>
<rom name="thegladpcb_igs027a_v100_japan.bin" size="15992" crc="d7f06e2d"/>
<rom name="igs_v100.62" size="2097152" crc="f3f511e"/>
<rom name="pgm_t01s.u72" size="2097152" crc="1a7123a0"/>
<rom name="pgm_m01s.u4" size="2097152" crc="45ae7159"/>
<rom name="bios.42" size="131072" crc="517cf7a2"/>
</game>

Seems nice... Not considering the filename when determining when to merge also makes the clone set ~18mb smaller.

Ah, wait, svc doesn't (because different filenames in theglad but not svc). The simplest solution is to add the bios field in the driver declaration. If you load the paren't bios set, can you use two bios sets at the same time? Or do you ignore the clone's? Strikes me as confusing either way... (I don't know what mame does.)
« Last Edit: September 13, 2017, 07:56:09 AM by jan_klaassen »

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: Still missing some roms on Select Game main screen [FBA 02.97.42]
« Reply #10 on: September 13, 2017, 11:29:56 AM »
Ok ! But and what about the other games are showing like missing but loading and running fine?