Commit Graph

220 Commits (fa94e7adaee6f947c75222f76ddbb2fa22d0de96)

Author SHA1 Message Date
Zerocker 34714d8fd6 Add separate DEBUG flag for tools 2020-06-07 21:16:09 +09:00
Zerocker f9496d274d Remove old -O2 flag 2020-06-05 21:12:44 +09:00
Zerocker 7dfcbd081a Nuke old VERSION OPT_FLAGS and add DEBUG flag 2020-06-05 20:40:08 +09:00
fgsfds 8f697aad49 roll back rsync
apparently I'm the only man in existence who has it installed by default
2020-06-02 22:37:43 +03:00
fgsfds 88bad645ed use 'rsync' instead of 'find' + 'cp -r --parents'
mostly because cp is fucking weird on OSX, thank you Apple very cool
2020-06-02 17:57:45 +03:00
fgsfds eed9db79a7 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 255174fc4d use a script to output zero-terminated strings instead of bash printf 2020-05-26 02:59:38 +03:00
fgsfds 9e3f6e33e9 build the res target by default when EXTERNAL_TEXTURES is enabled 2020-05-26 02:18:09 +03:00
fgsfds 5524af2855 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
fgsfds f4252e311e add option to load textures from external files
this stores the null terminated texture name instead of the texture data

