maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 7 / Leste (https://talk.maemo.org/forumdisplay.php?f=66)
-   -   Porting apps to Leste (https://talk.maemo.org/showthread.php?t=101427)

Arno_11 2023-09-11 11:56

Re: Porting apps to Leste
 
After Picodrive, here is PCSX_rearmed for Leste on N900.

https://github.com/Arno1103/pcsx_rearmed_leste

It works full speed using GPU_UNAI, CPU clock set at 57% and Dynarec recompiler.
(note: PS1 full speed is around 25 fps with PAL and around 30 fps with NTSC games)

Similar key mapping hardcoded modifications to Picodrive has been done with pcsx to be able to navigate in the menu and select the right GPU plugin and other essential things.

To run it easely, just clone the repo in the directory of your choice:

Code:

git clone https://github.com/Arno1103/pcsx_rearmed_leste .
Code:

sudo git submodule update --init --recursive
Code:

sudo ./configure && make
With a good uSDcard it takes around 15 min to compile.

Then as usual with psx emulators, the configuration is a bit tricky:

Create a /bios directory in your pcsx folder and add scph1001.bin bios file.

Create a /.pcsx directory (in your pcsx folder) and create a pcsx.cfg file inside with read-write access.

Now you are ready to launch the GUI:

From your pcsx folder run:
Code:

./pcsx
See numerous pcsx threads for settings: the main ones are GPU_UNAI, CPU clock speed 57~100% and 'disable dynarec OFF'

ATM sound is not working because of a missing plugin.

Arno_11 2023-09-19 11:56

Re: Porting apps to Leste
 
I modified few things to optimize compilation and now sound is working well with pcsx.

Works perfectly in Gran Turismo for example (frameskip 1, gpu_unai, builtin_spu, disable cd audio, enable XA decoding, cpu clock 57)

Same settings for Tekken 3 (but frameskip 2 or 3)

Arno_11 2023-09-21 19:02

Re: Porting apps to Leste
 
I successfully built a .deb package for PCSX_rearmed_leste and another one for Picodrive-leste (with much more difficulties but working well now).

Will be available soon.

Arno_11 2023-09-24 18:59

Re: Porting apps to Leste
 
If someone wants to test pcsx_rearmed, here is a temporary link:

https://www.dropbox.com/scl/fi/zxwap...nxb9k2bcn&dl=0

Pcsx_rearmed with sound should work out of the box with HLE bios. Frameskip must be adjusted depending of the game. Other settings are already optimized for N900.
For more game compatibility, please use a psx bios like scph1001.bin or scph7502.bin. (of course i can't provide them).
Bios path is /usr/games/pcsx/bios
(Menu keys are hardcoded: arrow keys, 'backspace' for enter, 'e' for exit/back)

Prefer performance mode in cpufreq and/or overclock for more fun (and don't forget to disable hildon compo while playing: Ctl+Shift+N)

Note: should work on Droid4 too.

I think Picodrive (.deb) will be ready in the next couple of days.

Arno_11 2023-09-25 15:08

Re: Porting apps to Leste
 
Tips: edit
Code:

/usr/games/pcsx/.pcsx/pcsx.cfg
and replace f11 by f for example to be able to switch to fullscreen.

BTW if you get troubles to save settings then run:

Code:

chmod 777 /usr/games/pcsx/.pcsx/pcsx.cfg

Arno_11 2023-09-28 06:37

Re: Porting apps to Leste
 
Here is Picodrive (.deb package) :

https://www.dropbox.com/scl/fi/93u41...kg8hnsgw7&dl=0

It should work out of the box but you need to manually change the config file permission:
Code:

  sudo chmod 777 /home/user/.picodrive/config2.cfg
Settings are already optimized: sound and frameskip are deactivated by default and Megadrive games run at 50-60 fps.
To play with sound just turn ON sound and set frameskip to 1. (30 fps)
Don't forget to save settings otherwise there are ignored.

For 32X games sound is laggy, just turn it off and set frameskip to 1. (25 fps)
Update: with the new ddx driver, it runs now at 40-50 fps (frameskip 0)

(note: by default START button is linked to BACKSPACE key)
This port is based on the last 1.92.3 version, not the old maemo one.

Arno_11 2024-01-21 22:23

Re: Porting apps to Leste
 
On N900 (and pcsx-rearmed), a game like Tekken3 is running really faster and smoother in Leste now, compared to the same game in Fremantle. Great.

I think it would be cool to port a NES emulator too, like iNES but sources seem not available.
It was previously possible to run several NES emulators through Retroarch but unfortunately it doesn't work well anymore and i don't really know why.

teroyk 2024-01-23 12:50

Re: Porting apps to Leste
 
Quote:

Originally Posted by Arno_11 (Post 1575914)
I think it would be cool to port a NES emulator too, like ines but sources seem not available.

There was NES/Famicom emulator called iNES for Maemo 5. I think maintainer was Marat Fayzullin, try contact him.

Some of NES games made by Konami are also available for MSX. And there is MSX emulator called fMSX for Maemo 5. It would be nice to see also for Leste.

But emulator what I think would be nice is SheepShaver. It emulates 90s Macs..Sources should be easy available. I think N900 might emulate this Mac: https://apple-history.com/6100
in full speed with it.

Arno_11 2024-01-24 17:31

Re: Porting apps to Leste
 
Same problem for both emulators: iNES and fMSX are not free sources unfortunately.
But yeah i can try to contact iNES maintainer.

For SheepShaver, definitely over my skills.

teroyk 2024-01-26 11:21

Re: Porting apps to Leste
 
Quote:

Originally Posted by Arno_11 (Post 1575922)
Same problem for both emulators: iNES and fMSX are not free sources unfortunately.
But yeah i can try to contact iNES maintainer.

Luckily or unluckily iNES and fMSX has(had) same Maemo maintainer. I PMed his email address to you.


All times are GMT. The time now is 12:59.

vBulletin® Version 3.8.8