Welcome!

Final Burn Neo => FBN Discussion => Topic started by: tenpar on December 16, 2022, 10:51:52 PM

Title: [Request] Fantasy Zone other version
Post by: tenpar on December 16, 2022, 10:51:52 PM
Three of the Fantasy Zone in the PS2 Fantasy Zone Complete Collection version are not supported (one seems to be already supported as fantzone).
Two of them are newer sets than fantzone, and one of them seems to be a non-protected version of fantzonep.
Can you please support them in the same way as the SYSTEM 16C version of Fantasy Zone II?

All of them can be extracted from the FZCC CD with the tool "fzcc_unpack.zip" and can be changed to the same format as existing ROMs by referring to the following (in Japanese).

http://zarala.g2.xrea.com/soft/fzcc_unknown.txt

In PS2, there is a bug that the final boss does not drop tears, but this seems to be a bug on the source side, not a bug in the ROM.
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 08, 2024, 12:26:45 AM
I don't know if this post helped, but thanks for adding as fantznps2!
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 08, 2024, 12:58:12 AM
Hi tenpar,
This one was a team effort, barbudreadmon added the set, then I figured out the alternate sprite banking so it would actually display all of the sprites. 
There might still be a bug in this one, because I wasn't able to play through the entire game yet.  Bank 2 was mapped to 8, but where does bank 8 map to... 2?  Well, we won't know for sure until a full playtest is done

If you end up in a place with missing sprites, please post a savestate! :)

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 08, 2024, 10:05:53 AM
Thank you for your efforts.
I found a problem with the base disappearing once the game is reset.
It would also be great if you could add dip switch items such as continue enable/disable as they seem to be missing.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 08, 2024, 08:13:46 PM
Hi tenpar,
thanks for testing and finding that bug, I'll see what I can do :)

Can you explain what you mean in the first message:
"In PS2, there is a bug that the final boss does not drop tears, but this seems to be a bug on the source side, not a bug in the ROM."
Is there a video of what the boss is supposed to do on youtube by chance?  I beat the final boss last night, and its eye "watered" in the ending sequence, but tears didn't come out.

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 08, 2024, 10:07:56 PM
I tried to reproduce it with pcsx2.
Maybe it is a bug that occurs only in the Japanese version.
I can't attach mp4, so I'm attaching an image.
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 08, 2024, 11:26:31 PM
I found two bugs.
1) The base in stage 2 is floating. Attached is an image of the PS2 version for comparison.
2) The body of the last boss is wrong.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 09, 2024, 12:20:33 AM
tenpar, thanks for the pics and states!  Can you show what the body of the last boss is supposed to look like?

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 09, 2024, 01:20:00 AM
The PS2 version looks like this.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 09, 2024, 02:14:18 AM
Thanks!
Is there any way to debug the file/IO on the PS2 emulator and see which files its loading from disc?
If so, can you attach the log here after launching the game?
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 09, 2024, 04:27:19 AM
Sorry, I didn't know how to check the file IO for pcsx2.

By the way, is there a wrong file in fantznps2?
I think fz1_s16b.p00 (256KB) and fz1_s16b_ta.obj are for time attack mode (fantzoneta).

I extracted the files from the PS2 disc with the following tool.
http://zarala.g2.xrea.com/soft/index.html#fzcc_unpack
The description of the tool and extracted files are below. Sorry for the Japanese.
http://zarala.g2.xrea.com/soft/fzcc_unknown.txt

I think the file for the version that does not support FBNeo is below.
fz1_7536a.p00
fz1_07536a.p00 (unprotected version of fantzonep?)
The *.scr, *.obj, and *.snd files are the same as for the FBNeo-compatible version.
Title: Re: [Request] Fantasy Zone other version
Post by: barbudreadmon on January 09, 2024, 04:47:14 AM
By the way, is there a wrong file in fantznps2?
I think fz1_s16b.p00 (256KB) and fz1_s16b_ta.obj are for time attack mode (fantzoneta).

Informations from https://github.com/finalburnneo/FBNeo/issues/1628 were used.
fz1_s16b.p00 is a different rom from fz1_s16b_ta.p00, which is the one used in the time attack version.
There are indeed 4 others fz1_xxxx.p00 files, but since they are smaller and don't contain s16 in their filename, i'm not entirely sure they are meant for sega system 16.
Sadly we don't know of a sureway to understand which roms go together, so this is purely guess work, let us know if you know of any.
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 09, 2024, 06:04:01 AM
Attached is an Excel macro I created based on the following
http://zarala.g2.xrea.com/soft/fzcc_unknown.txt
1) Split the 192KB file *.p00 according to the fantzone file name.
2) Split the 192KB fantasyz.obj file according to the fantzone file name.