activated with EXTERNAL_TEXTURES=1
2020-05-25 04:22:03 +03:00
fgsfds fdd0057ffc remove debug print in Makefile 2020-05-25 00:58:43 +03:00
fgsfds d7331f176b separate options menu strings and add JP strings 2020-05-22 01:36:49 +03:00
IvanDSM 82500919c7 Add commit hash to window title for nightly builds.
This also adds a flag for detecting nightly builds in the code.
2020-05-21 14:19:20 -03:00
fgsfds bcfc1160db add GL1.3 (or 1.2 with some extensions) rendering backend
there are still some graphical glitches and no fog
2020-05-20 07:00:04 +03:00
fgsfds 4fdaa3475f clean up some toolchain compatibility fixes
also rename the abs() macro to not cause any fucking conflicts ever again
2020-05-19 22:22:52 +03:00
Zerocker 219ca905f9 Merge remote-tracking branch 'upstream/nightly' into nightly 2020-05-20 00:02:29 +09:00
zerocloude ffb45b0a60 Merge pull request #153 from coltongit/patch-23
TARGET_N64 removal
2020-05-19 23:37:51 +09:00
Colton Rushton eaf1f51b0d Made the game even easier to compile in MXE. 2020-05-19 10:38:08 -03:00
Colton Rushton 2170a4cee9 Refactor PR #156 2020-05-19 10:32:01 -03:00
Zerocker 68ed80fa67 Added flag to support only text-based savefiles 2020-05-18 17:46:50 +09:00
Colton G. Rushton ff6caad6b0 Makefile updated to thanos TARGET_N64 2020-05-17 08:19:04 -03:00
Colton G. Rushton 66e448ac67 fix small bug with MXE compilation
the no-pie command line option was being sent to MXE when it shouldn't have been, breaking MXE compilation. Urgent fix.
2020-05-16 22:54:03 -03:00
Colton G. Rushton 4e9584e178 Fix a few minor bugs with MXE compilation 2020-05-16 21:24:29 -03:00
Colton G. Rushton 9921c12d5b Make MXE easier to compile in
Specifying the target arch MXE expects in the makefile makes it easier for MXE users to compile the game.
2020-05-16 21:04:55 -03:00
fgsfds e519d970fa Merge branch 'master' into osx_build_clean 2020-05-17 01:27:51 +03:00
fgsfds e949d0595c Merge pull request #132 from coltongit/patch-12
Further fixes to MXE compilation
2020-05-17 01:24:14 +03:00
Colton G. Rushton 4da08e8449 strip out now-needless NOBZERO flag 2020-05-16 19:20:45 -03:00
Colton G. Rushton 06d1ca4a6a Another fix to MXE 2020-05-16 17:20:33 -03:00
Colton G. Rushton e84fa5fab2 Add NO_BZERO for MXE 2020-05-16 17:12:56 -03:00
fgsfds 23055c2a44 Merge branch 'master' into master 2020-05-16 22:47:39 +03:00
Hyenadae 227c3cdb90 OSX_BUILD cleaned commit 2020-05-16 15:30:27 -04:00
Colton G. Rushton dfc0439a65 Further fixes to MXE compilation
Adds on the work of PR #130.
2020-05-16 16:16:44 -03:00
fgsfds 2f06545366 Merge pull request #130 from coltongit/patch-11
Fix compilation for MXE on Linux and WSL
2020-05-16 21:05:55 +03:00
Colton G. Rushton 098fa1feae even further cleanup of the makefile 2020-05-16 14:59:27 -03:00
Colton G. Rushton 40ed95620b Further clean up the makefile fixes 2020-05-16 14:38:47 -03:00
Colton G. Rushton 3c793fae82 Clean up the makefile fixes a bit 2020-05-16 14:35:56 -03:00
fgsfds 0666656db9 separate EXT_OPTIONS_MENU into its own option 2020-05-16 19:53:36 +03:00
Colton G. Rushton c40ab766e9 Nah dude, that's possible under WINDOWS_BUILD=1 2020-05-16 13:46:18 -03:00
Colton G. Rushton 60a8e2b2ab Simplify MXE fixes 2020-05-16 13:01:23 -03:00
Colton G. Rushton e569a596e8 fix objcopy on MXE builds 2020-05-16 12:56:58 -03:00
Colton G. Rushton 752e43aa80 remove needless ifeq 2020-05-16 12:30:25 -03:00
Colton G. Rushton b0da6afc95 removing a pesky endif 2020-05-16 12:26:06 -03:00
Colton G. Rushton 7fc5775d8a Fix compilation for MXE on Linux and WSL
Even though this isn't usually an option on the wiki, this will allow for cross-compilation of sm64pc through MXE on both Linux and WSL, making Wine testing much easier.
2020-05-16 12:21:16 -03:00
Colton G. Rushton ecb4cea17f Add compile-time texture fixes to Makefile
Add compile-time texture fixes as a Makefile build flag, set when `TEXTURE_FIX=1`.
2020-05-16 09:41:57 -03:00
Vinícius R. Miguel b7c209cb84 Add in-game control binding menu
Originally on the testing branch
2020-05-15 15:38:35 -03:00
uwabami a148d1a5fa Merge branch 'master' of https://github.com/sm64pc/sm64pc 2020-05-14 14:35:15 +02:00
Hyenadae 352f0c8b9b Fixed more border-related code and fixes to N64 build removal 2020-05-14 05:18:12 -04:00
Vinícius R. Miguel 82e872d5da Show the console on Windows setting `WINDOWS_CONSOLE=1` 2020-05-13 13:23:52 -03:00
Jan200101 feb9d900f7 extend cross compilation support 2020-05-12 16:08:34 +02:00
uwabami 9791e95ae7 adding option to disable draw distance 2020-05-12 09:26:16 +02:00
IvanDSM 7f3503ddb2 Windows build clarifications. 2020-05-10 16:50:48 -03:00
IvanDSM 8ef4896f86 Disable bettercamera by default. 2020-05-10 15:08:59 -03:00
IvanDSM 941bc197eb Add warning about WINDOWS_BUILD 2020-05-10 13:13:15 -03:00
IvanDSM 33c426171c Fix Web build.
The ifeq($(TARGET_WEB),0) check on line 49 wasn't being endif'ed properly, which caused the rest of the code up until 244 (where an incorrect endif was placed) to be ignored.
This commit fixes that issue and allows web builds to work normally.
2020-05-10 12:45:46 -03:00
IvanDSM e21210f238 New Makefile and fgsfdsfgs fixes
New Makefile based on master branch Makefile.
Ported fdsfgsfds' OOB memory access and save buffer corruption fixes.
2020-05-10 05:11:27 -03:00
Jan200101 d0eac210c3 port analog camera code to the master codebase 2020-05-08 13:41:35 +02:00
Jan200101 68c3eb3e10 revert -O2 when non matching,fix EU compile,disable cursor in fullscreen
- O2 caused problems with audio on US builds when targeting generic systems
- compiling an EU version previously caused problems due to race condition in the Makefile
- not being able to see the cursor on a small window is annoying, only hide on fullscreen
2020-05-08 13:41:12 +02:00
Hyenadae 37df664c45 Makefile additions and part of SDL2.C Pi-GLES define 2020-05-08 08:38:50 +01:00
HengiFettlich 5976d3fb34 Update Makefile
remove unnecessary dependencies
2020-05-07 20:46:35 +02:00
Jan200101 9267bdd8a8 merge PC port onto the decompile 2020-05-07 20:21:22 +02:00
n64 4d54e2f91a Refresh 8 2020-04-03 14:57:26 -04:00
n64 88e2433da5 Refresh 7 2020-03-01 22:42:52 -05:00
n64 88b91e7c75 refresh 6 2020-02-03 00:51:26 -05:00
n64 ced3a63505 refresh 5 2020-01-03 10:38:57 -05:00
n64 99e662fa5d refresh 4 2019-12-01 21:52:53 -05:00
n64 8bc51a5025 Refresh 3 2019-11-03 14:36:27 -05:00
n64 56320abb73 HOTFIX: Text Makefile dependency 2019-10-05 19:40:22 -04:00
n64 5effc886be Refresh 2 2019-10-05 15:08:05 -04:00
n64 33b27a1ceb Refresh 1 2019-09-01 15:50:50 -04:00
n64 89e8690857 init2 2019-08-25 00:46:40 -04:00