Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS2 Verison: Not saving #80

Open
kittertron opened this issue Jan 28, 2023 · 5 comments
Open

PS2 Verison: Not saving #80

kittertron opened this issue Jan 28, 2023 · 5 comments

Comments

@kittertron
Copy link

I had a friend of mine compile the latest version for me, and it does not save. I had an older version which does and I want to know what needs to be done to be saved.

@joveaaron
Copy link

Same here!

@fjtrujy
Copy link

fjtrujy commented Feb 8, 2023

Could you try to compile the game using just the latest toolchain status? I remember that memory card support was broken some months ago...

@fgsfdsfgs
Copy link
Owner

This might have been fixed in PR #81, currently unable to test.

@metchebe
Copy link

Hi. I managed to succesfully build the latest version (as of today, 51efa90) and saving/loading to memory card seems to work OK on PS2 hardware, at least up to the two stars I tested.

I did not use the standard method, so for reference here is a brief summary of what I did:

  1. Pull and run the ps2dev/ps2dev:latest docker image. Note: this is based on Alpine Linux.
  2. Install with apk add the following packages within the container: make python3 gcc libc-dev g++
  3. Build sm64 within the container with make as usual.
  4. (Optional) Strip and pack the resulting .elf with the appropriate tools within the container.

As I said everything seems OK. There is some garbage displayed when loading but it eventually shows the title screen.

Regards.

@metchebe
Copy link

metchebe commented Mar 22, 2023

Hi. As a followup to my previous post, I played through the whole game built with the current source and toolkit and it runs and saves correctly. Issues were probably before pull requests #79 and #81, which likely fixed the issues people were having.

I would suggest closing this issue and related: #77, #72, #60 (and maybe others).

For reference, here is an alternative Dockerfile that can be used for compiling with a Docker container:

FROM ps2dev/ps2dev:latest

RUN apk update && apk add g++ gcc libc-dev make python3
RUN mkdir /sm64
WORKDIR /sm64

CMD echo 'usage: docker run --rm -ti -v $PWD:/sm64 sm64_ps2 make --jobs $(nproc)'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants