1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00
Commit Graph

50 Commits

Author SHA1 Message Date
Logan McNaughton
bdb0f7ca94 Emulate GL_DEPTH_CLAMP for GLES 2018-03-23 21:52:06 +07:00
Bobby Smiles
43a35787f0 Add European version of World Driver Championship. 2018-02-16 00:50:23 +01:00
Gillou68310
592c732ef3 Implement BOSS ZSort ucode (WDC, Stunt Racer) 2018-02-12 12:28:58 +01:00
Sergey Lipskiy
dcdf66dc0b Fix hardware lighting. It was broken when lighting method was rewritten in 6af6e2c17f
Hardware lighting is incompatible with new lighting method.
Model matrix may be different for different vartices, but only latest state of inverted light vectors are loaded to shader.
Thus I reverted calculations of data for hardware lighting.

Minor code cleanup.

Fixed: Zelda OOT, bad lighting with HW per pixel lighting #1652
2017-11-11 21:35:08 +07:00
Sergey Lipskiy
a47d9d5840 Save hardware per pixel lighting enabled flag in combiners keys storage.
Use it to set hardware lighting support in GBI.

Fixed New shader cache breaks with hardware per pixel lighting enabled #1650
2017-11-08 17:11:14 +07:00
Sergey Lipskiy
dcf8784dca Disable hardware lighting for ucodes with custom lighting methods.
Fixed #1542 Turok 2/Turok 3 Per Pixel Lighting Rainbow Weapons.
2017-10-31 17:42:48 +07:00
Sergey Lipskiy
2724d83323 Add L3D ucode for Blast Corps into list of specialMicrocodes,
since it can't be correctly detected by ucode string.

Fixed Blast Corps Stage select lines are wrong #1595
2017-09-27 18:53:59 +07:00
Sergey Lipskiy
597f7a25cf Revert "Remove "Animal Forest" ucodes from specialMicrocodes list. These ucodes successfully detected by ucode string."
This reverts commit 67379aa0fc.
2017-09-24 22:09:06 +07:00
Sergey Lipskiy
67379aa0fc Remove "Animal Forest" ucodes from specialMicrocodes list. These ucodes successfully detected by ucode string. 2017-09-21 23:18:29 +07:00
Sergey Lipskiy
21af2d8ea7 Rename F3DEX2MM ucode to F3DZEX2. Zelda games use modifications of this ucode.
Fixed Zelda: OoT missing fences #1575
2017-09-21 21:33:08 +07:00
Sergey Lipskiy
41aa06523e Move ucodes source files to uCodes folder. 2017-09-21 21:33:08 +07:00
Sergey Lipskiy
47d718f287 Add F3DFLX2 ucode for F-Zero. Implement F3DFLX2 lighting method. 2017-09-21 21:33:08 +07:00
Sergey Lipskiy
ef6f470df7 Revert "Fix implementation of 0xD5 (Special_1) command for F3DEX2 ucode."
This reverts commit 8985e38bc0.
2017-09-16 18:44:40 +07:00
Sergey Lipskiy
8985e38bc0 Fix implementation of 0xD5 (Special_1) command for F3DEX2 ucode.
olivieryuyu found that 0xD5 command, when presents in ucode, updates combined matrix.
I could not remeber, which game uses implementation of F3DEX2_Special_1 with gSPDlistCount call.
Probably such game does not exists and this code was added by mistake. I removed it.
2017-09-13 18:01:15 +07:00
Sergey Lipskiy
187f9ef390 Fix Zelda ucodes detection.
Zelda OOT ucode string:
"RSP Gfx ucode F3DZEX.NoN fifo 2.06H Yoshitaka Yasumoto 1998 Nintendo."
Zelda MM ucode string:
"RSP Gfx ucode F3DZEX.NoN fifo 2.08I Yoshitaka Yasumoto/Kawasedo 1999."
2017-09-13 18:01:07 +07:00
Sergey Lipskiy
21e7cae6aa Implement F3DEX2_Special_1 command for F3DEX 2.0XH ucodes.
Fixed #1562 Pokemon Snap/Kirby 64/Super Smash Bros. unimplemented command
2017-09-12 21:06:38 +07:00
Sergey Lipskiy
a9248c5a26 Port of Lemmy's implementation of SWRS ucode. 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
5691fcbc23 Implement F3DAM ucode.
Decoded by olivieryuyu

Fixed #97 hey you pikachu:hilarious texture bug
2017-07-17 23:08:26 +07:00
Sergey Lipskiy
dabbad0ba2 Implement Acclaim point lighting.
Fixed #147 Turok2: missing flashlight
Fixed #381 Armorines - Project S.W.A.R.M. missing lightning effect in HLE mode
2017-06-30 21:56:03 +07:00
Sergey Lipskiy
ee60040a78 Rewrite debug logging 2017-06-25 15:02:36 +07:00
Sergey Lipskiy
3e4a499a9b Add support for Super3D ucode.
Details: https://github.com/gonetz/GLideN64/issues/6#issuecomment-310126139

Fixed #6 wrong viewport in some games
2017-06-22 13:19:35 +07:00
Sergey Lipskiy
4722a75b24 Implement T3DUX ucode.
Ucode decoded by olivieryuyu.

