maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   CPS2 emulator for N900 (https://talk.maemo.org/showthread.php?t=41158)

kkito 2010-01-18 10:45

CPS2 emulator for N900
 
Hello, I am pleased to announce a cps2 emulator for the n900.

It is a port form cps2emu for the gp2x.

At this time only a compiled .tar.gz and source code is avaliable. Unfortunately a .deb package is not ready. Also, there isn't a frontend or graphical tool to launch the emulator. Then, terminal skills are needed to be able to run the emulator.

Perhaps someone could help creating a cool frontend and a .deb package. ;)

Please, read README.N900 before install/run the emulator!

https://garage.maemo.org/projects/cps2emu/

Regards!
:D

oldpmaguy 2010-01-18 15:09

Re: CPS2 emulator for N900
 
I won;t install it at this early state, but I eagerly await its maturation! I am a huge CPS2 fan, I have a GP2X too.

kkito 2010-01-18 15:33

Re: CPS2 emulator for N900
 
The emulator is mature. It has good compatibility and runs fullspeed with sound.

If you know how to use the command line, the installation is easy. You only need to unpack the .tar.gz in your home, and copy the roms and chache files inside the directories (like any other cps2 emulator)....

Thats all...

Rushmore 2010-01-18 16:36

Re: CPS2 emulator for N900
 
If an install process like SDLMAME is made available, I will try this emulator. I would rather avoid the command line issues and moving game files to areas not visible to the current file browser.

SDLMAME allows rom placement in the MMC1 area, which is best for most users that want to avoid potential issues using command lines.

Jack6428 2010-01-18 18:54

Re: CPS2 emulator for N900
 
What does it emulate? Playstation 2 ?

sadfist 2010-01-18 19:02

Re: CPS2 emulator for N900
 
Thanks kkito! I'll give this a try and some point today or tomorrow when I get the chance. I almost skipped this thread, lol. I figured it was someone just requesting an emu or whining about it or something. :D

Quote:

Originally Posted by Jack6428 (Post 480466)
What does it emulate? Playstation 2 ?

Capcom Play System 2 arcade hardware.

http://en.wikipedia.org/wiki/CP_System_II

Jack6428 2010-01-18 19:05

Re: CPS2 emulator for N900
 
Ok, thanks for info! Although this is a good step forward, i'm still hoping to see a Sega Genesis/MegaDrive Emu soon...would be more epic :)

sadfist 2010-01-18 19:13

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by Jack6428 (Post 480494)
Ok, thanks for info! Although this is a good step forward, i'm still hoping to see a Sega Genesis/MegaDrive Emu soon...would be more epic :)

Come on dude! The D&D arcade beat-em ups!!!!! EPIC!

sadfist 2010-01-18 20:40

Re: CPS2 emulator for N900
 
Trying this now, how do you run romcnv to create the cache file?

kkito 2010-01-18 21:51

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by sadfist (Post 480693)
Trying this now, how do you run romcnv to create the cache file?

copy .zip romfiles in the romcnv folder. Then execute ./romcnv -all ./

The cache files will be created.

sadfist 2010-01-18 22:14

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by kkito (Post 480851)
copy .zip romfiles in the romcnv folder. Then execute ./romcnv -all ./

The cache files will be created.

hm, I get permission denied when I try and do that, even as root. i'm sure i am missing something incredibly simple...:mad::mad::mad::mad:

kkito 2010-01-19 08:32

Re: CPS2 emulator for N900
 
Where did you extract the .tar.gz? and How?

The .tar.gz package must be extracted in a ext3 partition, for example /home/user .

If you have problems running romcnv, you can download the _src.tar.gz, inside you will find romcnv source code and a windows build, then you can compile it on a linux pc and run romcnv on the pc, or execute romcnv.exe on a windows box, and finally copy the cache files in your device...

sadfist 2010-01-19 14:30

Re: CPS2 emulator for N900
 
I put it in home/user/MyDocs/documents/

I think I tried it ib home/user as well, I'll mess with it at work. If anything I'll run romcnv on a PC but I tried running cps2emu and get the same permission denied error, so I think I'm stuck figuring out that problem, hehe.

