No I'm saying use 27C4096G for the 3 program roms 21, 22 and 23. That's all you have to do. It's the easiest conversion ever.

So I was looking at the board.. and was like.. OH sweet capcom used UV chips.. I'll just back those up -- uv them and write rainbow to them.. after 30 minutes the chip didnt erase.. so back to placing my order for them.

Generally speaking it is best to keep the originals with original stickers and use other chips for rainbow (for starters, when you sell the board the buyer is going to prefer to have those chips and stickers intact). However since you already removed the stickers...30 minutes isn't a guarantee that the chips can't be reprogrammed, not at all. In fact there's very little chance that is the case. You have to have patience with those things. Most likely you need to use rubbing alcohol and qtips on the crystal covers on the chips until they are the cleanest thing you have ever looked at in your life. If there is any tiny little piece or dirt/grime/sticker glue it can stop the UV from completing its job and on top of that sometimes chips just take longer than others to clear.

I used your GnG set and converted it to US version. Rather than paste roms here's how it's done.. first you need a script to interleave files. I used a perl script I found on the internet which worked great:

Perl Source Code

#!/usr/bin/perl -w

open LO, $ARGV[0] ||die $!;

binmode LO;

open HI, $ARGV[1] ||die $!;

binmode HI;

my $hidata;

my $lowdata;

while (read(HI, $hidata, 1)) {

read(LO, $lowdata, 1) ||last;

printf "%c%c", ord($hidata),ord($lowdata);

}

close HI;

close LO;

Display All

What this script does is takes two input files and combines them byte-by-byte so if LO was 1234 and HI was ABCD the resulting file is 1A2B3C4D. Now if you look at MAME for CPS1 you will see the following for ghoulsu in the cpu section:

These are the roms used to load the game. dm-17.7j if you did a comparison with daimakair after doing a word swap on dm-17.7j will find that it's the same exact file as damj_22.7f. This means the only rom we need to craft is damj_23.8f which are the dmu_* files.

Going back to the perl script we need to combine these chips into one big chip. You will see that the two roms are pairs - dmu_29 & dmu_30 as well as dmu_27 and dmu_28. Looking at the starting address you can see one is odd (ending in 0) and one is even (ending in 1). To combine the files is simple enough, running the script you do the following:

Source Code

./ans.pl dmu_29.10h dmu_30.10j > first.bin

./ans.pl dmu_27.9h dmu_28.9j > second.bin

cat first.bin second.bin > damj_23.8f

This will result in a 512KB file that can be written to replace the chip in socket 23 which will convert the game to US. For some reason it seems that the daimakair roms still have the English graphics so you don't really have to replace anything there. Same can be done for export/world just have to use the proper rom files.

You can also use the sound rom from the US which is what I swapped in, not sure if it's necessary. Just take 26.10a from ghoulsu and double it:

Note 2 & 3 might have to be swapped depending on if you have a MASK board

Audio cpu in chip 09 is ara_09.12a

Samples in chip 18 is ara_18.11c

Program 22 and 23 are:
araj_22.7f
araj_23.8f

Yeah that's boring and known information that could've been figured out with 3 seconds of effort. ¡BUT! UN Squadron US is actually hiding inside of area88r and converting Area 88 Resale to UN Squadron is extremely simple:
araj_23.8f
0x1327: 00->01
0x4564: 00->6A

These are two addresses that need patched within araj_23.8f which switches the game over to UN Squadron Just do those two hex changes, burn the chip and enjoy