RealRTCW icon indicating copy to clipboard operation
RealRTCW copied to clipboard

M1 Mac build starts but game crashes

Open gfelisberto opened this issue 4 years ago • 8 comments

I did a git clone of the repo and a chmod +x make-macosx-app.sh make-macosx.sh . After a ./make-macosx.sh arm64 I copy the Steam pk3 files to the build/release-darwin-arm64/mainas well as the files from RealRTCW 3.3 ZIP and started ./RealRTCW.arm64 .

The intro videos play normally and I can start the game. After the other intros when the wallpaper with the mission appears I get sent back to the console and in Activity Monitor I see the game marked in Red as Not Responding.

What other info/debug can I share?

gfelisberto avatar Feb 06 '22 20:02 gfelisberto

What branch are you building? Try master-nosteam. Master-steam is currently WIP

wolfetplayer avatar Feb 06 '22 20:02 wolfetplayer

I was running the master-steam. The master-nosteam does not build:

GAME_CC code/game/g_items.c
GAME_CC code/game/g_mem.c
code/game/g_cmds.c:1628:27: error: implicit declaration of function 'Use_props_grammofon' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                if (!traceEnt->is_dead) Use_props_grammofon(traceEnt, ent, ent);
                                        ^
1 error generated.
make[2]: *** [build/release-darwin-arm64/main/game/g_cmds.o] Error 1

gfelisberto avatar Feb 06 '22 21:02 gfelisberto

The MR fixes the build and now the game starts, but somethings are strange. When it starts I cannot see the gun on the floor, and after picking it up there is nothing on screen. Also sounds are kind of strange. I can try to record a screen capture of needed.

gfelisberto avatar Feb 06 '22 23:02 gfelisberto

Quick video https://youtu.be/Xpc8v71G5xg I used a camera because I do not have a loopback to grab video with audio

gfelisberto avatar Feb 07 '22 20:02 gfelisberto

I synced my repo to the main one and now both the -steam and -nosteam branches have the problem of the game crashing in the mission screen. Any debug info I can share?

gfelisberto avatar Mar 13 '22 02:03 gfelisberto

Both branches are WIP. Probably need additional game resources. Everything will be fine when 4.0 hits the deck.

wolfetplayer avatar Mar 13 '22 10:03 wolfetplayer

The MR fixes the build and now the game starts, but somethings are strange. When it starts I cannot see the gun on the floor, and after picking it up there is nothing on screen. Also sounds are kind of strange. I can try to record a screen capture of needed.

I solved this problem by updating game resources

Sialor avatar May 13 '22 13:05 Sialor

I solved this problem by updating game resources

How did you do that?

gfelisberto avatar May 13 '22 19:05 gfelisberto