Commit Graph

984 Commits

Author SHA1 Message Date
Vincent Cunningham 008567781b N64Rom: Load first found ROM in 7z file
Should now search the entire 7zip file looking for a valid N64 ROM file
and load the first one it finds. Left comments referring to a future
dialog for selecting which file you want to open as it seems like a
good idea, but I don't have the familiarity with WTL yet to try to add
it.

May be necessary to skip files of a certain size while opening this way
as Project64 will try to allocate memory for the "ROM" file before it
is able to check if it really is a ROM file.
2021-03-04 17:22:26 -05:00
zilmar bc81e041f8 Have Cheat UI validate via CEnhancement 2021-03-04 14:29:31 +10:30
Vincent Cunningham a4bb7f588f RomList: Another one in a trace message 2021-03-03 19:53:13 -05:00
Vincent Cunningham 563ee060dd RomList: Fix 7zip filenames 2021-03-03 19:20:48 -05:00
Vincent Cunningham 8ece98efc4 Fix WelcomeScreen setting Default_GFX_Plugin
Settings.cpp - Was missing a value for the new SettingID while running a
Debug build causing breakpoint to be handled when clicking OK. A new
handler with a default value has been added.

WelcomeScreen.cpp - Would set the Default_GFX_Plugin value and the value
would be used when launching a game or viewing the Plugins menu in
Options and set the Current_GFX_Plugin, but if a user were to try to
configure their Graphics Plugin prior to launching a game, they would
always open the Project64 Video config screen, even if they had chosen
GLideN64 as the default plugin. The Current_GFX_Plugin is now set with
the value of the Default_GFX_Plugin to ensure the correct configuration
dialog is opened.

