Commit graph

14 commits

Author SHA1 Message Date
KirbyKidJ
d1d36a1fa2
Fixed MacOS Resource Path Location (#617)
* Fixed MacOS resource path

I'm not very good at C coding.

* Fixed formatting and ensured safe return
2025-01-07 16:27:11 -05:00
Radek Krzyśków
dc538f4f50
Reworked the platform-dependent executable paths. Quoting the command line for Discord game invites. (#188) 2024-12-27 18:05:54 -05:00
Radek Krzyśków
e2c15afc68
Windows platform enhancements (#84)
* Enabling portable paths for Windows (custom user preferences dir, drag'n'drop paths)

* Updated the windows messages loop for DXGI window API

* Fixed international keyboard layouts text input in DXGI
2024-06-30 00:46:14 -04:00
Agent X
f2a6891a08 Rework new user folder system, make it just read sm64ex-coop if sm64coopdx isn't present, no more copying 2024-05-16 17:15:25 -04:00
Agent X
591261fd41 Rename tmp to .tmp and hide on Windows (Will test after making this commit) 2024-05-15 18:00:16 -04:00
Agent X
12aff40090 Make user folder sm64coopdx instead of sm64ex-coop, add auto folder copy 2024-05-15 18:00:16 -04:00
Agent X
c91b390d80 Remove some legacy sm64ex code 2024-05-11 16:30:25 -04:00
Agent X
f8e0bfc2e4 Fix path backslashes with DJUI console 2023-11-23 12:21:01 -05:00
MysterD
2d70b9bb87 Switch all PATH_MAX to SYS_MAX_PATH 2022-02-25 18:33:31 -08:00
fgsfds
326f8ed071 properly check for basepacks 2020-06-08 08:49:06 +03:00
fgsfds
4feacc0065 add virtual filesystem thing w/ ZIP support
similar to Quake 3: all the archives and folders get mounted to the same mountpoint in the VFS, read access to files in the VFS is transparent
2020-06-07 21:06:25 +03:00
fgsfds
6cee636382 change EXTERNAL_TEXTURES to EXTERNAL_DATA; load sound data from external files
no separation tho, just binary blobs o shit
2020-06-01 12:13:05 +03:00
fgsfds
655c381d6f add texture preloading
when EXTERNAL_TEXTURES is defined, the texture hashmap in gfx_pc.c uses texture names as keys

all textures are precached on startup if EXTERNAL_TEXTURES is defined and 'precache' is true in the config
2020-05-26 00:54:51 +03:00
fgsfds
1873f7aba5 game now uses non-working directory paths by default
saves by default go into XDG_DATA_HOME/sm64pc

external data is read from the executable directory, if it's not found there on Unix systems the game will attempt to read it from some paths like /usr/local/share/sm64pc

both save data and readonly data fall back to other options in case of a problem

behavior can be overridden by specifying --datapath and --savepath on the CLI

both of those will expand the exclamation point ('!') to the executable path, e. g. --savepath '!/save'
2020-05-25 07:19:35 +03:00