sm64ex

AmigaOne X1000 platform specific issues related to Linux only.
Post Reply
User avatar
xeno74
Posts: 10707
Joined: Fri Mar 23, 2012 7:58 am
Contact:

sm64ex

Post by xeno74 »

Hi All,

I was able to compile sm64ex with MintPPC on my X5000 today. It also works on Fienix.

Links:
Image

Cheers,
Christian
User avatar
xeno74
Posts: 10707
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: sm64ex

Post by xeno74 »

Big Endian patch for sm64-port: 504b225b62ac9072945586fbc1b62571f0da631b.patch (Allow tools to work properly on big endian systems)
Last edited by xeno74 on Sun Mar 28, 2021 5:09 pm, edited 1 time in total.
User avatar
xeno74
Posts: 10707
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: sm64ex

Post by xeno74 »

Makefile: replace CFLAGS += -march=native with CFLAGS += -mcpu=native
User avatar
xeno74
Posts: 10707
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: sm64ex

Post by xeno74 »

Installation instructions:
  • Code: Select all

    sudo xbps-install -S base-devel python3 SDL2-devel glew-devel
    
  • Code: Select all

    git clone https://github.com/sm64pc/sm64ex.git
    or download: nightly.zip
  • The selected ROM has to be in the repo folder with the name
    baserom.$VERSION.z64. For example: baserom.eu.z64.
  • Code: Select all

    cp baserom.eu.z64 sm64ex/
    or

    Code: Select all

    cp baserom.us.z64 sm64ex/
  • vim Makefile

    Replace march with mcpu in the Linux section:

    Code: Select all

    else
      LDFLAGS := $(BITS) -march=$(TARGET_ARCH) -lm $(BACKEND_LDFLAGS) -lpthread -ldl
      ifeq ($(NO_PIE), 1)
        LDFLAGS += -no-pie
      endif
    

    Code: Select all

    else
      LDFLAGS := $(BITS) -mcpu=$(TARGET_ARCH) -lm $(BACKEND_LDFLAGS) -lpthread -ldl
      ifeq ($(NO_PIE), 1)
        LDFLAGS += -no-pie
      endif
    
  • Code: Select all

    make VERSION=eu -j2
    (For the E.U. version on X5000/20 and X1000) or

    Code: Select all

    make -j4
    (For the U.S. version on X5000/40 with 4 cores)
You can start the U.S. version with the following commands:

Code: Select all

cd /home/amigaone/Downloads/sm64ex/build/us_pc

Code: Select all

./sm64.us.f3dex2e
Image
Post Reply