Commit Graph
30 Commits
Author SHA1 Message Date
fgsfds 11fd86002b Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-02-12 16:38:09 +01:00
fgsfds d1d288b96a port: don't use cv2pdb by default if it exists 2024-01-07 16:43:02 +01:00
fgsfds 06f2283180 port: use cv2pdb on windows executables if present 2024-01-07 16:09:04 +01:00
fgsfds 3c62a967a2 port: display branch name in legal screen 2023-12-26 22:58:08 +01:00
fgsfds 75c4905e9b Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2023-12-04 21:36:58 +01:00
José Agustín Moreno Larios 13b23de6d3 Simplified the 'codeclean' rule to find all *.o files and delete them 2023-12-03 16:38:18 -05:00
José Agustín Moreno Larios d897356029 Changed 'codeclean' so that it doesn't try to delete inexistent directories. 2023-12-03 16:28:02 -05:00
fgsfds 4085ae5806 port: debugger: add janky imgui debugger
maybe it'll help figuring out some of the gameplay bugs
2023-10-09 01:35:36 +02:00
fgsfds d303971c2d Revert "port: use system trig functions"
apparently this only causes issues, though it might be possible to use SOME trig functions from libc
2023-09-24 11:47:14 +02:00
fgsfds dad5b3c074 port: use system trig functions
this might cause different behavior from the N64 version or it might fix some issues, who knows
2023-09-23 13:18:51 +02:00
fgsfds 491d3521f7 port: different names for pal and jpn EXEs 2023-09-04 21:06:49 +02:00
fgsfds d6854c412c port: allow building with pal-final and jpn-final
this will produce a separate executable that will load pd.pal-final.z64 or pd.jpn-final.z64, respectively

japanese characters are broken in jpn and pal crashes when you try to select language, so no autobuilds yet
2023-09-04 21:06:10 +02:00
fgsfds 701193e71a port: add crash handler
you probably won't get symbol names, but you can still use addr2line
2023-09-01 22:42:44 +02:00
fgsfds 4fef14f9fc port: rework config system
it is no longer required to specify all possible config keys in config.c, you can just use configGet/Set
2023-08-27 17:26:46 +02:00
fgsfds bf8277fb2c port: re-disable GBI_FLOATS
some more matrices need fixing I guess
2023-08-26 15:59:43 +02:00
fgsfds d9c974fc00 port: set default optimization level to -Og 2023-08-26 14:49:37 +02:00
fgsfds 23dfc05511 port: enable GBI_FLOATS by default
seems like it works fine
2023-08-26 14:49:07 +02:00
fgsfds 82f647299c port: link with -ldl on linux regardless of arch 2023-08-23 22:36:47 +02:00
fgsfds b4207b3fd9 port: allow theoretical ARM builds
this requires your device to support desktop GL3+ and might require manual setting of the TOOLCHAIN variable
2023-08-20 21:41:04 +02:00
fgsfds 1eb30b28e1 port: don't shove headers into the link command line 2023-08-15 21:35:09 +02:00
fgsfds 83c1bd3ffd ci: bundle DLL hell with windows builds 2023-08-13 11:56:54 +02:00
fgsfds 8c9c0abee6 port: use uname -m instead of -p for machine arch 2023-08-11 23:43:31 +02:00
fgsfds 4f4280de58 port: on linux, default to host gcc with -m32
as suggested in #1

also do not abort clean on unsupported target arch
2023-08-11 22:06:39 +02:00
fgsfds 075b7f9bd7 port: make the legal screen display the commit hash and platform 2023-08-09 22:54:42 +02:00
fgsfds fc16dc1330 port: nuke unused env var 2023-08-09 22:33:25 +02:00
fgsfds 28282f1c35 port: auto-generate headers like the decomp does
this does not require the ROM
2023-08-09 22:32:26 +02:00
fgsfds 245d5095b5 port: remove hacks from makefile 2023-08-08 14:31:30 +02:00
fgsfds 51a27cba75 port: disable windows imagebase hack
that makes windows put the heap at a lower address instead
2023-08-05 01:13:40 +02:00
fgsfds ea8e49c870 port: linux support; horrible hack to avoid segmented address funny moments
linux support only tested a little bit in a VM
2023-08-04 23:44:20 +02:00
fgsfds 9ec6fa06f8 port: oops, forgot Makefile this whole time 2023-08-01 23:39:14 +02:00