kkito 2010-01-19 16:17

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by sadfist (Post 482008)
I put it in home/user/MyDocs/documents/

I think I tried it ib home/user as well, I'll mess with it at work. If anything I'll run romcnv on a PC but I tried running cps2emu and get the same permission denied error, so I think I'm stuck figuring out that problem, hehe.

The problem is that /home/user/MyDocs is a fat32 partition. It should be installed in a ext3 partition. Delete it from MyDocs, copy the tar.gz in /home/user, and in /home/user execute tar xvzf cps2emu_bin-0.1.tar.gz

Then it should work :)

sadfist 2010-01-19 16:38

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by kkito (Post 482207)
The problem is that /home/user/MyDocs is a fat32 partition. It should be installed in a ext3 partition. Delete it from MyDocs, copy the tar.gz in /home/user, and in /home/user execute tar xvzf cps2emu_bin-0.1.tar.gz

Then it should work :)

Yeah I actually got it working on the subway on my way to work. I started over in /home/user/ and it went ok. I did have to run romcnv as root for some reason but whatever.

WOOOOOWWWWW is all I can say really. The performance was amazing. I tested using 1944, which has a lot going on on the screen, didn't really notice any slowdown or performance issues. Using the arrow keys its damn hard to move diagonally up though.

Great work! Now we just need a nice frontend with some config options for keymapping (or I guess I could get used to playing games southpaw). Would it be difficult to map diagonals to keys? I'm not counting on playing any of the fighters with the keyboard but the shoot-em ups/beat-em ups would be great with a little help hitting the diagonals.

Clubberlang 2010-01-20 02:42

Re: CPS2 emulator for N900
 
mkay.. someone post a youtube vide. I want to see marvel vs capcom running :P

SavageD 2010-01-20 03:44

Re: CPS2 emulator for N900
 
I've been thinking really hard lately....I think I've found a nice solution to using diagonals on the keypad. Instead of having Up+right or Up+left commands, I think it would be much better/wiser if some one implemented the idea of having two right and left buttons so that button layout would be like this (I'm terrible at explaining)....My idea layout:

LEFT UP RIGHT
LEFT DOWN RIGHT

Q W E
A S D

Q=Left, W=Up, E=Right
A=Left, S=Down, D=Right

if someone was to allow user to make such a layout gaming commands would be much easier and precise, I dont want to make a long post so to make things short. The above layout would make movements in fighters like SF2 and also 3d adventures like supermario much more precise and accurate and would require less keys to configure. Lets face it, take for example short hopping/jumping in KOF or MvC...tapping a key already assigned to UP+Right wouldn't allow you to perform such a task...with the above layout you can tap / hold down Up and Right to short hop accurately enough. All one has to do is imagine the above layout on the keypad and compare it to the below layout and reason which concept would be more ideal to implement....I thought this up while playing a variety of emulated games and imagining how practical the controls would be to implement on the n900 since it lacks diagonals...

general idea everyone has

UP+LEFT UP UP+RIGHT
LEFT DOWN RIGHT
DOWN+LEFT DOWN+RIGHT

Also It would be an even more grand idea if the concept of .MACROS' were implemented in the mobile emulators since it would allow users to manually assign their own custom commands to any one key press...for example the user would manually be able to assign the command Down+Right+A+B (the shinkou hadouken command) to the 'enter' button on the keypad....and allow users to save their custom configurations to seperate files and conveniently load em for each game.

CoffeeNAS 2010-01-27 19:51

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by sadfist (Post 482245)
Great work! Now we just need a nice frontend with some config options for keymapping (or I guess I could get used to playing games southpaw). Would it be difficult to map diagonals to keys? I'm not counting on playing any of the fighters with the keyboard but the shoot-em ups/beat-em ups would be great with a little help hitting the diagonals.

Quote:

Originally Posted by SavageD (Post 483486)
general idea everyone has

UP+LEFT UP UP+RIGHT
LEFT DOWN RIGHT
DOWN+LEFT DOWN+RIGHT

Thirding this idea. Would it be possible to map the keys on the left and right of UP to handle UP+LEFT and UP+RIGHT respectively? Finally... great job on the emulator!

izzox 2010-02-11 21:51

Re: CPS2 emulator for N900
 
hello all, just wanna know whether it's compatible with OS2008?
thx

rn900 2010-02-12 11:33

Re: CPS2 emulator for N900
 
someone please try marvel vs capcom and street fighter alpha 1/2/3
thanks

please post vids of it in action

patpatbut 2010-02-12 11:42

Re: CPS2 emulator for N900
 
Any progress so far?
It woudl be great if it does work on n900
thanks

kkito 2010-02-12 12:09

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by izzox (Post 521978)
hello all, just wanna know whether it's compatible with OS2008?
thx

It should work if you rebuild the source code without the n900 c flags.

Quote:

Originally Posted by patpatbut (Post 522804)
Any progress so far?
It woudl be great if it does work on n900
thanks

Who said that it doesnt work ? The emu is working fine on n900, with sound and fullspeed...

patpatbut 2010-02-12 12:34

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by kkito (Post 522833)
It should work if you rebuild the source code without the n900 c flags.



Who said that it doesnt work ? The emu is working fine on n900, with sound and fullspeed...

Good. can you tell me how to I install it?
is any deb package available at the mo?

rn900 2010-02-12 17:03

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by patpatbut (Post 522854)
Good. can you tell me how to I install it?
is any deb package available at the mo?

no there aint so far :( please learn to read

Ronaldo 2010-02-12 17:26

Re: CPS2 emulator for N900
 
this sounds promising. i'll wait for deb for direct from testing

rn900 2010-02-14 17:16

Re: CPS2 emulator for N900
 
so if i wanna use this emu via cmd do i need a ext3 partition? if so how do i do it?

smoku 2010-02-15 15:27

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by kkito (Post 479559)
Perhaps someone could help creating a cool frontend and a .deb package. ;)

.deb package is no problem. :)
As for a frontend - would DrNokSNES frontend be enough? I could try porting it for CPS2Emu.

