Commit Graph

22598 Commits

Author SHA1 Message Date
Morilli db555f6087 remove _playbackInterrupted bool in TAStudio
Should fix the bug mentioned in #4184. See 1f6ead6354, #2324, #2371 and 98498f9d50 for more confusion. This change might break any or all of the above.
2025-05-29 17:44:40 +02:00
feos e513a856b7 release dosbox and add dos/doom to paths
alphabetize _displayNameLookup
2025-05-29 17:30:29 +03:00
feos 0a01e0dc64 dsda: fix palette not changing
note on using PALETTE_SIZE as offset. normally it's `256 colors * 3 bytes per color = 768`, but in our headless mode it's 256. upstream does `SDL_SetPaletteColors(screen->format->palette, playpal_data->colours + 256 * pal, 0, 256);` when palette is updated, so clearly it means offsetting by 256 colors=bytes. but PALETTE_SIZE I used as my offset is not for stuff upstream uses it for. just something better than a magic number.
2025-05-29 14:34:03 +03:00
YoshiRulz 8c9e49cd1d
Move `--version` handling up so there's no window and no other prints 2025-05-29 14:48:35 +10:00
YoshiRulz 4a3631ef3e
Remove old Mono-specific process kill call
I tried putting an uncaught exception in a bunch of places and it exited
in every case
2025-05-29 14:36:50 +10:00
Morilli b0b93fe0df update/downgrade gpgx
reverted a problematic upstream commit, resolves #4206 and resolves #4293
2025-05-29 00:35:25 +02:00
VelpaChallenger ffa5d45aaf
Memory Hook Improvements (Return value) (#4283)
* new callback system with callback return values

If the lua callback returns a value, the core will update the addr with it. Otherwise, the old value sent by the core will be used unmodified

* update MemoryCallbackDelegate return value to uint?

* throw NotSupportedException for GBA memory callbacks

* docs: return value of MemoryCallbackDelegate and CallMemoryCallbacks
2025-05-29 00:20:52 +02:00
feos 3aed6f1823 dsda: multi-wad hashes
just like mame we're hashing the wad files, concating them, hashing that, and the result goes to movie header. for singular IWADs loaded on their own just the actual hash is used instead, to make it clear to users.

printing hashes of all files to header might be cool, but I'm not sure it's warranted - usually there's only 1 PWAD
2025-05-28 13:48:42 +03:00
YoshiRulz 6fc7ac6b61
Attempt to fix parsing mapper 4 from NES 2.0 header (resolves #4336) 2025-05-28 05:43:26 +10:00
YoshiRulz 8e3e16b888
Improve error message when a PE `.exe` is loaded (see #3042, #4300) 2025-05-28 01:10:21 +10:00
YoshiRulz f4a5b1fd1b
Fix executable bits on prebuilt native libs (and 1 wbx lib?) 2025-05-28 00:51:33 +10:00
Morilli edda865afb "fix" debugger display after breakpoint hits
Breakpoint hits don't actually pause execution, so it's necessary to immediately update the disassember view as the core will continue executing after. This isn't great design but whatever
2025-05-27 14:27:12 +02:00
YoshiRulz a6b8bd86ab
Actually check `MovieSession.QueuedSysID` too
fixes cc59818d6
2025-05-27 11:11:01 +10:00
YoshiRulz a4ce9e93dc
Don't do checks on `MovieSession.QueuedCoreName` when no movie queued
fixes cc59818d6
2025-05-27 11:06:56 +10:00
YoshiRulz 285d8560cb
Add a few more issue tracker search links to readme 2025-05-27 10:55:50 +10:00
YoshiRulz ffa5738ffc
Ensure `SqliteConnection`s are initialised with absolute paths
resolves #3796
2025-05-27 08:05:24 +10:00
YoshiRulz cc59818d6d
Improve UX when movie `Core` header can't be honoured (see #3582) 2025-05-27 08:00:58 +10:00
Morilli a21b9e049f always prompt filename in tastudio bk2 export
- resolves #4172
2025-05-26 00:38:24 +02:00
YoshiRulz 0e3d786c70
Sort services by name in `Help` > `Features...` 2025-05-26 06:23:57 +10:00
feos ab587289a8 dsda: add all official IWADs I could find to database
some of them the core can't even run but for completeness sake it's better
2025-05-25 17:33:05 +03:00
YoshiRulz ade8248832
Use '/' as path separator in `.xml` bundles on Windows (fixes #4082) 2025-05-25 23:10:34 +10:00
Morilli caeb811fe1 remove zlib1.dll
I don't think this is used anymore
2025-05-25 02:41:07 +02:00
YoshiRulz 984957a4f7
Safely handle null pointers in `Util.UnsafeSpanFromPointer` 2025-05-25 07:45:19 +10:00
YoshiRulz 2441dd1223
Comment out `Util.UnsafeSpanFromPointer<T>`
see 245f0e227
2025-05-25 07:45:19 +10:00
YoshiRulz 0a958c829d
Remove unused import
fixes eef983cc2
2025-05-25 07:26:49 +10:00
feos b0d59e15d8 dsda: hide UI related internal messages
user will be changing those options from hawk side dialog so it's impossible to miss what you're changing (you can look at the dialog again if you're THAT sloppy)

but since we're now initializing with default nonsync settings and changing them on the fly, those UI messages would be appearing all the time

automap messages are left intact since they appear upon in-game button press

worst case scenario, UI messages are moved to hawk side, but then why limit them to only whatever upstream reports and not report every change? which is never done anyway, so I doubt it'd come to this
2025-05-25 00:16:12 +03:00
feos eef983cc2c dsda: put non-sync settings to ini but not pass them on init
if we set them on core init that's how it'd remember them in the reference state, so loading states made with different init options would fail to load

instead we set everything to default on init and then change to what the user set during the first frame advance. that way reference state remains the same so states using different options keep working across all variants

need to not show core messages tho when something is changed from default, because now they appear on init and state load rather than only on explicit change
2025-05-24 23:33:45 +03:00
Morilli 8fcaaedd2c remove unused method 2025-05-24 22:24:10 +02:00
YoshiRulz 4025d36b18
Avoid parsing `.xml` bundles twice (resolves #4277) 2025-05-25 01:10:51 +10:00
YoshiRulz bba93b33d6
Replace direct `CoreComm` usage in `RomLoader` w/ `IDialogParent`
resolves #4208
partially reverts ddd14d527
2025-05-25 00:58:01 +10:00
feos c0f93b05fc dsda: load wads correctly regardless of their order in xml
internal wad goes first, then whatever IWAD we found, then all the PWADs

show all files in rom info
2025-05-24 17:48:31 +03:00
YoshiRulz 631e5c37b4
Improve how simple (number-indexed) Lua tables are printed
also might change sort order for associative tables in some edge cases
2025-05-25 00:40:29 +10:00
YoshiRulz b6bcd083a3
Simplify `SerializeTable` in `ConsoleLuaLibrary` 2025-05-25 00:30:51 +10:00
YoshiRulz f3799fbb0e
Clean up hack in `MemoryLuaLibrary.GetMemoryDomainList` 2025-05-24 09:59:59 +10:00
YoshiRulz 6abed2b052
Fix typos in readme and add some links 2025-05-24 03:57:48 +10:00
feos 5064a1a1c7 release dsda 2025-05-23 19:12:20 +03:00
YoshiRulz 0f5ad4bcee
Nix expr: Fill out `meta` on assemblies and executable derivations 2025-05-23 10:42:18 +10:00
YoshiRulz 27e711dbe1
Fix code style warnings
fixes eb94bd88b
2025-05-23 09:54:18 +10:00
feos fe3d45bb97 dsda: default scale 2 2025-05-22 23:51:29 +03:00
feos dce6253c8a default doom controls 2025-05-22 23:43:15 +03:00
feos eb94bd88b9 dsda: completely remake input system init 2025-05-22 22:34:31 +03:00
YoshiRulz 498fabc576
Make binding an axis to the same mouse axis twice switch to relative
resolves #4310
2025-05-23 03:53:21 +10:00
YoshiRulz f614b01cfb
Remove unused import 2025-05-23 03:51:48 +10:00
feos 8197c9ba66 dsda: scale back MmapHeapSize
slaughter maps have gigantic savestates so they're not very tasable until we move from wbx to native. so no point in claiming complete support for them right away. okuplok launches, but might crash maybe
2025-05-22 20:45:23 +03:00
feos 0fe3c33c46 dsda: disable BOOM demo import for now
passing rngseed didn't fix sync, and passing all the settings is too much work for this release. will support it afterwards.

instead just tell the user BOOM demos are not supported
2025-05-22 20:18:00 +03:00
YoshiRulz c84d292aa9
Remove unused helpers `Util.{Memcmp,Memset}` 2025-05-21 10:50:35 +10:00
YoshiRulz e5d641fc09
Fix `ReflectionCacheGenerator` choking on dummy projects 2025-05-21 10:50:35 +10:00
YoshiRulz fda159a8ca
Remove no-op cast in `DoomLmpImport`
fixes b2c33aa54
2025-05-21 10:50:21 +10:00
feos e1374d27d2 dsda: fix 3 missing params for boom demos
the rest may have to be implemented in the first place, like initial seed
2025-05-20 23:25:22 +03:00
feos b2c33aa548 dsda: initial support for boom demos
parser vastly rewritten to match upstream
TODO: fix sync
2025-05-20 22:10:04 +03:00