Skip to content

[PsyX] macOS support (Metal) #217

@zhmrsk

Description

@zhmrsk

Hello everyone!

I understand that the developers clearly stated that macOS is not considered a target platform. This is due to Apple dropping support for i386 code.

So, my idea was to "port" the 32-bit code to 64-bit. I have no programming experience; the entire code modification was done over a couple of evenings in Antigravity.

The goal was to run Redriver on macOS 26 Tahoe using an Apple Silicon M1 Pro processor.

Since there were issues with OpenGL, I decided to integrate Metal.

I can't say exactly how many changes were made to the code or how radical they are, but I am ready to share the current result:

All the gameplay mechanics work perfectly: collisions and missions. The only thing that still requires attention is the graphics. Right now, I am concerned about the random disappearance (or "popping out") of road, object, and building textures. I attribute this to an incorrect, chaotic texture loading process. Wireframe mode allowed me to see that when textures for nearby objects disappear, objects in the distance are being loaded.

There is also a problem with PGXP. It is clearly broken, as polygon vertices are being stretched chaotically towards the sun (I'm not sure if the anchor point is specifically the sun, though).

I would be happy to contact the mod developers and continue working together. At the very least, it would greatly help me to correctly identify the problem so I can localize it.

I'm attaching screenshots of the game's operation below:

PGXP: OFF
Image
PGXP: ON
Image
Wireframe
Image
Texture drops:
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions