Compare commits

...

941 Commits

Author SHA1 Message Date
zilmar 2c2060248d RSP: Fix up profiling tasks 2025-04-17 17:06:17 +09:30
zilmar 8c751cc22f rsp: fix up the code so it compiles on x86 2025-04-11 18:59:30 +09:30
zilmar 14f033bce4 Rsp: Start to work on x64 compiling tasks 2025-04-11 15:33:04 +09:30
zilmar df883161c0 RSP: Rename log x86 to log asm 2025-04-11 09:26:09 +09:30
zilmar 7d24088e8a RSP: move isNop into RSPInstruction 2025-03-28 19:15:51 +10:30
zilmar 1a83c9b120 RSP: Move IsBranch into RSPInstruction 2025-03-28 12:43:38 +10:30
zilmar 0c0a46c1e0 RSP: Rename RspRecompilerCPU to RspRecompilerCPU-x86 2025-03-28 09:07:26 +10:30
zilmar 5e89701fdf RSP: Remove recompiler from x64, and remove hle tasks from x86 2025-03-13 17:56:17 +10:30
zilmar 1edb5debdf Core: have CRecompiler::RecompilerMain_VirtualTable handle PC as 32bit and clean up recompiler memory reset 2025-02-27 20:47:37 +10:30
pcca-matrix 9034bc6fdc
Fix: NRage plugin gets stuck in initialization in certain cases (#2464)
* Fix: NRage plugin gets stuck in initialization in certain cases

The function wscanf was incorrectly used to parse VID_ and PID_ values from a string, causing failures in device detection.
wscanf expects input from stdin, whereas in this case, the device ID string is stored in memory.

Using swscanf ensures correct parsing from memory instead of waiting for stdin

This fixes the issue where XInput devices not being detected properly at plugin init.

* N-Rage: Fix memory leak in GetN64ButtonArrayFromXAnalog and GetN64ButtonNameFromButtonCode

Replaced dynamic allocations (new[]) with static buffers to prevent memory leaks.
2025-02-21 12:17:15 +10:30
Fanatic-64 23ff3d9042
Upgrade zlib to version 1.3.1 (#2448) 2025-02-21 12:15:52 +10:30
Fanatic-64 70c44965b0
CIC improvements (#2455)
* Add CIC CRCs for iQue Player games

* Give proper name to 64DD IPL US CIC
2025-02-21 12:13:52 +10:30
Daniel Nylander 1342196edd
Updated Swedish translation (#2458)
* Update Swedish.pj.Lang

* Update Swedish.pj.Lang
2025-02-21 12:13:02 +10:30
Will Fowler 59cdea9db9
Various Widescreen Enhancement Codes (#2459)
* Add 21:9 Ultrawide Enhancement for Banjo-Kazooie.

* Add Diddy Kong Racing, Mario Kart 64 and Super Mario 64.
2025-02-21 12:12:46 +10:30
Fanatic-64 32910e2281
Improve alignment of UI elements (#2462) 2025-02-21 12:11:49 +10:30
Fanatic-64 c7f758bbd3
Remove unused cheat context menu entries (#2463) 2025-02-21 12:11:38 +10:30
RedBlackAka e2e1766c82
Clean up Windows Start Menu entry (#2465)
Cleans up the Windows Start Menu entry for the Windows installer.

Having an uninstall shortcut is obsolete and an unclean practice in Windows 10+. Same for support. This change makes Project64 directly appear on the Start Menu, not requiring further clicks to expand and making the appearance clean.
2025-02-21 12:09:56 +10:30
zilmar daa8dbc833 core: reset m_InstructionRegion on R4300iOp::ExecuteOps 2025-02-21 12:00:41 +10:30
zilmar 7eaf1c4ba3 Core: do not write back rt in CX86RecompilerOps::CompileLoadMemoryValue on exception 2025-02-21 11:13:54 +10:30
zilmar 5d21bf80b9 core: fix up missing exception check in CX86RecompilerOps::SPECIAL_DIV 2025-02-21 06:15:07 +10:30
zilmar fa57ce7fb8 core: make CX86RecompilerOps::SPECIAL_JALR handle 64bit PC 2025-02-20 13:25:44 +10:30
zilmar 5e029ecf6a Core: CX86RecompilerOps::CompileLoadMemoryValue some work on it generating an exception from invalid load address 2025-02-13 22:20:00 +10:30
zilmar bd38e7f2d6 Core: In CX86RecompilerOps::SPECIAL_JR store PC as 64bit 2025-02-13 22:15:20 +10:30
zilmar 9d28d9cf28 core: More work in making sure the Compiler sets 64bit PC 2025-02-13 16:29:25 +10:30
zilmar 1debcd1ca5 Core: In CX86RecompilerOps::CompileExit, make sure writing 64bit PC 2025-02-13 16:08:11 +10:30
zilmar a82c11b8bb Core: When syncing CPU make sure PC matches on 64bit address 2025-02-13 15:57:53 +10:30
zilmar 20f3e5e123 Core: In CX86RecompilerOps::COP1_S_CVT, CX86RecompilerOps::CompileCheckFPUResult32 set softfloat_exceptionFlags to the FPU exception value 2025-02-13 15:55:16 +10:30
zilmar a07f6eaf90 Core: In CX86RecompilerOps::COP0_MT update the count register when writing to Count 2025-02-13 12:24:20 +10:30
zilmar a5a2c8cf6d Core: in CRecompiler::RecompilerMain_Lookup when TriggerAddressException has occured, update the PC before checking if valid 2025-02-13 12:22:52 +10:30
zilmar 8ae9d7b9ff Core: In R4300iOp::ExecuteOps only update UpdateInstructionMemory at the start of the loop 2025-02-13 12:19:22 +10:30
zilmar b8a514a483 core: Create instruction region to update after a block 2025-02-06 16:09:31 +10:30
zilmar 4a68941c08 Core: Speed up some debugger usage in interepter if not being used 2025-02-06 12:24:39 +10:30
zilmar d918225639 RSP: Make sure HLE audio is on for x64 2025-02-06 08:35:14 +10:30
zilmar 3a0c4f5da6 core: Fix CPU % numbers 2025-02-06 07:55:12 +10:30
zilmar fd062a288a Core: Convert interpter FPU ops to use softfloat 2025-02-04 07:15:24 +10:30
zilmar 00a978ca1b Core: add edge condition test to DDIV in interpter 2025-01-31 06:18:36 +10:30
Daniel Nylander 4521389404
Update Swedish.pj.Lang (#2456) 2025-01-26 23:57:08 +10:30
Fanatic-64 ec6d9336a6
Fix wrong initial texture and log directories (#2454) 2025-01-16 22:31:27 +10:30
Fanatic-64 5cd2f0253b
Fix wrong setting names in Project64.cfg for LogRomHeader and LogUnknown (#2452) 2025-01-08 23:03:29 +10:30
zilmar c7d8a70a4d Core: fix jump in CX86RecompilerOps::CompileSystemCheck 2024-12-27 09:02:37 +10:30
zilmar f014691592 Common: Fix CPath::SelectFile 2024-12-26 15:05:19 +10:30
zilmar bfa3788562 Core: CX86RecompilerOps::COP1_D_Opcode fix return type of floating point register 2024-12-26 14:29:52 +10:30
zilmar 3c7e71adca Core: Fix up CX86RecompilerOps::COP1_D_Opcode for the registers it is using 2024-12-26 14:16:26 +10:30
zilmar fc79cb0344 Core: Add DwordLower for cvt.w 2024-12-26 09:35:07 +10:30
zilmar 7e74b98d5b Core: Fix up labels in CX86RecompilerOps::COP1_S_CVT 2024-12-19 21:59:42 +10:30
zilmar 57f278416e core: better handling of fpu registers with COP1_S_Opcode 2024-12-19 19:09:31 +10:30
zilmar 13a974e687 Core: in CX86RecompilerOps::COP1_CT ignore write to other registers 2024-12-19 09:58:30 +10:30
zilmar fba1c4bc3b Core: Fix up bug in CX86RecompilerOps::SPECIAL_AND 2024-12-19 09:57:25 +10:30
zilmar 473aeba2cf Core: Fix order of value in call to CMipsMemoryVM::SD_VAddr32 in recompiler 2024-12-12 21:22:32 +10:30
zilmar 5d64b3d920 Core: Better handling of Storing non 32bit values to non memory 2024-12-12 16:50:36 +10:30
zilmar b8ee9f8728 RSP: Add #include <intrin.h> to RSPInfo.cpp for 64bit 2024-12-12 14:17:07 +10:30
zilmar 3164caf2d0 Core: allow Store/load ops be forced to 32bit version 2024-12-08 11:15:39 +10:30
zilmar 5a5ea92f3f fix resource issues 2024-12-07 08:52:01 +10:30
zilmar b9fe8e3657 Fix compile issues 2024-12-07 07:04:22 +10:30
zilmar 8392ea5c0f Core fix up load states 2024-12-06 21:50:31 +10:30
zilmar a045a4fcd4 Core: fix accidental changes to UIResources.rc 2024-12-06 11:37:42 +10:30
zilmar c6b41da926 Add Overclock modifier to Defaults panel 2024-12-05 17:30:59 +10:30
zilmar 77cd679756 Core: Fix a bug in CX86RecompilerOps::SPECIAL_DIV 2024-12-05 17:05:52 +10:30
zilmar fc1210aac5 Core: Do not allow CX86RecompilerOps::SPECIAL_DSRL32 and CX86RecompilerOps::SPECIAL_DSRA32 to write to R0 2024-12-05 11:25:20 +10:30
zilmar 1e4ab04121 Core: Fix up CX86RecompilerOps::SPECIAL_DSUB when rd == rt 2024-12-05 11:06:42 +10:30
zilmar 04c1c3d024 Core: Fix up CX86RecompilerOps::SPECIAL_DADD 2024-12-05 10:03:45 +10:30
zilmar 4366703f28 Try to fix appveyor.yml 2024-11-28 16:56:04 +10:30
zilmar 1f3ef6d505 Core: CX86RecompilerOps::SPECIAL_NOR Ignore write to r0 2024-11-28 15:54:36 +10:30
zilmar 95015302d6 Core: Have CX86RecompilerOps::SPECIAL_XOR treat R0 as 64bit constant 2024-11-28 15:38:54 +10:30
zilmar a3c777ed84 Core: Have CX86RecompilerOps::SPECIAL_AND unmap the register on const write 2024-11-28 15:14:26 +10:30
zilmar 0de0bea07a Core: Ignore write in CX86RecompilerOps::SPECIAL_OR 2024-11-28 12:37:42 +10:30
zilmar 8d69671e93 Core: CX86RecompilerOps::ADDIU should not ignore when not 32bit mapped 2024-11-28 12:29:35 +10:30
zilmar 52d904702f Core: With CONST64 CX86RegInfo::WriteBackRegisters might not write the high 32bit correct 2024-11-28 11:39:41 +10:30
zilmar d5367d9291 Core: Better handling of SW with address not sign extended 2024-11-28 11:02:38 +10:30
zilmar fd05d9f42f core: if lwl or lwr, in CX86RecompilerOps::CompileLoadMemoryValue, make sure that we are loading rt 2024-11-21 21:33:42 +10:30
zilmar 315d5b9e66 Core: When running as recompiler in 32bit mode, if LW/SW are in delay slots on block boundaries use 32bit interpter functions 2024-11-21 19:13:56 +10:30
zilmar 5e1a40fffb Core: fix CX86RecompilerOps::CompileLoadMemoryValue Map_GPR_32bit when called from LWC1 2024-11-21 11:10:01 +10:30
zilmar 48b3e5a9a2 Core: Zip load in CN64System::LoadState uses utf16 path 2024-11-21 10:48:16 +10:30
zilmar 58a13b8e28 Core: Get Zip files to use utf16 paths 2024-11-21 10:43:56 +10:30
zilmar 2ec9ed08a4 Core: Improve LW with address not sign extended test in recompiler 2024-11-14 17:02:18 +10:30
zilmar 944dd0917a Core: Fix up logging id for label symbols 2024-11-14 09:31:45 +10:30
zilmar 61aa53f1a5 Core: In jump ops, Only add label symbol if logging 2024-11-14 07:30:39 +10:30
zilmar 97b2579b4b Core: Have the recompiler just deal with the Program Counter as 32bit 2024-11-07 17:05:16 +10:30
zilmar f63244cfa4 Core: Handle duplicate symbols in AddLabelSymbol 2024-11-07 13:37:10 +10:30
zilmar 72e6ee1a2b Core: Normalize RomDatabase, VideoRDB, AudioRdb file paths 2024-11-07 13:24:45 +10:30
zilmar e419508c2b Core: On ExitReason_CheckPCAlignment make sure CompileSystemCheck is called 2024-11-07 12:13:28 +10:30
zilmar a46ac9f38d Core: in CX86Ops::_log better handle label symbols 2024-11-07 12:12:44 +10:30
zilmar d06212e766 Core: CX86RecompilerOps::JAL stop double call to UpdateCounters 2024-11-07 11:05:55 +10:30
zilmar bfd181f33e Core: Fix up recompiler log including 0x in number symbols 2024-11-07 09:22:56 +10:30
zilmar f3a3d56c13 Gliden64: Fix up x64 build with including UI 2024-10-31 08:12:52 +10:30
zilmar 246934c0ab Core: Fix up default x64/Release config file 2024-10-31 07:06:00 +10:30
zilmar 24d5a6bd65 Core: fix up clang formatting 2024-10-31 07:01:32 +10:30
zilmar 905254615d Core: Change the handling of symbols inside asmjit usage 2024-10-31 06:50:17 +10:30
zilmar 17c501fa08 Core: clean up some code related to CompileStoreMemoryValue, like the exit method being an exception 2024-10-24 13:32:02 +10:30
zilmar a8c8e751fc Core: log the block code to the asm log file 2024-10-24 12:11:15 +10:30
zilmar 885d31f275 Core: Update Map_MemoryStack to pass gp by reference 2024-10-24 12:01:14 +10:30
zilmar 440894992a Core: remove the BreakPoint in handling ExitReason_CheckPCAlignment 2024-10-24 11:58:53 +10:30
zilmar 65ede5e3e8 Core: If jumping to an unaligned address then generate an exception 2024-10-24 10:31:48 +10:30
zilmar 4a42466559 Core: In compiling a block be able to trace the time to compile 2024-10-24 10:04:45 +10:30
zilmar 5750d3df80 Core: Have only one function to do what R4300iOp::ExecuteOps and R4300iOp::ExecuteCPU was doing 2024-10-24 09:59:41 +10:30
zilmar c39582b9ed Core: Make sure CX86RecompilerOps::SPECIAL_AND can not write to R0 2024-10-17 18:42:45 +10:30
zilmar a38467cc19 Core: Reset Memory Stack Pos In recompiler after running interpter code at non rdram location 2024-10-17 18:40:37 +10:30
zilmar f708e5c0b2 Core: Check recompiler memory based on the function size 2024-10-17 15:05:48 +10:30
zilmar 45e52e1d2a Core: in SPECIAL_SYSCALL, SPECIAL_BREAK only exit the block is the stage is PIPELINE_STAGE_NORMAL 2024-10-17 14:12:46 +10:30
zilmar ccf708751f Core: Fix up clang error 2024-10-11 07:09:03 +10:30
Squall Leonhart 0d95a0cd7f
quick dirty possible fix for MBC5 roms of 4 and 8MB size. (#2442) 2024-10-10 18:04:31 +10:30
zilmar a2e479a705 Core: Handle paths with non-ASCII characters 2024-10-10 18:01:10 +10:30
zilmar 7aa77a3840 Merge branch 'develop' of https://github.com/project64/project64 into develop 2024-10-10 18:00:12 +10:30
zilmar c176f61aac Core: Normalize Plugin dir 2024-10-10 10:12:53 +10:30
Squall Leonhart fc23fca43e
[RDB]Set SGB Emulator to 8MB (#2440)
since the defaults for rdram changed between 6058 and 6059, i had not accounted for this emulator rom actually needing 8MB
2024-10-03 22:20:51 +09:30
Tomas Mejia edc54c425f
Fix spelling and clarity issues in CONTRIBUTING.md (#2438)
* Fix spelling and clarity issues in CONTRIBUTING.md

Reword in a few places for clarity without changing the original meaning.
Fix typos in words like "sensible" and "ensure."
Fix numbering (skipped from 5 to 7).

* Update CONTRIBUTING.md

Add newline to end of file
2024-10-03 21:40:53 +09:30
zilmar 30090e5db7 Core: in CX86Ops::CX86Ops set setLogger to nullptr if not logging 2024-10-03 16:22:42 +09:30
zilmar 9e53b161a4 Cote Update PeripheralInterfaceHandler::PI_DMA_WRITE to handle misaligned, end of page test 2024-10-03 14:38:04 +09:30
zilmar 08e1b3b39b fix up clang formatting 2024-09-26 18:54:54 +09:30
zilmar 62bf10e505 Core: Have fpu ops check the input of fs and ft at the same time 2024-09-26 16:38:25 +09:30
zilmar dc4fa211b0 Core: Clean up RDRAM/RI Registers 2024-09-26 12:59:32 +09:30
zilmar 544d6ba1b9 Core: Normalize Path for RomList_RomListCache 2024-09-26 07:30:26 +09:30
zilmar cd9fc5984a RSP: Make sure m_SyncSystem is valid before checking m_SyncSystem->m_BaseSystem on shutdown 2024-09-26 06:50:48 +09:30
zilmar 7cb0c258a1 GLideN64: Slight clean up of project file 2024-09-19 12:16:46 +09:30
zilmar c098a6a464 RSP: Be able to compile sections based off tasks 2024-09-19 12:15:11 +09:30
zilmar 3340c032c3 RSP: Move CompilePC into RspRecompilerCPU 2024-09-19 08:31:28 +09:30
zilmar df9b04bb5b RSP: Change RunInterpreterCPU to ExecuteOps 2024-09-12 15:13:45 +09:30
zilmar 07e8f8b830 Gliden64: Get the new GlideN64 submodule to build as part of the normal build process 2024-09-12 09:44:38 +09:30
zilmar 02e816b9d4 Update package_zip.cmd to deal with platform in path 2024-09-05 19:22:25 +09:30
zilmar ea199c5546 Update installer to have new binary path 2024-09-05 18:50:47 +09:30
zilmar aaa6fc8082 Core: Add $(Platform) to the output directory 2024-09-05 17:54:58 +09:30
zilmar 00a92871c0 Gliden64: Add as a submodule 2024-09-05 11:17:26 +09:30
zilmar eb985de132 RSP: Start to add CPU style HLE 2024-08-29 15:37:52 +09:30
zilmar 5eac210197 RSP: Start to have a RSP Settings class 2024-08-29 11:26:53 +09:30
zilmar 96080bfdd2 RSP: change CRSPSystem::m_Recompiler from a pointer to a member and initialize it at creation of system 2024-08-29 07:49:40 +09:30
zilmar 2b7975280e RSP: Have NextInstruction and JumpTo members of RSP System instead of a global variable 2024-08-22 19:44:07 +09:30
zilmar 29c49a2063 RSP: Remove PrgCount as a global 2024-08-22 17:32:05 +09:30
zilmar d9ae43b69d RSP: have RSPRegisterHandlerPlugin as part of RSP System instead of a global 2024-08-22 16:30:20 +09:30
zilmar 4681f07bf8 RSP: Move rdp logging in to it's own class 2024-08-15 13:43:56 +09:30
zilmar 6ed1c3edfb RSP: internalize RSP information in to interpter ops 2024-08-15 07:36:53 +09:30
zilmar 9f98f4d4cd Rsp: Change RSPOpC to be a class member 2024-08-08 12:55:54 +09:30
zilmar 762d1b1566 RSP: Create CRSPRecompiler 2024-08-08 09:39:45 +09:30
zilmar f7ab608976 RSP: Create CRSPRegisters 2024-08-08 07:26:15 +09:30
zilmar 1924030266 RSP: Move compile functions into CRSPRecompilerOps 2024-08-02 22:00:01 +09:30
zilmar 2904d3641d RSP: Create RSP system class and move all interpter ops in to RSPOp class 2024-08-02 09:00:38 +09:30
zilmar dab432e7bd RSP: clean up LDV 2024-07-20 19:10:36 +09:30
zilmar 9d7b391487 RSP: Fix up LSV in the recompiler 2024-07-20 17:09:41 +09:30
zilmar 7c2655c544 RSP: Remove some unused functions and turn Reordering and Sections off by default 2024-07-20 17:08:20 +09:30
zilmar 6816ff4435 RSP: Disable a lot of ops that are not functioning correctly in the recompiler 2024-07-20 17:05:11 +09:30
zilmar 13fb8cd2da RSP: In Compile_Opcode_SQV Cheat the op instead of causing an unknown opcode 2024-07-12 15:23:59 +09:30
zilmar 564926163c RSP: in Compile_Opcode_SSV cheat the op instead of generating an unknown opcode 2024-07-12 15:07:23 +09:30
zilmar 8c6856f1c8 RSP: Have Compile_SW handle DMEM overflow better 2024-07-12 15:04:18 +09:30
zilmar 6e4852fc78 RSP: have Compile_LW handle DMEM overflow better 2024-07-12 15:02:46 +09:30
zilmar e43d697476 RSP: Handle lwu inside IsRegisterConstant 2024-07-12 15:01:05 +09:30
zilmar 7b013c3deb RSP: Reset secondary buffer to start on ResetJumpTables 2024-07-12 14:59:16 +09:30
zilmar e2243fe8eb RSP: Make sure RSP block ends with a ret 2024-07-06 19:36:10 +09:30
zilmar 9b38977b31 RSP: Fix up recompiler jumps JAL, BLTZAL, BGEZAL 2024-07-06 19:33:10 +09:30
zilmar 4125774be8 RSP: Add Vector_VRNDN and fix up compile jump table 2024-07-06 19:08:20 +09:30
zilmar 2a149beb69 RSP: Clean up #ifdef in Recompiler 2024-07-06 19:04:50 +09:30
zilmar 38599b79fe RSP: Compile_Cop2_MF check for write to r0 2024-07-06 18:53:19 +09:30
zilmar 1af8570315 RSP: Set max log size as 300mb 2024-07-06 18:51:55 +09:30
zilmar 0e0f0f7618 RSP: JALR update rd after updating the PC 2024-06-27 16:57:31 +09:30
zilmar 06eea03d7d RSP: DelaySlotAffectBranch should clamp PC 2024-06-27 16:34:19 +09:30
zilmar 661ec98bb3 RSP: User crc32 for crc of imem 2024-06-27 16:25:13 +09:30
zilmar 96a4c2c926 RSP: Used the wrong reg for write to r0 check on some ops 2024-06-20 21:41:52 +09:30
zilmar abfb896142 RSP: Add Compile_Vector_VRNDP, Compile_Vector_VMULQ, Compile_Opcode_LWV 2024-06-20 19:22:57 +09:30
zilmar 90c0beb01e RSP: Add Compile_Vector_Reserved 2024-06-20 17:34:37 +09:30
zilmar 35aeeb6285 RSP: Handle writing to r0 better in recompiler 2024-06-20 17:28:51 +09:30
zilmar bb042406be RSP: Add const to mmx and sse terms 2024-06-13 20:50:54 +09:30
zilmar 303af24bde RSP: Better handle delay slot at 0xFFC 2024-06-13 14:54:44 +09:30
zilmar c3d6ed1a0c RSP: Have the code be able to loop 2024-06-13 14:23:59 +09:30
zilmar 7161a6f591 RSP: Handle break in delay slot 2024-06-13 12:55:23 +09:30
zilmar d3411809f7 RSP: Get Recompiler to use LWU 2024-06-13 12:34:28 +09:30
zilmar 73c9174ce9 Core: Remove Memory exception filer 2024-06-13 11:50:06 +09:30
Summate 65a9097980
Allowing a paste into a number field to be trimmed automatically (#2414)
The specific issue I experienced is that Excel/LibreOffice Calc add a newline when you copy the contents of a single cell. This is bad behavior and they should provide a copy option that does not do that, but alas, it's much harder to get that into those applications. This behavior made it impossible to paste an otherwise-valid hex address into the Project64 fields without first putting it into Notepad, deleting the newline, recopying, and then doing the paste from there. If the field was simply text, you can go into the field edit and shift + home to select all and then do a copy, but that does not work for a formula. When you edit the file, it shows the formula instead. Therefore, you have absolutely no way of working around this except pasting it somewhere else and removing the newline manually.

In principle, there's no reason why you wouldn't trim the ends at least. Whitespace on either end is useless to you. However, content being after the newline should be rejected as it was before.

There were two secondary issues in the pasting code that are fixed here: One is that it only sort of collapsed single spaces. So if you had more than one space, spaces still would have ended up in the result. Actually I think the semantics were slightly more insidious, <space><number> would have turned into <number><same number> effectively. The only thing it did was remove the space by duplicating the number. If you had two spaces, then it would have ended up with e.g. <space><number><same number>. The only case where this wouldn't have happened is a space at the end which would have been preserved in the paste.

Secondly, it mutated the clipboard data directly. This would have lead to confusing results where multiple pastes would have had clipboard data in the clipboard itself move from, for example, two spaces to a single space to no spaces at all. The better solution is to preprocess to figure out how big we ultimately want our space-less result to be and stamp out the copy ourselves skipping anything we don't want. Leave the clipboard alone.

If it's desired to preserve single spaces only in the middle, the code will need to be modified a bit.

Co-authored-by: Summate <summate.ssbm@gmail.com>
2024-06-06 14:22:26 +09:30
Derek "Turtle" Roe f1d0c49d73
Add TOC to the README and other improvements (#2424)
* Add TOC

* Added some extra things to the build instructions

* Added a link to the build doc
2024-06-06 14:21:17 +09:30
MegaMech 0761ad4a83
Fix implementation of quad3d for f3dex 0.95 on pj64 video plugin (#2427)
* Update ucode01.cpp

* Fix quad3d implementation for f3dex 0.95

* Fix compile
2024-06-06 14:20:46 +09:30
zilmar 91f9cdaaa7 Core: Change the Program counter to be 64bit 2024-06-06 14:09:12 +09:30
zilmar 77ac4744a5 Core: Make sure fpu stack is being cleared 2024-05-23 11:52:58 +09:30
zilmar 0ff0d5234c Core: In R4300iOp::CheckFPUInput64 check values directly instead of using fpclassify 2024-05-23 11:43:19 +09:30
zilmar ec714cd90d Core: in CX86RecompilerOps::CompileCheckFPUResult64 protect RegPointer before Map_TempReg(asmjit::x86::eax) 2024-05-23 11:41:15 +09:30
zilmar 3baaa829de Core: Remove g_TLBLoadAddress, g_TLBStoreAddress global variables 2024-05-16 16:34:17 +09:30
zilmar ae21e10a8d Core: Increase the minimal amount of free space in recompiler memory 2024-05-16 16:15:28 +09:30
zilmar a1f46356fb Core: remove usage of g_RecompPos 2024-05-16 16:08:23 +09:30
zilmar 7f18773b5b Core: Add CX86RegInfo::GetFPStatusReg 2024-05-16 15:51:04 +09:30
zilmar 13bd420b2a Core: Sync FP status register in advanced block linking 2024-05-16 15:45:38 +09:30
zilmar 703a09d034 Core: Remove protecting memory option 2024-05-09 17:56:28 +09:30
zilmar b851689ceb RDB: Remove SMM-Protect as a setting being used 2024-05-09 15:59:04 +09:30
zilmar f478f16269 Core: Clear FP Status flag in recompiler on BC1FL and BC1TL 2024-05-09 10:55:38 +09:30
zilmar 4c23e7af2c Core: Remove ChangeFPURegFormat, Load_FPR_ToTop 2024-05-02 17:21:01 +09:30
zilmar c786bc3251 Core: Force Fpu exception in recompiler 2024-05-02 16:34:13 +09:30
zilmar b3e8b760e6 Core: get COP1_S_TRUNC_L, COP1_S_CEIL_L, COP1_S_FLOOR_L, COP1_W_CVT_S, COP1_W_CVT_D, COP1_L_CVT_S, COP1_L_CVT_D to use COP1_S_CVT function 2024-05-02 15:48:43 +09:30
zilmar dd0f7ad776 Core: Have CX86RecompilerOps::COP1_S_CVT be able to handle the old format of FPU_Dword and FPU_Qword 2024-05-02 15:46:03 +09:30
zilmar 046f27ce98 Core: fix up some bugs in CX86RecompilerOps::COP1_S_CVT 2024-04-25 20:47:02 +09:30
zilmar 627b4d6103 Core: Get CompileCheckFPUInput check InvalidValueMax, InvalidMinValue in conv 2024-04-25 20:41:03 +09:30
zilmar b92e6bd752 Core: get to COP1_S_ROUND_L and COP1_S_CVT_L to use COP1_S_CVT 2024-04-25 20:22:47 +09:30
zilmar d658477cf4 Core: get CX86RecompilerOps::Compile_Branch to clear status flags 2024-04-18 17:31:19 +09:30
zilmar b313640831 Core: In CX86RegInfo::Map_TempReg allow it to use FPStatusReg if it is unprotected 2024-04-18 17:28:23 +09:30
zilmar 1172b6e04d Core: get CX86RecompilerOps::SW_Const on 0x04300000 to call MIPSInterfaceHandler directly 2024-04-18 17:21:39 +09:30
zilmar 38738b783d Core: get CX86RecompilerOps::COP1_S_CVT to handle NewFormat == CRegInfo::FPU_Qword 2024-04-18 17:11:45 +09:30
zilmar 7dc53e51cf Core: Get CompileCheckFPUInput to better handle 64bit value check 2024-04-18 17:00:29 +09:30
zilmar a9875b7d61 Core: Get COP1_D_CMP to map eax before CompileInitFpuOperation 2024-04-18 16:58:18 +09:30
zilmar 3203322d8b Core: Get COP1_D_CVT_L to use COP1_S_CVT 2024-04-18 16:56:30 +09:30
zilmar 9e73771815 Core: Use the new COP1_S_CVT in COP1_D_ROUND_L, COP1_D_TRUNC_L, COP1_D_CEIL_L, COP1_D_FLOOR_L 2024-04-18 16:51:53 +09:30
zilmar fe87142657 Core: CX86RecompilerOps::COP1_S_CMP should allocate eax before calling CompileInitFpuOperation 2024-04-18 16:42:48 +09:30
zilmar 4071b52810 Core: CX86RegInfo::UnMap_X86reg should fail on a protected register 2024-04-18 16:41:03 +09:30
zilmar 79f7aa9927 Core: CX86RegInfo::UnMap_FPStatusReg should unprotect register before trying to free it 2024-04-18 16:34:49 +09:30
zilmar 0cf4c7dc11 Core: get COP1_D_CMP to work in recompiler 2024-04-11 18:14:44 +09:30
zilmar 9272ac05f6 Core: refactor S opcodes to one central function 2024-04-11 18:09:30 +09:30
zilmar e7178dbdec Core: Fix CX86RecompilerOps::COP1_D_CVT_S 2024-03-28 20:05:27 +10:30
zilmar 8bb2445263 Core: Have CX86RecompilerOps::CompileCheckFPUResult32 write to the high word 2024-03-28 20:02:24 +10:30
François Berder 560c49ba2d
Core: Fix N64 disk IPL load address check (#2401)
The IPL load address check always evaluated to false due
to a wrong operator.

Signed-off-by: Francois Berder <fberder@outlook.fr>
2024-03-21 17:52:09 +10:30
zilmar 45fb2ad965 Core: In X86RecompilerOps::CompileCheckFPUResult64 make sure RegPointer is protected 2024-03-21 17:44:53 +10:30
zilmar 2811b63ff0 Core: Update CX86RecompilerOps::COP1_D_CVT_S and CX86RecompilerOps::COP1_D_CVT_W 2024-03-21 17:41:29 +10:30
zilmar 33d2722841 Core: fix up CX86RecompilerOps::COP1_D_FLOOR_W 2024-03-21 17:40:14 +10:30
zilmar 9a9c2e5439 Core: Update CX86RecompilerOps::COP1_D_CEIL_W 2024-03-21 17:32:12 +10:30
zilmar 401efae0d9 Core: fix up CX86RecompilerOps::COP1_D_ROUND_W 2024-03-21 17:28:16 +10:30
zilmar 772a20f07d Core: Update CX86RecompilerOps::COP1_D_SQRT 2024-03-21 17:15:10 +10:30
zilmar 87c732b65d Core: update CX86RecompilerOps::COP1_D_NEG 2024-03-21 17:14:00 +10:30
zilmar ece5e30a80 Core: create a function to handle .d recompiler opcodes that use fd and fs 2024-03-21 17:13:16 +10:30
zilmar 5133d47502 Core: Make the FPU double ops to be modularized so it is a simple function call for an opcode 2024-03-14 18:12:58 +10:30
Hugo Carvalho 10b41dfef0
Update Portuguese translation (#2412) 2024-03-07 21:13:58 +10:30
zilmar 98b1bddc64 Core: Get COP1_D_ADD, COP1_D_SUB, COP1_D_DIV, COP1_D_ABS, COP1_D_SQRT 2024-03-07 21:12:57 +10:30
zilmar 97ec1f533b Core: Make sure precision is set to 53bit 2024-03-07 20:52:24 +10:30
zilmar 290040d945 Merge branch 'develop' of https://github.com/project64/project64 into develop 2024-02-29 16:07:32 +10:30
zilmar 190c408019 Core: Fix clang formatting in x86/x86RecompilerOps.cpp 2024-02-29 16:06:56 +10:30
Derek "Turtle" Roe 565d45de8a
Update minimum requirements for Project64 (#2409)
* Fix typo in support window

* Fix the typo for real

* Update minimum requirements

* Change minimum to supported
2024-02-29 15:18:28 +10:30
jeremie-78 1bde8589e9
Cheat (#2410)
* Update The Legend of Zelda - Majora's Mask (E) (M4) (V1.0).cht

Added Time control cheat

* Update The Legend of Zelda - Majora's Mask (E) (M4) (V1.1).cht

Added Time control

* Update The Legend of Zelda - Majora's Mask (U).cht

Added Time control cheat

* Update The Legend of Zelda - Majora's Mask - Collector's Edition (E) (GC Version).cht

Added Time control cheat

* Update The Legend of Zelda - Majora's Mask - Collector's Edition (U) (GC).cht

Added Time control cheat

* Update Zelda no Densetsu - Mujura no Kamen (J) (V1.0).cht

Added Time control cheat

* Update Zelda no Densetsu - Mujura no Kamen (J) (V1.1).cht

Added Time control cheat

* Update Zelda no Densetsu - Mujura no Kamen - Zelda Collection Version (J) (GC).cht

Added Time control cheat
2024-02-29 15:17:48 +10:30
zilmar f7aa6ef6cb Core: Fix up CX86RecompilerOps::COP1_D_MUL so it can work with exceptions 2024-02-29 15:16:29 +10:30
zilmar 25dc3ed36f Core: CRegisters::TriggerAddressException should only generate a TLB_MOD on writes 2024-02-29 15:13:14 +10:30
zilmar d2649f7a13 Core: Some clean up recompiler ops 2024-02-22 19:56:23 +10:30
zilmar fae0b81e21 Core: Have CX86RegInfo::Map_TempReg generate a BreakPoint if it mapping a protected register 2024-02-22 19:41:10 +10:30
zilmar e082cd55df Core: Get COP1_D_TRUNC_W to work in recompiler 2024-02-15 21:08:49 +10:30
zilmar 2559d23592 Core: Make sure CX86RecompilerOps::CompileInitFpuOperation clears flag for FE_INVALID 2024-02-15 21:02:27 +10:30
zilmar 46f6fae40f Core: get CompileCheckFPUInput to be able to handle 32bit and 64bit 2024-02-15 21:00:12 +10:30
zilmar 2014237ed6 Core: Update Round.w.s, trunc.w.s, ceil.w.s, floor.w.s to work with exceptions in the recompiler 2024-02-08 19:34:14 +10:30
zilmar ad1a2a2d9a Core: Update neg.s for the recompiler 2024-02-01 18:17:03 +10:30
zilmar b6671adf5d Core: Update abs.s for recompiler 2024-02-01 18:15:33 +10:30
zilmar bc3fe0fe16 Core: Handle FP Status Reg being mapped better 2024-01-25 18:46:39 +10:30
zilmar 7707f9c7b2 Core: Fix up mov.s and mov.d for correct behaviour in the recompiler 2024-01-25 16:25:06 +10:30
zilmar 272144dc37 Core: check timer on cop1 unusable 2024-01-25 16:23:03 +10:30
zilmar f0f44c67f4 Core: Make mov.s the same as mov.d 2024-01-25 15:32:56 +10:30
zilmar 7ed94b653e Core: Get CX86RecompilerOps::COP1_S_CVT_D to be able to work with exceptions 2024-01-18 17:09:27 +10:30
zilmar 2231e8d6c0 Core: Remove usage of fpclassify from R4300iOp::CheckFPUResult64 2024-01-18 16:53:14 +10:30
zilmar 71067ccdc4 Rsp: Change how SP_SEMAPHORE_REG to how it use to be before adding multithread RSP 2024-01-11 18:17:05 +10:30
zilmar 5c56f9df83 RSP: Update the size of the skip in the length for DMA 2024-01-11 17:50:23 +10:30
zilmar 4dc3e35bb4 Core: Update CX86RecompilerOps::COP1_S_SQRT to work with fpu exceptions 2024-01-04 16:51:11 +10:30
zilmar f8089f565e Core: Unmap FPU_Float with writing to m_FPR_UDW 2024-01-04 14:40:42 +10:30
zilmar 552b8f744a Core: update Format_Name to match FPU_STATE 2024-01-04 13:11:21 +10:30
zilmar 6ca8333d39 Core: Get CX86RecompilerOps::COP1_S_CMP to work with exceptions 2024-01-04 12:39:51 +10:30
zilmar c9d2bbd221 Core: CX86RecompilerOps::COP1_CF should be able use the mapped FPStatusReg if is mapped 2024-01-04 12:37:06 +10:30
zilmar 0998f0ff0e Core: Add being able to get FPU_FloatLow from CX86RegInfo::FPRValuePointer 2024-01-04 12:32:55 +10:30
zilmar 23cff4d7c5 Core: Add x86 asm opcode Jnp 2024-01-04 12:31:26 +10:30
zilmar 91a8a828d7 Core: CX86RegInfo::FPRValuePointer when the format is FPU_Dword it should be using m_FPR_UW 2024-01-04 12:01:21 +10:30
zilmar 320769d991 Core: CX86Ops::OrConstToVariable should be a dword_ptr not a word_ptr 2024-01-04 10:33:07 +10:30
zilmar dafa1fb24d Core: Have COP1_W_CVT_S handle the initialization of exceptions 2023-12-28 11:19:06 +10:30
zilmar 17288c90c0 Core: Reset pipeline in CX86RecompilerOps::CompileCheckFPUResult32 2023-12-28 10:23:18 +10:30
zilmar e2306e3541 Core: Get COP1_S_CVT_W to handle inexact 2023-12-28 09:21:53 +10:30
zilmar 8399fdb893 Core: Clear the Divide-by-zero flag 2023-12-21 21:24:33 +10:30
zilmar d14a639a62 Core: Implement COP1_S_DIV with fpu exceptions 2023-12-21 14:11:29 +10:30
zilmar 8e54ec8c8e Core: CompileCheckFPUInput32 and CompileCheckFPUResult32 should not be updating esp since using callthis 2023-12-21 14:10:21 +10:30
zilmar b263ee10b0 Core: In CX86RecompilerOps::CompileLoadMemoryValue instead of checking write to rt being 0 instead use WritesGPR() since LDC1 F0 rt is 0 but it is not writing to r0 2023-12-21 10:41:16 +10:30
zilmar 1810bfda5c Core: Handle unaligned CX86RecompilerOps::CompileLoadMemoryValue for 64bit ops 2023-12-21 10:38:49 +10:30
zilmar 2c1610cfe2 Core: fix up some of the commented out debugging code in CX86RecompilerOps::PreCompileOpcode 2023-12-21 10:37:27 +10:30
zilmar 6610ae3058 Core: Have R4300iInstruction in CRecompilerOpsBase 2023-12-21 10:34:03 +10:30
zilmar 8e3fb3e302 Core: Have R4300iInstruction::WritesGPR return the register written to instead of passing a variable by reference 2023-12-21 10:26:10 +10:30
zilmar c8e73ba18e Core: Handle unaligned SW exception in the recompiler 2023-12-14 23:04:26 +10:30
zilmar 972943cff7 Core: Allow LW to R0 be able to generate an exception 2023-12-14 17:21:52 +10:30
zilmar 89a6eaf9d1 Core: Add RecordLLAddress for 32bit register pointer 2023-12-14 13:52:15 +10:30
zilmar 67f5e4f854 Core: in LL for recompiler handle storing the address in COP[17] 2023-12-14 13:10:20 +10:30
zilmar d5a5f4cdac Core: Have Store Instruc rdb and user rdb matching 2023-12-14 12:21:03 +10:30
zilmar 5fec3f8d31 Core: remove the global of g_TLB 2023-12-14 12:09:24 +10:30
zilmar c67f3f0e97 Core: Have UpdateSyncCPU use its Sync cpu instead of passing a cpu to it 2023-12-14 11:18:07 +10:30
zilmar 236d618c20 Artwork: Add Project64 logo 2023-12-07 17:49:26 +10:30
zilmar 15175d3fe2 Core: Fix bug in not creating save state correctly 2023-12-07 17:43:48 +10:30
zilmar 10b550bb63 Android: Start to get controller working 2023-12-07 16:14:04 +10:30
zilmar de1288bdca Core: remove try/catch around Interpreter cpu 2023-11-30 21:15:14 +10:30
zilmar df56964c96 Android: Remove unneeded log call 2023-11-30 21:13:27 +10:30
zilmar 5671f2b759 Android: Update how Addu cause android studio was not sign extending result 2023-11-30 21:12:53 +10:30
zilmar da092545e6 Android: Add requestLegacyExternalStorage 2023-11-30 15:29:36 +10:30
zilmar d0445eb5cc Android: switch icons from png to svg 2023-11-30 14:03:38 +10:30
Dark 85f580950b
Update Brazilian Portuguese.pj.Lang (#2373)
* Update Brazilian Portuguese.pj.Lang

General cleanup, fixing some serious grammatical mistakes and incorrect terms from the previous commit. To name a few:
- Only proper nouns are capitalized, not all words.
- Save State is not a proper noun, so it must be translated.
- Screenshot is always translated to "captura de tela".
- Slot can be translated to "compartimento".
- "Pra" is not grammatically acceptable.
- Translating Resume to "resumir" is a rookie mistake.

* Update Brazilian Portuguese.pj.Lang

* Update Brazilian Portuguese.pj.Lang
2023-11-23 22:55:12 +10:30
Derek "Turtle" Roe acbb8f85a8
Fix typo in support window code (#2395)
* Fix typo in support window

* Fix the typo for real
2023-11-23 22:54:19 +10:30
zilmar ceaa05c317 Android: Change how PACKAGE_DIRECTORY is retrieved 2023-11-23 18:37:55 +10:30
zilmar 01673dac8d Core: Change TriggerAddressException to SetVPN an R of entry hi in one call 2023-11-23 14:20:48 +10:30
zilmar d47b49d4b5 Core: Fix clang issue 2023-11-16 18:24:47 +10:30
zilmar 542afc4514 Core: remove some accidental added debug code 2023-11-16 18:16:35 +10:30
zilmar ee714e2462 Core: On unmap base addresses reset to the correct address 2023-11-16 18:14:15 +10:30
zilmar 8f4f434820 Core: Get Fast tlb to just be 32bit 2023-11-16 17:11:05 +10:30
zilmar dcb6969067 Core: Have entryHI use functions to set/get parts 2023-11-16 09:19:24 +10:30
zilmar a0130ff896 Core: Convert %I64U to %llx 2023-11-16 09:03:32 +10:30
zilmar e46ffde6b3 fix clang formatting 2023-11-09 12:59:40 +10:30
zilmar 296b7cf1cf Android: Force RSP to be interpret 2023-11-09 12:45:36 +10:30
zilmar 0c8b10bbc7 Android: Get RSP core to compile on android 2023-11-09 11:53:06 +10:30
zilmar 09cc3442a2 Android: fix compile bug 2023-11-02 20:27:38 +10:30
zilmar 6fbc5c0264 Android: Move hle audio code in to main rsp plugin 2023-11-02 20:06:58 +10:30
zilmar 924197ca9a Android: Update ignore for new asset location 2023-11-02 09:07:28 +10:30
zilmar 9b672cfa4d Merge branch 'develop' of https://github.com/project64/project64 into develop 2023-10-27 10:14:58 +10:30
zilmar e6edbc6c82 Fix clang formatting 2023-10-27 10:14:21 +10:30
Squall Leonhart ab52c4ab57
Mario 64 Shindou and Improvement hack support (#2392)
* Update Project64.rdb

Mario 64 Shindou and Improvement hack support

* Fixed weirdly indented Jet Force Gemini goodname

How long was this like this......
2023-10-26 20:25:47 +10:30
zilmar 4770d29ec0 Core: Get system events to be internal not global 2023-10-26 19:59:11 +10:30
zilmar 0dc1fa7f45 Android: Fix up showing menu 2023-10-26 12:13:08 +10:30
zilmar d3f4132770 Android: When listing a rom not in rdb, use game file instead 2023-10-26 11:18:24 +10:30
zilmar b74e21d056 Android: Show base dir to splash logs when starting 2023-10-26 11:17:49 +10:30
zilmar a2c4e06f90 Android: Get rid of usage of project64_data directory 2023-10-26 11:14:47 +10:30
zilmar bf480623bd [Android] Add Android/Bridge to clang checking 2023-10-26 11:05:20 +10:30
zilmar ebdef8bbdb Android: remove InterpreterCPU.cpp from CMakeLists.txt 2023-10-19 20:19:57 +10:30
zilmar 8f062975c3 Core: improve DisplayControlRegHandler::Write32 2023-10-19 19:28:38 +10:30
zilmar d6a2ae80c1 Core: Remove SystemRegisters 2023-10-19 14:56:53 +10:30
zilmar d58168bcb9 Core: R4300iOp access the registers directly, not through CSystemRegisters 2023-10-19 12:52:33 +10:30
zilmar 4d78f56aa2 Core: In R4300iOp have a member variable for system, reg, mmu 2023-10-19 12:31:26 +10:30
zilmar ae0097550f Core: Make R4300iOp opcodes not static 2023-10-19 11:43:32 +10:30
zilmar 7f42f70283 Core: Make R4300iOp::ExecuteCPU() and R4300iOp::ExecuteOps(int32_t Cycles) non static 2023-10-19 10:28:25 +10:30
zilmar d3edbf6dda Core: move CInterpreterCPU into R4300iOp 2023-10-19 09:32:42 +10:30
zilmar d4dbc5a3f4 Core: Have R4300iOp::COP1_D_SQRT inline asm version to only compile in Visual Studio 2023-10-14 11:53:35 +10:30
zilmar 00c5057b17 Core: Make sure precision is correct for COP1_D_SQRT 2023-10-13 00:16:14 +10:30
zilmar 3a68d3d92a Core: LL/LLD store address 2023-10-12 19:55:29 +10:30
zilmar a6405cfa2d Core: Add masking around DPC_START_REG/DPC_END_REG 2023-10-12 17:50:58 +10:30
zilmar 4e71221147 Core: Fix up FPU mode register location 2023-10-12 14:53:44 +10:30
zilmar befa57924d Core: Fix clang compile issues 2023-10-05 15:01:09 +10:30
zilmar f73c3708a5 Core: Fix up tlb Probe and call EXC_MOD when tlb is not dirty 2023-10-05 14:45:17 +10:30
zilmar e74e8f6a23 Core: Have load/store ops be able to use 64bit addresses 2023-10-05 14:28:32 +10:30
zilmar 9f07fe2aac Core: Get tlb addresses to be 64bit 2023-10-05 13:42:31 +10:30
zilmar 4b844495b7 Core: Have save states handle COP0/TLB being 64bit now
Core: Clean up tlb class
2023-10-05 13:10:45 +10:30
zilmar 35105e814e Core: Remove CRegisters::DoTLBReadMiss and CRegisters::DoTLBWriteMiss 2023-10-05 09:54:41 +10:30
zilmar b7311cc611 Core: Change Non memory load/store to not use tlb 2023-10-05 09:32:45 +10:30
zilmar a975af0e3c Rsp: only use alignas for Visual Studio 2023-09-28 16:18:39 +09:30
zilmar dd7ec63dd9 Rsp: Change usage of alignas to try and fix android build 2023-09-28 15:53:46 +09:30
zilmar 7e249d22b1 Try to fix android build 2023-09-28 15:25:34 +09:30
zilmar 46e6e54f24 RSP: improve running RSP multithreaded 2023-09-28 14:46:36 +09:30
zilmar 15e6e460d2 Rsp: Clean up VRCP, VRCPL, VRCPH, VRSQ, VRSQL, VRSQH 2023-09-28 13:39:23 +09:30
zilmar 3c52d8e2e3 RSP: use vt instead of rt when using RSP_Vect 2023-09-28 11:57:29 +09:30
zilmar 0bd6a96118 RSP: fix display of VRCP instruction 2023-09-28 11:54:50 +09:30
zilmar b1240072c6 RSP: move Enter_RSP_Register_Window & UpdateRSPRegistersScreen function definition out of RSP core 2023-09-28 11:53:57 +09:30
zilmar ac3e0f83d1 Rsp: Use RSP Register Handler 2023-09-28 11:52:06 +09:30
zilmar bd1ec4ff0f Core: Create a setting for RDRAM Size that plugins can read 2023-09-28 07:29:11 +09:30
zilmar 99417fc5d9 Core: reset run event in CRSP_Plugin after rom close 2023-09-28 07:19:20 +09:30
zilmar f817becf9c Core: Create a handler for RSP registers that is accessible to the core and the RSP 2023-09-28 07:03:01 +09:30
zilmar 03e13455f9 Core: Update pipeline before sync in CX86RecompilerOps::OverflowDelaySlot 2023-09-28 06:39:39 +09:30
zilmar 2caa457d02 Core: reset pipeline stage after CompileLoadMemoryValue and CompileStoreMemoryValue
Update counter before mfc0 x, count
2023-09-22 11:01:46 +09:30
zilmar 10d2b77d7c Core: Try to fix android build 2023-09-21 20:13:41 +09:30
zilmar aadcca7528 Core: Fix clang issue 2023-09-21 18:40:27 +09:30
zilmar 6307888be4 Core: fix up exception generator functions 2023-09-21 18:07:56 +09:30
zilmar 32ff820a03 RSP: clean up vector compare ops (VLT, VEQ, VNE, VGE, VCH) 2023-09-21 15:51:16 +09:30
zilmar dc95d2f7a4 RSP: Clean up vector ops (VADD, VSUB, VABS, VSUBC, VMRG, VAND, VNAND, VOR, VNOR, VXOR, VNXOR) 2023-09-21 15:44:07 +09:30
zilmar 174e751a4a RSP: Fix up load ops (LUV, LHV, LFV, LTV) 2023-09-21 15:30:07 +09:30
zilmar bdaf8cf78c RSP: Clean up store vector ops (SHV, SFV, STV, SWV) 2023-09-21 15:25:45 +09:30
zilmar 5dcc7e200f Rsp: Move InitilizeRSPRegisters and InitilizeRSP into rsp-core 2023-09-21 15:16:26 +09:30
zilmar 42a944c660 RSP: Setup option to run in a thread 2023-09-21 14:25:07 +09:30
zilmar c4abebe201 Core: Update <Project64-plugin-spec\ to <Project64-plugin-spec/ 2023-09-21 14:13:08 +09:30
zilmar f3d6d3fc7c Core: for tlb miss only use special address when address is not defined 2023-09-14 18:39:15 +09:30
zilmar e0c125e837 Core: Fix clang issue 2023-09-14 16:33:20 +09:30
zilmar c02858c7a0 Core: Add LLD opcode 2023-09-14 16:31:37 +09:30
zilmar f559aed2ad Core: Get CRegisters::DoAddressError, CRegisters::DoTLBReadMiss, CRegisters::DoTLBWriteMiss to use TriggerException function 2023-09-14 16:23:26 +09:30
zilmar ae4af8746b Core: replace GenerateTLBReadException and void GenerateTLBWriteException with CRegisters::DoTLBReadMiss/CRegisters::DoTLBWriteMiss 2023-09-14 13:09:11 +09:30
zilmar 8b14b6d7d1 Core: Move InitRegisters to register class 2023-09-14 12:01:16 +09:30
zilmar a5a4873e84 Core: Have CRegisters::DoAddressError to not directly modify program counter 2023-09-14 11:37:21 +09:30
zilmar 2d09178449 Core: Add calls to CPO1_UNIMPLEMENTED_OP for Cop1.w functions 2023-09-14 11:15:42 +09:30
zilmar 5da5dab3c5 Core: Have CRegisters::DoTLBReadMiss set the target pipe line to jump, not directly modify the PC 2023-09-14 11:09:28 +09:30
zilmar fcd7257adc Core: Change COP0 Status register to a struct breaking up the bits 2023-09-14 10:23:36 +09:30
zilmar 9ffd87168a Core: DisplayControlRegHandler::Read32 read more of the registers 2023-09-14 09:40:11 +09:30
zilmar 002f2e17c3 RSP: Clean up code for vector multiple ops 2023-09-07 11:54:36 +09:30
zilmar 4e9a692449 RSP: Add RSP_Vector_VRNDP 2023-09-07 11:41:17 +09:30
zilmar 0cadbe0f70 RSP: Add clamp16 2023-09-07 11:31:31 +09:30
zilmar af1c0c2b55 RSP: Add Vmulq 2023-09-07 11:30:15 +09:30
zilmar d468b863c2 Rsp: add vnop for vnull 2023-09-07 11:29:16 +09:30
zilmar 8b71ef3bc1 RSP: Add RSP_Vector_Reserved 2023-09-07 11:23:35 +09:30
zilmar ab67374c8a RSP: Update the display of RSP opcodes in debugger 2023-09-07 11:19:44 +09:30
zilmar 4f74dc4bb0 Rsp: Update display of vector in debugger 2023-09-07 11:17:08 +09:30
zilmar ab03916a70 Core: let the stack pointer equal end of rdram 2023-09-07 11:13:54 +09:30
zilmar 7199096748 Core: Merge CheckFPUException into CheckFPUResult64 2023-08-31 18:52:34 +09:30
zilmar 91d1c6e237 Core: Add fpu exceptions to COP1_S_MUL 2023-08-31 11:09:48 +09:30
zilmar 2f7a35613f Core: Add exception to COP1_S_SUB 2023-08-31 10:54:41 +09:30
zilmar c28c6bb4a1 Core: Add fpu exceptions to COP1_S_ADD 2023-08-31 10:08:49 +09:30
zilmar 416c85ecda Core: some code clean up of Load_FPR_ToTop 2023-08-31 09:30:05 +09:30
zilmar 2dcfcf250d Core: Do not force unmapping of fpr registers before CX86RegInfo::BeforeCallDirect(void) 2023-08-31 09:28:23 +09:30
zilmar e49438cdab Core: Add exit reason exception 2023-08-30 12:16:07 +09:30
zilmar 703ad4049a PluginRSP: declare windows.h before asset.h 2023-08-30 12:15:36 +09:30
zilmar 41fa1fd5dd Core: use m_TLB_WriteMap not m_TLB_ReadMap for NonMemory 2023-08-30 11:35:53 +09:30
zilmar 625f532d73 RSP: use __debugbreak not DebugBreak 2023-08-24 10:44:45 +09:30
zilmar 47f14016e6 RSP: Set RSP_JumpTo before register in JALR, BLTZAL, BGEZAL 2023-08-24 10:35:51 +09:30
zilmar ae9912b068 RSP: Clean up VCR 2023-08-24 10:31:26 +09:30
zilmar 7db5876927 RSP: Clean up VCL 2023-08-24 10:07:05 +09:30
zilmar 9dab3481ae RSP: Add class to wrap around RSP flag 2023-08-24 08:00:29 +09:30
zilmar 0cb43e0c33 RSP: Remove flag to swap vector register endian 2023-08-24 07:04:35 +09:30
Squall Leonhart b8fff5d116
Corrects Internal names for many Japanese roms (#2384)
And adds missing settings for Majora's mask M4 Debug
2023-08-19 14:48:07 +09:30
zilmar d300dc002a Core: remove exception catch around RSP 2023-08-17 15:27:18 +09:30
zilmar 6884c8d2c9 Core: fix up how recompiler handles rounding 2023-08-17 15:24:57 +09:30
zilmar a80860605d RSP: fix up usage of Indx in recompiler 2023-08-17 14:38:51 +09:30
zilmar 3394be733f RSP: Fix up AccurateEmulation for interpreter 2023-08-17 14:22:54 +09:30
zilmar 54be4d8135 Rsp: Add a rsp AccurateEmulation flag for new rsp work 2023-08-17 12:04:06 +09:30
zilmar 09ef426ac6 Rsp: Fix memory allocation of recompiler memory 2023-08-17 11:37:03 +09:30
zilmar 6b30c1ae6a Rsp: Move Recompiler in to rsp-core 2023-08-17 08:59:22 +09:30
zilmar 1f0151e067 RSP: fix up clang formatting 2023-08-10 21:50:01 +09:30
zilmar 6bdc898248 RSP: fix LPV 2023-08-10 20:52:50 +09:30
zilmar c6c0a4a6d2 RSP: fix LDV 2023-08-10 16:06:38 +09:30
zilmar 1d492262fd RSP: use std::min for length calculation 2023-08-10 14:24:33 +09:30
zilmar 60192a7f33 RSP: Move more functionality in to rsp-core 2023-08-10 14:16:57 +09:30
zilmar 25e48405c5 RSP: Start to split out RSP in to core and UI for plugin 2023-08-10 10:27:11 +09:30
zilmar bb5a16aaa2 RSP: Change RSP Registers to be an enum not define 2023-08-10 09:47:53 +09:30
zilmar 34d75780bf Rsp: Update the element order in LSV, LLV, LRV 2023-08-03 17:32:40 +09:30
zilmar a18f78679e Rsp: Change the order of EleSpec 2023-08-03 17:29:55 +09:30
zilmar 05cd3a846b Rsp: Update vmov 2023-08-03 17:27:58 +09:30
zilmar b5db44c12d Core: Get CheckFPUInput64Conv to return true on exception 2023-08-03 17:25:03 +09:30
zilmar 5ff45c43c4 Core: Get R4300iOp::CheckFPUInput64 to return true on exception 2023-08-03 17:11:56 +09:30
zilmar bc1b027c94 Core: get CheckFPUInput32Conv to return true on exception 2023-08-03 16:24:54 +09:30
zilmar 930e463bbc Core: Move TriggerException(EXC_FPE) into R4300iOp::CheckFPUInput32 2023-08-03 15:38:07 +09:30
Squall Leonhart 822b75c734
changes this callback back to BOOL so it works again. (#2378) 2023-07-28 06:57:31 +09:30
zilmar bbe603c758 RSP: fix up lbv 2023-07-27 16:01:03 +09:30
zilmar 52e77bc4e0 RSP: Some clean up to lqv 2023-07-27 15:11:31 +09:30
zilmar e1854e1589 RSP: Inline memory functions in to the opcodes 2023-07-27 13:23:53 +09:30
Squall Leonhart 562d4d4e56
Make the FPU Register Caching checkbox functional (#2377)
Adds missing line from SettingsPage-Game-Recompiler.h
Corrects entry in SettingsPage-Game-Recompiler.cpp to Game_FPURegCache
Removes : from Language file entry.
2023-07-27 09:07:14 +09:30
zilmar 5c65bebe9e RSP: Update VAdd code (SQV/LQV order changed as well) 2023-07-21 07:25:17 +09:30
zilmar 2cf740565e RSP: Add dummy vsut 2023-07-20 09:40:42 +09:30
zilmar e88e827d64 RSP Add dummy LWV 2023-07-20 08:59:36 +09:30
zilmar cf7628cc1d RSP: Update RSP_LRV_DMEM 2023-07-18 10:05:25 +09:30
zilmar 4265bdfb43 RSP: Add lwu 2023-07-18 10:04:54 +09:30
zilmar bd357c65b0 RSP: fix vmov 2023-07-18 09:56:31 +09:30
zilmar 6e03d6ad7b RSP: Add method to get element specifier index from the Vector 2023-07-18 07:55:06 +09:30
zilmar 97fccb1c36 RSP: Change EleSpec to be 16 and use .e instead of rs 2023-07-18 07:36:25 +09:30
zilmar 97fbbffee8 RSP: A little clean up of VABS 2023-07-18 07:27:49 +09:30
zilmar ee452143ff RSP: Change the name of the opcode that register ops use 2023-07-18 07:22:27 +09:30
zilmar b7d7884e22 RSP: Make a class for the RSP Vector 2023-07-13 21:09:18 +09:30
zilmar 353ef5ed89 RSP: When command window is entered, always step commands 2023-07-06 20:56:00 +09:30
zilmar 115881524b RSP: Better handling on unaligned SH and SW 2023-07-06 20:55:02 +09:30
zilmar fbb388fa0f Rsp: Fix capitalization in rsp_UnknownOpcode 2023-07-06 20:51:17 +09:30
zilmar 07cf94bde3 RSP: only look at SP_STATUS_HALT when seeing if the RSP should run 2023-07-06 20:49:14 +09:30
zilmar 7dc30b1d6d RSP: Update dissam of load/store vector ops 2023-07-06 17:49:15 +09:30
zilmar f8f9688386 RSP: get RSP_LH_DMEM and RSP_LW_DMEM to handle end of memory roll over 2023-06-29 14:52:46 +09:30
zilmar cfc63532dd RSP: move p_func from RspTypes.h to Cpu.h 2023-06-29 12:31:25 +09:30
zilmar 02da0ccad1 RSP: Use bool instead of Boolean 2023-06-29 12:29:07 +09:30
zilmar 2ce9eaa667 RSP: Rename Types.h to RspTypes.h 2023-06-29 11:03:55 +09:30
zilmar 1c61f15ea9 RSP: Update display of vector ops 2023-06-29 10:59:54 +09:30
zilmar 080a3b69ac RSP: Create a RSP instruction for decoding the RSP op 2023-06-15 21:09:44 +09:30
zilmar df215c1cc5 RSP: Fix up rename of filters file 2023-06-15 14:48:07 +09:30
zilmar ef24ec11d8 Rename RSP to Project64-rsp 2023-06-15 14:45:27 +09:30
zilmar 187bd64915 Core: Update how exceptions are handled with the recompiler 2023-06-08 16:25:05 +09:30
Nayla 18a712ce6a
Update Interface.cpp (#2367) 2023-06-03 07:11:57 +09:30
zilmar f4459fe143 RSP: Update RSP name in package_zip.cmd 2023-06-02 10:52:10 +09:30
zilmar 98b96a60cb RSP: Get the code to conform to clang-format 2023-06-01 21:16:23 +09:30
zilmar 90fefed579 RSP: Fix text when adding tab to registers 2023-06-01 19:40:53 +09:30
zilmar 1522f17b9c RSP: Convert base code to be compiled as c++ instead of C 2023-06-01 17:11:26 +09:30
zilmar a39ebe7d37 Core: Create InitFpuOperation 2023-05-27 10:01:19 +09:30
zilmar e2eebe566d Core: fix up for clang 2023-05-18 18:05:54 +09:30
zilmar b438fddf2e Core: Add CP2 handling 2023-05-18 18:04:41 +09:30
zilmar 3b8dfce64a Core: Convert DoBreakException to TriggerException 2023-05-18 11:47:00 +09:30
zilmar b2c2a03a2e Core: convert DoFloatingPointException to TriggerException 2023-05-18 11:41:20 +09:30
zilmar 0dfab78c88 Core: Convert DoCopUnusableException to TriggerException 2023-05-18 11:26:36 +09:30
zilmar 456f25eb6b Core: Get DoIntrException to use TriggerException 2023-05-18 11:19:26 +09:30
zilmar 252f629e14 Core: Convert DoIllegalInstructionException to TriggerException 2023-05-18 11:13:22 +09:30
zilmar 59a1277bed Core: Convert GenerateOverflowException to TriggerException 2023-05-18 11:05:27 +09:30
zilmar 69fd74ba56 Core: Convert DoSysCallException to TriggerException 2023-05-18 10:56:06 +09:30
zilmar 17df17805d Core: convert DoTrapException to TriggerException 2023-05-18 10:49:58 +09:30
zilmar 74912ca8c2 Core: handle jump to unaligned addresses 2023-05-18 10:33:57 +09:30
zilmar 6e58edb076 Core: Merge CheckFPUException into CheckFPUResult32 2023-05-15 23:16:54 +09:30
zilmar 62b29622ca Core: remove usage of fpclassify in CheckFPUInput32 and CheckFPUResult32 2023-05-15 22:57:13 +09:30
zilmar 0ddeb6b981 Core: remove exception out of R4300iOp::CheckFPUInput32 2023-05-15 20:56:56 +09:30
zilmar fdc637516f Core: remove Double_RoundToInteger64 2023-05-09 13:05:58 +09:30
zilmar 5a23f48629 Core: remove Double_RoundToInteger32 2023-05-09 12:57:08 +09:30
zilmar e5b1a9469a Core: remove Float_RoundToInteger64 2023-05-09 12:50:23 +09:30
zilmar 2c19c2c362 Core: Handle CPO1 unimplemented op 2023-05-09 11:28:59 +09:30
zilmar 85f4f147a1 Core: Remove Float_RoundToInteger32 2023-05-09 09:40:10 +09:30
zilmar 49a385e743 Core: Split CheckFPUException into CheckFPUException and CheckFPUInvalidException 2023-05-09 08:06:15 +09:30
Felipe 7c71ec21b5
Updated brazilian portuguese translation (#2360)
Added the new strings.
2023-05-02 11:15:46 +09:30
zilmar fa25b6d2af Core: clear FPU StatusReg cause in CX86RecompilerOps::COP1_S_ADD 2023-05-02 11:12:13 +09:30
zilmar 02a48566c0 Core: Remove helper functions from x86 Recompiler Ops 2023-05-02 10:50:49 +09:30
zilmar 5cfb80fcfc Core: Improve R4300iOp::COP1_S_CVT_W 2023-04-24 19:02:00 +09:30
zilmar 71ef28fd55 Core: Add R4300iOp::COP1_W_CVT_W 2023-04-24 18:55:06 +09:30
MELERIX 2e14185f5a
Update Spanish Translation (#2357)
* Update Spanish Translation

* Update Spanish.pj.Lang
2023-04-18 10:28:39 +09:30
zilmar ab8b004b71 Core: Add a setting for fpu reg caching 2023-04-17 18:47:33 +09:30
zilmar cba01b2063 Core: Improve R4300iOp::COP1_L_CVT_D 2023-04-17 18:08:51 +09:30
zilmar d9e69fee65 Core: Improve R4300iOp::COP1_D_CMP 2023-04-17 18:07:58 +09:30
zilmar 0cc6d21ad1 Core: Improve R4300iOp::COP1_S_CMP 2023-04-17 18:06:42 +09:30
Derek "Turtle" Roe ebe0ee903c
Update Project64.rdb (#2358)
Add PR changes to upstream
2023-04-15 16:07:07 +09:30
zilmar 9297b1c4b8 Core: Improve COP1_S_CVT_D, COP1_W_CVT_D, COP1_D_CVT_S, COP1_W_CVT_S, COP1_L_CVT_S, 2023-04-11 16:20:24 +09:30
Typical0 4f3705c395
Updated Polish to include fixed diactrics (#2356)
* Updated Polish to include fixed diactrics

* Update Polish.pj.Lang
2023-04-05 10:20:45 +09:30
zilmar 9a04293a67 Update arm/arm64 to use asmjit 2023-04-05 10:16:21 +09:30
zilmar 2c40d47a34 Start to look at x64 recompiler 2023-04-04 17:44:42 +09:30
zilmar fe35d950f3 x64: Change MemoryStackPos to be a pointer 2023-04-03 09:08:43 +09:30
zilmar 422a42cae3 Core: More work improve the accuracy of cop1 2023-03-28 13:12:59 +10:30
zilmar ce69324dbe Core: Update R4300iOp::COP1_S_MUL to handle exceptions 2023-03-21 10:49:49 +10:30
zilmar cbf67cede4 Core: Update sub.d to handle exceptions 2023-03-20 17:17:31 +10:30
zilmar 96787690c7 Core: Fix CoprocessorUnitNumber on exception 2023-03-20 12:09:06 +10:30
zilmar 7f7aee7232 Core: remove FAKE_CAUSE_REGISTER 2023-03-14 12:14:10 +10:30
David Benepe 96792b18c8
Fixed DPI scaling issue in some debugger windows (#2353) 2023-03-12 16:58:32 +10:30
zilmar 9093b42d47 Core: improve the accuracy of COP1_S_SUB 2023-03-06 20:58:47 +10:30
zilmar 306f21b5fa Core: Improve accuracy of add.d 2023-03-06 18:28:32 +10:30
zilmar a25e5ca4c0 x64: Fix rom browser showing columns 2023-03-04 07:19:35 +10:30
Matando f048fb26e2
Fix MBC30 transferpak support in nrage input plugin (#2292) 2023-03-03 09:58:24 +10:30
zilmar ea70218d1c Clean up warnings 2023-02-28 10:09:08 +10:30
zilmar cb124b7009 x64: Get PluginRSP to build for x64 2023-02-27 11:25:22 +10:30
zilmar 0e5b6cd0e8 Common: update stdstr::Replace with the version of replace being used 2023-02-27 11:02:25 +10:30
StunninglyWrong db7aab466c
Add generic "Ocarina of Time + Majora's Mask Randomizer" entry (#2337)
* Add generic "Ocarina of Time + Majora's Mask Randomizer" entry

A new randomizer combining two games, it requires 8MB RDRAM Size. I copied what was done for DK64 Randomizer.

* Updated OOT+MM entry as required

Not sure if all of those are required other than SMM-Protect
2023-02-21 14:57:51 +10:30
zilmar 4ece4ce827 Fix spelling in CONTRIBUTING.md 2023-02-21 14:57:08 +10:30
Dongni31 47ecc12b77
Update CONTRIBUTING.md (#2341)
Added a detailed guide on how to properly contribute code to the project through GitHub.
2023-02-21 14:56:02 +10:30
zilmar 1864adcb35 Core: improve the accuracy of COP1_S_ADD 2023-02-21 14:54:22 +10:30
zilmar ee3f092ec9 Merge branch 'develop' of https://github.com/project64/project64 into develop 2023-02-14 08:26:56 +10:30
zilmar 4263f11c17 Android: Fix rename of SettingsType-RDBYesNo.cpp 2023-02-14 08:26:25 +10:30
jarupxx 3aef396007
Add editbox to choose directory dialog (#2340) 2023-02-14 08:12:38 +10:30
zilmar 3acd56ae61 Core Fix up clang formatting 2023-02-14 08:05:40 +10:30
zilmar 2db5c81af5 Core: Change Project64.rdb so it use 1's and 0's instead of "Yes" or "No" 2023-02-13 21:05:57 +10:30
zilmar e14e10f4b0 Core: Fix handling of R4300iOp::COP1_S_CMP and R4300iOp::COP1_D_CMP 2023-02-13 16:22:50 +10:30
zilmar baa5dbe257 Core: Add some error message when failing to load rom 2023-02-13 12:04:31 +10:30
zilmar 4390a0926c Remove _Pairib usage 2023-02-13 08:55:56 +10:30
zilmar 92c06c1651 Android: Fix removal of ExtractAssetsTask 2023-02-06 20:13:46 +10:30
zilmar cd7b0b42c3 Android: Be able to have assets in a zip file 2023-02-06 17:41:23 +10:30
zilmar f79a2e9bde Merge branch 'develop' of https://github.com/project64/project64 into develop 2023-02-06 10:16:51 +10:30
zilmar a8a553b316 Core: fix code to make clang happy 2023-01-31 07:54:47 +10:30
zilmar 83a7d9e3f2 Core: Start to improve the accuracy of R4300iOp::COP1_S_ADD 2023-01-30 20:36:58 +10:30
zilmar 7affd514c0 Core: Convert TEST_COP1_USABLE_EXCEPTION from a macro to a function 2023-01-30 11:40:03 +10:30
zilmar f802b18cdc Core: Change to using fenv.h instead of including the code directly 2023-01-30 10:07:51 +10:30
zilmar acda3f568f Merge branch 'develop' of https://github.com/project64/project64 into develop 2023-01-23 17:47:50 +10:30
zilmar a6f937b368 Android: Move assets directly under Android 2023-01-23 17:25:28 +10:30
zilmar fb6bda321c Core: SW_Register needs to protect the register 2023-01-23 15:30:39 +10:30
zilmar 0e52bfb185 Core: Fix the allocation of rdram size if set in the rdb 2023-01-23 08:30:13 +10:30
zilmar 210ebd42de Core: have an option for rdram to be different between known and unknown roms 2023-01-16 20:53:48 +10:30
zilmar dbd360f676 Core: Handle exception of mov word ptr ds:[E01F4F52h],ax 2023-01-09 17:53:16 +10:30
zilmar 531a7df959 Core: Improve StoreInstruc 2023-01-09 14:26:35 +10:30
zilmar ccae22afc5 Core: Revert SPECIAL_SRA and SPECIAL_SRAV to old version when running as 32bit 2023-01-09 13:47:41 +10:30
zilmar b6629ac1d3 Android: Fix build warning with CX86Ops::CallThis 2023-01-03 14:49:35 +10:30
zilmar 5923d50868 Android: Fix Project64-core\CMakeLists.txt 2023-01-03 14:48:17 +10:30
zilmar e0373025ef Core: Have user rom settings in Project64.rdb.user 2023-01-03 13:08:00 +10:30
zilmar 80aecdc5e3 Core: Improve R4300iOp::COP1_CT 2023-01-02 19:49:19 +10:30
zilmar 3c73c06b01 Update Project files to remove some headers that no longer exist 2023-01-02 17:56:12 +10:30
zilmar 811aaf9d36 Core: Fix up SPECIAL_SRAV for 64bit copy 2022-12-26 18:34:53 +10:30
zilmar c619b71b26 Core: get sra to handle 64bit shift 2022-12-26 18:13:45 +10:30
zilmar b217428fee Core: fix up masking in CX86RecompilerOps::COP1_CT 2022-12-26 17:35:58 +10:30
zilmar 0cc7ede816 Core: Fix up BGEZALL in recompiler 2022-12-26 17:19:32 +10:30
zilmar 2c6d3429b7 Core: Fix handling of BGEZAL ra in recompiler 2022-12-26 16:14:05 +10:30
zilmar f6e4443dda Core: Revert Unaligned DMA to fix some hacks 2022-12-26 15:15:28 +10:30
zilmar f380d326fe Core: Start to handle jump in delay slot 2022-12-26 12:54:04 +10:30
zilmar 8803f17d85 Core: Add vcruntime140_1.dll for clang.exe 2022-12-20 09:44:11 +10:30
zilmar 620aabcf9e Core: Add clang script and check on building release 2022-12-19 15:51:02 +10:30
zilmar bd1b1b4dbb Core: Missed file for code clean up 2022-12-19 15:36:08 +10:30
zilmar c0341bb759 Core: Code clean up for clang 2022-12-19 15:35:17 +10:30
zilmar ae62981aef Core: Remove unaligned dma 2022-12-19 10:15:31 +10:30
zilmar cbacddb65e Core: Make 32bit CPU recompiler only setting 2022-12-19 09:07:26 +10:30
Dark ad4f16abc6
Update Brazilian Portuguese translation (#2322)
Several grammar corrections, adjustements & updates
2022-12-12 21:31:14 +10:30
zilmar 6c154f6547 Core: Add Cop2/Cop3 handling exception 2022-12-12 21:29:16 +10:30
zilmar c8bb04b6b0 Core: Mask COP1_CT reg 31 2022-12-12 19:04:03 +10:30
zilmar d3afe97d38 Core: Initialize FPR_Ctrl[Revision] to 0xA00 2022-12-12 15:27:07 +10:30
zilmar ff56992542 Android: Some more core changes for asmjit 2022-12-07 09:04:55 +10:30
zilmar 72705cf66a Android: Get it to build asmjit 2022-12-07 08:33:34 +10:30
Johan Mattsson c100d527fc
Small fixes (#2314)
* Assign the null pointer

* Initialize variable

* Fix while-conditions
2022-12-05 19:33:48 +10:30
zilmar 6b04b908bf Core: Handle bgezal ra in the recompiler 2022-12-05 14:09:03 +10:30
zilmar d35d2e6abe Core: Move ReadsGPR, WritesGPR, ReadsHI(), ReadsLO(), WritesHI(), WritesLO() out of OpInfo and into R4300iInstruction 2022-12-05 12:23:09 +10:30
zilmar 138868d9ac Core: Get x64 compiling 2022-11-30 17:19:15 +10:30
Rosalie 86a4f6e318
Remove unused cheat (#2312) 2022-11-29 18:40:07 +10:30
zilmar ed357e5d97 Core: Get recompiler to call PifRamHandler when in pif address space 2022-11-27 11:07:28 +10:30
zilmar 1e3fff2b41 Core: ignore memory stack pointer when stack pointer is reset 2022-11-25 09:34:54 +10:30
zilmar 1f2fe96d76 Merge branch 'develop' of https://github.com/project64/project64 into develop 2022-11-24 09:10:50 +10:30
zilmar 79d749e33d Core: fix bug in CX86Ops::CallFunc when not logging opcodes 2022-11-24 09:10:15 +10:30
Squall Leonhart 8eecb0c823
Extend mempak Index Table to the intended 256 bytes, so that the default checksum is actually correct, and include the backup of that data. (#2304)
* just a test to see what happens

* duplicate the full 256 bytes.

* Didn't need to duplicate it after all.

The index table wasn't actually 256 bytes as intended, so the checksum was invalid.

Cruis'n'USA 1.0 didn't like this one bit.

* fully duplicate it after all just in case of a rare case

where a game breaks without the backup of the checksum and table.

* this looks properly duplicated now.

perhaps
2022-11-24 07:49:48 +10:30
Hugo Carvalho 1893706b4b
Update Portuguese translation (#2309) 2022-11-24 07:49:18 +10:30
zilmar e3aa2514c1 Core: Fix bug in CX86RecompilerOps::SPECIAL_DIV 2022-11-23 20:16:38 +10:30
zilmar 8e94b3086b Core: Change recompiler to use asmjit 2022-11-23 14:46:55 +10:30
zilmar 2a6d3cd519 Core: remove #ifdef toremove block in CX86RecompilerOps::SPECIAL_DMULTU() 2022-11-21 08:55:51 +10:30
zilmar 9743f12b1d Core: Remvoe #ifdef LinkBlocks code block 2022-11-21 08:52:19 +10:30
zilmar 989827cb77 Core: Do not set m_MemoryReadMap/m_MemoryWriteMap if tlb mapping is outside rdram 2022-11-14 21:20:28 +10:30
zilmar 97e3f50007 Core: Update mask of registers in CRegisters::Cop0_MT 2022-11-14 20:56:21 +10:30
zilmar cabcd2cc95 Core: Handle masking of random in CSystemTimer::UpdateTimers 2022-11-14 11:19:02 +10:30
zilmar 02660c2f62 RSP: dma to either DMEM or IMEM based on address 2022-11-08 20:17:57 +10:30
zilmar 48da86bea1 Core: if Rom is larger than ISViewerHandler, then use rom handler 2022-11-08 10:54:01 +10:30
zilmar 529812fdca Core: Switch to use asmjit registers in recompiler 2022-11-07 21:03:32 +10:30
zilmar 0e1a72a0b1 Add asmjit code 2022-11-07 16:36:46 +10:30
zilmar a4c49a3567 Core: rearrange XorVariableToX86reg parameters 2022-11-07 16:30:09 +10:30
zilmar 2fcce6cdd5 Cote: TestVariable rearrange parameters 2022-11-07 16:25:54 +10:30
zilmar fe1f99ae1c Core: rearrange TestConstToX86Reg parameters 2022-11-07 16:22:51 +10:30
zilmar ce939100c5 Core: rearrange OrVariableToX86Reg parameters 2022-11-07 16:18:54 +10:30
zilmar 697397f1dd Core: Rearrange OrConstToX86Reg parameters 2022-11-07 16:03:45 +10:30
zilmar 40259d01ca Core: rearrange OrConstToVariable parameters 2022-11-07 15:55:19 +10:30
zilmar c95aae8e38 Core: rearrange MoveZxVariableToX86regHalf parameters 2022-11-07 15:48:39 +10:30
zilmar 96eed54a1d Core: rearrange MoveZxVariableToX86regByte parameters 2022-11-07 15:44:10 +10:30
zilmar 4570d9eab5 Core: rearrange MoveZxHalfX86regPointerToX86reg variables 2022-11-07 15:40:01 +10:30
zilmar 8a2197707b Core: rearrange MoveZxByteX86regPointerToX86reg parameters 2022-11-07 15:38:36 +10:30
zilmar 59892a266b Core: rearrange MoveX86regToVariable parameters 2022-11-07 15:30:25 +10:30
zilmar 91a192cead Core: rearrange MoveX86regToMemory parameters 2022-11-07 14:40:28 +10:30
zilmar 891d487fdd Core: rearrange MoveX86regPointerToX86regDisp8 parameters 2022-11-07 14:38:34 +10:30
zilmar d74694d16f Core: rearrange MoveX86regPointerToX86reg parameters 2022-11-07 14:36:11 +10:30
zilmar ebca0854d7 Core: rearrange MoveX86regHalfToX86regPointer parameters 2022-11-07 14:29:33 +10:30
zilmar efac334136 Rearrange MoveX86regHalfToVariable parameters 2022-11-07 14:26:06 +10:30
zilmar 1966b842f3 Core: rearrange MoveX86regByteToX86regPointer parameters 2022-11-07 14:24:22 +10:30
zilmar bb51c3d11d Core: rearrange MoveX86regByteToVariable parameters 2022-11-07 14:23:09 +10:30
zilmar d19fc10f0c Core: remove MoveVariableToX86regByte, MoveVariableToX86regHalf, MoveX86regByteToN64Mem 2022-11-07 14:21:26 +10:30
zilmar 8702e6b67c core: Rearrange MoveVariableDispToX86Reg parmeters 2022-11-07 14:18:15 +10:30
zilmar 10dd2c662a Core: rearrange MoveSxVariableToX86regHalf parameters 2022-11-07 14:08:23 +10:30
zilmar eb5d0ce363 Core: rearrange MoveSxVariableToX86regByte parameters 2022-11-07 14:05:08 +10:30
zilmar 1584d25cd9 Core: Rearrange MoveSxHalfX86regPointerToX86reg parameters 2022-11-07 13:41:49 +10:30
zilmar fe7b8afa92 Core: Rearrange MoveSxByteX86regPointerToX86reg parameters 2022-11-07 13:37:29 +10:30
zilmar 288fe4d222 Core: reorder MoveConstToX86regPointer parameters 2022-11-07 11:35:11 +10:30
zilmar b68caed6c4 Core: reorder MoveConstByteToX86regPointer parameters 2022-11-07 11:32:46 +10:30
zilmar eb0aa05a48 Core: remove x86 functions referencing n64mem 2022-11-07 11:30:51 +10:30
zilmar 40456f12db Core: Change order of MoveConstToVariable 2022-11-07 11:26:17 +10:30
zilmar 5c7390324a Core: reorder MoveConstToMemoryDisp parameters 2022-11-07 10:45:28 +10:30
zilmar 8272d18aa6 Reorder MoveConstHalfToX86regPointer parameters 2022-11-07 10:43:27 +10:30
zilmar 0123100233 Core: reorder MoveConstHalfToVariable parameters 2022-11-07 10:37:29 +10:30
zilmar bdb2d040f9 Core: reorder MoveConstByteToVariable parameters 2022-11-07 10:34:25 +10:30
zilmar eb8b36603b Core: remove MoveConstByteToN64Mem, MoveConstHalfToN64Mem, MoveConstToN64Mem, MoveConstToN64MemDisp 2022-11-07 10:27:22 +10:30
zilmar 9dd2df36d4 Core: remove CX86Ops::CompVariableToX86reg 2022-11-07 10:18:55 +10:30
zilmar 09fb90117e Core: reorder CompConstToVariable parameters 2022-11-07 10:11:55 +10:30
zilmar ade6787e6d Core: Reorder AndVariableToX86Reg parameters 2022-11-07 10:00:35 +10:30
zilmar 513ca57f46 Core: Reorder parameters for AndVariableDispToX86Reg 2022-11-07 09:51:41 +10:30
zilmar 897fd39a0e Core: reorder AndConstToVariable parameters 2022-11-07 09:40:12 +10:30
zilmar c13080d7c3 Core: Reorder AddX86regToVariable parameters 2022-11-07 09:34:34 +10:30
zilmar c7ac150b91 Core: Capitalize Reg in x86ops 2022-11-07 09:31:37 +10:30
zilmar dbd20dd993 Core: Reorder AddConstToVariable parameters 2022-11-07 09:29:06 +10:30
zilmar 6a69e2e86a Core: remove CX86Ops::AdcX86regToVariable 2022-11-07 09:25:31 +10:30
zilmar b3c6858b69 Core: Change COP0 registers to use an enum 2022-11-07 09:24:58 +10:30
Derek "Turtle" Roe 0503f32034
Update README.md (#2297)
Add links to the dependencies and fix some of the license info
2022-11-01 09:04:14 +10:30
zilmar fd71b2dfcb Core: Handle branch/jump in a delay slot in the Interpreter 2022-11-01 08:59:15 +10:30
zilmar 94247ce1a6 Core: handle better CX86RecompilerOps::ResetMemoryStack 2022-10-28 16:41:24 +10:30
zilmar edeaf14471 Update SortRdb code and add it to project 2022-10-24 21:00:51 +10:30
zilmar 6c9237f603 Core: Get recompiler to handle RESERVED31 2022-10-24 16:50:12 +10:30
zilmar d06d1526d9 Core: Change the order of MoveVariableToX86reg parameters 2022-10-24 16:05:19 +10:30
zilmar af3c31b0ff Core: Change the order of MoveConstToX86Pointer 2022-10-24 15:09:24 +10:30
zilmar 538933e0a5 Core: reoder MoveConstToX86reg parameters 2022-10-24 15:05:31 +10:30
zilmar dd61a4351d Core: Reorder the order of MoveX86regToX86regPointer 2022-10-24 12:56:38 +10:30
zilmar fdbc31961f Core: Change the order of MoveX86RegToX86Reg 2022-10-24 12:48:51 +10:30
zilmar 8713878994 Core: Change order of MoveX86regToX86Pointer parameters 2022-10-24 12:13:48 +10:30
zilmar ef8067cf12 Android: Make a skeleton for arm to start over arm recompiler 2022-10-24 11:15:46 +10:30
zilmar ae6157427f Recompiler: Handle stack if it is in IMEM/DMEM 2022-10-21 10:03:33 +10:30
zilmar 4525e8b6f3 Core: Move IMEM/DMEM into SPRegistersHandler 2022-10-17 17:29:05 +10:30
zilmar 96244cd6fd Core: Update NonMemory Access to pifram 2022-10-17 11:31:54 +10:30
zilmar 53e00b8023 Core: Clean up masking of COP0 registers 2022-10-17 09:06:22 +10:30
zilmar 9186dcab39 Core: Allow reading from ISViewerHandler 2022-10-17 08:59:26 +10:30
zilmar 305648f02f Core: Do not allow byte aligned blocks after the first block 2022-10-17 08:53:41 +10:30
zilmar 60969607c8 Core: Ignore EverDrive - 64 X7 Serial Registers in PI_DMA_READ 2022-10-17 08:48:30 +10:30
zilmar 65bbc375b9 Core: Fix R4300iOp::LWC1 to have 64bit address 2022-10-17 08:36:17 +10:30
zilmar c16307ec0f Core: Move Pifram code into PifRamHandler 2022-10-17 08:27:52 +10:30
Derek "Turtle" Roe 9b824a7de6
Remove hack and RDRAM limit from Earthworm Jim, fix game running too fast (#2285)
* Remove hack and RDRAM limit

* Change ViRefresh so game runs at normal speed
2022-10-11 20:05:12 +10:30
zilmar 315231d439 Core: Writing to 0x0410000C was not calling AfterCallDirect() 2022-10-11 17:31:28 +10:30
zilmar 2199c9cd1f Core: Inherit STATE_CONST_64 in CX86RecompilerOps::InheritParentInfo 2022-10-11 17:24:06 +10:30
zilmar 801a3e29fc Core: Handle more with LW and invalid addresses 2022-10-10 20:25:16 +10:30
zilmar 082ec9c22e Core: Handle unaligned LH 2022-10-10 17:17:56 +10:30
zilmar ca037abf2b Core: Update counters when updating wired 2022-10-10 15:44:52 +10:30
zilmar 29e1468338 Core: Ignore next targeting branch if last op in block 2022-10-10 14:30:20 +10:30
zilmar 0848bab003 Core: do not predefine temp reg 2022-10-10 13:57:10 +10:30
zilmar 46dcf967e1 Core: Change StackPos to be a reference 2022-10-10 13:42:52 +10:30
zilmar 6044222be0 Core: Remove temp usage of Name 2022-10-10 13:38:43 +10:30
zilmar 0ffaf43418 Core: fix CX86RecompilerOps::LD when rt==base 2022-10-10 12:41:12 +10:30
zilmar 96cece6cd9 Core: Update timing around exception in DADD/DSUB 2022-10-10 12:34:11 +10:30
zilmar 3a87c3c5ad Core: Update timing around exception in ADD/SUB 2022-10-10 12:28:06 +10:30
zilmar 3b57424b86 Core: DMTC/MT should not be updating registers 2022-10-10 12:16:27 +10:30
zilmar 481f1c50c8 Core: Add break op to recompiler 2022-10-10 12:07:04 +10:30
zilmar fc247fd953 Core: Get recompiler to handle DADDI/DADDIU 2022-10-10 11:53:30 +10:30
zilmar a8add093d1 Core: Add CPO_DMF/CPO_DMT to recompiler 2022-10-10 11:38:55 +10:30
zilmar 761a1ee52a Code clean up 2022-10-10 10:52:17 +10:30
zilmar 0d7f25138c Core: Do not check sign extension in 32bit core 2022-10-04 09:47:45 +10:30
zilmar 8391cdafde Core: Fix masking of context 2022-10-03 21:48:09 +10:30
zilmar da138bf38b Project64: Exception when address not sign extended 2022-10-03 18:35:50 +10:30
zilmar 92054583d4 Common: Code clean up of common 2022-10-03 18:34:42 +10:30
zilmar 82d9027374 Core: Fix up XContext 2022-10-03 11:29:21 +10:30
zilmar 42cc34964b Core: Sign extend cop0 2022-10-03 09:34:13 +10:30
zilmar 0c078049c0 Android: Update android build 2022-09-26 12:53:14 +09:30
zilmar 3f681101f6 Project64: Missed some files in code cleanup 2022-09-26 12:02:33 +09:30
zilmar 179282043f Project64: Code cleanup 2022-09-26 12:01:54 +09:30
zilmar a65086579f Project64: Code clean up 2022-09-21 14:46:07 +09:30
zilmar a2981ff4d8 Core: Make Load/Store use 64bit vaddr 2022-09-19 21:36:36 +09:30
zilmar 1c77f6f0fd Core: Make Cop0 64bit 2022-09-19 16:36:44 +09:30
zilmar 21b193152a Core: Fix CMipsMemoryVM::MemoryValue64 for sdl/sdr 2022-09-19 12:13:19 +09:30
zilmar 05d46c9487 Core: Handle reserve instruction 31 2022-09-19 12:12:08 +09:30
zilmar a79a8a9276 Core: Clean up arm recompiler changes 2022-09-12 22:44:42 +09:30
zilmar 457937f039 Core: Map temp pass in flag for 8 bit register 2022-09-12 06:01:43 +09:30
zilmar a640ecfbc0 Core: CMipsMemoryVM::SB_NonMemory should return false just on exception 2022-09-05 21:20:07 +09:30
zilmar 479e2e518c Core: Syscall should increment cycle count 2022-09-05 20:00:28 +09:30
zilmar 43c89a517b Core: Execute CPU should not trigger Loaded game state 2022-09-05 19:56:23 +09:30
zilmar c380571d8b Core: Update when branch goes to the opcode after the delay slot 2022-09-05 19:42:22 +09:30
zilmar 8a01017ef5 UI: Update rombrowser windows so controls are vertical 2022-09-05 17:55:43 +09:30
zilmar 17b78bc705 Core: Clean up CExitInfo::EXIT_REASON enum 2022-09-05 17:42:41 +09:30
zilmar 524f56eda7 Core: fix srav in the interpter 2022-09-05 17:42:15 +09:30
zilmar e171adfef6 Core: Clean up formatting of register names 2022-09-05 16:47:51 +09:30
zilmar 29526583a6 Core: Give cop0 registers names 2022-09-05 16:38:30 +09:30
zilmar 18b9892bc7 Core: Add handling of overflow exception 2022-09-05 16:35:13 +09:30
zilmar 0371c20d32 Core: Use BreakOnUnhandledMemory in SPRegistersHandler when breaking 2022-09-05 11:00:15 +09:30
zilmar 7d55fdca37 Core: Fix bug in CX86RegInfo::FreeX86Reg where x86RegIndex_Size was introduced 2022-09-05 10:42:49 +09:30
zilmar a5c6f25ee3 Core: CX86RecompilerOps::BaseOffsetAddress should not unprotect unless it actually protected 2022-09-05 10:41:18 +09:30
zilmar e8adf78e84 Core: Fix up that x64 files only build in x64 2022-08-29 20:52:15 +09:30
Derek "Turtle" Roe c3208df044
Update RDB with newer builds compatibility and some updated information (#2280)
* Update RDB with newer compat info

* Get the RDB ready for 4.0, fix some more typos

* Add, update, and fix many entries
2022-08-29 20:26:18 +09:30
zilmar f7b1891c91 Core: Add base 64bit Recompiler classes 2022-08-29 17:57:17 +09:30
Derek "Turtle" Roe 7afbba08eb
Remove outdated language files that no longer work and add 4 new languages (#2278)
* Remove outdated language files that no longer work

* Add 4 new languages

* Convert to UTF-8 BOM

* Force all language files to be UTF-8 BOM with CRLF line endings

* Remove extra entries now that the main language files are fixed
2022-08-29 12:17:26 +09:30
zilmar 54ef913eaf Installer: Update installer to have version 4.0 2022-08-29 12:03:56 +09:30
zilmar d82a370e59 Core: Create a x86RegIndex enum 2022-08-29 11:49:20 +09:30
zilmar b88a1ccc1e Core: Fix bug in div for recompiler 2022-08-29 08:33:13 +09:30
zilmar 6782599687 Core: Create a x86 call for calling this functions 2022-08-29 08:32:02 +09:30
zilmar 4218cbad23 Core: R4300iInstruction::DecodeSpecialName - Fix up SLL param 2022-08-29 08:27:47 +09:30
zilmar 52a30b78fb Core: Handle div/0 better 2022-08-22 22:13:53 +09:30
zilmar 9e1d69bcb5 Core: Move m_DMAUsed into PeripheralInterfaceHandler 2022-08-22 13:11:20 +09:30
zilmar f3a392489a Core: Do not fail on checking delay slot, if it is invalid memory 2022-08-22 13:02:25 +09:30
zilmar 9b16d29792 Core: Add rom write decay and some code clean up 2022-08-22 12:47:44 +09:30
zilmar 4b0966a264 Core: RomMemoryHandler Set PI_STATUS_IO_BUSY when write to rom 2022-08-22 12:09:42 +09:30
Squall Leonhart cc2aa4783a
add [f] to good name in lines with goodtool codes, and updates rom information window for M-type carts. (#2275)
* add [f] to good name in lines with goodtool codes.

* added M type media to Rom Information.

so it doesn't show (Unknown)
2022-08-15 21:25:14 +09:30
zilmar 3e198d04a8 core: change CX86RecompilerOps to have a variable for CX86Ops instead of inheriting it 2022-08-15 12:39:34 +09:30
zilmar 71ddfd885d Core: Add BGEZALL to interrupter 2022-08-15 10:18:51 +09:30
zilmar e724595ac2 Core: Add DADDI 2022-08-15 10:05:16 +09:30
Squall Leonhart 630778a41e
media id patched dragon sword 64 U added to rdb (#2274)
* media id patched dragon sword 64 U added to rdb

* adds M Type Cartridge media as N64 Development Cartridge

* adds unpatched Dragon Sword U and differentiates the two
2022-08-11 12:35:27 +09:30
Derek "Turtle" Roe 9cfe6ac259
Fix typo (#2273) 2022-08-11 12:32:39 +09:30
Derek "Turtle" Roe 82ed16c678
OpenGL minimum requirement fix (#2270)
* OpenGL minimum requirement fix

* Add one last fix
2022-08-11 12:32:17 +09:30
Derek "Turtle" Roe f8bfec42f5
Add the new README, new support documents, and new changelog (#2258)
* Add icon and screenshot

* Add support document

* Add the new README

* Update README.md

* Fix screenshot and icon

* Try to fix icon a bit

* Finally fix logo

* Fix screenshot too?

* Remove duplicate (oops)

* Add note about 64-bit builds

* Formatting and punctuation

* Overhaul contributing file

* Make links relative

* Fix support document?

* Flesh out the bug issue template a bit and provide some additional info

* Split the changelogs, and update formatting

* Link to the Android changelog

* Make a slightly more accurate changelog

* Small fix

* Fix some wording

* Add icon and screenshot

* Add support document

* Add the new README

* Update README.md

* Fix screenshot and icon

* Try to fix icon a bit

* Finally fix logo

* Fix screenshot too?

* Remove duplicate (oops)

* Add note about 64-bit builds

* Formatting and punctuation

* Overhaul contributing file

* Make links relative

* Fix support document?

* Flesh out the bug issue template a bit and provide some additional info

* Split the changelogs, and update formatting

* Link to the Android changelog

* Make a slightly more accurate changelog

* Small fix

* Fix some wording

* Add some more TODOs

* Add another TODO

* Update README.md
2022-08-09 20:43:58 +09:30
zilmar 6c1df6c6a0 Core: Fix compile issue in android bridge 2022-08-09 20:42:31 +09:30
zilmar 51c9867e76 Core: Get the recompiler to be use globals less 2022-08-08 20:22:51 +09:30
zilmar 5ea06d958e Core: have SB/SH be able to write to rom handler 2022-08-08 19:33:16 +09:30
zilmar cd3b326a83 Project64: Move menu options from notification to r43000 2022-08-08 18:51:09 +09:30
Squall Leonhart f36e7cb720
correct minimum requirement for PJ64 Video (#2262)
The minimum requirement for PJ64 Video is actually closer to 2.0 than it is 1.1, FBE and FBO's weren't available until 1.4 and 1.5 respectively, NPOT wasn't available until 2.0.
2022-08-06 09:11:34 +09:30
zilmar 18870634a5 Core: Clean up some 64bit warnings 2022-08-01 13:15:52 +09:30
zilmar 0419ba232e Core: Add option to step code at break opcode 2022-08-01 11:43:17 +09:30
zilmar 4b60f4f3e9 UI: Always show rom information 2022-08-01 11:25:32 +09:30
zilmar b987a1693c Core: Do not end emulation by default on perm loop 2022-08-01 10:59:16 +09:30
zilmar 10d23486c6 Core: Add option to break on address exception 2022-08-01 10:38:12 +09:30
zilmar cffeceef70 Core: Handle rom written to better 2022-08-01 10:15:56 +09:30
zilmar d6a217ca86 Core: fix issue with R4300iOp::SPECIAL_SRA 2022-08-01 10:03:06 +09:30
zilmar d37d0dc7a5 Core: Dissasm of DMFC0 was showing the wrong reg 2022-08-01 10:02:07 +09:30
zilmar d1a938d280 ISViewerHandler: Stop copying data at null 2022-08-01 10:00:57 +09:30
zilmar 7b851e6b6e Core: Break on unhandled memory 2022-08-01 10:00:07 +09:30
zilmar 629fe54ccb Android: Style Notification Window 2022-08-01 09:15:48 +09:30
zilmar 63051df71e Core: Another fix at 64dd 2022-07-25 22:00:41 +09:30
zilmar ba0ac0ebe5 Core: try to fix 64dd 2022-07-25 21:25:56 +09:30
zilmar 48db44710a Video: Fix windows compiling from android tweaks 2022-07-25 17:56:33 +09:30
zilmar f117b5d93a Android: Fix CArmRecompilerOps::Compile_Branch 2022-07-25 17:52:44 +09:30
zilmar 06b303afa0 Android: Some tweaking of video plugin 2022-07-25 17:52:14 +09:30
zilmar 6634d4252e Video: Do not call setPattern in InitGfx 2022-07-25 17:38:08 +09:30
zilmar eaa19be60f Android: Update Video logging 2022-07-25 17:35:43 +09:30
zilmar c59a0efcab Core: fix LB_KnownAddress for reading rom 2022-07-25 17:22:47 +09:30
zilmar efb2c39a9d Core: Fix DelaySlotEffectsCompare in arm 2022-07-25 17:22:13 +09:30
zilmar 09b535551d Core: Move DelaySlotEffectsCompare into R4300iInstruction 2022-07-25 16:35:42 +09:30
zilmar 0abc7ccaa4 Core: Move OpHasDelaySlot into R4300iInstruction 2022-07-25 14:23:12 +09:30
zilmar 15466b6a9b Core: Fix unaligned rom access with LH/LB 2022-07-25 14:08:09 +09:30
zilmar c3cae358a1 Core: Open debugger on unknown opcode 2022-07-25 14:07:12 +09:30
zilmar 1a8a4dd50f Core: Fix some bugs added to R4300iInstruction Param 2022-07-25 11:57:19 +09:30
zilmar 35c2da49b1 Android: Clean up getting input plugin working 2022-07-18 22:26:29 +09:30
Derek "Turtle" Roe 885d2dfeb4
Move changelog and build instructions to a doc dir (#2250)
* Move changelog and build instructions to a doc dir

* Update README with new dir and add a link to the changelog
2022-07-18 21:40:37 +09:30
Derek "Turtle" Roe bb05a8b693
Add note about hide advanced settings (#2249) 2022-07-18 21:39:50 +09:30
zilmar 763cba7b8a Android: Do not use std::make_unique 2022-07-18 20:31:45 +09:30
zilmar acd5f8ecd5 Core: Add ISViewerHandler 2022-07-18 19:06:34 +09:30
zilmar f0ee90990a Merge branch 'develop' of https://github.com/project64/project64 into develop 2022-07-18 18:57:41 +09:30
zilmar f62f8207ec Core: Initiate PREVID 2022-07-18 18:56:52 +09:30
zilmar 62a245cfc8 Android: Fix changes with R4300iInstruction 2022-07-18 18:55:52 +09:30
zilmar 14d492e928 Android: Some basic clean up 2022-07-18 18:05:29 +09:30
zilmar 7f3b8e3601 Core: Start to add R4300iInstruction to do analysis of an opcode 2022-07-18 18:01:00 +09:30
zilmar 64c0e93cde Android: SyncEvent::IsTriggered should not call reset 2022-07-11 21:18:59 +09:30
zilmar de5a8460fd x64: some code clean up and remove warning on Common and 3rd party 2022-07-11 19:30:25 +09:30
zilmar 8726931be5 Android: Update the look of dialog 2022-07-11 19:22:27 +09:30
zilmar 71ed3c0a2f Android: Update icons 2022-07-11 13:40:30 +09:30
zilmar 47e27b591c Android: Fix some compile issues 2022-07-11 13:39:57 +09:30
zilmar c4ff300cb8 Android: Update Copy Script 2022-07-11 13:25:55 +09:30
zilmar 3576bb2b7a Plugin Spec: Fix up video plugin spec 2022-07-04 19:58:30 +09:30
Darth-Koopa c3f83ede0b
Update Chinese (Simplified).pj.Lang (#2246)
* Update Chinese (Simplified).pj.Lang

* Update Chinese (Simplified).pj.Lang

* Update Chinese (Simplified).pj.Lang

* Update Chinese (Simplified).pj.Lang

* Update Chinese (Simplified).pj.Lang
2022-07-04 17:15:34 +09:30
zilmar 079e493728 Core: Improve PI Dma 2022-07-04 17:14:27 +09:30
xujibbs ae77b8d7f5
Update Chinese (Simplified).pj.Lang (#2244) 2022-06-27 19:33:50 +09:30
zilmar 8b2c66cc07 Core: Move plugin specs to a central location 2022-06-27 19:32:38 +09:30
zilmar 3913fb5c28 Core: Improve accuracy of SP_DMA_READ and SP_DMA_WRITE 2022-06-20 14:21:32 +09:30
zilmar 837e93d775 Core: Move PI_DMA_READ & PI_DMA_WRITE into PeripheralInterfaceHandler 2022-06-20 09:10:01 +09:30
zilmar cec55c7fd9 Core: clean up some read/writes to SP register for recompiler 2022-06-13 15:44:07 +09:30
zilmar 81b52143ca Core: CX86RecompilerOps::CompileLoadMemoryValue should not minus count any more 2022-06-13 14:23:31 +09:30
zilmar f0760ff1cf Core: Move SP_DMA_WRITE into SPRegistersHandler 2022-06-13 11:46:06 +09:30
zilmar 86aa483a38 Core: Move memory exceptions out of interrupter ops and in to Memory Manager 2022-06-13 11:24:36 +09:30
zilmar d2b33022fb Android: Remove 3rdParty/png/CMakeLists.txt 2022-06-06 21:20:27 +09:30
zilmar d259e1f413 android: add utf-8 to CMakeLists.txt 2022-06-06 20:46:36 +09:30
zilmar b557dcf187 Android: Do some work to try to get it to build 2022-06-06 19:49:44 +09:30
zilmar 68348d59f3 Android: Remove usage of analytics and in app purchases 2022-06-06 12:35:12 +09:30
zilmar d83f90f2d2 Core: Have store/load use non memory functions 2022-06-06 12:01:47 +09:30
zilmar 8f1f7e9cf3 core: move add opcode count from pre to post op for recompiler 2022-06-06 11:53:31 +09:30
zilmar dc106c0df8 Core: Start to add store instruction self mod 2022-06-06 11:41:09 +09:30
zilmar c8defc4dca Core: Fix logging in RDRAMRegistersHandler 2022-06-06 11:36:25 +09:30
zilmar 8e5efea6f7 Core: AudioInterfaceHandler::m_Status not being reset on game load/reset 2022-06-01 11:21:34 +09:30
zilmar fae1de846a Core: Fix audio issue with save states 2022-05-31 23:13:19 +09:30
zilmar 603ed853bc Core: Some code clean up for load/store non memory 2022-05-30 20:20:25 +09:30
zilmar 535de2ad49 Core: Modularize Load Memory Value 2022-05-23 16:20:13 +09:30
zilmar 17a7f31bc2 Core: allow CompileStoreMemoryValue to generate address 2022-05-23 07:14:26 +09:30
zilmar 068fad47e5 Core: remove Compile_StoreInstructClean 2022-05-23 06:52:31 +09:30
zilmar 9cc35bbe0e Version: Have year in copyright use the current time at building 2022-05-23 06:37:30 +09:30
zilmar cc0c139f7e Core: modularize store memory values using CompileStoreMemoryValue 2022-05-23 06:24:56 +09:30
zilmar f95c0f7ef1 Core: Fix bug in SDC1 2022-05-20 10:32:15 +09:30
2dos d25314c93d
Add config for generic DK64 rom (DK64 Randomizer) (#2228) 2022-05-16 19:40:21 +09:30
inductor(Kohei) 5cf9b1b411
Update Japanese translation (#2233) 2022-05-16 19:39:56 +09:30
zilmar 1b871fcb15 Core: x86RecompilerOps rename m_TempValue to m_TempValue32 2022-05-16 15:51:37 +09:30
zilmar 487ed8b54d Core: If SMM_PIDMA, clear physical memory code before doing the dma 2022-05-16 15:33:36 +09:30
zilmar 1617e63b84 Core: make memory reads/write to go through new CMipsMemoryVM::MemoryPtr 2022-05-16 15:26:20 +09:30
zilmar 7fb67450a1 Core: X86 recompile modularize loading address in store/load ops 2022-05-16 11:01:18 +09:30
zilmar 1fe8fd1299 Core: have MemoryValue32 be able to read from rom 2022-05-16 11:00:20 +09:30
zilmar 718d7e0359 [Core] Clean up load/store usage in MemoryVirtualMem 2022-05-09 10:06:10 +09:30
zilmar 1aee99fde5 Enhancements: Fix Gex 3 - Deep Cover Gecko (U).enh 2022-05-03 22:46:37 +09:30
zilmar de366db6c1 [Core] Clean up some warnings 2022-05-03 22:46:12 +09:30
zilmar 5a49331c0b Core: Direct tlb method to read and write to memory 2022-05-02 20:22:31 +09:30
zilmar bac3517c86 [Core] Change tlb empty to be -1 and remove rdram from tlb value 2022-05-02 19:10:35 +09:30
zilmar b74a2dc69f [Core] Change TranslateVaddr to VAddrToPAddr 2022-05-02 07:36:50 +09:30
zilmar 4895dcf9aa Language: "Randomized SI/PI interrupts" and "Unaligned DMA" had wrong ids 2022-04-27 09:24:05 +09:30
zilmar 4f07f52fed Core: Fix the dma write length 2022-04-27 09:20:33 +09:30
zilmar 2f1074a287 Core: Add handler for cartridge domains 2022-04-25 17:12:07 +09:30
Derek "Turtle" Roe 1975a993f1
Add Zoinkity's translation patch (#2225) 2022-04-19 11:18:26 +09:30
zilmar 016ded2b56 Core: Move Save types 2022-04-19 11:17:43 +09:30
zilmar e9d2b9793f Core: Add Pif Ram Handler 2022-04-19 09:37:57 +09:30
zilmar 653e15a296 Core: Add RomMemoryHandler 2022-04-18 20:57:59 +09:30
zilmar d976aaf22b [Core] Better updating of controller in sync core 2022-04-11 09:26:11 +09:30
zilmar 075e3ab3c2 Core: reduce using global Plugins variable usage in CN64System and use member instead 2022-04-11 09:25:09 +09:30
zilmar f683d080ed [Core] CX86RecompilerOps::SW always update counters on unknown addresses 2022-04-11 09:07:47 +09:30
zilmar a3d32d5b46 [Audio] Make sure m_MaxBufferSize is not bigger than MAX_SIZE 2022-04-11 09:05:04 +09:30
MELERIX 80c21b4d5a
Update Spanish.pj.Lang (#2221) 2022-04-04 10:32:46 +09:30
Felipe fcf103434a
Updated/Improved Previous Translation (#2222) 2022-04-04 10:32:35 +09:30
zilmar fbf65bce12 Core: Add a look up table for Memory Reads or Writes 2022-04-04 10:30:27 +09:30
ThatFlint 1eda1bb243
Updated Dutch Translation (#2214)
* Updated Dutch Translation

* Translated line abbreviated
2022-03-22 20:51:11 +10:30
AchilleBailly 5b2d7298f1
Updated the French translations and added missing lines in the English.pj.Lang (#2216)
Co-authored-by: Achille Bailly <achille.bailly@ensta-paris.fr>
2022-03-22 20:50:24 +10:30
Tiago Gomes 90510c0308
Updated Portuguese Translation (#2215)
* Lang Translation changes

* Update Portuguese.pj.Lang

Co-authored-by: Tiago <tiago.gomes@findmore.pt>
2022-03-22 20:49:30 +10:30
zilmar a249705bce Core: Add CartridgeDomain2Address1Handler 2022-03-21 20:57:57 +10:30
zilmar 2b646677ac Core: remove Write32SerialInterface 2022-03-21 15:22:42 +10:30
zilmar e1d3222a8a Core: Move Serial interface into handler 2022-03-21 15:04:59 +10:30
zilmar c28bc27c27 Core: Move audio code into AudioInterfaceHandler 2022-03-21 13:14:56 +10:30
zilmar fcdda04da5 Core: Move Audio Interface code in to handler 2022-03-21 10:59:02 +10:30
zilmar d7e732a7eb Core: Add callback when game resets/loads state 2022-03-14 21:07:06 +10:30
zilmar d33725bda5 Merge branch 'develop' of https://github.com/project64/project64 into develop 2022-03-14 15:29:59 +10:30
zilmar df422238c9 Core: Fix up handling VideoInterfaceHandler in recompiler 2022-03-14 15:29:10 +10:30
Hugo Carvalho 0b8a37b06d
Update Portuguese.pj.Lang (#2212)
* Update Portuguese.pj.Lang

For commit: 30a40ea0a8

* Update Portuguese.pj.Lang

* Update Portuguese.pj.Lang
2022-03-14 10:00:46 +10:30
Derek "Turtle" Roe 4a6e2a11f6
Changed this value back since this game has a core issue (#2210) 2022-03-13 10:45:37 +10:30
Derek "Turtle" Roe acd843b0c6
Update the current RDB (#2209)
This updates the current RDB with some small label fixes. A majority of the games marked as having issues or not supported actually work, but were never changed.

I am also redefining what "compatible" means.  This will just mean "can it work in Project64" as opposed to "can it work with default settings, default plugins, etc?"

Some games actually did have issues, but if you eliminate the plugins causing issues or other factors, they have core issues (such as virtual memory issues, CPU bugs, etc).

I also added another dump of NBC-LFC Kings of Porn Vol 1, specifically the alpha 2 dump. This dump works, just needed to be added to the RDB.

I removed several bad Good Name titles and replaced them with the proper titles as well.

I also fixed the Y2K Demo by WT_Riker by forcing 32-bit engine off and Delay DP off. This makes it run like it should.

Besides the games I specifically mentioned, the only other things that were changed were the status.

TL;DR updated RDB with more accurate titles, fixed some incorrect status names, and fixed a couple of games while I was at it.
2022-03-10 21:46:31 +10:30
Derek "Turtle" Roe 962de3e29c
Some repo improvements and small fixes (#2207)
* Enforce a standard issue template

This will enforce a standard issue template, and will force the user to make sure they are creating the issue with all of the info the developers and contributors need to help the user.

Also updates the README to be less confusing and also a bit more broad in some cases.

* Update the issue template for bugs

* Add a checkbox for default plugins

* Add input plugins to the list

* Add a reminder in the CONTRIBUTING file

* Add a small improvement to the README

* Update BUG.yml with some formatting and text improvements

* Switch to YAML for the feature request template as well

* Remove old Markdown templates

* Fix placeholder on line 30

* Fix assignees

* Fix assignees part 2

* Fix assignees part 3

* Fix spacing

* Finally fix formatting (YAML is picky)

* Fix it part 11 thousand or something

* Finally fixed maybe sort of kinda

* Update BUG.yml

* Fixed some weirdness

* Fix required maybe

* Finally fixed perhaps?
2022-03-09 17:11:57 +10:30
Squall Leonhart fd353de5d7
Rename BUG.md to BUG.yml (#2205)
Update issue templates

Update issue templates

Rename BUG.yml to bug_report.md

Update issue templates

Update bug_report.md

Update bug_report.md

Update and rename bug_report.md to BUG.md

WIP Form version of new bug report

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Create BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Revert "Update BUG.yml"

This reverts commit b145288a2308e80aa35a62b351c00eaa37e75e32.

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Update BUG.yml

Delete BUG.md

Update BUG.yml

Update BUG.yml

QOL changes

Update FEATURE.md

Update FEATURE.md

typo fix
2022-03-08 16:37:46 +10:30
zilmar 80d8e6edaa Core: Move Video Interface code in to handler 2022-03-08 10:18:56 +10:30
zilmar 928dfe3a16 Core: Add MIPSInterfaceHandler 2022-03-04 22:53:30 +10:30
Squall Leonhart 3e322955c0
Add missing header that connects the templates to the issue system (#2203)
* Rename BUG.md to BUG.yml

* Update issue templates

* Update issue templates

* Rename BUG.yml to bug_report.md

* Update issue templates

* Update bug_report.md

* Update bug_report.md

* Update FEATURE.md

* Update and rename bug_report.md to BUG.md

* Update FEATURE.md
2022-03-04 06:16:27 +10:30
Derek "Turtle" Roe 9673bc4408
Enforce a standard issue template (#2202)
* Enforce a standard issue template

This will enforce a standard issue template, and will force the user to make sure they are creating the issue with all of the info the developers and contributors need to help the user.

Also updates the README to be less confusing and also a bit more broad in some cases.

* Update the issue template for bugs

* Add a checkbox for default plugins

* Add input plugins to the list
2022-03-03 22:03:56 +10:30
shyguyhex efb934165b
[Debugger] JSAPI: Fix interval finalizer (#2200) 2022-03-01 10:27:42 +10:30
Andrew 3eec9435c3
Fix Stack Trace option typo (#2199) 2022-02-22 11:02:08 +10:30
zilmar db50dac063 Core: Add DisplayControlRegHandler 2022-02-21 21:56:25 +10:30
zilmar 390fe897a2 Core: Add RDRAMRegistersHandler 2022-02-21 19:47:14 +10:30
Paul b9ef3d0738
Bad redirect update (#2198) 2022-02-19 13:20:43 +10:30
Vecna 741527c41d
Update Italian.pj.Lang (#2192)
I'm Vecna the previous translator. I've just updated di italian lang file.
2022-02-14 07:41:40 +10:30
shyguyhex 6225654b46
Fix #2188 (#2189) 2022-02-08 07:47:56 +10:30
zilmar f7618f29c0 Core: Move SP_DMA_READ into SPRegistersHandler 2022-02-01 13:24:25 +10:30
Julio César Rocha c9229309af
Compare against DefaultPlatformToolset version number (#2186) 2022-01-31 20:30:11 +10:30
Anders 4a3aab54d3
Graceful label truncation (#2179)
* Graceful label truncation

* Undo UTF-8 GitHub conversion
2022-01-28 08:57:37 +10:30
Anders 5c8f87d4f8
Don't use PROCESS_ALL_ACCESS when it is not required (#2181)
* Request SDK neutral PROCESS_ALL_ACCESS

* Use basic version test

* Just ask for the access required
2022-01-28 07:04:24 +10:30
zilmar 05bf0f9fb4 Project64: Fix deleting an enhancement 2022-01-27 14:02:32 +10:30
shyguyhex b26de13d64
[Debugger] Start commands window at PC address (#2178) 2022-01-27 10:03:22 +10:30
zilmar 2b008cc278 Core: Create Memory handler for SP Registers 2022-01-24 23:13:10 +10:30
LuigiBlood e60f7ec648
Change CRC for 64DD Disks + better ROM Browser support for 64DD (#2164)
* Change CRC for 64DD Disks + Properly provide Disk Info for ROM Browser/Info

* Change CRCs for 64DD Titles + Rename RDB as needed
(And add English Mario no Photopi to RDB and english cheats for english Polygon Studio)

* [RDB] Add Extra Dezaemon 3D Expansion
2022-01-21 09:54:39 +10:30
Adri1 f4d6724e56
Update French.pj.Lang (#2172)
New salve of updates
2022-01-21 09:54:19 +10:30
shyguyhex 9e99ef1855
[Debugger] Alphabetize script lists (#2174) 2022-01-21 09:53:21 +10:30
shyguyhex 93740c612f
[Debugger] JS API: Fix socket closing itself (#2173) 2022-01-21 09:52:44 +10:30
Adri1 97547123b6
Update French.pj.Lang (#2171)
Added msising entries and correction of French-related mistakes
2022-01-19 06:57:48 +10:30
zilmar 7fd239cf82 Core: Change NextInstruction to PipelineStage 2022-01-18 18:17:21 +10:30
shyguyhex de0a59ac54
[Debugger] JS API: Add script.abort() (#2170) 2022-01-14 07:09:21 +10:30
shyguyhex 3fd544d8f9
[Debugger] JS API: Fix Buffer links in documentation (#2169) 2022-01-13 11:07:39 +10:30
shyguyhex 8559be556b
[Debugger] JS API: Expand AddressRange class, misc fixes (#2168) 2022-01-13 07:06:30 +10:30
LuigiBlood 16667ec4f9
[Core] Proper Dezaemon 3D SRAM 96KB save support (#2165) 2022-01-12 07:33:56 +10:30
zilmar 7452dd44db Core: Removed CRecompiler::RecompilerMain_Lookup_validate when I should not have, putting it back in 2022-01-10 19:28:38 +10:30
zilmar 30a40ea0a8 Core: Remove the option to turn off tlb 2022-01-10 17:46:01 +10:30
LuigiBlood 5d82837984
[Project64-input] N64 Mouse Support (#2160)
* [Project64-input] Unpolished Mouse Support
(Use Present value as Device Type)

* [Project64-input] Use Forced N64 Mouse config (using System Mouse)

* [Project64-input] Disable Mouse Scanning

* [Project64-input] Polish UI by adding Mouse image + Prevent Controller setup when using N64 Mouse

* [Project64-input] Revert Controller Save/Load changes

* [Project64-input] Seperate N64 Mouse into its own configuration

* [Project64-input] Add Mouse Locking + Shortcut System

* [Project64-input] Make Cursor invisible when locked

* [Project64-input] Make sure to unlock mouse when opening config

* [Project64-input] Working Lock/Unlock Shortcut + Only emulate mouse when locked

* [Project64-input] Use ClipCursor instead of DirectInput Exclusive Level

* [Project64-input] Add Mouse Sensitivity option + Change to SetCursorPos

* [Project64-input] Add WM_KillFocus and EmulationPaused functions

* [Project64-core] Move EmulationPaused call to really make sure it is called in all cases
2022-01-09 21:43:12 +10:30
zilmar 40683ecf79 Core: Remove legacy code 2022-01-05 08:59:12 +10:30
zilmar 226ebe68d9 Core: Remove ROM_IN_MAPSPACE 2022-01-05 08:31:27 +10:30
zilmar beb4c4378f Core: Remove Old CFB_READ code 2022-01-05 08:24:58 +10:30
zilmar 79b03c9ee0 Core: Move Peripheral Interface handling in to handler file 2022-01-05 08:14:03 +10:30
zilmar eafcb96c01 Project64-core: Move handling of RDRam Interface Register handling to its own file 2022-01-04 16:11:52 +10:30
zilmar 7e80d952cb Project64-core: General Code clean up 2022-01-04 10:26:14 +10:30
zilmar d88ea539b1 Project64: Have DebugMMU directly access imem/dmem, not through rdram 2022-01-04 10:13:03 +10:30
zilmar 09f90d9b53 Project64-core: Make Setting_EnableDisk be a setting in GameSettings 2022-01-04 10:07:52 +10:30
shyguyhex 219b9149d6
[Debugger] JS API: add fs.exists (#2158) 2022-01-01 14:26:03 +10:30
shyguyhex 9b5f45ea23
[Debugger] Fix nested JS callback registration (fix #2147) (#2157)
* [Debugger] Fix nested JS callback registration (fix #2147)

* [Debugger] Handle JS socket ungraceful disconnect
2021-12-28 18:01:19 +10:30
LuigiBlood 3fe7fb7005
[RDB] Add more custom disks and translation (#2156)
- Zelda 64 Dawn & Dusk Info
- Zelda Expansion Disk
- Mario Artist Polygon Studio (English)
2021-12-28 07:37:07 +10:30
Andrew 6d2e6774fa
Add missing argument to mem.setblock (#2154) 2021-12-26 09:26:46 +10:30
Hugo Carvalho 9a6e0e836f
Add Portuguese translation file (#2130)
* Add Portuguese translation file

* Update Portuguese.pj.Lang

* Update Portuguese.pj.Lang
2021-11-16 13:18:28 +10:30
Fuzzy2319 c3179ee59d
Fix french support windows message (#2135) 2021-11-16 13:17:37 +10:30
zilmar 2eee6e4581 PJ64_N64_Hacks_BlueToonYoshi_RDB_Updated_11-14-2021.txt 2021-11-16 13:16:19 +10:30
zilmar ce6042fe9d [Android] Fix up accessing settings in bridge 2021-10-18 05:14:07 +10:30
zilmar 1c22355295 [Android] Update layouts 2021-10-14 19:43:36 +10:30
zilmar 331aac7678 [Android] Add toolbar height to dimens.xml 2021-10-14 19:38:57 +10:30
zilmar f51f1847c0 [Android] Update styles 2021-10-14 19:33:30 +10:30
zilmar 0423ceb72b [Android] Some tweaks to jni bridge 2021-10-14 16:56:42 +10:30
shyguyhex 9a287a53ee
[Debugger] JS API: Improve callback checks (fix #2123) (#2125)
* [Debugger] JS API: Fix project64#2122

* [Debugger] JS API: Improve callback checks (fix #2123)

* [Debugger] JS API: Improve callback checks (fix #2123)
2021-10-11 13:38:48 +10:30
shyguyhex 921c12e4d0
[Debugger] JS API: Fix project64#2122 (#2124) 2021-10-08 08:11:54 +10:30
LuigiBlood 8b90894d0f
Add Aleck64 CIC, rename 64DD IPL Dev CIC (#2120)
* Add CIC-NUS-5101 support (Aleck64)

* Rename CIC_NUS_DDTL (64DD IPL Dev) to CIC_NUS_8401 (actual chip ID)
And properly support it in the Rom Browser

* Forgot to check nullptr before putting Aleck64 CRC info
2021-10-05 09:54:36 +10:30
shyguyhex 1606b23ef9
[Debugger] JS API: Add PJ64_JSAPI_VERSION constant (#2119) 2021-09-29 08:22:19 +09:30
zilmar d72242d081 Some code cleanup 2021-09-07 06:35:51 +09:30
zilmar 5ef0bad6c8 Add BOM header to Korean.pj.Lang 2021-09-03 14:44:27 +09:30
Gagnon 613b870900
Create Korean.pj.Lang (#2106)
Update Korean translation
2021-09-03 14:42:14 +09:30
MELERIX e13f9ba7c2
Update Spanish.pj.Lang (#2109)
small typo fixes
2021-09-03 14:41:24 +09:30
shyguyhex ac94f2505e
[Debugger] Rewrite script API (#2110)
* [Debugger] Rewrite script API

* Update js api paths in installer script
2021-09-03 14:41:04 +09:30
JaxonWasTaken f9597fc3c2
Update Norwegian translation (#2099) 2021-08-26 12:30:02 +09:30
shyguyhex 56911cef58
[Debugger] Symbols: improve performance, implement filter textbox (#2102) 2021-08-26 12:28:34 +09:30
shyguyhex 29a40ba57b
[Core] Set GameRunning_InReset=false after reset (#2098) 2021-08-13 06:55:24 +09:30
shyguyhex 5c085db70b
[Debugger] Fix script directory bugs (fix #2094) (#2095) 2021-08-08 20:28:54 +09:30
zilmar e5e55df4c5 make sure Chinese (Simplified).pj.Lang has BOM marker 2021-08-01 14:45:32 +09:30
zilmar 397b32b963 [Android] More clean up AndroidManifest.xml 2021-07-27 21:11:57 +09:30
zilmar eea736fc71 [Android] Add Setup.cmd 2021-07-27 20:29:04 +09:30
MELERIX 93bea02106
Update Spanish.pj.Lang (#2088)
* Update Spanish.pj.Lang

Updated the translation based on the changes made to the english file.

* Update Spanish.pj.Lang

few fixes

* also few changes in English lang for consistency

* Update Spanish.pj.Lang

seems "Aceptar" is more common.

* Update Spanish.pj.Lang
2021-07-27 19:44:23 +09:30
Alen-Alic cc0b0745d5
Update Bosnian.pj.Lang (#2082)
* Update Bosnian.pj.Lang

(several grammatical fixes)

* Update Bosnian.pj.Lang
2021-07-27 19:44:01 +09:30
zilmar 4629c36e26 [Android] Remove mk and add AndroidManifest.xml 2021-07-27 19:41:46 +09:30
zilmar a760b3e4a6 [Android] Add gradle files 2021-07-27 17:53:04 +09:30
zilmar 3a0117c3da [Android] Clean up SplashActivity.java 2021-07-27 17:05:27 +09:30
zilmar 1e03eacc4e [Android] Move lib folder and remove some of the eclipse files 2021-07-27 14:07:06 +09:30
zilmar b0c5bbe0ae [Android] Be able to create version.gradle 2021-07-20 11:33:40 +09:30
Rosalie e55cec5ea6
[Project64] Fix hidden statusbar (#2086) 2021-07-18 08:08:12 +09:30
zilmar 070d9641db move some android files around 2021-07-13 08:56:14 +09:30
zilmar fc996df8ec Add Author to enhancement file 2021-07-13 08:17:16 +09:30
Kimberly J Ortega 416205ed5f
Enhancements: Add spaces to tags (#2079)
- Matching RDB format.
- Keep checks for old version to avoid breaking user enhancements, due to lack of a fixed control mechanism for upgrading
2021-07-12 13:30:28 +09:30
zilmar e5cfb4bdeb
Merge pull request #2078 from oddMLan/update-cheats
Update cheats
2021-07-12 11:56:11 +09:30
oddMLan a672810a80 Update cheats
- Rename Conker ECTS, Dino Planet and Toy Story (G) cheat files to match recent RDB changes 896915d9e3 (diff-f03a48f697c7e3851c3ea163017c6d55647976d4aa009c4ef52ed064198de0e1R1350)
896915d9e3 (diff-f03a48f697c7e3851c3ea163017c6d55647976d4aa009c4ef52ed064198de0e1R1609)
896915d9e3 (diff-f03a48f697c7e3851c3ea163017c6d55647976d4aa009c4ef52ed064198de0e1R6904)
- Added a bunch of cheats for Conker's Bad Fur Day ECTS
- Moved Dino Planet enhancement cheats to .enh
2021-07-11 19:21:48 -07:00
zilmar a8d86eaefb
Merge pull request #2077 from kkaja123/bugfix/controller-settings-plugin
Fix controller settings not saving the Controller Pak plugin
2021-07-11 15:50:35 +09:30
zilmar abe1c896f8
Merge pull request #2076 from icup321/develop
Add Donald Duck and Star Fox 16:9 codes
2021-07-11 15:49:55 +09:30
zilmar b94bfc5fcd BlueToonYoshi_RDB_Updated_07-10-2021.txt 2021-07-11 15:45:16 +09:30
zilmar 53b528d885 [Android] Remove copyright notice from individual files 2021-07-11 15:32:34 +09:30
Kaja, Kyle 6d9c88f1e2 Fix controller settings not saving the Controller Pak plugin
This fixes issue #2019
2021-07-09 13:01:36 -05:00
icup321 429ee3a647
Add Donald Duck and Star Fox 16:9 codes 2021-07-08 19:09:44 -04:00
zilmar 9ad8d49d0e Some code clean up to help build android 2021-06-28 11:27:35 +09:30
zilmar 4c49088dd8
Merge pull request #2067 from Felipefpl/develop
Updated brazilian translation
2021-06-25 08:22:10 +09:30
zilmar 3ae88d9f7b
Merge pull request #2073 from Squall-Leonhart/develop
[PJ64-Nrage]the n64 analog stick cannot ever hit 127 and letting it do so breaks some games
2021-06-25 08:21:04 +09:30
Squall Leonhart 8907a47a00
the n64 analog stick cannot ever hit 127
only making it to between 93 and 95 on a brand new pad

most games stop scaling beyond 83, but buck bumble appears to develop negative returns when the control is allowed to go too far resulting in barely any movement.
2021-06-24 18:21:47 +10:00
Felipe dec4095878
Add files via upload 2021-06-18 09:42:01 -03:00
Felipe 7a0b4cb7ef
Delete Brazilian Portuguese.pj.Lang 2021-06-18 09:41:32 -03:00
Felipe d2cf4fcc4e
Add files via upload 2021-06-18 09:30:39 -03:00
Felipe 9bb0e22896
Add files via upload 2021-06-18 09:12:38 -03:00
zilmar a7b9872c85 Merge branch 'develop' of https://github.com/project64/project64 into develop 2021-06-15 14:31:29 +09:30
zilmar bfd206e0a7 Get Controller plugin to update at request 2021-06-15 14:30:38 +09:30
zilmar d0ddb883af
Merge pull request #2066 from Muzzarino/patch-1
Update Banjo-Tooie (U).cht
2021-06-15 07:59:22 +09:30
Muzzarino 090a7b5c62
Update Banjo-Tooie (U).cht 2021-06-14 09:48:46 -07:00
zilmar 2850cc78c8 Make showing nag window a temp setting 2021-06-14 16:55:37 +09:30
oddMLan 896915d9e3 Update RDB
- Add new games (Freak Boy, Doubutsu Banchou)
- Added settings to a few games for stability with Enhancements (RDRAM Size=8 and Randomize SI/PI DMA=0)
- Removed incorrect Super Mario 64 hack entry (it is the basic expanded ROM)
- Some minor nomenclature corrections (Debug Version -> Debug) etc.
- Fixed Mortal Kombat Trilogy slowdown (thanks mkultimate & AIO)
2021-06-13 15:28:07 +09:30
oddMLan 6f6cef0148 (Cheats) Leave only 1 line break at EOF 2021-06-13 15:04:42 +09:30
oddMLan bad103568a Enhancement -> Enhancements (Updated package scripts as well)
Enhancement-User -> Enhancements-User
2021-06-13 14:55:36 +09:30
zilmar 542aec05f0 change version number for develop to 4.x 2021-06-13 13:07:20 +09:30
zilmar cc1344733b Copy Project64.cfg.development if Project64.cfg does not exist 2021-06-11 22:32:29 +09:30
zilmar dae40949de BlueToonYoshi_RDB_Updated_06-08-2021 2021-06-11 21:25:45 +09:30
zilmar 9ea640f44a Remove calling git describe from UpdateVersion.cmd 2021-06-11 21:19:28 +09:30
zilmar 022bd375c6
Merge pull request #2057 from oddMLan/misc-gui-fixes
Fix spelling mistake in support window
2021-05-30 20:52:23 +09:30
zilmar 755ae9c1c0
Merge pull request #2058 from Felipefpl/develop
Updated translation
2021-05-30 20:51:39 +09:30
zilmar fa6d14c029 Disable menu if showing nag window 2021-05-30 20:41:45 +09:30
Felipe 5568d8f7f7
Merge pull request #1 from Felipefpl/Felipefpl-patch-1
Add files via upload
2021-05-29 13:32:49 -03:00
Felipe 16bd8c22ff
Add files via upload 2021-05-29 13:27:45 -03:00
oddMLan 001f6e206b Fix spelling mistake in support window 2021-05-27 23:11:19 -07:00
zilmar 84166f49ac
Merge pull request #2056 from oddMLan/misc-gui-fixes
Minor GUI improvements (merge this first)
2021-05-28 15:28:19 +09:30
oddMLan 48259a191b Localize unstranslated strings
-'Always use interpreter core' & 'Enable Discord Rich Presence'
2021-05-27 22:32:56 -07:00
oddMLan 1830b93bc5 Since 8MB is default now, remove hardcoded check in SettingsType-RDBRamSize.cpp and redundant note in the UI
This reverts commits 8475fa9c14 4020735b26
2021-05-27 22:32:55 -07:00
oddMLan a03dca3639 Updated Spanish strings 2021-05-27 22:32:54 -07:00
oddMLan 3aca31e758 Beautify Welcome Screen
Simplify wording, tweak the element alignments, and the plugin choice works like a button now (looks less confusing)
2021-05-27 22:32:49 -07:00
oddMLan 55808ff4f5 English.pj.Lang: Simplify wording & fix formatting 2021-05-27 22:32:26 -07:00
oddMLan 3d29b94457 Don't ask for advanced mode to let user pick enhancements 2021-05-26 11:59:31 -07:00
oddMLan 4caadeb431 Fix ROM browser default column size 2021-05-26 11:59:30 -07:00
oddMLan cdbe507437 Minor layout fixes
- Fixed Notes in Enhancements window
- Fix Add Cheat to accommodate for cheat disable value feature
- Center about window header
2021-05-26 11:59:29 -07:00
zilmar bbdbaff60e
Merge pull request #2052 from shygoo/fix-memview-paste
[Debugger] Fix memory viewer paste crash
2021-05-26 16:56:05 +09:30
shygoo 9c3edcb8c0 [Debugger] Fix memory viewer paste crash 2021-05-25 23:20:22 -05:00
zilmar e5907d32d7
Merge pull request #2050 from NoraTheGamer/patch-1
Remove leftovers from boxart being present on DiscordRPC
2021-05-26 09:25:13 +09:30
zilmar e7fe519199
Merge pull request #2049 from shygoo/fix-memdump
[Debugger] Fix memory dump crash
2021-05-26 09:23:49 +09:30
zilmar a80a30e1d0
Merge pull request #2048 from JaxonWasTaken/norwegian
Update Norwegian translation
2021-05-26 09:23:20 +09:30
Nora 02586437c5
Remove leftovers from boxart being present on DiscordRPC 2021-05-25 19:01:47 -04:00
shygoo 96b9ac0c45 [Debugger] Fix memory dump 2021-05-24 21:41:22 -05:00
Jaxon bd70f44c73 Update Norwegian translation 2021-05-25 04:13:26 +02:00
zilmar 2aea0218fd Update CHANGELOG.md 2021-05-22 09:45:31 +09:30
zilmar 02a4e6cbe8
Merge pull request #2046 from shygoo/fix-search
[Debugger] Fix search crashes
2021-05-22 09:32:58 +09:30
shygoo d1ea9a6225 [Debugger] Fix search 2021-05-19 19:05:55 -05:00
zilmar 202b30dd31
Merge pull request #2045 from vgturtle127/3.0-develop
Adding my PR and issue templates and updating documentation
2021-05-19 19:33:54 +09:30
Derek "Turtle" Roe edc2ddb66c Fix broken link in build doc 2021-05-19 04:28:44 -05:00
Derek "Turtle" Roe 7028ee5198 Update CHANGELOG 2021-05-19 04:22:33 -05:00
Derek "Turtle" Roe 6933dc5942 Add the templates back from my PR 2021-05-19 04:22:25 -05:00
3498 changed files with 358972 additions and 134128 deletions

View File

@ -1,9 +1,28 @@
# Introduction
First of all, thank you for considering contributing to Project64! Project64 is an open-source project and contributions by the community help fix bugs, add new features, and improve the project.
First of all, thank you for considering contributing to Project64! Project64 is an open-source project, and we love to receive contributions from the community. Contributions help fix bugs, add new features, and improve the project. There are many ways to contribute, from writing and improving the documentation, testing, submitting bug reports and feature requests, or writing code that can be incorporated into Project64 itself.
Following these guidelines will help make sure that users and developers alike can work together to achieve the projects goals.
If you are looking for support or need help, please join the [Discord](https://discord.gg/Cg3zquF)! It's the best way to get your questions answered quickly. Please do not open a GitHub issue without first reading through the [support document](../Docs/SUPPORT.md).
Project64 is an open-source project and we love to receive contributions from the community. There are many ways to contribute, from writing and improving the documentation, testing, submitting bug reports and feature requests, or writing code which can be incorporated into Project64 itself.
Following these guidelines will help ensure that users and developers alike can work together to achieve the project's goals.
Please do NOT post any copyrighted materials. This includes (but is not limited to) ROMs, ROM hacks, IPL and firmware files, etc.
Save states and game saves do not fall under this category, so please post them only if they are applicable to your issue!
# Github Contribution Guide
1. Create a fork of this repository on your own account.
2. Create a new branch from the `develop` branch.
* Choose a meaningful name for the branch (e.g. `fix`, `documentation`).
3. Commit any changes onto your new branch.
4. If sensible, squash all commits into one. This helps clean up the vetting process.
* Ensure that commit messages are clear, concise, and informative. They should include information about all changes made, especially when squashing multiple commits into one.
5. Once all commits have been made and squashed, rebase all changes in your branch.
* Rebasing will resolve any merge confilcts that your changes may cause.
6. Create a pull request to the `develop` branch
* The pull request should be descriptive and include all changes made to the code base. If multiple files have been changed, organize them such that they can be easily followed by a reviewer.
* Make sure that you **allow edits** by maintainers when making the Pull Request.
7. Your changes should be reviewed and fixes may be made to your changes.
* If fixes are made please make sure to address them.
Please don't use the issue tracker for support questions. Please join the Discord so the community can help with your issue!

View File

@ -1,19 +0,0 @@
## Expected behavior
## Actual behavior
## Steps to reproduce the problem
1.
1.
1.
1.
1.
## Specifications
- Windows version:
- Project64 version:
- Plugins used:

147
.github/ISSUE_TEMPLATE/BUG.yml vendored Normal file
View File

@ -0,0 +1,147 @@
name: Bug report
description: >-
If you experience a bug in Project64 and/or its maintained plugins, please open an
issue here and fill out the template.
title: '[Bug]: '
labels:
- bug
- triage
assignees:
- null
body:
- type: markdown
attributes:
value: '## FAQs and a warning'
- type: markdown
attributes:
value: >-
Please read the support document in this repository before opening an issue!
If you are having issues with a plugin that isn't included with or
supported by the Project64 team, we cannot support you other then pointing
you to the developer or repository for those plugins.
Please join the Discord first and ask questions and ask for support there
first. If the issue should require an open GitHub issue, somebody will ask
you to open one.
We have a lot of people in the Discord who are more then
happy to help you with any issues you may be having!
Please avoid opening issues if you do not meet the minimum requirements
for Project64. These are outlined in the README for this repository.
- type: textarea
id: what-should-happen
attributes:
label: Expected behavior?
description: How was the emulator supposed to behave
placeholder: Tell us what you expect to see!; use screenshots if necessary.
value: null
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: Actual behavior?
description: Describe in detail the issue you encountered.
placeholder: Tell us what you see!; use screenshots if necessary.
value: null
validations:
required: true
- type: textarea
id: repro
attributes:
label: Steps to reproduce the problem
description: How do you trigger this bug? Please walk us through it step by step.
value: |
1.
2.
3.
4.
5.
...
validations:
required: true
- type: textarea
id: error-messages
attributes:
label: Error messages?
description: Was there an error message?
placeholder: List any error messages here!; use screenshots if necessary.
value: null
validations:
required: false
- type: textarea
id: ROM_details
attributes:
label: What game were you playing?
description: What is the specific game/ROM that you encountered an issue with?
value: |
Title:
Nintendo 64 game or Nintendo 64 Disk Drive:
ROM information (First you must uncheck "hide advanced settings" in the settings menu, then File > ROM info should show up, post the information contained there in this field. Alternatively, you can right click the ROM in the ROM browser and hit "ROM information".):
Save type: (attach game save or save state here)
Original or modified ROM?:(attach patch if applicable here)
validations:
required: false
- type: textarea
id: SysInfo
attributes:
label: Specifications and build details
description: >-
List your PC specifications/information, you can obtain this from MSINFO32 and the
emulators title bar and about page.
value: |
Project64: (include commit version number and whether you are using the
32-bit or 64-bit version)
OS: (include version and OS build number using WinVer):
CPU:
RAM:
Graphics:
validations:
required: true
- type: checkboxes
id: DefaultPlugins
attributes:
label: Using included plugins
description: >-
Please make sure you are using the included plugins before opening an
issue:
options:
- label: >-
I can confirm I am using the included RSP, audio, input, and graphics
plugins
required: true
- type: textarea
id: PluginsUsed
attributes:
label: Plugins used while the issue occurred
description: What plugins is the issue occuring with?
value: |
Graphics plugin (and HLE or LLE):
Audio plugin:
Input plugin:
RSP plugin:
validations:
required: true
- type: checkboxes
id: Copyright_Compliance
attributes:
label: Copyright Compliance
description: >-
Please do not attach any files that infringe on the copyright of any
party.
options:
- label: There are no infringing files attached to this bug report.
required: true

38
.github/ISSUE_TEMPLATE/FEATURE.yml vendored Normal file
View File

@ -0,0 +1,38 @@
name: Feature request
description: >-
If you would like a new feature in Project64 or its default plugins, please
open an issue here and fill out the template.
title: '[Feature request]: '
labels:
- feature request
- enhancement
assignees:
- null
body:
- type: textarea
id: feature-request
attributes:
label: Request box
description: What feature would you like to see added?
placeholder: Tell us what you would like to see added to Project64!
value: null
validations:
required: true
- type: textarea
id: reason-why
attributes:
label: Reason box
description: Provide reasoning for the new feature
placeholder: Tell us why you'd like to see this feature added
value: null
validations:
required: true
- type: textarea
id: Examples
attributes:
label: Examples
description: Provide examples of this feature
placeholder: Provide examples or screenshots of this feature in other software
value: null
validations:
required: true

View File

@ -1,5 +1,5 @@
blank_issues_enabled: true
blank_issues_enabled: false
contact_links:
- name: Project64 Community Support
url: https://discord.gg/Cg3zquF
about: Please ask and answer questions on our Discord!
about: For general questions and support please join the Discord!

View File

@ -1,7 +1,13 @@
[Add description of the PR here]
Fixes #
## Proposed Changes
### Proposed changes
-
-
-
-
-
-
### Does this make breaking changes?
### Does this version of Project64 compile and run without issue?

97
.gitignore vendored
View File

@ -20,14 +20,14 @@
Thumbs.db
/.vs
/Bin/Debug
/Bin/Debug64
/Bin/Package
/Bin/Release
/Bin/Release64
/Bin/Win32/Debug
/Bin/Win32/Release
/Bin/x64/Debug
/Bin/x64/Release
/build
/Config/Cheats-User
/Config/Enhancement-User
/Config/Enhancements-User
/Config/Project64.cache3
/Config/Project64.cfg
/Config/Project64.rdn
@ -36,31 +36,64 @@ Thumbs.db
/git.properties
/ipch
/Package
/Plugin/Audio/AndroidAudio_d.dll
/Plugin/Audio/AndroidAudio.dll
/Plugin/Audio/Project64-Audio_d.dll
/Plugin/Audio/Project64-Audio.dll
/Plugin/GFX/lib
/Plugin/GFX/map
/Plugin/GFX/pdb
/Plugin/GFX/Project64-Video_d.dll
/Plugin/GFX/Project64-Video.dll
/Plugin/Input/AndroidInput_d.dll
/Plugin/Input/AndroidInput.dll
/Plugin/Input/lib
/Plugin/Input/map
/Plugin/Input/pdb
/Plugin/Input/PJ64_NRage_d.dll
/Plugin/Input/PJ64_NRage.dll
/Plugin/Input/Project64-Input_d.dll
/Plugin/Input/Project64-Input.dll
/Plugin/RSP/lib
/Plugin/RSP/map
/Plugin/RSP/pdb
/Plugin/RSP/RSP 1.7.dll
/Plugin/RSP/RSP_d 1.7.dll
/Plugin/RSP/RSP-HLE_d.dll
/Plugin/RSP/RSP-HLE.dll
/Plugin/Win32/Audio/AndroidAudio_d.dll
/Plugin/Win32/Audio/AndroidAudio.dll
/Plugin/Win32/Audio/Project64-Audio_d.dll
/Plugin/Win32/Audio/Project64-Audio.dll
/Plugin/Win32/GFX/lib
/Plugin/Win32/GFX/map
/Plugin/Win32/GFX/pdb
/Plugin/Win32/GFX/Project64-Video_d.dll
/Plugin/Win32/GFX/Project64-Video.dll
/Plugin/Win32/Input/AndroidInput_d.dll
/Plugin/Win32/Input/AndroidInput.dll
/Plugin/Win32/Input/lib
/Plugin/Win32/Input/map
/Plugin/Win32/Input/pdb
/Plugin/Win32/Input/PJ64_NRage_d.dll
/Plugin/Win32/Input/PJ64_NRage.dll
/Plugin/Win32/Input/Project64-Input_d.dll
/Plugin/Win32/Input/Project64-Input.dll
/Plugin/Win32/RSP/lib
/Plugin/Win32/RSP/map
/Plugin/Win32/RSP/pdb
/Plugin/Win32/RSP/Project64-RSP_d.dll
/Plugin/Win32/RSP/Project64-RSP.dll
/Plugin/Win32/RSP/RSP 1.7.dll
/Plugin/Win32/RSP/RSP_d 1.7.dll
/Plugin/Win32/RSP/RSP-HLE_d.dll
/Plugin/Win32/RSP/RSP-HLE.dll
/Plugin/Win32/RSP/Project64-RSP-Basic_d.dll
/Plugin/Win32/RSP/Project64-RSP-Basic.dll
/Plugin/x64/Audio/AndroidAudio_d.dll
/Plugin/x64/Audio/AndroidAudio.dll
/Plugin/x64/Audio/Project64-Audio_d.dll
/Plugin/x64/Audio/Project64-Audio.dll
/Plugin/x64/GFX/lib
/Plugin/x64/GFX/map
/Plugin/x64/GFX/pdb
/Plugin/x64/GFX/Project64-Video_d.dll
/Plugin/x64/GFX/Project64-Video.dll
/Plugin/x64/Input/AndroidInput_d.dll
/Plugin/x64/Input/AndroidInput.dll
/Plugin/x64/Input/lib
/Plugin/x64/Input/map
/Plugin/x64/Input/pdb
/Plugin/x64/Input/PJ64_NRage_d.dll
/Plugin/x64/Input/PJ64_NRage.dll
/Plugin/x64/Input/Project64-Input_d.dll
/Plugin/x64/Input/Project64-Input.dll
/Plugin/x64/RSP/lib
/Plugin/x64/RSP/map
/Plugin/x64/RSP/pdb
/Plugin/x64/RSP/Project64-RSP_d.dll
/Plugin/x64/RSP/Project64-RSP.dll
/Plugin/x64/RSP/RSP 1.7.dll
/Plugin/x64/RSP/RSP_d 1.7.dll
/Plugin/x64/RSP/RSP-HLE_d.dll
/Plugin/x64/RSP/RSP-HLE.dll
/Plugin/x64/RSP/Project64-RSP-Basic_d.dll
/Plugin/x64/RSP/Project64-RSP-Basic.dll
/Plugin64/AndroidAudio
/Plugin64/Audio/AndroidAudio_d.dll
/Plugin64/Audio/AndroidAudio.dll
@ -95,4 +128,6 @@ Thumbs.db
/Source/Project64-core/Version.h
/Source/Project64-input/Version.h
/Source/Project64-video/Version.h
/Source/RSP/Version.h
/Source/Project64-rsp-core/Version.h
/Plugin/Win32/GFX/GLideN64
/Plugin/x64/GFX/GLideN64

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "Source/GLideN64/Source"]
path = Source/GLideN64/Source
url = https://github.com/gonetz/GLideN64.git

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/Project64/assets&quot; type=&quot;2&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
<booleanAttribute key="org.eclipse.debug.core.capture_output" value="false"/>
<booleanAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON" value="false"/>
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Project64"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Project64/buildAssets.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="clean"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Project64}"/>
</launchConfiguration>

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/Project64/jni&quot; type=&quot;2&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Project64"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_BUILD_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/Project64&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/Project64/copySource.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="clean"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Project64}"/>
</launchConfiguration>

31
Android/.gitignore vendored
View File

@ -1,17 +1,14 @@
# Generated and temporary files
assets/project64_data/Config
assets/project64_data/Lang
bin/
gen/
obj/
*.d
*.o
*.so
Version.h.in
# Eclipse project files
.settings/
.classpath
.cproject
.project
assets/Config
assets/Lang
config/version.gradle
app/src/main/assets/assets.zip
*.iml
.gradle
local.properties
.idea/
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
build

View File

@ -1,53 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Project64</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/Copy Project64 C++ Source.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>clean,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/Build Assets.launch</value>
</dictionary>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

36
Android/Script/Setup.cmd Normal file
View File

@ -0,0 +1,36 @@
@ECHO OFF
SETLOCAL
set origdir=%cd%
cd /d %~dp0..\..\
set base_dir=%cd%
cd /d %origdir%
echo buildAssets
call "%base_dir%\Android\Script\buildAssets.cmd"
set Result=%ERRORLEVEL%
echo Done - ERRORLEVEL: %Result%
IF %Result% NEQ 0 goto :EndErr
echo UpdateVersionNumber
call "%base_dir%\Android\Script\UpdateVersionNumber.cmd"
set Result=%ERRORLEVEL%
echo Done - ERRORLEVEL: %Result%
IF %Result% NEQ 0 goto :EndErr
echo copySource
call "%base_dir%\Android\Script\copySource.cmd"
set Result=%ERRORLEVEL%
echo Done - ERRORLEVEL: %Result%
IF %Result% NEQ 0 goto :EndErr
goto :end
:EndErr
ENDLOCAL
echo Build failed
exit /B 1
:End
ENDLOCAL
exit /B 0

Binary file not shown.

View File

@ -0,0 +1,18 @@
@ECHO OFF
SETLOCAL
set origdir=%cd%
cd /d %~dp0..\..\
set base_dir=%cd%
cd /d %origdir%
"%base_dir%\Android\Script\UpdateVersion.exe" "%base_dir%\Android\config\version.gradle.in" "%base_dir%\Android\config\version.gradle"
"%base_dir%\Android\Script\UpdateVersion.exe" "%base_dir%\Source\Project64-core\Version.h.in" "%base_dir%\Source\Project64-core\Version.h"
"%base_dir%\Android\Script\UpdateVersion.exe" "%base_dir%\Source\Project64-rsp-core\Version.h.in" "%base_dir%\Source\Project64-rsp-core\Version.h"
"%base_dir%\Android\Script\UpdateVersion.exe" "%base_dir%\Source\Project64-audio\Version.h.in" "%base_dir%\Source\Project64-audio\Version.h"
"%base_dir%\Android\Script\UpdateVersion.exe" "%base_dir%\Source\Project64-video\Version.h.in" "%base_dir%\Source\Project64-video\Version.h"
"%base_dir%\Android\Script\UpdateVersion.exe" "%base_dir%\Source\RSP\Version.h.in" "%base_dir%\Source\RSP\Version.h"
:End
ENDLOCAL
exit /B 0

View File

@ -1,63 +0,0 @@
@ECHO OFF
SETLOCAL
set origdir=%cd%
cd /d %~dp0..\..\
set base_dir=%cd%
cd /d %origdir%
set VersionName=
if not "%1" == "" set VersionName= %1
set NDK-BUILDER=""
if exist "C:\Android\android-ndk-r10d\ndk-build.cmd" ( set NDK-BUILDER="C:\Android\android-ndk-r10d\ndk-build.cmd" )
if exist "C:\Android\android-ndk-r11c\ndk-build.cmd" ( set NDK-BUILDER="C:\Android\android-ndk-r11c\ndk-build.cmd" )
if exist "C:\Android\android-ndk-r13b\ndk-build.cmd" ( set NDK-BUILDER="C:\Android\android-ndk-r13b\ndk-build.cmd" )
if %NDK-BUILDER% == "" (
echo can not find android NDK
goto :EndErr
)
set ANDROID_SDK=""
if exist "C:\Android\android-sdk" ( set ANDROID_SDK="C:\Android\android-sdk" )
if %ANDROID_SDK% == "" (
echo can not find android SDK
goto :EndErr
)
call "%base_dir%\Android\Script\buildAssets.cmd"
IF %ERRORLEVEL% NEQ 0 goto :EndErr
call "%base_dir%\Android\Script\copySource.cmd"
IF %ERRORLEVEL% NEQ 0 goto :EndErr
cd /d %base_dir%\Android
call %NDK-BUILDER% clean
IF %ERRORLEVEL% NEQ 0 goto :EndErr
call %NDK-BUILDER%
IF %ERRORLEVEL% NEQ 0 goto :EndErr
call ant clean release -Dsdk.dir=%ANDROID_SDK%
IF %ERRORLEVEL% NEQ 0 goto :EndErr
cd /d %origdir%
:: Make sure the sign environment variables exist
IF NOT DEFINED project64_cert_keystore ( exit /B 0 )
IF NOT DEFINED project64_cert_password ( exit /B 0 )
:: Sign the APK
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -tsa http://timestamp.digicert.com -keystore "%project64_cert_keystore%" -storepass %project64_cert_password% -keypass %project64_cert_password% "%base_dir%\Android\bin\Project64-release-unsigned.apk" project64
:: Align the APK
zipalign -v 4 "%base_dir%\Android\bin\Project64-release-unsigned.apk" "%base_dir%\Package\Project64%VersionName%.apk"
echo Build ok
goto :end
:EndErr
ENDLOCAL
echo Build failed
exit /B 1
:End
ENDLOCAL
exit /B 0

View File

@ -8,26 +8,35 @@ set base_dir=%cd%
cd /d %origdir%
echo Building Lang files
xcopy "%base_dir%/Lang" "%base_dir%/Android/assets/project64_data/Lang/" /D /I /F /Y /E
xcopy "%base_dir%/Lang" "%base_dir%/Android/assets/Lang/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo Copy config files
IF NOT EXIST "%base_dir%/Android/assets/project64_data/Config/" mkdir "%base_dir%/Android/assets/project64_data/Config/"
copy "%base_dir%\Config\Audio.rdb" "%base_dir%\Android\assets\project64_data\Config\"
IF NOT EXIST "%base_dir%/Android/assets/Config/" mkdir "%base_dir%/Android/assets/Config/"
copy "%base_dir%\Config\Audio.rdb" "%base_dir%\Android\assets\Config\"
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
copy "%base_dir%\Config\Video.rdb" "%base_dir%\Android\assets\project64_data\Config\"
copy "%base_dir%\Config\Video.rdb" "%base_dir%\Android\assets\Config\"
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
copy "%base_dir%\Config\Project64.cht" "%base_dir%\Android\assets\project64_data\Config\"
copy "%base_dir%\Config\Project64.rdb" "%base_dir%\Android\assets\Config\"
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
copy "%base_dir%\Config\Project64.rdb" "%base_dir%\Android\assets\project64_data\Config\"
copy "%base_dir%\Config\Project64.rdx" "%base_dir%\Android\assets\Config\"
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
copy "%base_dir%\Config\Project64.rdx" "%base_dir%\Android\assets\project64_data\Config\"
IF NOT EXIST "%base_dir%/Android/assets/Config/Cheats/" mkdir "%base_dir%/Android/assets/Config/Cheats/"
xcopy "%base_dir%/Config/Cheats" "%base_dir%/Android/assets/Config/Cheats/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
IF NOT EXIST "%base_dir%/Android/assets/Config/Enhancements/" mkdir "%base_dir%/Android/assets/Config/Enhancements/"
xcopy "%base_dir%/Config/Enhancements" "%base_dir%/Android/assets/Config/Enhancements/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
IF NOT EXIST "%base_dir%/Android/app/src/main/assets/" mkdir "%base_dir%/Android/app/src/main/assets/"
IF EXIST "%base_dir%/Android/app/src/main/assets/assets.zip" del "%base_dir%\Android\app\src\main\assets\assets.zip"
powershell Compress-Archive "%base_dir%/Android/assets/*" "%base_dir%/Android/app/src/main/assets/assets.zip"
goto :end
:End

View File

@ -11,6 +11,10 @@ echo copy 3rdParty/7zip
xcopy "%base_dir%/Source/3rdParty/7zip" "%base_dir%/Android/jni/3rdParty/7zip/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy 3rdParty/asmjit
xcopy "%base_dir%/Source/3rdParty/asmjit" "%base_dir%/Android/jni/3rdParty/asmjit/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy 3rdParty/png
xcopy "%base_dir%/Source/3rdParty/png" "%base_dir%/Android/jni/3rdParty/png/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
@ -24,11 +28,11 @@ xcopy "%base_dir%/Source/Common" "%base_dir%/Android/jni/Common/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy PluginInput
xcopy "%base_dir%/Source/Android/PluginInput" "%base_dir%/Android/jni/PluginInput/" /D /I /F /Y /E
xcopy "%base_dir%/Source/Android/PluginInput" "%base_dir%/Android/jni/Plugin-Input/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy PluginRSP
xcopy "%base_dir%/Source/Android/PluginRSP" "%base_dir%/Android/jni/PluginRSP/" /D /I /F /Y /E
xcopy "%base_dir%/Source/Android/PluginRSP" "%base_dir%/Android/jni/Plugin-Rsp/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy Project64-bridge
@ -39,10 +43,18 @@ echo copy Project64-audio
xcopy "%base_dir%/Source/Project64-audio" "%base_dir%/Android/jni/Project64-audio/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy Project64-plugin-spec
xcopy "%base_dir%/Source/Project64-plugin-spec" "%base_dir%/Android/jni/Project64-plugin-spec/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy Project64-core
xcopy "%base_dir%/Source/Project64-core" "%base_dir%/Android/jni/Project64-core/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy Project64-rsp-core
xcopy "%base_dir%/Source/Project64-rsp-core" "%base_dir%/Android/jni/Project64-rsp-core/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)
echo copy Project64-video
xcopy "%base_dir%/Source/Project64-video" "%base_dir%/Android/jni/Project64-video/" /D /I /F /Y /E
IF %ERRORLEVEL% NEQ 0 (exit /B 1)

1
Android/app/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/build

49
Android/app/build.gradle Normal file
View File

@ -0,0 +1,49 @@
plugins {
id 'com.android.application'
}
apply from: '../config/version.gradle'
android {
defaultConfig {
applicationId = "emu.Project64"
externalNativeBuild {
cmake {
cppFlags '-std=c++11'
}
}
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.google.android.material:material:1.1.0'
implementation "androidx.drawerlayout:drawerlayout:1.0.0"
implementation 'androidx.preference:preference:1.1.1'
testImplementation 'junit:junit:4.12'
implementation project(':jni:3rdParty:png')
implementation project(':jni:3rdParty:zlib')
implementation project(':jni:Common')
implementation project(':jni:Settings')
implementation project(':jni:Project64-rsp-core')
implementation project(':jni:Project64-core')
implementation project(':jni:Project64-bridge')
implementation project(':jni:Project64-video')
implementation project(':jni:Project64-audio')
implementation project(':jni:Plugin-input')
implementation project(':jni:Plugin-rsp')
}

Some files were not shown because too many files have changed in this diff Show More