Replace the file without fantzone with the file disassembled in 1).
It should work.
Also, the CRC of the file 2) should match the existing one.

I didn't know about files other than 192KB, sorry.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 09, 2024, 09:52:11 AM
tenpar,
We have the right .p00, the only difference is that we didn't split it with the macro.

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 09, 2024, 10:29:45 AM
So, I'm not sure how to fix this bug: End boss has wrong "snake trails"

on "ta" version, it draws the tiles from 0x1200: correct trails
on "ps2" version, it draws from 0x900 (the "sand-look")

so, I copied the 0x1200 block of tiles to 0x900,  they are now drawn correctly in shape, but they're the wrong color.  The game is selecting the wrong tile and color.  Well, I think this can't be fixed, unfortunately.

--
the reason I asked for a file loading log, to see which files that this game loads from the disc for "tiles and sprites", because maybe we're wrong about using the 'ta' sprites and tiles (spr/obj files).

Maybe the emulator can be hacked to show a file log? hmm, well, I don't have time for that unfortunately.

best regards,
- dink

Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 09, 2024, 04:35:42 PM
Pcsx2 has a debugger that might be able to tell you the file IO.
But I didn't know how to use it, sorry I can't help you.

I imagine the following.
fz1_07382.p00 -> cpu(OLD(JA)) <- without song title display
fz1_07382a.p00 -> cpu(OLD(JA rev.A)) <- with song title display
fz1_07536a.p00 -> cpu(NEW(OVERSEA)) <- continue possible
fz1_7536a.p00 -> cpu(NEW(US rev. A)) <- invincibility time at game start
fantasyz.scr -> tiles(BG) <- same as epr-7388.95, epr-7389.94, epr-7390.93 combined in a certain way
fantasyz.obj -> sprite <- same asepr-7392.10, epr-7396.11,epr-7393.17, epr-7397.18, epr-7394.23, epr-7398.24 combined in a certain way
fanta_jp.snd -> sound(JP) <- same as epr-7535.12
fanta_us.snd -> sound(US) <- same as epr-7535a.12
fz1_s16b*. * -> for time attack or *unused*.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 09, 2024, 06:20:05 PM
Oh, which p00 file should we use then?

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 09, 2024, 07:52:04 PM
Comparing by CRC of the split files,
fz1_07382.p00 is the same as fantzone1 and fantzonep.
fz1_07382a.p00 is the same as fantzone.
fz1_07536a.p00 no same.
fz1_7536a.p00 no same.

*Note: epr-*24(CRC:FD909341) and epr-*41(CRC:0ACD335D) are all the same as in fantzone.

fz1_s16b*. * is the same as fantznta except for fz1_s16b.p00.

There are 5 versions available on PS2 including time attack.
The sixth version, fz1_s16b.p00, is either unused or under development.

From the above, I think the *.p00 that should be supported by FBNeo is fz1_07536a.p00 and fz1_7536a.p00.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 09, 2024, 09:07:28 PM
tenpar,
I added fz1_07536a.p00 and fz1_7536a.p00 as:
fantzoneno.zip and fantzonenu.zip
(new, oversea & new, us)

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 09, 2024, 09:29:08 PM
Thanks a lot!
Glad for you!
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 09, 2024, 10:17:41 PM
I tried fantzonenu.
Like the PS2 version, the last boss turned red.
Also, Allow Continue is correct for Demo Sounds on the dip switch.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 10, 2024, 12:18:07 AM
Hi, I believe the end boss color depends on how many times you died/continued.
This is also with the n.u. set, used cheats to get to the end "boss rush" ( stg. 8 ), then beat all the bosses without dieing:

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 10, 2024, 12:54:10 AM
Hi tenpar,
Could you make a longplay recording, this way I could try to see how and why the ship becomes red at the end, it needs to be done like this:

load game
Game -> replay -> record input
 .. select "record from power on" and "w/NVRAM" checked!

play game to end
Game -> replay -> Stop replay/record

Then post the recording from recordings subdirectory (folder)

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 10, 2024, 01:50:35 AM
I recorded it but made one mistake.
The color of the last boss was normal but the last boss did not cry.

By the way, last time I made no mistake but used save state.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 10, 2024, 09:36:10 AM
tenpar,
nice playthrough!
Well, I start to wonder, is the 'nu' version is really a newer version, or not?  Honestly, I don't know what to make of the differences at the end, but, I will try to investigate it.

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 10, 2024, 06:14:47 PM
I think "ne" is the newest one, based on the order in the PS2 version.
Compared to the parent set "fantzone", there are some differences, such as invincibility time at the beginning of the game, "MAP" on the left side of the base radar, and all remaining aircraft are counted when the game is cleared, in addition to the possibility of continue.
In addition, "no" does not have invincibility time.

