1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-06-30 08:24:05 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
Amaro Martínez
d96c679436
Merge branch 'master' of https://github.com/gonetz/GLideN64 2022-03-14 00:45:28 -05:00
Sergey Lipskiy
1a711257ed Log unknown gbi command. 2022-02-20 13:48:14 +07:00
Blake Warner
0255e10db6 native port 2022-01-29 17:22:09 -05:00
Sergey Lipskiy
78c89fbbfd Fix some of PVS-Studio warnings. 2020-11-14 20:00:19 +07:00
Sergey Lipskiy
499ba7dc1a Set inverted Y to false for Vivid Dolls microcode.
Fixed #2238 vivid dolls: upside down gfx (HLE)
2020-05-12 18:03:41 +07:00
Sergey Lipskiy
2169384245 Set default clip ratio to
- 2 for F3DEX2 and .Rej,
- 1 for F3DEX and other fast3d ucodes, except .Rej
2020-04-06 20:01:54 +07:00
Sergey Lipskiy
0b8f10f9d6 Set gSP.clipRatio default value to 1 for all ucodes but Rej ones, where it is 2. 2020-04-06 20:01:53 +07:00
Sergey Lipskiy
225f1414dc Set NoN (no near clipping) flag for all .Rej ucodes.
Fixed wrongly clipped polygons in RE2, Ada's locket cutscene, #2152
2020-03-22 14:00:00 +07:00
Francisco Zurita
c06c593eba Improve logging information 2019-04-23 11:15:41 +07:00
Sergey Lipskiy
24bfb8274f Fix ucode selection for Wayne Gretzky's 3D Hockey.
Add custom settings to avoid flickering in this game with Project64.

Fixed Wayne Gretzky's 3D Hockey: missing gfx and flickers (regression) #1966
2019-02-08 22:04:47 +07:00
Sergey Lipskiy
be1a1fc413 Fixes for S2DEX 1.5 2019-02-02 18:34:11 +07:00
Sergey Lipskiy
362c99c256 Fix specialMicrocodes entry for Pachinko nichi 365
Fixed https://github.com/gonetz/GLideN64/issues/1950
2018-12-09 13:07:58 +07:00
Sergey Lipskiy
bb8c13ccce Implement rejection processing, see 25.3.2 of programming manual
Fixed Mario Party: Coin Block Blitz ground flicker / darkening #1912
2018-12-06 17:31:50 +07:00
Sergey Lipskiy
087ac76536 Correct commit e4b6224 for culling in Mortal Kombat 4.
Disable cullboth for F3DLX.Rej version 1 since this ucode does not support cullboth.
2018-11-11 16:06:23 +07:00
Sergey Lipskiy
e91a9ddc31 Remove ucode for Mischief Makers (E) from specialMicrocodes list.
It was added by mistake.

Fixed Duke Nukem 64: HLE unplayable #1915
2018-10-02 09:53:17 +07:00
Sergey Lipskiy
8fd5f910ab Add support for S2DEX v1.03 2018-09-30 18:03:45 +07:00
Sergey Lipskiy
40455845ba Dump microcode string to log file. 2018-09-02 16:31:10 +07:00
Sergey Lipskiy
a28b9913f7 Dump microcode info to log file. 2018-08-31 13:40:01 +07:00
Sergey Lipskiy
73189eb958 Implement olivieryuyu proposal to add Early Fast3D games to custom micricodes, #1303
Code refactoring.
2018-08-31 12:53:48 +07:00
Sergey Lipskiy
7036aa0cc6 Enable "no near clipping" mode for F3DFLX2 ucode.
Fixed Near Plane Clipping issue with GLideN64 #1855
2018-08-31 00:08:15 +07:00
Sergey Lipskiy
ae43c0cd39 Enable "no near clipping" mode for "RSP SW Version: 2.0G" ucode.
Fixed AeroFighters Assault GFX issue #289
2018-08-30 14:04:27 +07:00
Sergey Lipskiy
b0a575313a Implement Factor5 ucodes for Indiana Jones/Battle of Naboo, task #1259 2018-06-16 18:41:50 +07:00
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