Commit Graph

766 Commits

Author SHA1 Message Date
zilmar 312516567e Only initialize plugins if has been created 2015-03-18 20:49:15 +11:00
zilmar 9cec56fc89 Nrage: default to mem pak 2015-03-18 20:48:45 +11:00
zilmar 8afe84f315 Set ini file to auto flush changes 2015-03-18 20:47:24 +11:00
unknown b890afe78b [RSP] some scope and spacing formatting clean-ups 2015-03-18 00:50:48 -04:00
Samuel Yuan 436a27c40d Fixed a few more UI translations 2015-03-17 22:09:33 -04:00
unknown 86952f5cc6 [Settings] some scope and spacing formatting clean-ups 2015-03-17 18:49:20 -04:00
unknown a247ffe6b1 [PJ64 NRage] some scope and spacing formatting clean-ups 2015-03-17 18:47:32 -04:00
unknown 5158883a86 [PJ64 NRage] minor consistency change in the headers
I'm not really a fan of using the Allman method of braces for typedef's, struct's or other data, but in this case N-Rage seems to have made up his mind throughout 99% the rest of the source to use Allman through it, except only for this particular file.  So I guess better to be consistent with the rest.
2015-03-17 17:26:25 -04:00
unknown ae04d23d86 [Common] some scope and spacing formatting clean-ups
Miserably hated doing this commit.  Couldn't tell which code was whose, which was copyrighted, which was foreign enough to Project64 that I'd probably best just leave-as is, which was even worth considering part of Project64, which cleanups to omit doing and ignore because some ugly practices were rampant throughout the entire file and distracted from the purpose of this pull request too much.  So tried to stick to mostly just the braces/indentation changes here.
2015-03-17 17:19:42 -04:00
zilmar b09fd8296a Merge pull request #272 from Nekokabu/patch-2
Enable "Use System Font"
2015-03-18 07:10:00 +11:00
zilmar 262c8ffe9d lamguage changes for rombrowser 2015-03-17 22:34:47 +11:00
Samuel Yuan 04ce2f6054 Made extra UI strings translateable 2015-03-16 22:56:53 -04:00
Nekokabu c78eb75ccf Enable "Use System Font" 2015-03-14 02:37:32 +09:00
unknown 516df09fce updating FPU locations just if STATUS_FR was changed, not entire reg 2015-03-12 19:53:28 -04:00
zilmar b1d3a27539 Language: Make sure string added to second level of keyboard shortcut added as utf16 2015-03-13 08:39:08 +11:00
zilmar 2a528562bf Fix load perm cheats 2015-03-12 17:58:41 +11:00
unknown a155a74f48 line break consistency fix: TxUtil.cpp 2015-03-11 17:17:43 -04:00
unknown 822de92789 line break consistency fix: ucode06.h 2015-03-11 17:17:16 -04:00
unknown 63c4ad0182 line break consistency fix: ucode00.h 2015-03-11 17:16:40 -04:00
unknown 56dfb581ed line break consistency fix: rdp.h 2015-03-11 17:16:16 -04:00
unknown 42de60ca44 line break consistency fix: Util.cpp 2015-03-11 17:15:42 -04:00
unknown 3bf2ac641b line break consistency fix: FixedPoint.asm.cpp (MORE POINTLESS ASM!) 2015-03-11 17:14:21 -04:00
unknown dbf981697e line break consistency fix: Debugger.cpp 2015-03-11 17:13:15 -04:00
unknown 24d86ab329 line break consistency fix: 3dmathSIMD.asm.cpp (btw inline asm SUCKS) 2015-03-11 17:12:49 -04:00
unknown 8ae5b052e7 line break consistency fix: Mempak.H 2015-03-11 17:10:23 -04:00
zilmar 6ed2346169 Merge branch 'master' of https://github.com/project64/project64 2015-03-12 06:55:56 +11:00
zilmar d0209b061f Language: have break point take a wchar_t * string and allow \n in language files 2015-03-12 06:50:30 +11:00
Nekokabu b8a93be2c7 Fixed initial value to 0xFF. 2015-03-11 01:58:02 +09:00
zilmar 099ac15bd5 Merge branch 'master' of https://github.com/project64/project64 2015-03-10 22:55:14 +11:00
zilmar 707c2efd73 Only allow utf8 bom language files to be loaded 2015-03-10 22:54:12 +11:00
MELERIX e9cd1b56da Minor Update for Installer.vcxproj 2015-03-10 05:17:02 -03:00
zilmar 080f7dfc17 Update version Number:
Glide64: 2.0.0.4
Project64: 2.2.0.2
RSP: 1.7.0.12
Nrage: 1.7.0.12
2015-03-10 18:36:58 +11:00
unknown cb9f9e2b56 keeping $0 overwrite prevention to just the CPU interpreter loop
Tried my best to make sure I didn't miss any op-codes.  (Ctrl+F searching for "!= 0" and "== 0" throught the file shows me that I didn't.)  If I did miss any op-codes, it's no bug, just remaining extra unnecessary checking for zero.
2015-03-08 20:20:05 -04:00
unknown 1772f1467c Prevent remaining possibilities of overwriting $zero in RSP.
In the RSP, MFC0, MFC2, and CFC2 were all susceptible to overwriting $zero.  Some of us have tried waiting for some games to use handcoded assembly in an attempt to purposely overwrite $zero in their microcode (to throw off emulators), but so far what few occurrences there have been of this have not included using those 3 opcodes.  Since it was decided to centralize the security of register $zero in the main R4300 CPU, it was decided to do so in the RSP as well.
2015-03-08 20:17:18 -04:00
unknown dc103ec59b keep $zero overwrite prevention to a single location in CPU loop
In both the 32- and the 64-bit interpreters, ADDI, LUI, LB, LW, LWU, LL, SLLV all check if the destination register specifier is 0, when none of the other interpreter ops do.  Actually, none of these 7 need to really check it either, since handling $zero overwrite is already managed in a single location in the main interpreter loop.
2015-03-08 19:29:41 -04:00
unknown 151ddf288d guess Glide64 in VS2013 linker needed fix in Release, not just Debug
warning MSB8030: The linker switch "Minimum Required Version" requires "SubSystem" to be set.  Without "SubSystem", the "Minimum Required Version" would not be passed to linker and could prevent to the output binary from running on older Operating Systems.
2015-03-07 17:28:46 -05:00
unknown b5604955d2 move OpenGL error flag state debugging from Glide64 to Glitch64
Do not call glGetError within Glide64::UpdateScreen to check for GL errors generated from Glitch64 functions, as Glitch64 does all the OpenGL handling (even if it is statically linked) and contains code that could be called from a different thread than gfx spec function `UpdateScreen`.
2015-03-07 17:26:02 -05:00
unknown f0d8810cc9 fix VS2013 linker warning about setting subsystem ver w/o a platform 2015-03-07 15:53:26 -05:00
unknown a80fe0674f should be able to debug OpenGL failures #ifndef _DEBUG now 2015-03-07 15:51:02 -05:00
Frank-74 30039150ec Fix Glide About/Config crash and memory leaks
No more memory leaks, and no more crashing.
2015-03-06 09:25:37 +00:00
zilmar 2ef36f5f80 Merge pull request #194 from death-droid/MempakFix
Correct behaviour of Mempak
2015-03-06 18:37:54 +11:00
zilmar bd3fd85b99 Language: More code cleanup, status messages, dialog box, etc 2015-03-06 18:27:31 +11:00
zilmar 0bd4b9deb9 A few more language tweaks 2015-03-05 22:33:57 +11:00
zilmar 34b5892e2c Merge branch 'master' of https://github.com/project64/project64 2015-03-05 17:10:40 +11:00
zilmar 37d24bf365 Some code clean up related to system tray messages 2015-03-05 17:09:58 +11:00
MELERIX 98f87e31d1 Minor Updates
- Installer.iss: Removed a non longer maintained input plugin.
- package_zip.bat: Output directory will be cleaned before start to copy
files, also removed copy line for two .chm files that are outdated.
2015-03-05 02:23:07 -03:00
zilmar e1ac837f32 Merge pull request #206 from cxd4/can_haz_GL_compat
Prevent calling NULL/uninitialized OpenGL extensions in Glitch64.
2015-03-05 13:39:17 +11:00
unknown 367ef048e0 DisplayError on call nonexistent GL commands only if pj64 debugger on 2015-03-04 20:40:31 -05:00
unknown d52605ec01 (MSVC) __stdcall convention from gl.h to fix call stack in Debug builds 2015-03-04 20:29:59 -05:00
zilmar a8abd5c75e Merge pull request #207 from MELERIX/patch
More Updates related with Translations.
2015-03-05 10:48:05 +11:00
MELERIX f9872ccdaf added a TODO for Multilanguage.h 2015-03-04 20:45:04 -03:00
zilmar b635983167 language: code clean up and fix some bugs 2015-03-05 09:44:25 +11:00
MELERIX e66ef07e0d More Updates related with Translations.
- Added few Desc where missing.
- Added a Missing String in English main lang file.
- Fixed some typos in the original english strings.
- Removed few Unused Strings.
- Sorted Strings by IDs.
2015-03-04 18:38:06 -03:00
unknown 7cd4e27e8a added some comments to show GL extensions/core version requirements 2015-03-04 15:12:45 -05:00
unknown cb9b7c1506 Implement fallback GL funcs so we don't call NULL func pointers. 2015-03-04 15:11:35 -05:00
Frank-74 23833f2b82 Glide Config/About dialog memory leak fix?
I'm still getting this one.  Haven't a clue about it.
>Order, Source File, Line Number, Mem Size
4332,Unknown, 0, 64
2015-03-04 10:51:00 +00:00
zilmar 71cc6def7b code cleanup and try o make language work better 2015-03-04 20:36:08 +11:00
zilmar a347b829d1 Merge pull request #191 from cxd4/so_i_herd_u_liek_vertex_arrays
a couple minor improvements to Glitch64 geometry, vector processing
2015-03-04 09:36:12 +11:00
zilmar 59c53e4f72 Merge branch 'master' of https://github.com/project64/project64 2015-03-04 06:01:46 +11:00
zilmar 31bed730a8 fix memory leak in settings class 2015-03-04 05:56:13 +11:00
Emmet Young 4f1c760236 We need to ensure mempak is closed when CN64System is closed, otherwise the handle will never be closed. 2015-03-03 22:49:02 +11:00
Emmet Young 2f4e21577a Core mempak, correct behaviour of mempaks, ReadFrom and WriteTo 2015-03-03 22:46:38 +11:00
Emmet Young 1b17b86ef2 Core mempak, change mempak behaviour to handle mempaks as separate files, rather than storing them in one singular file. 2015-03-03 22:31:37 +11:00
unknown a82947b5bd (Glitch64) vectorized depth bias triangle strip vertices 2015-03-02 21:26:11 -05:00
unknown c904115353 (Glitch64) Use previous commit to vectorize rectangle to matrix. 2015-03-02 20:51:47 -05:00
unknown bf5c842bb5 (Glitch64) drawing rectangles from vector form of vertices 2015-03-02 20:46:49 -05:00
zilmar f5b58e17a1 Merge pull request #186 from cxd4/so_i_herd_u_liek_OpenGL
Include more debugging in PJGlide64 for the OpenGL side of it.
2015-03-03 08:03:40 +11:00
unknown cd2f90f35f forgot to hit Ctrl+S to save latter half of the previous commit 2015-03-02 15:58:08 -05:00
unknown a015fdc089 fixed legacy function input names if not compiling on Windows 2015-03-02 15:48:35 -05:00
unknown fc16d51525 Propose to always check for GL errors before each vertical interrupt. 2015-03-02 15:25:00 -05:00
unknown c2d08d61dc new function for debugging OpenGL state machine faults in Glitch64 2015-03-02 15:23:26 -05:00
zilmar 4fed3ea0ec Fixed PJ_Glide New MemPak/Browse button crash by Frank-74 2015-03-03 06:51:38 +11:00
unknown 30ecec315e In Debug builds, force flushing of all GL commands each buffer swap. 2015-03-02 13:40:34 -05:00
unknown ab6cad081f implemented glFlush and glFinish 2015-03-02 13:17:00 -05:00
unknown e97389560b now able to parse ROM header's game title as ASCII data again 2015-03-01 22:57:14 -05:00
unknown 0ab6c15f05 Load null bytes as whitespace.
A few lines down in this file, there is a while() loop that removes all trailing spaces to replace them with null bytes, so "SUPER MARIO 64      " becomes "SUPER MARIO 64", whether or not we converted null bytes to spaces.  Also, the null byte is not documented to be a valid character for game developers to use in their ROM headers, even though for a few ROMs this is being done anyway.
2015-03-01 22:55:27 -05:00
unknown 16117e0e4c Load non-printable or non-ASCII characters as '?'. 2015-03-01 22:52:51 -05:00
MELERIX b3fe96e996 Cleanup & Updates for installer.
- Removed old Spanish langs from installer.
- Updated proper Project64 Stup version.
2015-03-01 21:37:55 -03:00
zilmar 40640a83e5 Merge pull request #171 from cxd4/wow_such_mempak_very_doge
newline formatting fix from Unix LF to DOS/Windows CRLF
2015-03-02 09:44:30 +11:00
zilmar 16ea73b660 Merge pull request #177 from LegendOfDragoon/master
Optimize a few instructions in RSP Recompiler
2015-03-02 07:44:57 +11:00
zilmar 61e0bc735e Merge pull request #160 from Frank-74/patch-1
Glide64 RomOpen, use UTF8 for RomName string
2015-03-02 06:50:27 +11:00
LegendOfDragoon 7f5aa6b521 Implement MMX version of VABS in RSP Recompiler 2015-03-01 03:39:14 -08:00
LegendOfDragoon b4dbc570a5 Small optimization to VSUB 2015-03-01 03:33:17 -08:00
LegendOfDragoon 9706484850 Small optimization to VADD 2015-03-01 03:31:57 -08:00
LegendOfDragoon 9bb8ca9b3c Small optimization to VMUDH 2015-03-01 03:25:41 -08:00
LegendOfDragoon 9e4f3d2e0f Small optimization to VMUDL 2015-03-01 03:18:17 -08:00
LegendOfDragoon fa4fcc9d93 Small optimization to VMULF 2015-03-01 03:07:16 -08:00
LegendOfDragoon 3b208a79cd Implement recompiler version of Cop2_CT 2015-03-01 02:59:10 -08:00
LegendOfDragoon bdce1a41ef Implement recompiler version of Cop2_CF 2015-03-01 01:52:46 -08:00
zilmar a366645fb4 Fix 7zip loading 2015-03-01 20:32:42 +11:00
unknown a7a22b13f0 newline formatting fix from Unix LF to DOS/Windows CRLF 2015-02-28 21:33:12 -05:00
zilmar 4854a03fda Merge branch 'master' of https://github.com/project64/project64 2015-02-28 16:15:53 +11:00
zilmar 2a583fd13c update 7zip code 2015-02-28 16:05:57 +11:00
Frank-74 b4535ccaf8 Glide64 RomOpen, use UTF8 for RomName string
Reverted 8e912cb , and changed wxString::FromAscii(name) to wxString::FromUTF8(name)
2015-02-27 20:09:28 +00:00
zilmar 8e912cb229 fix assert on converting internal name from ANSI to wchar 2015-02-27 10:09:30 +11:00
zilmar d0496655d2 Merge branch 'master' of https://github.com/project64/project64 2015-02-26 22:01:58 +11:00
zilmar 491377c2a4 add rdb option for selecting plugins game hack applies to 2015-02-26 21:57:51 +11:00
zilmar f5e36d8356 Merge pull request #146 from cxd4/yo_dawg_i_herd_u_liek_stdint
Redo pull request #92
2015-02-26 16:20:33 +11:00
no 51c18b755b included LB to apply to the last commit 2015-02-26 00:15:26 -05:00
no 76da145c2a declare and initialize all in one line 2015-02-26 00:02:38 -05:00
unknown c323eda4bb (RSP) exact size types for scalar unit emulation and signedness matching 2015-02-25 22:57:19 -05:00
unknown 39865b8025 type size cleanups to RSP memory emulation 2015-02-25 22:45:33 -05:00
unknown 637b022f40 Introduce portable, standard integer types to RSP CPU. 2015-02-25 22:21:43 -05:00
Frank-74 7c1ecdd1fc Update Installer.iss
Remove plugins and docs that are no longer included.
2015-02-26 00:08:17 +00:00
zilmar f33ad44d16 Merge pull request #141 from Frank-74/master
Default setup directory fix.
2015-02-25 21:04:54 +11:00
zilmar 304aebbdd4 add store constant for 0410000C in recompiler 2015-02-25 19:26:48 +11:00
Frank-74 73f09adaf0 Update Installer.iss
Without a unique AppId, 2.2 setup will use the previous 2.1 install directory as default, instead of Program Files\Project64 2.2.
2015-02-25 08:01:30 +00:00
zilmar bbd45d45ba DSRL32 should not sign extend 2015-02-25 17:41:54 +11:00
Emmet Young 2cd859640f We need to set the id for XInput controllers separate from the controller number where handed.
This is to stop XInput controller one from having to be used in first player.