By the way, this is additional information, but the Astro City Mini version looks the same as the "no" version, but it has a demo sound.
I think this is a cheat, not a separate set, but I don't know if it is true or not.
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 18, 2024, 10:09:47 PM
I replaced some ROMs of fantzone with those extracted from fz1_7536a.p00 in official MAME 0.261 and ran it.

epr-7385a.43 WRONG CHECKSUMS:.
    EXPECTED: CRC(4091af42) SHA1(1d4fdd32db9f75e5ccaab5766a50249ad71a60af)
       FOUND: CRC(9d0c1c98) SHA1(54edc567c27978885ade771d356a30e23b1f9f72)
epr-7382a.26 WRONG CHECKSUMS:.
    EXPECTED: CRC(77d67bfd) SHA1(886ce4c2d779cedd81f85737ef55fce3c94baa18)
       FOUND: CRC(4415c5ab) SHA1(d818cd2e3d592aab872cf7baf4aa19dec3b976ed)
epr-7386a.42 WRONG CHECKSUMS:
    EXPECTED: CRC(b0a67cd0) SHA1(2e2bf2b7306fc567f7d13f89977543b368c19027)
       FOUND: CRC(b35d59c6) SHA1(c7dc2ac0042cba793bcc24ac9e836b69a159ffe5)
epr-7383a.25 WRONG CHECKSUMS:.
    EXPECTED: CRC(5f79b2a9) SHA1(de3125bbd0a126fc5a67ba3134cd3f4608ebdfce)
       FOUND: CRC(1ee4a051) SHA1(68fb57c3e954863415b0030928214ad8c52132dc)

When I run it at the command prompt, I get the above warning, but it works.
When I defeated the last boss, the last boss was drawn correctly.

I hope this is of some help.
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 21, 2024, 07:50:25 PM
Hi dink.
Did you receive my Message to you?

By the way, I found an error on the dip switches in the Time Attack version (fantzoneta).
The default value of Coin A is 1 Coin 4 Credits.
The correct value is 1 Coin 1 Credit.

I hope you can fix it.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 21, 2024, 08:44:43 PM
Hi tenpar,
Yes, thanks for the converter script :)
I fixed the dips, but I'm at a loss for what might be the other problem with the ending ship :(

best regards,
- dink

Hi dink.
Did you receive my Message to you?

By the way, I found an error on the dip switches in the Time Attack version (fantzoneta).
The default value of Coin A is 1 Coin 4 Credits.
The correct value is 1 Coin 1 Credit.

I hope you can fix it.
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 21, 2024, 11:21:02 PM
I created replays of fantzone and fantzoneta to see if they would be of any use.
It seems that fantzone has the correct colors but does not cry, while fantzoneta has the wrong colors but does cry.

Also maybe fantzoneta seems to be fantzoneno based.
(MAP notation but no invincibility time at the beginning of the game)

I noticed additionally that the volume of fantzone seems to be louder than fantzonene.
Not sure which is the correct volume but the sound ROM should be the same.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 22, 2024, 12:25:47 AM
Hi tenpar,
I have a theory:
endboss will only cry if you do not die during the entire boss rush, maybe?

I think its logic somewhere that triggers this cry or not?

I'll try again to figure out the color issue

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 22, 2024, 12:53:01 AM
I played Fantasy Zone on Saturn, 3DS, etc. in addition to PS2 and there was only one ending.
Also, the bug with the last boss was pointed out when the PS2 version was released.
(I have heard that this has been fixed in the PS3 version, but I don't have it.)
I believe the MAME version is correct.

Good luck with fixing the problem!
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 22, 2024, 10:27:52 AM
Hi tenpar,
Thanks for the info's, I can only guess sometimes :)
some good news: figured out why end boss is not crying at the end with system 16a versions of Fantzone, I will try to make a fix soon!
After that's fixed I'll try to investigate the bad ship colors on the 16b fantzone's

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 23, 2024, 10:08:18 AM
So far,
I just have a fix for the missing crying part of the endboss.
edit: this is on github now

I've debugged (like crazy) the "endboss turns red" in the ta bootleg, and other ps2 versions, but, the game is actually requesting this ship to be red by writing the red palette index to the sprite.
I don't know of a way to fix this - it seems like a bug in the gamecode.  You say this is fixed on the PS3 version?  Maybe PS3 game disc has different/fixed .p00 code?  Will you try to investigate this?

When I play the nu, ta *both versions*, using a cheat to get to ending bossrush ("finish stage now cheat"), then beat the bossrush, the ship always remains the correct color.  hmmm..  It's difficult :)

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 23, 2024, 06:43:41 PM
Thank you for the big fix!

I don't know if there are different p00's as I don't have the PS3 version and don't know how to extract from the PS3 version, sorry.

I also don't know how to extract from the 3DS and Switch versions, but I don't know how to do that either.
The Like a Dragon and Lost Judgment series also have a Fantasy Zone as a mini-game, but it seems to be the OLD version as far as I can tell from YouTube.

However, I also believe that different p00s do not exist, because when I replaced the four ROMs in the MAME fantzone with files extracted from fz1_7536a.p00 and ran them, they worked correctly.
I will use the fixed FBNeo and try the fantzone that replaced the ROM.
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 23, 2024, 07:18:50 PM
I tried fantzone with the fixed FBNeo replacing the ROM, but it did not work unlike MAME.

I did confirm that the last boss is drawn correctly in fantzone with the correct ROM.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 23, 2024, 08:16:59 PM
You're welcome, I'm glad to have it fixed :)

