Commit Graph

3835 Commits

Author SHA1 Message Date
upthorn 9874c496ac Minor revisions to plugin API 2018-12-05 11:58:19 -08:00
alyosha-tas 59f43b144e Core Code Cleanup 2018-12-05 09:01:25 -06:00
feos 3857ccc18f fix #1388 2018-12-04 19:57:01 +03:00
feos 8e58777c70 tastudio: update branchview buttons on any selection change
fix crash on branch dbl-clk without selection
2018-12-04 00:53:53 +03:00
feos c85bb39d98 tastudio: branch loading now can behave as it does for regular rerecording!
Old control scheme for Branches ON:
- Loading in read+write (recording) mode restores the branch input and truncates it after the branch frame
- Loading in read-only (playback) mode only makes emulation jump to the frame of the branch, disregarding its savestate and timeline

Old control scheme for Branches OFF:
- Loading a branch ALWAYS restores its entire input

TASEditor adds to this that you only start recording after you load a branch in rec mode, but I don't think this is important here.
2018-12-04 00:16:14 +03:00
feos d03e12590e tastudio: make state-save hotkeys usable if the slot is empty, just add a branch 2018-12-03 23:27:21 +03:00
feos 731584344d tastudio: BranchesRestoreEntireMovie and LoadBranchOnDoubleclick 2018-12-03 22:33:42 +03:00
adelikat 12c11eec5d lua method - client.getconfig(), returns the current config object, note that you can actually use this to set primitive config values, do so at your own risk 2018-12-01 09:20:08 -06:00
zeromus 615d7848f9 basic bot - fix failure to fully use selected memory domain (fixes #1305) 2018-11-30 10:14:35 -06:00
feos 07dec3f7bf allow to rewind to frame 0
see #1371

- If we're at frame == 0, there's nowhere to rewind to, so the button is properly ignored.
- If we're at frame > 1, the logic is sending us to the previous frame, but it seems to be forcing emulation of that frame rather than just loading the state and stopping, and that is by design.
- If we're at frame 2, we want to arrive to frame 1, the logic will load state 0 and fastforward from that to 1. That way we don't have to store framebuffer in rewind states.
- If we're exactly at frame 1, we know we want to arrive to frame 0, but the logic implies emulating to frame 0, which is impossible. So instead it loads state 0 and emulates one frame as it's used to.
2018-11-28 22:10:16 +03:00
feos 0433b10d31
Revert "This fixes a bug in TAStudio where you cannot use '<'to get to frame 0" (#1382)
I'm committing the proper fix after this
2018-11-28 22:03:16 +03:00
alyosha-tas 17d88ca6d7 rewinder: Increase buffer limit 2018-11-22 11:13:51 -06:00
adelikat 2f2878d139 Input display - show the last frame of hte movie's input when in movie replay mode 2018-11-18 11:26:15 -06:00
adelikat 870c5c186a Hex editor - remember last domain used, and load it automatically if available, fixes #1345, fixes#508 2018-11-18 11:18:42 -06:00
adelikat b73e9d2f7a
Merge pull request #1371 from TASVideos/rewind_frame0
This fixes a bug in TAStudio where you cannot use '<'to get to frame 0
2018-11-18 11:07:11 -06:00
adelikat 32b1fa6f3f messages config - change label "Last Frame Input" to "Previous Frame Input" to avoid confusion 2018-11-18 11:06:19 -06:00
adelikat 06bb89791f Add a nag when attempting to record a quicknes movie (but allow the user to continue), fixes #1353 2018-11-18 10:05:12 -06:00
zeromus e368f42254 probably should not try to set last rom directory when opening al ibretro core 2018-11-18 10:58:28 -05:00
zeromus 63e1bc5511 fix loading archive from recent roms (broke in 7a72bf72e6) 2018-11-18 10:55:19 -05:00
adelikat c8265f6c10 allow snes9x movies to be recorded (still nag, but allow the user to continue) 2018-11-18 09:52:35 -06:00
alyosha-tas 4794c1bd46
Add files via upload 2018-11-18 09:04:56 -06:00
alyosha-tas ae21d1748f
Add files via upload 2018-11-18 09:03:49 -06:00
alyosha-tas b65d87f40c
Add files via upload 2018-11-18 09:03:03 -06:00
adelikat a4dcd4d010
Merge pull request #1321 from TASVideos/firmwareimporterfixes
FirmwaresConfig: Stop indiscriminate importing (and some other things…
2018-11-18 08:37:26 -06:00
adelikat db50cfc648 Merge branch 'lua-polygon-pos' 2018-11-18 08:28:05 -06:00
adelikat 7d708029ad drawPolygon - change x,y to offsetX,offsetY, make them truely optional by fixing a subtle order of operations problem 2018-11-18 08:27:32 -06:00
adelikat ee9e21bcb2
Merge pull request #1180 from AntyMew/lua-polygon-pos
Lua: Add optional position parameters to `DrawPolygon`
2018-11-18 08:12:01 -06:00
adelikat 8582023346
Merge pull request #1291 from TASVideos/force_DE_onMovieRecord
EmuHawk: Movies and DeterministicEmulation - ensure this is enforced …
2018-11-18 08:06:34 -06:00
adelikat 1d82ab4e3a
Merge pull request #1326 from nog5/master
lua: drawText() vertical alignment "top" and "bottom" was backwards
2018-11-18 07:55:22 -06:00
zeromus 7a72bf72e6 experimental: add %rom% to path manager, so files related to a rom can be located relative to the rom
also refactored how %exe% worked because it blew my mind
2018-11-14 19:04:02 -05:00
zeromus 5a38882f9e refix CDL autosave 2018-11-13 03:21:19 -05:00
zeromus 026bd3e1e5 more cdlogger ux improvements; fixes #1346 2018-11-13 02:06:39 -05:00
zeromus 872af8517f improve CDL autoloading (should fix #1346, but this is all a mess. I dont know) 2018-11-12 18:50:58 -05:00
zeromus 68f97a708d fix more mess in cdl file management 2018-11-12 18:12:00 -05:00
zeromus 25dcc8d05d try cleaning up some garbage in CDL file management
see #1346
2018-11-12 02:25:51 -05:00
zeromus aee7358a6d fix starting up in dist packages with dlls relocated 2018-11-06 19:05:03 -05:00
James Groom ca021d96cc Allow bizhawk to be built and run w/ MSBuild and Wine+Mono on GNU+Linux (#1237)
- Update to latest OpenTK, add input code from `mono-stable` branch
(kudos), and fix bugs arisen from version differences
- Move some functionality into Win-specific classes and add Wine+Mono
implementation where simple
- Add conditions to main loop so some things only run on Windows
2018-11-04 20:05:20 +03:00
zeromus 4e76bd97d1 fix regression from 2948d7597a loading archive roms 2018-11-04 05:25:24 -05:00
zeromus 2948d7597a fix breakage from june of opening libretro cores (fixes #1357)
@asnivor please check loading bundler XMLs
2018-11-02 15:48:30 -04:00
alyosha-tas 9ebe0d2531 Cheats: Toggle shortcut key function 2018-10-28 09:45:39 -05:00
Isotarge e808618981 TAStudio: Squish some more exceptions
- Opening a TASProj or closing BizHawk with the Virtual Pad open
- Opening TAStudio with small window size saved in settings
2018-10-19 12:35:14 +10:30
Isotarge c5407472cd TAStudio: Prevent exceptions with small window size 2018-10-18 21:21:52 +10:30
cah4e3 2820187883 fix to #1345 2018-10-10 23:36:03 +03:00
alyosha-tas bdc241d658 GBHawk: Fix Virtual Pad 2018-10-08 18:54:12 -05:00
feos 57fd6051e9 fix #1246 the easy way 2018-09-21 23:43:51 +03:00
feos 4ef17b8662 better anchor items in Play Movie dialog
it appears at fixed size anyway, but shrinking it was breaking the layout
2018-09-21 23:43:51 +03:00
feos d1e7fc10fd make ffmpeg segment numeration the same as vfw has 2018-09-21 23:43:50 +03:00
feos 966dbcab62 gliden64: restore non-working overscan for now 2018-09-21 23:43:50 +03:00
Asnivor f149413df3 FirmwaresConfig: kick checkbox over to the right 2018-09-21 18:06:26 +01:00
Asnivor 3273d37ce5 FirmwareConfigs: small fix 2018-09-21 17:45:23 +01:00
Asnivor 84eea580c2 FirmwareConfig: Added 'allow unknown import' checkbox 2018-09-21 17:44:17 +01:00
Asnivor e0b6c67b70 CPCHawk: Menu and GUI fixes 2018-09-19 17:46:58 +01:00
Asnivor 2565f49c89
Merge branch 'AmstradCPC' into master 2018-09-19 14:56:41 +01:00
Asnivor 95e565c545 CPCHawk: Start of new CRCT and Gatearray implementations 2018-09-19 14:35:22 +01:00
Asnivor a7386a52f0 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2018-09-18 10:54:55 +01:00
Asnivor f62ab685a9 ZXHawk: Fix core GUI windows monospace weirdness 2018-09-18 10:50:15 +01:00
zeromus 9d99995e04 small revision to 14ad5a3907 to work better in some cases with really, really weird window sizes 2018-09-15 23:17:47 -04:00
feos 0869c4b31c ffmpeg writer:
- make all formats editable (only custom is saved tho)
- deduce extension (since -f is required)
- restore ffv1
- fix #1325
2018-09-16 00:31:09 +03:00
feos b83c99c857 gliden64: wire up overscan, but disable the ui option, because it somehow refuses to work 2018-09-15 20:30:19 +03:00
feos 2ab320ebf2 gliden64: wire up resolution display
the proper method is obviously hooking into m64p and getting this info via lua or something, but for now it's better than nothing (and easy)
2018-09-15 12:43:39 +03:00
feos 6af9b6aaa5 update gliden64 and wire up fxaa 2018-09-15 12:09:52 +03:00
nog5 6b3071d8a7 lua: drawText() alignment fix
The vertical alignment "top" and "bottom" was backwards
2018-09-14 23:16:35 +02:00
Asnivor 95a68d1497 ZXHawk: Fix Tape and Disk media submenus opening at 0,0 2018-09-14 18:27:04 +01:00
Asnivor a5fc5ed061 ZXHawk: Move core menu to the correct location 2018-09-14 18:03:18 +01:00
Asnivor 35afeb2b3d FirmwaresConfig: set customization file chooser now incorporates ArchiveChooser - if an insidefile is selected this is copied to the global firmwares folder 2018-09-14 09:46:39 +01:00
Asnivor 92f187fce1 RAMWatch: Enhancements (#1315)
fix #1257
2018-09-14 08:28:38 +03:00
Asnivor a04ad91b2c FirmwaresConfig: Stop indescriminate importing (and some other things) - #314 2018-09-13 15:07:52 +01:00
zeromus ba4b32f619 rename TempFileCleaner to TempFileManager; add global path config for temp files
I did this in a funny way (sets the environment for the process).
The idea is that any code which sloppily used Path.GetTempDirectory (etc.) would now have its pathing changed.
It is a little dangerous to allow this to be changed on the fly (I do allow it) since something may expect it to be stable, but I think it's OK.
So anyway. keep your eyes peeled for problems. It's possible I could do this differently and only affect a subset of safely managed things.

should fix #1252
2018-09-11 21:32:50 -04:00
zeromus 14ad5a3907 fix #1279 (warp speed during minimized) 2018-09-10 15:25:40 -04:00
Asnivor 8a10ba6372 EmuHawk: ToolManager.IsAvailable<T> (#1294) 2018-09-10 22:08:44 +03:00
nog5 c012f56e45 lua: forms.drawText() horizontal alignment "right" fix (#1316)
The lua function forms.drawText() horizontal alignment "right" did the same as "center"
2018-09-10 21:18:31 +03:00
feos 11065c46bd apparently this dialog wasn't nifty enough 2018-09-10 20:43:46 +03:00
feos fbdea8282d add missing zxs mnemonics
tastudio: properly handle Show X menu items
2018-09-10 20:22:41 +03:00
Asnivor 3e8326da50 Lua: client.getversion() - #1314
fix #1271
2018-09-10 19:24:36 +03:00
Asnivor bd26f73516 Merge branch 'master' of https://github.com/TASVideos/BizHawk.git 2018-09-10 10:08:45 +01:00
Asnivor 16d68ea813 ZXHawk: debug only zx-state snapshot export 2018-09-10 10:05:49 +01:00
feos 47a66db995 tastudio: break keys into as many menus as needed, and show their ranges
the code looks somewhat crazy
2018-09-09 21:13:42 +03:00
feos 1b6d6988fc tastudio: break the keys menu into 2 dropdowns
WIP
2018-09-09 19:46:55 +03:00
feos 0893d96a7e tastudio: menus for keys 2018-09-09 17:41:57 +03:00
feos ef89b7bf67 tastudio: don't create player menus if we don't even have players 2018-09-09 16:48:25 +03:00
feos 1455e4cad7 tastudio: hide a few computer columns by default 2018-09-09 15:38:45 +03:00
feos 86999815f7 tastudio: show branch screenshot on the right if it's offscreen
fix #1311
2018-09-08 19:32:27 +03:00
feos 5721894dbf lua console context menu: copy and select all
fix #1284
2018-09-08 12:41:26 +03:00
feos c2e2e9a1f7 tastudio: fix #1310
we don't need statecount info to be THAT up-to-date
2018-09-07 23:33:07 +03:00
upthorn 6eed08f965 An example plugin. Hard-coded for now. 2018-09-03 19:31:43 -07:00
upthorn 9e814896cb Some plugin interface libraries, and further refactoring. 2018-09-03 19:31:01 -07:00
upthorn 0a6aa912cf Further plugin interface design/development work 2018-09-01 03:19:05 -07:00
upthorn bb020540eb Remove extraneous non-existent file/folders from project. 2018-08-31 21:26:38 -07:00
upthorn cdb205e696 Initial API Work 2018-08-31 21:21:34 -07:00
feos 0b36d49bf2
Revert "Resize unattended video if zoom factor >1" (#1295)
Using unchangeable hardcoded magic numbers that aren't used anywhere is bad.
2018-08-23 20:51:23 +03:00
feos 9d64e23982 ffmpeg dumper: ffv1 is dead, long live libx264rgb!
http://tasvideos.org/forum/viewtopic.php?p=473878#473878
2018-08-23 20:09:06 +03:00
Asnivor 25347dd344 EmuHawk: Handle SaveRAM IO errors - #1241 2018-08-21 16:09:56 +01:00
Asnivor c1c34d3794 EmuHawk: Movies and DeterministicEmulation - ensure this is enforced whenever a movie is queued - #1290 2018-08-21 14:36:07 +01:00
Asnivor c4167555ae MultiDiskBundler: Address request in ticket #764 (#1275) 2018-08-16 17:58:48 +03:00
Asnivor ddbe1b8a84 ZXHawk: Added non-sync setting to change core background color - #1263 2018-08-06 14:51:10 +01:00
Asnivor 1268b09849 Emulation.Common: Additional method added to inspect *.dsk images in order to work out whether they are ZX, CPC or AppleII 2018-07-19 13:46:37 +01:00
Asnivor ac0aae4afb CPCHawk: UI menus 2018-07-18 13:53:08 +01:00
Asnivor 531833c7b0 CPCHawk: Initial project outline (may or may not come to something eventually) 2018-07-03 14:53:09 +01:00
alyosha-tas 5ce8c8790c GBHawk: another audio fix, not sure where the root cause is 2018-07-02 07:46:27 -04:00
alyosha-tas 123df38731 GBHawk: Attempt to fix audio crash 2018-07-01 15:10:42 -04:00