patpatbut 2010-02-15 15:55

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by smoku (Post 527512)
.deb package is no problem. :)
As for a frontend - would DrNokSNES frontend be enough? I could try porting it for CPS2Emu.

yea i love the drnoksnes frontend.
waiting for ur great work :)

rn900 2010-02-16 12:27

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by smoku (Post 527512)
.deb package is no problem. :)
As for a frontend - would DrNokSNES frontend be enough? I could try porting it for CPS2Emu.

cant wait :)

rn900 2010-02-18 11:24

Re: CPS2 emulator for N900
 
BUMP, any news?

smoku 2010-02-18 22:04

Re: CPS2 emulator for N900
 
Take it easy... Give me some time. ;)

rn900 2010-02-19 15:14

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by smoku (Post 535427)
Take it easy... Give me some time. ;)

ok.. would love to play around with it in the weekend :o

smoku 2010-02-20 17:38

Re: CPS2 emulator for N900
 
Ok. I did some work on this.
http://github.com/smokku/drnokcps2 if anyone is interested.

But I'm starting to wonder whether it is a justified work.
We already have SDLMAME port for N900 in extras-devel which as I understand has a working UI.

AFAIK SDLMAME supports more arcade machines than CPS2.

So, what exactly are the advantages of CPS2EMU over MAME?

Grits'N'Gravy 2010-02-20 20:32

Re: CPS2 emulator for N900
 
Hey Smoku

I am a well respected member of the Street Fighter community and also was very involved in PSP emulation so maybe I can shed some light on this issue.

I registered here today just to explain why the CPS-2 Emulator is a good idea as a standalone program. From what I can tell from this thread it is based off the emu that the GP2X and PSP use, which takes sprites and breaks them up into separate files taking a lot of the load off the system. It was a genius way to work around the low RAM of the PSP. This system only works on CPS-2 and NeoGeo arcade games. (Japanese developer created the base for this emu on PSP, maybe some source can be used for that?) Games from what I can tell would not be possible to run full speed in MAME because MAME can't handle the split files. Most CPS-2 Games would also run pretty sluggishly on the SDL Mame we have out, and probably couldn't be run reasonably as the CPS2 system covers games up until 1996 or so.

