PlayStation 2: Difference between revisions

imported>GovanifY
update to ps2dev instead of ps2toolchain for those that need it
Formuna (talk | contribs)
m Fixed some minor misspellings :33
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:


With 155 million sold, the PS2 was the best-selling gaming console ever.
With 155 million sold, the PS2 was the best-selling gaming console ever. Home-brew development is still going on, and many games recover online gaming capability since developers are rewriting the game server. A list of PlayStation 2 Online Games is available [https://docs.google.com/spreadsheets/d/1bbxOGm4dPxZ4Vbzyu3XxBnZmuPx3Ue-cPqBeTxtnvkQ here].
Home-brew development is still going on, and many games recover online gaming capability since developer are
rewriting game server. A list of PlayStation 2 Online Games is available [https://docs.google.com/spreadsheets/d/1bbxOGm4dPxZ4Vbzyu3XxBnZmuPx3Ue-cPqBeTxtnvkQ here].


= Emulation =  
= Emulation =  


This section explains how to run Playstation 2 games on NixOS.  A dedicated [[Games]] page lists games and reports on their successful execution on NixOS.
This section explains how to run Playstation 2 games on NixOS.   


== PCSX2 ==
== PCSX2 ==
   
   
You need a legal copy of your ps2 bios. There are many ways to do it, i just describe an easy but slowly one using uLaunchELF :
You need a legal copy of your ps2 bios. There are many ways to do it, so I will just describe an easy but slow one using uLaunchELF:
  1/ get latest ps2ident from https://github.com/ps2homebrew/PS2Ident/releases/tag/stable  
  1/ get latest ps2ident from https://github.com/ps2homebrew/PS2Ident/releases/tag/stable  
  2/ extract somewhere on an USB mass storage
  2/ extract somewhere on an USB mass storage
Line 33: Line 31:
   name = "ps2dev";
   name = "ps2dev";
   targetPkgs = pkgs: (with pkgs; [
   targetPkgs = pkgs: (with pkgs; [
    autoconf
    automake
    libtool
     gnumake
     gnumake
     clang
     clang
Line 50: Line 51:
     gmp.dev
     gmp.dev
     gmp.out
     gmp.out
     mpfr
     mpfr.out
    mpfr.dev
     libmpc
     libmpc
    cmake
    zlib.dev
    zlib.out
   ]);
   ]);
   runScript = "bash";
   runScript = "bash";
Line 58: Line 63:
   name = "ps2dev-shell";
   name = "ps2dev-shell";
   nativeBuildInputs = [ fhs ];
   nativeBuildInputs = [ fhs ];
  hardeningDisable = [ "format" ];
   shellHook = ''
   shellHook = ''
     # or whatever you want
     # or whatever you want
Line 67: Line 73:
     export PS2SDK=$PS2DEV/ps2sdk
     export PS2SDK=$PS2DEV/ps2sdk
     export PATH=$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin
     export PATH=$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin
    export CMAKE_INSTALL_PREFIX=$PS2DEV
     exec ps2dev
     exec ps2dev
     '';
     '';
Line 83: Line 90:
= PlayStation 2 Expansion Bay =
= PlayStation 2 Expansion Bay =


Read more about it : https://en.wikipedia.org/wiki/PlayStation_2_Expansion_Bay
Read more about it: https://en.wikipedia.org/wiki/PlayStation_2_Expansion_Bay
Only genuine Sony adapter offers network capability, you can upgrade them to sata thanks to a SATA mod kit from bitfunx or maxdiypower. On slim model, you can find kit too, but you will need to solder on the motherboard.
Only genuine Sony adapter offers network capability, you can upgrade them to sata thanks to a SATA mod kit from bitfunx or maxdiypower. On slim model, you can find kit too, but you will need to solder on the motherboard.


Line 124: Line 131:
=== install wLauncher ===
=== install wLauncher ===


In order to be able to launch unofficial softwares, you can :
In order to be able to launch unofficial software, you can:
* launch a dvd with [https://cturt.github.io/freedvdboot.html FreeDVDBoot]
* launch a dvd with [https://cturt.github.io/freedvdboot.html FreeDVDBoot]
* have a modchip
* have a modchip
* boot with a FMCB installed memory card
* boot with a FMCB installed memory card
* boot on HDD with an elf launcher like wLauncher
* boot on HDD with an elf launcher like wLauncher or [https://github.com/parrado/SoftDev2 SoftDev2]


Extract [https://cdn.discordapp.com/attachments/652863740370485258/742327866854998116/wLE_kHn_20200810.7z this archive] then call hdl_dump:
Extract [https://web.archive.org/web/20221210004709/https://www.ps2-home.com/forum/download/file.php?id=15758&sid=f956d2accefb993288a6791c7c85a5c0 this archive] (wLE_kHn_20200810.7z md5:430af5615895736d96b4f7156e92b2b0 [https://www.ps2-home.com/forum/viewtopic.php?t=5128 dl source]) then call hdl_dump:


  $ hdl_dump initialize /dev/sdb MBR.KELF
  $ hdl_dump initialize /dev/sdb MBR.KELF
Line 136: Line 143:
=== install FHDB (Free HDBoot) ===
=== install FHDB (Free HDBoot) ===


Get FMCB installer from official website :https://sites.google.com/view/ysai187/home/projects/fmcbfhdb
Get FMCB installer from official website: https://sites.google.com/view/ysai187/home/projects/fmcbfhdb


You should be able to launch it following the instruction there.
You should be able to launch it following the instruction there.
Line 142: Line 149:
=== Install games ===
=== Install games ===


Games doesn't use PFS but HDLoader partition so we can't rely on pfsshell to install them. Use hdl_dump (see hdl_dump help) :
Games doesn't use PFS but HDLoader partition so we can't rely on pfsshell to install them. Use hdl_dump (see hdl_dump help):


   $ hdl_dump install /dev/sdb Final\ Fantasy\ X\ \(France\).iso
   $ hdl_dump install /dev/sdb Final\ Fantasy\ X\ \(France\).iso
Line 150: Line 157:
=== Samba ===
=== Samba ===


works fine - example soon.
Works fine - example soon.


=== FTP transfer ===
=== FTP transfer ===
Line 156: Line 163:
A very slow solution ( ~ 500KB/s ).  
A very slow solution ( ~ 500KB/s ).  


* PC side (client) :
* PC side (client):


PS2 doesn't support TLS, use plain FTP. (tested with filezilla)
PS2 doesn't support TLS, use plain FTP. (tested with filezilla)
* PS2 side (server) :
* PS2 side (server):


Launch ps2net. You need to activate hdd  (exploring it in uLaunchELF for example) before ps2net to share it.
Launch ps2net. You need to activate hdd  (exploring it in uLaunchELF for example) before ps2net to share it.
[[Category:Gaming]]
[[Category:Applications]]
[[Category:Hardware]]