Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: charlieram on July 06, 2013, 06:53:12 am

Title: Hi resolution Textures in model2
Post by: charlieram on July 06, 2013, 06:53:12 am
Can anyone help me? I have managed to replace textures in model2 emu before but for some reason I cant seem to do it anymore. I dump the texture cache and create a .pat file, create some new textures but when I load a rom nothing changes. I have tried putting the images in a number of locations including the roms folder, texcache folder and just the model2 folder but still no joy?? Where do i put the .pat file and where do the images go?
Title: Re: Hi resolution Textures in model2
Post by: BadMouth on July 07, 2013, 10:02:56 pm
You might try asking in the driving cab forum.  A few users there are into swapping out the textures in the Model 2 driving games.
Title: Re: Hi resolution Textures in model2
Post by: Nuexzz on July 07, 2013, 10:43:58 pm
you will have to create a folder called "SCRIPTS" and within it put a pat file with name rom +of new textures.
Title: Re: Hi resolution Textures in model2
Post by: charlieram on July 08, 2013, 07:18:22 am
Thanks for the suggestions, I already had the SCRIPTS folder and in there i have my vf2.pat, vcop2.pat and all the images I want to use, this is a part of my vf2 pat file
1828401B 6592D6E3 0 vf2_vertbrick.png
1A28401B 41B65B1 0 vf2_cobble.png
A20401B B1AC87A2 0 vf2_woodtile.png
A284012 8F331BFD 0 vf2_woodplanks.png
A20401B 3B269D2 0 vf2_woodlogsvert.png
A28401B 5F2689DA 0 vf2_stonemix.png
820401B 6D672DC5 0 vf2_woodtile.png
1B304012 E623FD4B 0 vf2_woodlogsvert.png
my images are named as above ie. vf2_vertbrick.png but no textures are replaced. I really don't understand what the problem is, the Virtua Fighter files used to work when i started them a few years back but now i have gone back to them I cant get them to work :banghead: I have even trie a fresh install of model2 :dizzy:
Title: Re: Hi resolution Textures in model2
Post by: Nuexzz on July 08, 2013, 01:32:13 pm
the value "0" means that the texture of the emulator has priority. you would have to put "1".

Example:
 
1828401B 6592D6E3 1 vf2_vertbrick.png
Title: Re: Hi resolution Textures in model2
Post by: charlieram on July 08, 2013, 03:08:22 pm
the value "0" means that the texture of the emulator has priority. you would have to put "1".

Example:
 
1828401B 6592D6E3 1 vf2_vertbrick.png
Actually the 0 or 1 states whether the texture is colored by the emu or i you are using a colored texture, if you use a colored texture and set the value to 1 then no shading is applied or is applied differently and so if doesn't look quite right
This is taken directly from the model2lu.txt
0 if you replace the texture with a grayscale texture, so it's handled through the model2 coloring pipeline (like original ones)
1 if your texture is already colored. Then only lighting will be applied (linearly) to the texture
Cheers anyway, still haven't got it working thought :hissy:
Title: Re: Hi resolution Textures in model2
Post by: Nuexzz on July 08, 2013, 03:19:37 pm
You're right I thought it might be a solution, you could upload a picture texcache png image file custom pat. please?  (One complete example with just one)
Title: Re: Hi resolution Textures in model2
Post by: Nuexzz on July 08, 2013, 03:43:33 pm
ops!? Emulator is a bug in loading the textures vf2 not boot, you press reset (F3) after the start and MAGIC! textures replaced.  :cheers:


I guess a ahk script we can fix simply.
Title: Re: Hi resolution Textures in model2
Post by: charlieram on July 08, 2013, 04:19:45 pm
here you go, this as taken from my wip from a while back, it did used to work and you will have to get rid of the .txt file extension of he .pat file (i wasn't able to upload .pat)
Title: Re: Hi resolution Textures in model2
Post by: Nuexzz on July 08, 2013, 04:35:59 pm
Be careful that your image is in format (. png_thumb)

(http://i.imgur.com/gJHVJMm.jpg)
Title: Re: Hi resolution Textures in model2
Post by: charlieram on July 09, 2013, 01:14:15 pm
Well that worked, i also appears that mine works...well sort of, some of the textures are being swapped but the ones I was looking out for (my kids faces on the posters wasn't)