The original NeoGeo Emulator and CPS2 Emu that run most stuff full speed on PSP (with less advanced hardware!) have many games that are improbable to run with MAME. (Marvel Vs Series, Super SFII Turbo, Saturday Nigh Slam Masters etc)

Honestly I would like to see both of the GP2X projects gnGeo for NeoGeo cabs and CPS1/2 have installable .debs for n900. The original dev also made a fullspeed CPS-1 emulator that was ported over to GP2X as well from PSP that works fullspeed on all those games.

If you want more info about the original dev and what not maybe I can do some digging and PM you? Anyway, thanks for your great work so far man, love the PS3 controller capability!

smoku 2010-02-21 10:44

Re: CPS2 emulator for N900
 
Thanks for the extensive information. This confirms my own finds: DnD games run on CPS2EMU on my N900 full speed with fine sound and I've seen reports of 50% speed on SDLMAME.

Is NeoGeo the base system for the Metal Slug series? If so, I am interested in it. :) Where's the source? :D

Thor 2010-02-21 10:56

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by smoku (Post 539496)
Thanks for the extensive information. This confirms my own finds: DnD games run on CPS2EMU on my N900 full speed with fine sound and I've seen reports of 50% speed on SDLMAME.

Is NeoGeo the base system for the Metal Slug series? If so, I am interested in it. :) Where's the source? :D

Metal Slug would be the perfect accompaniment on the N900. Does Ghouls & Ghosts also use CPS2? I can't remember offhand. We'd need easier diagonals for that. I've tried on DrNokSnes and it's not easy without a bluetooth joystick/pad.

Also, would games like 19xx require portrait mode to take advantage of the whole screen?

AnimeVamp360 2010-02-21 11:37

Re: CPS2 emulator for N900
 
hi all:D

will this run playstation 2 games?and what kind of speed quality/playability is possible with this emu?i had a ps2 emu for my pc but hardly worked well.and it would be funny as hell if this would be perfectly playable because i had 3ghz for on the pc version but this is half a gig lol.
any ideas when it will be officially available on the maemo downloads?whats going on with the ps1 emulator?

also could somebody please tell me if there is/will be a dreamcast emulator for the n900?

thanks in advance.
loving the maemo community x

Grits'N'Gravy 2010-02-21 17:11

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by smoku (Post 539496)
Thanks for the extensive information. This confirms my own finds: DnD games run on CPS2EMU on my N900 full speed with fine sound and I've seen reports of 50% speed on SDLMAME.

Is NeoGeo the base system for the Metal Slug series? If so, I am interested in it. :) Where's the source? :D

Yes, the NeoGeo emulator that came out for PSP and GP2x runs everything from Metal Slug all the way up to King of Fighters 2000, I think you'd be looking for gnGeo for GP2X.

As far as Ghouls and Ghosts or Ghosts and Goblins, most of the capcom classics run on CPS-1. 1943, GnG series, Street Fighter I through Street Fighter II Turbo. CPS-2 supports stuff like Marvel Super Heroes, Marvel vs Street Fighter, Super SFII Turbo, and some newer shooters.

A good benchmark for a speed test of your CPS-2 Emu Port, Smoku, would probably be something like Marvel Super Heroes vs Street Fighter or Street Fighter Alpha 3. Those games should CRAWL on the SDL Mame emu lol! (But ran damn near full on PSP!)

Unfortunately I broke my PSP over a year ago and don't have GP2X so I don't know where the sources can be found anymore. All I know is that they were all done by the same Japanese developer so the code should be pretty similar for all of them.

Thanks for taking these projects over man! Good luck and if you need some info about proper speed/interaction on most CPS-2 games I have been playing Street Fighter long enough to figure out when things aren't right.

scuddy 2010-02-22 01:12

Re: CPS2 emulator for N900
 
would love to test this emu, is it ready for download yet?

smoku 2010-02-22 06:46

Re: CPS2 emulator for N900
 
Quote:

Originally Posted by scuddy (Post 540387)
would love to test this emu, is it ready for download yet?

If you're not scared of the command line, look at the first post for a port by kkito.
If you do, you need to wait for my GUI frontend. :p


All times are GMT. The time now is 06:52.

vBulletin® Version 3.8.8