Well, it's a mystery :) 

Regarding the "ta" versions and sys16b versions: they do get the correct endboss colors sometimes, though, which really is a mystery!
Also regarding replacing the program roms in fantzone.zip (with fz1_7536a.p00, split with your script), it works here in mame and fbneo for me, maybe you missed the file epr-7386a.42 ?

best regards,
- dink

Thank you for the big fix!

I don't know if there are different p00's as I don't have the PS3 version and don't know how to extract from the PS3 version, sorry.

I also don't know how to extract from the 3DS and Switch versions, but I don't know how to do that either.
The Like a Dragon and Lost Judgment series also have a Fantasy Zone as a mini-game, but it seems to be the OLD version as far as I can tell from YouTube.

However, I also believe that different p00s do not exist, because when I replaced the four ROMs in the MAME fantzone with files extracted from fz1_7536a.p00 and ran them, they worked correctly.
I will use the fixed FBNeo and try the fantzone that replaced the ROM.
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 23, 2024, 09:27:18 PM
Sorry, I made a mistake on epr-7386a.42.
I fixed the ROM and it works on FBNeo.
Also the last boss was correctly described!
(Replay attached)

One thought.
I think nu and no are not for 16B but for 16A.
I believe both boards existed back in 1986.

I am not sure if ta is for 16B or 16A.
But the ROM set content of ta is the same as what exists in the PS2 version.
Also, the time attack version was created for PS2.

I think the reason why it is for 16B is because someone wrote and operated a ROM sucked from PS2 as a ROM for 16B.
Maybe ta also works with 16A, but it is hard to say because the size of p00 is different from the others.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 24, 2024, 01:30:57 AM
For clarity:
nu (fz1_7536a.p00) and no (fz1_07536a.p00) versions are running on 16A
fantznps2, fantznta (ps2 time attack) & fantzoneta (time attack bootleg) are running on 16B.

The 16B versions won't work on 16A because they use the 315-5195 mapper chip, which is only available on 16B hw

p.s. I made a modification to your fantzone.fr replay-recording: it will use the fantzonenu set.  It still plays to the end OK :)

best regards,
- dink
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 24, 2024, 02:14:46 AM
Thanks for the description of each ROM set and 16A and 16B.
It is the same as my understanding.

I watched the nu replay.
It showed the last boss correctly!
Does this mean that nu is fixed as well?

The past replays (with a few mistakes) also show the last boss correctly.
(Attached)
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 24, 2024, 02:53:17 AM
In the replay of one missed ta the last boss turns red.
But the eyes were displayed.

Does this mean that the only fix left is the 16B version?
Good luck!
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 24, 2024, 03:51:57 AM
I tried to display the last boss in ta.

No misses: displayed correctly
Miss in round 8: displayed correctly
Miss in round 7: displayed correctly
Miss in round 6: Show red

I attach some savestate for your reference.
fantzoneta slot 01.fs: round 8 boss
fantzoneta slot 01.fs.backup8:round 6 boss
Each savestate is no miss.
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 24, 2024, 05:58:27 AM
Sorry for the continuous posting.

I have one hypothesis about ta.
Dip switch difficulty may be fixed Easy.

Attached is the settings screen of the PS2 version.
You cannot change the difficulty level, etc. in Time Attack.
I have also often heard that the default setting of the AC version of Fantasy Zone is Easy.

When I changed the difficulty to Easy and made a mistake in round 6, the last boss did not turn red.

I will try to verify more.
Title: Re: [Request] Fantasy Zone other version
Post by: tenpar on January 24, 2024, 08:03:24 AM
I ran ta in MAME.
I set the difficulty to Normal and made mistakes only in round 6, but the last boss was drawn correctly.

The difficulty level may not matter, sorry.
Title: Re: [Request] Fantasy Zone other version
Post by: dink on January 25, 2024, 12:09:24 AM
Hi tenpar,
I appreciate the research you're doing - hopefully we will find some clues which lead to a solution

best regards,
- dink