WelcomeScreen.cpp - String value would always load the non-debug version
of Project64 Video after the above changes. The string to use is now
loaded from the Default_GFX_Plugin so if the default has never been set
the proper default value should now be used. If it has been set before
and is not a Project64 Video plugin, the value will be set to Project64
Video (non-debug) to keep the dialog accurate.
2021-03-02 17:32:05 -05:00
zilmar 62920525d0 Make rdram size 8 mb by default 2021-03-02 16:40:31 +10:30
zilmar 1f15ed30ca Have 32bit disabled by default 2021-03-02 16:05:36 +10:30
zilmar 5c60ea213f Update copyright date 2021-03-02 12:43:17 +10:30
zilmar b8206c5043
Merge pull request #1995 from flagrama/linux-fixes
Linux fixes
2021-03-01 20:10:49 +10:30
zilmar 88144f53c9 Prompt for jabo or glide plugin 2021-03-01 20:08:29 +10:30
Vincent Cunningham 8dea0170d3
Ignore narrowing conversion on g++ 2021-02-28 20:32:42 -05:00
Vincent Cunningham 56d98cae9b
Use correct variable for log 2021-02-28 20:22:34 -05:00
Vincent Cunningham 38ca1407c9
Fix platform difference errors 2021-02-28 18:02:40 -05:00
Vincent Cunningham dcb360cf41
Replace \ with / in include directives 2021-02-28 17:38:56 -05:00
zilmar 9262e37c47 Make sure file is reloaded on opening cheat config 2021-02-24 21:25:35 +10:30
zilmar 155d331d45 Do not necessary reload enhancement file 2021-02-23 21:39:48 +10:30
zilmar beb5c3e77d Enhancement: allow enhancment with no GS entries 2021-02-23 20:15:21 +10:30
zilmar c1ed471fc1
Merge pull request #1910 from flagrama/fix-manual-start-emulation
Fix Start Emulation by only skipping StartEmulation when AutoStart is disabled
2021-02-20 15:15:51 +10:30
zilmar 6127878f8f Add plugin limiting to enhancements 2021-02-17 10:24:17 +10:30
zilmar 3e02ff31d7 Add Plugin list to enhancment 2021-02-11 21:56:09 +10:30
Vincent Cunningham 678c5819e8
Only skip StartEmulation in RunLoadedImage when AutoStart disabled 2021-02-02 10:27:23 -05:00
zilmar 3553c87121 Move enable enhancement to advanced 2021-02-02 17:01:29 +10:30
zilmar a4f904e4d7 Merge branch 'master' of https://github.com/project64/project64
# Conflicts:
#	Source/Project64/UserInterface/UIResources.rc
2021-02-02 13:40:12 +10:30
zilmar 782e781bab Be able to edit/enable/disable enhancements while running 2021-02-02 13:22:47 +10:30
Vincent Cunningham f5af8f5261
Fix games not being FPS limited when Audio is muted 2021-02-01 20:31:45 -05:00
LuigiBlood 90d68dae52 Cache Disk Seek Timing Type into a global variable for optimization 2021-01-30 00:29:09 +01:00
LuigiBlood 6f05e7a2f2 [Settings] Add Disk Seek Timing choice 2021-01-29 23:37:27 +01:00
zilmar cd16a8cc48 Clean up some warnings 2021-01-19 16:28:59 +10:30
zilmar eb986259f2 Enhancements: Load Active 2021-01-18 17:07:06 +10:30
zilmar 453efb6d5e
Merge pull request #1897 from Squall-Leonhart/master
Replace Manufacturer with Media and what each letter corresponds with.
2021-01-17 16:17:01 +10:30
zilmar ddcd6ef855 Confirm cheat changes on closing window 2021-01-17 16:15:26 +10:30
zilmar fd1a6112c0 Clean up enhancements code 2021-01-17 13:47:58 +10:30
Squall Leonhart 7d882f75b6 Manufacter ID was Media type all along
change all relevant code accordingly
2021-01-11 11:58:44 +11:00
zilmar cb0f746099 Try to fix some bugs in the new cheat changes 2020-12-31 08:03:27 +10:30
zilmar 070e2ad5e5 Merge branch 'master' of https://github.com/project64/project64 2020-12-30 09:14:25 +10:30
zilmar 7de3fc3348 Change the handling of the cheat format 2020-12-30 09:14:04 +10:30
zilmar 4854801e9a
Merge pull request #1874 from shygoo/tlb-bounds
[Core] Fix TLB bounds check
2020-12-03 06:48:37 +10:30
shygoo 5b44212c2d [Core] Fix TLB bounds check 2020-11-22 13:06:50 -06:00
zilmar 124b1c9257 Project64: Read cheats from multiple files 2020-11-19 17:46:07 +10:30
zilmar 23563db02f Remove about config files 2020-11-09 19:42:30 +10:30
zilmar 1256d80bad Switch Forum with discord in help menu 2020-11-09 14:19:05 +10:30
zilmar 45da6e6284 Rename Homepage to website 2020-11-09 13:34:06 +10:30
zilmar 5ed48cbb97 Project64: Make UniqueSaveDir on by default 2020-10-27 17:00:28 +10:30
zilmar f3fc84b569 Merge branch 'master' of https://github.com/project64/project64 2020-10-22 12:41:36 +10:30
zilmar 890e9b5c2c Project64: Have nag use the registry 2020-10-22 12:41:19 +10:30
zilmar 373df2a912 Project64: Provide ability for alternate identifier game settings 2020-10-22 12:37:09 +10:30
zilmar 7e503dc192 Project64: In ini handling change SectionList from vector to set 2020-10-12 16:51:23 +10:30
zilmar f5c2c33149 Project64: Add CN64Rom::IsPal 2020-10-12 15:01:28 +10:30
zilmar 0bff53e11c Project64: Update language enum 2020-10-12 14:11:19 +10:30
zilmar 6caa9ea47a Project64: Some code clean up of N64RomClass.h 2020-10-12 12:10:21 +10:30
zilmar 3110a92f3f Project64: Debug build to default to recompiler 2020-08-04 09:48:32 +09:30
zilmar f4106c97ce Project64-input: Make default input plugin 2020-08-03 21:58:13 +09:30
zilmar ac45d34b29
Merge pull request #1837 from project64/input-plugin
Input plugin
2020-07-15 21:20:24 +09:30
zilmar 1be3f869d6 Project64: CSettingTypeApplication::Save: do not compare default if passing NULL 2020-07-15 20:01:55 +09:30
zilmar 931289a662
Merge pull request #1789 from LuigiBlood/ddstate
[Save State] Add Disk Interface to Save State file
2020-07-08 15:24:19 +09:30
zilmar 00556d4524 Project64-input: Flip x/y axis in structure 2020-07-07 11:36:10 +09:30
LuigiBlood 4205f989a4 [Save State] Compare 64DD save state header more proper 2020-06-19 21:37:08 +02:00
LuigiBlood efe848f9a5 [Disk] Error when reading invalid blocks + fix LBAToByte 2020-06-17 23:11:08 +02:00
LuigiBlood 9f3bab30b9 [Save State] Include both g_Rom and g_Disk Header/ID information in the save state to differenciate different combos 2020-06-12 16:31:11 +02:00
LuigiBlood 8bb117e4de [Save State] Recover Disk Seek Address when loading from Zip 2020-06-10 15:30:06 +02:00
LuigiBlood c5c6167f05 [Save State] Recover Disk Seek Address for more stability 2020-06-10 13:58:03 +02:00
LuigiBlood e805c709b3 [Save State] Put Disk Interface info in Extra Info + cleanups
It should also be backward compatible.
2020-06-10 13:34:55 +02:00
LuigiBlood b2ed47c44f [Save State] Make sure g_Disk exists 2020-06-09 22:52:42 +02:00
LuigiBlood 34ec690acc [Save State] Use Disk ID to recognize the currently loaded Disk game 2020-06-09 22:45:34 +02:00
LuigiBlood 9dc121ffbb [Save State] Add Disk Registers to Save State file 2020-06-09 22:22:25 +02:00
zilmar 1b00f9a8f6 Add ability to translate cheats to new format 2020-06-09 19:27:52 +09:30
LuigiBlood 737383b695 [Disk] Simplify Seek Timing calculation at expense of accuracy 2020-06-06 00:28:02 +02:00
LuigiBlood cc2c4e8786 [Disk] Timing changes for Motor 2020-06-05 17:25:01 +02:00
LuigiBlood 2ad2b969f0 [Disk] Emulate Motor Status & 3779 mSEC disk seek speeds 2020-06-05 16:48:19 +02:00
LuigiBlood b428c14a27 [Disk] Put Mecha Interrupt management in DiskCommand(), delay seek times 2020-06-05 14:36:49 +02:00
zilmar f6434d1870 Merge branch 'master' of https://github.com/project64/project64 2020-05-19 11:56:34 +09:30
zilmar 71160d08c0 Make cheat UI to be wtl based 2020-05-19 11:55:57 +09:30
oddMLan 2be276a7bc Tabs -> spaces 2020-05-16 06:43:04 -07:00
oddMLan 4020735b26 Add "Note: 8 MB is forced for Unknown ROMs" to Defaults tab
Closes #1747
2020-05-16 06:37:35 -07:00
zilmar 0462f637c4 Add UNICODE to Project64 project 2020-05-12 21:49:05 +09:30
bryc 94cdc8dc0f More accurate MPK initialization 2020-05-09 03:00:06 -04:00
oddMLan ad9d3fc244 Discord-rpc: Code cleanup
This is inspired by the Dolphin-emu approach