Details:
Toukon road 1 & 2, last legion UX: HLE implementation (extended turbo3D)? #624
https://github.com/gonetz/GLideN64/wiki/T3DUX-ucode
2017-06-16 13:23:00 +07:00
Logan McNaughton
cc5f11dec2 Add missing ucode for Animal Forest
Fixes https://github.com/gonetz/GLideN64/issues/1326
2017-03-28 15:10:43 -06:00
Sergey Lipskiy
cebf20bf4a Merge remote-tracking branch 'remotes/origin/master' into refactor_graphics
Conflicts:
	projects/msvc12/GLideN64.vcxproj
	projects/msvc12/GLideN64.vcxproj.filters
	src/BufferCopy/ColorBufferToRDRAM.cpp
	src/CMakeLists.txt
	src/GLideNUI/ConfigDialog.cpp
	src/GLideNUI/configDialog.ui
	src/mupen64plus-video-gliden64.mk
2017-02-21 12:51:00 +07:00
Francisco Zurita
c53dc0a6c0 Remove macros checking for GL version and use runtime checks instead. 2017-02-09 20:38:26 +07:00
Sergey Lipskiy
a8ecc0aa70 Implement F3DTEX/A ucode. Decoded by olivieryuyu.
Fixed 64 de hakken HLE not working. #268
2017-01-31 14:44:54 +07:00
Sergey Lipskiy
80ed169e24 Remove use of OpenGL.h 2017-01-22 20:43:05 +07:00
Logan McNaughton
3ad872cff4 Add custom ucode for Animal Forest 2017-01-12 10:47:42 +07:00
Sergey Lipskiy
e8c47c0316 Use F3D_TRIX instead of F3D_Tri4.
Fixed #1307
2016-12-22 18:39:40 +07:00
Sergey Lipskiy
52b95f6dd5 Remove ucode F3DSWE.
Rename ucode F3DWRUS to F3DBETA and use it for both Wave Race (U) and
Star Wars Shadows of Empire
2016-12-21 22:14:36 +07:00
Sergey Lipskiy
ae67daca9f Remove branchLessZ flag from MicrocodeInfo. Remove F3DEX2MM from specialMicrocodes list. 2016-12-20 17:50:03 +07:00
Gillou68310
9e8b32fc89 Implement ucode for Majora's Mask 2016-12-20 17:40:33 +07:00
Gillou68310
efd9b0fa5f Implement ucode for Goldeneye 007 2016-12-15 18:17:13 +07:00
Sergey Lipskiy
f2ee42b64e Implement ucode for Kuiki Uhabi Suigo.
Fixed Kuiki Uhabi Suigo: missing graphics in HLE #665
2016-12-09 11:40:59 +07:00
Sergey Lipskiy
a140d5ee7b Fix potential ABR in GBIInfo::loadMicrocode 2016-11-21 16:16:54 +07:00
Logan McNaughton
617517737d Specify a specific CRC function for microcodes 2016-11-03 17:37:40 +07:00
Sergey Lipskiy
48c8c25226 Remove CRC_OPT since it does not provide good enough checksum. 2016-10-18 21:00:12 +07:00
Logan McNaughton
0f9107ad2e Use strict CRC calculation for CRC_OPT and GBI 2016-10-11 17:19:01 +07:00
Sergey Lipskiy
7ab249dd64 Correct load of F3DLP.Rej and F3DLX.Rej ucodes.
Fixed Mortal Kombat 4 Missing 2D elements #1155
2016-10-05 16:53:02 +07:00
Sergey Lipskiy
9d2d8f481e Code cleanup 2016-09-11 18:08:09 +07:00
Sergey Lipskiy
86fbea9edc Code refactor: replace NULL by nullptr. 2016-06-10 12:40:18 +06:00
Sergey Lipskiy
7875b6057f Detect microcodes, where texture perspective correction is always enabled.
Fixed Quake 64 HLE incorrect particles. #637
2016-03-23 22:15:19 +06:00
purplemarshmallow
c1ea88ad4e detect Vivid Dolls ucode 2016-02-05 18:21:01 +01:00
Lioncash
c98dd06b95 GBI: Move command flushing to a private function
Gets rid of redundancy
2015-10-10 13:40:49 -04:00
Lioncash
b3d0fc9113 GBI: Replace _isDigit with isdigit 2015-10-10 13:34:47 -04:00
Lioncash
b5213567f4 GBI: Move initial microcode search to its own function 2015-10-10 13:32:17 -04:00
purplemarshmallow
6e6fec1d94 Put Goldeneye microcode to the list of special microcodes
and disable near-plane clipping for it.

.Non = true
2015-08-15 19:51:54 +06:00
Sergey Lipskiy
27149064e0 Correct load to TMEM functions: wrap tmem address in case of overflow.
Necessary for issue #571
2015-06-17 16:02:06 +06:00
Sergey Lipskiy
bd5740ea3d Disable GL_CLIP_DISTANCE for GLES 2015-05-13 10:22:03 +06:00
Sergey Lipskiy
52d68d1389 Move all sources to src folder. 2015-05-13 10:21:32 +06:00