Jump to content


- - - - -

CPS3 Emulation progress.


#1 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 14 June 2007 - 01:06 AM

Skipping Ahead

Dox decided to hack around a bit with the driver, and found a way to skip some of the tests. As a result JoJo and JoJoba actually now execute some of the game code, rather than just the bios. They both hang after the Japan warning however. The code appears to be stuck in a big loop, dong not much at all.
Doing this properly is something of a pain in the backside due to the way MAME works. The games execute code from FlashROMs, however due to the way FlashROMs are accessed MAME must map them as Read/Write handlers in the driver, not blocks of RAM/ROM. MAME’s CPU cores don’t handle executing code from Read/Write handlers well, nevermind *encrypted* code (with the possibility of *decrypted* data) from such handlers. This is probably going to require some rather ugly hacking around.
Its interesting to note that JoJoba is the NCD set, while JoJobaa appears to be a standard set. They both however still check for the CD, so I’m guessing there must be something else to it too.
It’s also interesting to note that the dates these things are booting up with seem completely wrong. Maybe it’s not running the correct boot code.


http://haze.mameworl...ahead/#comments

#2 CYRiX   Banned Banned   2228 Posts   Joined 14.6 Years Ago  

Posted 14 June 2007 - 03:25 PM

what?

how many people do you think actually know what a cps3 is and/or care?

#3 Halo05   DJ Roomba CAGiversary!   7924 Posts   Joined 13.8 Years Ago  

Posted 14 June 2007 - 03:29 PM

Pretty much anyone who hung around in arcades in the late 90s should know what the CPS3 board is.

And it matters because maybe someday I'll actually get to play Red Earth. Unless Capcom decides to stick it on a compilation but I'm not holding my breath for that.

#4 dallow   By Kaz! CAGiversary!   30359 Posts   Joined 13.7 Years Ago  

Posted 14 June 2007 - 03:44 PM

Exactly, I want to play my Capcom games!

#5

Guest_Apossum_*

Posted 14 June 2007 - 03:48 PM

awesome news.

#6 62t   Zune Duck! CAGiversary!   19975 Posts   Joined 14.8 Years Ago  

Posted 14 June 2007 - 04:26 PM

Isnt the whole CPS3 library basiclly Street Fighter 3, JoJo's Bizarre Adventure, and Red Earth. Capcom and everyone else pretty much jumped on NAOMI

#7

Guest_Apossum_*

Posted 14 June 2007 - 05:12 PM