The internal name is not as informative so now it'll try to use GoodName first then FileName (same as RomBrowser)
Checked and it also works good with zip/7z files
2020-05-05 03:05:36 -07:00
oddMLan 059ae511b8 Add Protect Memory option to Defaults panel
Fixes #1733
2020-05-04 19:47:34 -07:00
zilmar b9363cb0e7
Merge pull request #1665 from Project64Netplay/discord-rpc
Discord RPC
2020-04-29 05:48:10 +09:30
zilmar 37358298e3 Project64: move Debugger_ShowUnhandledMemory into DebugSettings 2020-04-01 10:24:10 +10:30
zilmar fdc1a51f28 Project64: Some clean up of the N64RomClass 2020-03-18 13:41:40 +10:30
zilmar 185c6586b4 Project64: Add TLB_WRITE_EXCEPTION 2020-03-04 10:33:18 +10:30
PartyPlanner64 49d9abad4f
Add more details when alerting on AddressError 2019-12-29 16:16:17 -06:00
KrimtonZ 33d4fed24c fix physical address offset calculations 2019-12-27 09:41:21 -06:00
Cranky Supertoon 4292920e99 Merge branch 'discord-rpc' of https://github.com/Project64Netplay/project64 into discord-rpc 2019-12-22 18:53:00 -05:00
Cranky Supertoon 68e59320d9 imagekey with RDB Localization 2019-12-22 18:51:22 -05:00
KrimtonZ 9642bebd2f Merge branch 'master' into cartdom2addr2 2019-12-18 19:52:18 -06:00
KrimtonZ dd076add39 fix miscalculated offset, implement shygoo's recommendation for open bus read 2019-12-18 19:51:47 -06:00
KrimtonZ 58d66635df emulate n64 behavior when cartridge domain 2 address 2 addresses are accessed 2019-12-17 09:32:09 -06:00
KrimtonZ 0baf3ef263 Fix Trap Interpreter Functions, add recompiler trap functions 2019-12-17 09:08:15 -06:00
KrimtonZ 4f23b39bb3 remove incorrect assumption that all of Cartridge Domain 2 Address 2 is for save data 2019-12-16 15:19:01 -06:00
KrimtonZ 0e5c771408 remove HaveDebugger requirement, remove redundant code 2019-12-16 14:59:40 -06:00
KrimtonZ b9be612ac5 add remaining trap instructions, properly implement traps for the interpreter core 2019-12-16 14:15:26 -06:00
shygoo 5c2aa06f7c [Debugger] Rewrite memory viewer
replace the list control with a custom hex editor control
add ability to select/copy/paste/delete multiple bytes
add byte group size option
make window resizable
fix DPI-related issues
speed up auto-refresh
remove option to disable auto-refresh (new control's cpu usage is insignificant)
move the dump and search buttons into the context menu
change colors of breakpoints to match the command window's
highlight CPU read and write targets while stepping
move address info into a status bar
allow window to open before MMU is initialized
add shortcut keys for various actions
add "follow pointer" feature
add "safe mode" feature
add copy gameshark code feature
add copy with row/group addresses feature
add tabs feature
add jump menu for hardware regions
fix cartridge ROM addresses not being viewable
allow writes to cartridge ROM
use thread-safe functions for reading/writing memory
2019-11-30 11:48:46 -06:00
Duncan Ogilvie 18686e710c
Implement Randomize SI/PI interrupts setting
closes #1656
2019-10-03 11:39:46 +02:00
oddMLan ac0a9258bd Pass Platform solution parameter to UpdateVersion.cmd and package_zip.cmd
This adds the ability to package x64 builds if requested.
2019-09-29 19:20:42 -07:00
LuigiBlood f43201fdea [App] Add "Open Combo" File Menu for Combo N64 + 64DD Loading.
Also added seperate functions for generic game loading, N64 ROM loading, and 64DD Disk loading.
2019-08-22 13:44:30 +02:00
LuigiBlood 3cca0e5549 [App] Add Command Line Combo N64 + 64DD Image Loading
With --combo <Disk Image> <ROM Image>
2019-08-22 13:16:58 +02:00
zilmar c78260ce54 Fix some warnings/errors in android build 2019-08-21 18:57:50 +09:30
shygoo 2137b365bb [Debugger] Add breakpoints for specific interrupts and FP exceptions 2019-08-20 17:20:49 -05:00