GithubHelp home page GithubHelp logo

ps2dev / mymc Goto Github PK

View Code? Open in Web Editor NEW
84.0 84.0 26.0 82 KB

A public domain utility for working with PlayStation 2 memory card images. By Ross Ridge.

Home Page: http://www.csclub.uwaterloo.ca:11068/mymc/

Python 100.00%

mymc's Introduction

ps2dev

GitHub Workflow StatusGitHub Workflow StatusDocker Pulls

ATTENTION

If you are confused on how to start developing for PS2, see the getting started section on the ps2dev main page.

Overview

Main PS2 Repo for building the whole PS2 Development environment in your local machine.

This program will automatically build and install the whole compiler and other tools used in the creation of homebrew software for the Sony PlayStation® 2 videogame system.

What these scripts do

These scripts download (git clone) and install:

Requirements

  1. Install gcc/clang, make, cmake, patch, git, texinfo, flex, bison, gettext, wget, gsl, gmp, zlib, mpfr and mpc if you don't have those packages.
  • Ubuntu
sudo apt -y install gcc g++ make cmake patch git texinfo flex bison gettext libgsl-dev libgmp3-dev libmpfr-dev libmpc-dev zlib1g-dev autopoint
  • Fedora/CentOS
sudo dnf -y install gcc make cmake patch git texinfo flex bison gettext gmp-devel mpfr-devel libmpc-devel zlib-devel
  • Alpine
apk add build-base cmake git texinfo flex bison gettext gmp-dev mpfr-dev mpc1-dev zlib-dev
  1. Optional. If you are upgrading from the previous version of the PS2DEV environment, it is highly recommended to remove the content of the PS2DEV folder before upgrade. This is a necessary step after the major toolchain upgrade.
sudo rm -rf $PS2DEV
  1. Ensure that you have enough permissions for managing PS2DEV location (which defaults to /usr/local/ps2dev, but you can use a different path). PS2DEV location MUST NOT have spaces or special characters in its path! PS2DEV should be an absolute path. On Unix systems, if the command mkdir -p $PS2DEV fails for you, you can set access for the current user by running commands:
export PS2DEV=/usr/local/ps2dev
sudo mkdir -p $PS2DEV
sudo chown -R $USER: $PS2DEV
  1. Add this to your login script (example: ~/.bash_profile) Note: Ensure that you have full access to the PS2DEV path. You can change the PS2DEV path with the following requirements: only use absolute paths, don't use spaces, only use Latin characters.
export PS2DEV=/usr/local/ps2dev
export PS2SDK=$PS2DEV/ps2sdk
export GSKIT=$PS2DEV/gsKit
export PATH=$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin
  1. Run build-all.sh
./build-all.sh

Docker generation

This repo also uses CI/CD to create a docker image called ps2dev/ps2dev:latest per change. This is useful if you're a developer that wants to create/port an application to the PS2. You can compile your project using this docker image.

Extra steps

If you want, you can JUST install the extra dependencies ps2client and ps2-packer. To achieve this, execute the following:

./build-extra.sh

macOS

If you download the pre-built macOS binaries and get a security error such as "ps2client" cannot be opened because the developer cannot be verified., you can remove the quarantine attribute by running:

xattr -dr com.apple.quarantine path/to/prebuilt/ps2toolchain

Community

Links for discussion and chat are available here.

Thanks

mymc's People

Contributors

akuhak avatar fjtrujy avatar mlafeldt avatar uyjulian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mymc's Issues

Support for LRPS2-Generated Memory Cards

myMC doesn't seem to work with RetroArch LRPS2 Memory Cards (Memory Cards created using PCSX2 seem to work fine).
Please add support for editing these files.

image

[FR] recursive extract dirs

allow recursively extracting dirs from a memory card via wildcards.

e.g.

$ mymcplus ~/pcsx2.config/PCSX2/memcards/Mcd001.ps2 extract '*'

BASLUS-20085SILPH1: not a regular file

Seems to not be compatible with pcsx2 1.5.0 dev-2867

for some reason, it doesn't think a memcard created in this build is a memcard even though the extension is the same
I created a card called memcard1.ps2 in pcsx2 1.5.0 and when I try select it in mymc-gui it says:


Error

C:...\pcsx2-v1.5.0-dev-2867\memcards\memcard1.ps2: Not a PS2 memory card image

OK

Not working with python 2 on wdmycloud(debian wheezy, sort of)

using sources here and at http://www.csclub.uwaterloo.ca:11068/mymc/mymc-pysrc-2.6.zip

this is what i get when i try to run the python script in my terminal.(ssh using putty)
what command is it looking for?

included some info about my system in case it just isn't compatible.

I don't think python 3 can be installed.

$ python --version
Python 2.7.3

$ python -m platform
Linux-3.2.26-armv7l-with-debian-7.1

$ uname -a
Linux WDMyCloud 3.2.26 #1 SMP Thu Jul 9 11:14:15 PDT 2015 wd-2.4-rel armv7l GNU/Linux

$ dpkg --print-architecture
armhf

$ lscpu | grep Endian
Byte Order: Little Endian

$ ./mymc.py -h
./mymc.py: line 7: $'\r': command not found
./mymc.py: line 8: $'A utility for manipulating PS2 memory card images.\r': command not found
./mymc.py: line 9: $'\r': command not found
./mymc.py: line 10: _SCCS_ID: command not found
./mymc.py: line 11: $'\r': command not found
./mymc.py: line 12: import: command not found
./mymc.py: line 13: import: command not found
./mymc.py: line 14: import: command not found
./mymc.py: line 15: import: command not found
./mymc.py: line 16: import: command not found
./mymc.py: line 17: import: command not found
./mymc.py: line 18: import: command not found
from: can't read /var/mail/errno
./mymc.py: line 20: $'\r': command not found
./mymc.py: line 21: import: command not found
./mymc.py: line 22: import: command not found
from: can't read /var/mail/ps2mc_dir
from: can't read /var/mail/round
./mymc.py: line 25: import: command not found
./mymc.py: line 26: $'\r': command not found
./mymc.py: line 27: syntax error near unexpected token (' '/mymc.py: line 27: class subopt_error(Exception):

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.