I personally want to play 2nd impact....back when Ibuki was good :-(

#8 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 14 June 2007 - 06:25 PM

what?

how many people do you think actually know what a cps3 is and/or care?


G... :hot: Well sorry for posting I guess? My post was meant completely for you.. and not any of the other thousands of people on this site. I always wondered why there wasn't a real emulation community on this site. Maybe it's against the rules to talk about emulation? Oh well, all I know is this is a big deal for fighting game fans. I was around when CPS2 was cracked and that was frikkin HUGE. While this task might not mean as much practically, it means a lot from an engineering standpoint.

#9 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 14 June 2007 - 06:28 PM

Isnt the whole CPS3 library basiclly Street Fighter 3, JoJo's Bizarre Adventure, and Red Earth. Capcom and everyone else pretty much jumped on NAOMI


Yeah pretty much... Like I said it's not the biggest of emulation mile stones, but it's pretty cool nonetheless. I personally have always been a huge Capcom fighting game fan (I guess specifically Street Fighter) but I've never had a chance to play Warzard/JoJo's Adventure or any of the older versions of SF3 (I have SF:AC for PS2, which has Third Strike).

#10 GuilewasNK   No gimmicks necessary. CAGiversary!   21267 Posts   Joined 15.6 Years Ago  

Posted 14 June 2007 - 06:59 PM

what?

how many people do you think actually know what a cps3 is and/or care?


I bet more care about that than CAGcast.

#11 62t   Zune Duck! CAGiversary!   19975 Posts   Joined 14.8 Years Ago  

Posted 14 June 2007 - 08:38 PM

Yeah pretty much... Like I said it's not the biggest of emulation mile stones, but it's pretty cool nonetheless. I personally have always been a huge Capcom fighting game fan (I guess specifically Street Fighter) but I've never had a chance to play Warzard/JoJo's Adventure or any of the older versions of SF3 (I have SF:AC for PS2, which has Third Strike).

well the older version of SFIII are not really worth playing if you have third strike, though it would be nice to play the arcade version of JoJo since the US console version was censor.

#12 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 15 June 2007 - 03:16 AM

well the older version of SFIII are not really worth playing if you have third strike, though it would be nice to play the arcade version of JoJo since the US console version was censor.


Maybe they're not worth using as a main version but I still want to check them out to see how the game evolved...

#13 Paco   GO TEAM GIRTH! CAGiversary!   4017 Posts   Joined 13.4 Years Ago  

Posted 15 June 2007 - 04:15 AM

I don't know. Second Impact was significantly different from Third Strike. Sean was actually fairly powerful in Second Impact and good enough to be at least a 2nd tier. They weakened him immensely on 3rd strike.

#14 62t   Zune Duck! CAGiversary!   19975 Posts   Joined 14.8 Years Ago  

Posted 15 June 2007 - 04:46 AM

Second Impact also has different backgrounds and music, so it is still worth checking out.

#15 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 16 June 2007 - 06:58 PM

Posted ImagePosted ImagePosted Image
Posted ImagePosted ImagePosted Image
Posted ImagePosted ImagePosted Image

#16 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 16 June 2007 - 06:59 PM

http://www.speksnk.o...pic.php?t=66324

#17 level1online   Banned Banned   1306 Posts   Joined 13.6 Years Ago  

level1online

Posted 17 June 2007 - 03:51 PM

correct me if i'm wrong, but isn't marvel vs capcom 2 on cps3 ?

the only way i've been able to play this on the pc is through chankast (dc emu)

it was a pain in the ass to set up, but i got it running, i'd say it was about 95% console perfect. it had slight sound issues, and looked slighty scrambled at any resolution higher than 640x480. but at that low resolution, it was very pixelated.

#18 CoffeeEdge   Resident Communaut CAGiversary!   8536 Posts   Joined 15.8 Years Ago  

Posted 17 June 2007 - 04:00 PM

correct me if i'm wrong, but isn't marvel vs capcom 2 on cps3 ?

MVC2 was on Naomi.

it was a pain in the ass to set up, but i got it running, i'd say it was about 95% console perfect. it had slight sound issues, and looked slighty scrambled at any resolution higher than 640x480. but at that low resolution, it was very pixelated.

Uh, 640x480 is the game's native resolution, as in, that's the resolution it plays at on your TV. So, if you go higher than that, then the emulator has to post-scale the image, so, of course it looks wonky.

#19 Paco   GO TEAM GIRTH! CAGiversary!   4017 Posts   Joined 13.4 Years Ago  

Posted 17 June 2007 - 07:34 PM

Second Impact also has different backgrounds and music, so it is still worth checking out.


You're also forgetting that 2nd Impact also had more detail then 3rd strike. But it's very minor. Wierd how capcom lost detail on 3rd strike though.

#20 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 18 June 2007 - 02:47 AM

These decryption/emulation guys are just too amazing... Check this out.

no. background / sprites will be hard, could take a few months.
Posted by: Haze at June 17, 2007 4:08 pm


http://www.speksnk.o...pic.php?t=66324
ElSemi has some shots of the backgrounds up, I’m still debugging the code a bit in MAME, but the theory is all there. As you can see, ElSemi still has some bugs too.
Posted by: Haze at June 17, 2007 9:10 pm


5 hours, pretty quick huh? :]

