Commit Graph
165 Commits
Author SHA1 Message Date
fgsfds ca8851789a port: add centered HUD mode
set Game.CenterHUD=1 in pd.ini to enable
2023-09-22 20:26:32 +02:00
fgsfds c3f572f016 port: recreate infiltration camera effects
using newly added modulation blending and noise
2023-09-17 23:34:02 +02:00
fgsfds 6a1b0a474c port: allow specifying path to eeprom file
--eeprom-file file.bin
2023-09-14 21:35:05 +02:00
fgsfds 53e881b75e port: support loading/saving from/to a directory in HOME or APPDATA
~/.local/share/perfectdark on Linux

AppData/Roaming/perfectdark on Windows

on Windows if the game has write access to the working directory it will save there by default, otherwise it will save to AppData

on Linux the game will save to the working directory if there is already a config there, otherwise it will save to ~

additionally the ROM/data files will be loaded from wherever they're found, working directory taking priority
2023-09-13 20:36:42 +02:00
fgsfds fff2fcae21 port: don't increment module refcount when getting base address 2023-09-12 23:28:30 +02:00
fgsfds a68a23d1cb port: print module base in crash message 2023-09-12 23:24:23 +02:00
fgsfds c10050a14c port: jpn-final: possibly fix japanese characters 2023-09-11 18:32:09 +02:00
fgsfds f8ef6939b0 port: roll back to old variant of #76 2023-09-08 22:28:19 +02:00
fgsfds 4870641d38 Merge pull request #126 from Phnod/zoom-hud-fov
Zoom HUD fov fix and zoom fov config option
2023-09-08 13:00:14 +02:00
fgsfds d7652a6db6 port: remove stray field in TextureCacheKey 2023-09-04 21:10:20 +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
Phnod 7d96cd8fbd Merge branch 'port' of https://github.com/Phnod/perfect_dark into zoom-hud-fov
# Conflicts:
#	port/src/main.c
#	src/include/data.h
2023-09-03 15:39:46 -04:00
fgsfds 840a2e73a5 port: implement screen shake 2023-09-03 19:12:29 +02:00
Phnod d033a7fa02 Merge branch 'port' of https://github.com/Phnod/perfect_dark into zoom-hud-fov
# Conflicts:
#	src/include/data.h
2023-09-02 19:05:12 -04:00
fgsfds 07c3a513ef port: generalize the texture font filter a bit
now called TextureFilter2D; although for now I couldn't find anything other than fonts to use it on
2023-09-03 00:36:27 +02:00
fgsfds 18b467a4d8 Merge pull request #127 from Phnod/font-filtering
port: add a config option to disable texture filtering on fonts
2023-09-03 00:22:06 +02:00
Catherine Reprobate 0d6a62ada0 Use XBox / PC Menu A/B semantics
Fixes #110
2023-09-02 13:28:21 -07:00
fgsfds 702db43590 port: workarounds for some sky issues 2023-09-02 19:35:04 +02:00
fgsfds cc079e842b port: small crashhandler fix 2 2023-09-01 22:58:45 +02:00
fgsfds 37907dccfc port: small crashhandler fix 2023-09-01 22:49:45 +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 b0d97bde89 port: possibly fixed a bunch of textures
at the cost of about 22kb extra memory, how horrifying
2023-09-01 17:55:07 +02:00
Phnod 9eb3ffcc30 port: add a config option to disable texture filtering on fonts 2023-09-01 00:02:47 -04:00
Phnod 2a5160c519 cleanup: move repetitive zoom fov logic to single multiplier value 2023-08-31 20:39:30 -04:00
Phnod 96bd8e05aa port: add ini config parameter to control whether ini FOV change should affect the max zoom of weapons 2023-08-31 20:39:29 -04:00
fgsfds e883144a76 port: fix texformat errors 2023-08-31 13:00:04 +02:00
fgsfds b6a3aef345 port: add logging and some command line args
--log: logs messages to pd.log

--boot-stage N: sets initial stage number to N (MP stages will crash or hang if booted like this)

--no-sound: disable sound

--rom-file S: set ROM filename
2023-08-31 12:54:18 +02:00
fgsfds 24ced381de port: add separate mouse aim sensitivity
Game.MouseAimSpeedX and Game.MouseAimSpeedY
2023-08-31 01:21:33 +02:00
fgsfds ba8346edb7 port: experimental hack for proper 16:9 HUD
might or might not be more convenient than editing all offsets
2023-08-31 00:45:18 +02:00
fgsfds 600f261dcb port: don't crash silently on GL errors 2023-08-30 18:19:54 +02:00
fgsfds 14efaee388 port: add wide rect commands; fix crosshair spazzing out on screen borders
if you're building manually, this change requires a clean rebuild
2023-08-30 17:21:13 +02:00
fgsfds c3b4d59168 port: add 1964GEPD-like mouse aim mode
you can switch to the old variant by setting Game.MouseAimMode to 1 in pd.ini
2023-08-30 15:28:33 +02:00
fgsfds 970e13773d port: remove unused fileSlots array 2023-08-30 12:45:39 +02:00
fgsfds af1422a1de port: move CrosshairSway and FovY to the [Game] ini section
fov doesn't really belong in the video functions either
2023-08-30 12:31:27 +02:00
fgsfds 4947350230 Merge pull request #70 from squiddingme/crosshair
Config option to control crosshair/gun sway
2023-08-30 12:15:57 +02:00
fgsfds d39d7fb1f5 port: small cleanup 2023-08-30 12:02:24 +02:00
Raf 1a7458a290 fix whitespace issues 2023-08-29 16:26:33 +08:00
Raf 9a259acefa enable using mouse on the radial menu: removed unused constants 2023-08-29 02:41:11 +08:00
Raf 92392da6fe enable using mouse on the radial menu: reworked
mouse+kb and other input devices are no longer exclusive when using the radial menu
2023-08-29 02:39:16 +08:00
Raf 0f6920a3f1 Merge branch 'base-port' into port 2023-08-28 23:55:15 +08:00
fgsfds 0e5b4bde62 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-28 15:55:54 +02:00
fgsfds 916d147619 port: skip detail textures
this fixes the carpet in Defection and maybe other places, but means that detail textures are broken for now
2023-08-28 15:03:51 +02:00
Raf ab17a995a4 enable using mouse on the radial menu 2023-08-28 04:50:26 +08:00
squiddingme 3f562c3009 Add config option to control crosshair/gun sway 2023-08-28 02:40:50 +08:00
fgsfds 66443dd2c2 port: don't explode when EEPROM can't be saved or loaded 2023-08-27 17:49:27 +02:00
fgsfds 89849bc805 port: read keybinds from config file 2023-08-27 17:26:57 +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 9529a991ef Merge pull request #68 from NeonNyan/controller-buttons
Multiple input updates
2023-08-27 13:06:16 +02:00
fgsfds 1f49665c05 Merge pull request #103 from iamgreaser/gm/fix-choppy-audio-at-non-60fps
Fix choppy audio at sub-60fps framerates
2023-08-27 12:49:54 +02:00
fgsfds 558875c91c port: fix the RGBA4/8 hack
this fixes the door hinge thing textures in CI
2023-08-27 02:17:30 +02:00