Also remove the need for the bconnected variable, allows controllers that are connected at game start to be disconnected and reconnected for XInput.
2015-02-25 15:48:38 +11:00
zilmar 3fac386d55 Merge branch 'master' of https://github.com/project64/project64 2015-02-25 08:44:49 +11:00
zilmar aae61e8350 Clean up some of the games plugin settings 2015-02-25 08:44:06 +11:00
Emmet Young 7b52fe10b9 Change XInput to be loaded into memory at startup rather than every time InitiateXInputControllers is called. 2015-02-24 22:52:32 +11:00
zilmar 67deab4699 Merge pull request #122 from death-droid/NrageChanges
NRage GBCart, use actual address ranges rather than hacky method. No rea...
2015-02-24 05:26:27 +11:00
exhalatio ddb99227dd flxed Flash Status 2015-02-23 20:00:44 +09:00
zilmar bc75c012ce Merge pull request #133 from Frank-74/master
Update Installer.iss
2015-02-23 18:32:13 +11:00
zilmar 414811af79 Make sure SPECIAL_DIVU detect div by 0 correctly 2015-02-23 17:18:15 +11:00
Frank-74 7de8153c35 Update Installer.iss
Changed versions to 2.2.  Added PJ64_Nrage.dll to installer.
2015-02-23 05:42:51 +00:00
zilmar 43cdb3da5a nrage: 2.4.0.2 2015-02-23 04:06:53 +11:00
zilmar d35846041f Nrage: fix bug with removal of SPECS_VERSION where it would not update the controller spec info 2015-02-23 04:05:41 +11:00
zilmar 0519ad93c1 Nrage: fix a compiling warning 2015-02-23 04:04:47 +11:00
Emmet Young 6b1a88d3a4 Change to how NRage is dynamically linking XInput, rather than loading it every time functions such as GetXInputControllerKeys is called. Do it on initiate of controllers. Still not the best way to handle it.
Need to rethink the way NRage handles the different API's rather than just tacking it on the side
2015-02-22 21:11:20 +11:00
zilmar e51ec31e65 Update versions
Project64: 2.2.0.1
Glide64: 2.0.0.3
RSP: 1.7.0.11
Nrage: 2.4.0.1
RDB: 2.2.2
2015-02-22 19:43:15 +11:00
zilmar 194761fe66 Dynamic link XInputSetState 2015-02-22 16:50:16 +11:00
zilmar 4f4f4bc491 Merge pull request #114 from death-droid/NrageNoNeedFor1.0
No point in having an older version of the controller specs. for Nrage
2015-02-22 14:11:08 +11:00
Emmet Young 1340e6fea5 NRage GBCart, use actual address ranges rather than hacky method. No real benefit to the hacky method as the code isnt that much cleaner and creates edge cases. 2015-02-22 12:07:45 +11:00
Emmet Young 783f2d0668 Slight mistake in Version.h for DLL's, was setting VFT_APP instead of VFT_DLL 2015-02-22 00:45:00 +11:00
zilmar f7b1eb90d2 Merge branch 'master' of https://github.com/project64/project64 2015-02-21 21:22:45 +11:00
zilmar e05a7db66d Move reset out of message handling 2015-02-21 21:21:17 +11:00
Emmet Young 0f85dc146b No point in having an older version of the controller specs. 2015-02-21 16:33:30 +11:00
Emmet Young 3657bfb3ee Make sure NRage properly uses our Version.h 2015-02-21 14:00:59 +11:00
Nicholas 129932d86e Merge branch 'master' of https://github.com/project64/project64 2015-02-21 12:00:50 +11:00
Nicholas c07497e96a Dynamically link XInputGetState 2015-02-21 12:00:01 +11:00
MelchiorGaspar a5479b94fb 2015-02-20 16:40:41 -05:00
MelchiorGaspar 34d1725374 Update NRagePluginV2.rc
update version strings from 2.3c to v2.3.0.2 to reflect the plugins full version #.
2015-02-20 16:00:27 -05:00
MelchiorGaspar 71459995ee Update NRagePluginV2.rc
Update Copyright year from 2011 -> 2015
2015-02-20 15:53:29 -05:00
Nicholas 87de53b202 fix glide about box 2015-02-20 21:10:13 +11:00
zilmar 662e3efa27 Update project settings for visual studio 2013 2015-02-20 20:09:05 +11:00
zilmar 436888dd6b Update version numbers and create a package zip 2015-02-19 19:03:33 +11:00
Emmet Young 595cddae99 Strip out the CHMs and remove htmlhelp as it is no longer needed 2015-02-19 16:08:26 +11:00
zilmar 6be9e796ee Merge pull request #100 from LegendOfDragoon/master
Fix mistakes in IsNextInstructionMmx() and UseRspFlags()
2015-02-19 14:24:27 +11:00
LegendOfDragoon 8aa40e4119 Add some missing instructions to UseRspFlags()
This change should get rid of some message box popups when enabling Show
Compiler Errors.
2015-02-18 18:34:32 -08:00
LegendOfDragoon 36e5d8d353 Fix problem with IsNextInstructionMmx()
It's supposed to check the next instruction, which is PC, rather than
the current instruction which is CompilePC. This mistake is what caused
graphical errors in RE2.
2015-02-18 18:18:27 -08:00
zilmar 11c91e4f8d Merge pull request #99 from LegendOfDragoon/master
Fix RomClosed() issue for RSP #1.1 plugins
2015-02-19 08:52:04 +11:00
LegendOfDragoon 4d2611fadd Only WriteTrace in RomOpen if RomOpen != NULL 2015-02-18 13:24:36 -08:00
zilmar 8a6c2b2555 RSP.vcproj: Remove some of the unused files 2015-02-19 08:15:06 +11:00
LegendOfDragoon a070d5f38c Fix RomClosed() issue for RSP #1.1 plugins
RSP #1.1 does not have RomOpened() so m_RomOpen is never true. Since
m_RomOpen is never true, RomClosed() never gets called.
2015-02-18 13:12:42 -08:00
zilmar 9d607af14f Nrage: Update version and change location of log and config dir 2015-02-18 20:52:23 +11:00
zilmar 93404e32dc CPlugin::GameReset should call RomClose, not RomClosed 2015-02-18 17:09:09 +11:00
zilmar 5a288052b8 fix version string include 2015-02-18 07:47:41 +11:00
zilmar 9a89efd6d1 Merge branch 'master' of https://github.com/project64/project64 2015-02-18 07:42:02 +11:00