Commit Graph
12 Commits
Author SHA1 Message Date
MaikelChan 153ca3341e Detect Perfect Dark GBC Rom, emulating Transfer Pak functionality. 2024-08-25 21:27:21 +02:00
fgsfds 0a7faf2409 port: add file patching system; add patch for #286
patch submitted by Ryan Dwyer
2023-12-07 17:20:34 +01:00
fgsfds dc6e6a507c port: slightly more helpful rom error messages 2023-11-04 02:08:44 +01:00
fgsfds 86ed199054 port: fix external seg loading 2023-09-28 09:05:11 +02:00
fgsfds d98575d77b port: add basic mod directory support with config files for custom stages
select mod directory with --moddir whatever

these should contain a modconfig.txt that can specify replacements for some stage table fields, etc
2023-09-26 23:05:07 +02:00
fgsfds ef090a2b8f port: properly get size from external files 2023-09-25 01:39:01 +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 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 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 7e71450a76 port: wrap malloc & co
in case we'll need allocation stats or something later
2023-08-20 14:56:07 +02:00
fgsfds a31e2209c5 port: fix firing range
props to Ryan again
2023-08-14 17:53:08 +02:00
fgsfds da94644c38 port: make it link and load
nothing happens after loading though
2023-07-29 23:21:35 +02:00