#21 Javery   Drug-Dealer-Keeper-Awayer CAGiversary!   22421 Posts   Joined 15.7 Years Ago  

Posted 18 June 2007 - 02:51 AM

Looks like I'll FINALLY get to play Third Strike on my home cab. Yay!

#22 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 18 June 2007 - 03:37 PM

More news and shots.

CPS3 Tile / Sprite Data Compression

CPS3 uses compressed data for it’s BG tiles and Sprite Data. The system has a ‘DMA’ list in Video RAM, and when given the command the video hardware will process this list, and copy + decompress graphic data from the FlashROMs into Video RAM for use by the game.
The compression initially looked rather complex, but actually turns out to be much more simple than first thought (although emulation still isn’t perfect)
The basics of it are simple. The first command in the DMA list is a special command, telling the chip to upload a 256 byte table to its internal memory. The Compressed data contains 8 bit values from 00 - FF. Byte with 0×80 set (0×80 - 0xFF) are treated as a lookup into the table it uploaded, replacing one byte, with one word from the table. This allows them to compress the 128 most common words to a single byte instead of a word, thus saving 50%.
After that there is an RLE stage, bytes with 0×40 set are command bytes, telling the chip to repeat the next byte a certain number of tiles. What you’re left with is a series of values between 0×00 and 0×3f, giving 6bpp (64 colour) sprite / bg tiles.
What isn’t quite understood is what happens if there is an RLE command byte followed by an RLE command byte, or if RLE is applied to a 0×80 byte, does it just affect the first value in the table, or do both get repeated etc.
Here are some screenshots, they’re not quite as good as ElSemi’s, probably due to a bug in the code I’m using right now. Also I’ve had to disable the text layer palette for now because MAME can’t handle over 0×10000 colours in a palette without custom drawing functions.


http://haze.mameworld.info/

#23 Javery   Drug-Dealer-Keeper-Awayer CAGiversary!   22421 Posts   Joined 15.7 Years Ago  

Posted 18 June 2007 - 03:59 PM

Aweseome - looks like it's only a matter of time now... and the way they are moving it doesn't look like it will be that long.

#24 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 20 June 2007 - 04:14 AM

Aweseome - looks like it's only a matter of time now... and the way they are moving it doesn't look like it will be that long.


You aint kiddin.

Posted Image

#25 daroga   swimming with nanocarp CAGiversary!   11178 Posts   Joined 15.7 Years Ago  

Posted 20 June 2007 - 02:46 PM

Am I right in thinking that they haven't gotten Naomi emulation to this point yet (or anywhere)? I'm really not up on my MAME info.

#26 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 20 June 2007 - 04:19 PM

Am I right in thinking that they haven't gotten Naomi emulation to this point yet (or anywhere)? I'm really not up on my MAME info.


Yeah, I think Naomi is still a long uphill struggle :]

#27 Javery   Drug-Dealer-Keeper-Awayer CAGiversary!   22421 Posts   Joined 15.7 Years Ago  

Posted 20 June 2007 - 05:37 PM

yeah, Naomi isn't coming anytime soon... although we were saying that about CPSIII only a few years ago so maybe we will be playing MvC2 one of these days...

#28 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 20 June 2007 - 08:55 PM

yeah, Naomi isn't coming anytime soon... although we were saying that about CPSIII only a few years ago so maybe we will be playing MvC2 one of these days...


MvC2? More like CvS2 mirite? Actually the Naomi sets have only recently been added to MAME... I think a couple months ago.

#29 PhrostByte   Technically Porn Star Silenced   6657 Posts   Joined 14.8 Years Ago  

Posted 20 June 2007 - 09:00 PM

The test is out...

http://nebula.emulat...ps3emulator.zip

http://nebula.emulatronia.com/

#30 terborx   CAGiversary! CAGiversary!   142 Posts   Joined 14.7 Years Ago  

Posted 20 June 2007 - 09:27 PM

that works.. surprisingly well