琵琶行论坛

 找回密码
 注册
每日签到论坛FTP使用教学领取红包(开放!)论坛FTP搜索引擎
查看: 60496|回复: 195

SEGA MODEL3 模拟器 Supermodel SVN r787 (2020/01/05)

[复制链接]

签到天数: 3021 天

[LV.Master]伴坛终老

发表于 2016-12-7 22:01:22 | 显示全部楼层 |阅读模式
本帖最后由 kof2112 于 2020-1-5 11:41 编辑



使用 Microsoft Visual Studio 2017 编译

http://sourceforge.net/projects/model3emu/

r770
Fixed MPEG music looping glitch.

r771
Restore Sega Rally 2 music in some practice stages

r772
- Disabled Alt-O (dump timings) and Alt-U (dump input state) when
SUPERMODEL_DEBUGGER not defined
- Option '-print-inputs' works again if no ROM set specified

r773
Previous mpeg audio code worked for me in debug mode, but the release build had some serious corruption issues when being built in visual studio. Replaced the old spaghetti code with a more modern implementation.

r774
Update makefiles

r775
Fix possible negative pointer arithmetic which was causing the music to wrap around.

r776
A culling node must follow immediately after a viewport.

r777
skip invalid culling nodes

r778
Ocean hunter in the middle of the game is passing a few matrices with FLT_MAX inside them, which blows apart our near/far calculation. The hardware must have some method to sanitize the near/far for instance if you render something extremely close to the origin you will also blow apart any near/far calc.

r779
Thanks to our anonymous contributor who managed to patch a model 3 game and run it on real h/w, we were able to obtain some timing values we had been long been missing for correct emulation. The h/w polls something called the ping_pong bit at start-up to sync the GPU with the CPU. Unfortunately we didn't have the correct values and just manually used some per game hacks to get games to run. This mostly worked, but some games were writing more or less frames than they should have been for a given time period. When the ping_pong bit flips at 66% of the frame time, games were writing data for a new frame, which meant writes were often straddling 2 separate frames. We aren't 100% sure if IRQ2 or the ping_pong bit is vblank.

r780
Optimise Games.xml (Krom)

r781
Stretch the time the ping_pong bit flips a bit to bump writes into correct frame. Otherwise they end up getting written at like 99.8% of the frame and overlapping with the next.

r782
Really should cull against 5 frustum planes.

r783
To calculate the mipmap value the opengl needs to calculate the difference in the texture coordinates between adjacent pixels. If there are no adjacent pixels the hw may need to spawn invisible fragments outside of the visible polygon. Our algorithm was culling these out so the mipamp calculation failed for edge pixels. Anyway this fixes quad rendering looking broken with the latest nvidia drivers.

r784
Fix the sky in harley in first person mode where pixels in the sky are culled when they shouldn't be with the quad renderer. Basically we were running out of precision in a rare corner case. Doing the maths with double precision and casting back to float was enough to fix the issue.

r785
Only need to clip against 4 planes for poly culling

r786
Sutherland-Hodgeman clipping only works for planar primitives. Scud is rendering non planar quads and this breaks our algorithm a little when using the quad renderer. Stretching the near plane a few % is enough to fix it.

r787
tweak value so the map indicator still works at the start of spikeout



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PS:Update information

http://www.supermodel3.com/Forum/viewtopic.php?f=3&t=1206
This is the modded DSB that has a fixed music for Sega Rally 2 that fixes the scratches after the loop along with
custom music feature. Special thanks to Spindizzi for the fix and Shekel and Bart for making the custom music feature
possible in Supermodel!


- Edited DSB by Jitterdoomer

Supermodel_x86_0.3a-WIP_SVN787.zip

1.58 MB, 下载次数: 2765

Supermodel_x64_0.3a-WIP_SVN787.zip

1.72 MB, 下载次数: 6382

Supermodel Bat.7z

1.54 KB, 下载次数: 464

评分

5

查看全部评分

该用户从未签到

发表于 2016-12-26 08:44:22 | 显示全部楼层
diurasho 发表于 2016-12-25 15:45
http://emuloader.mameworld.info/files/el829-bin.rar
似乎按键还得在supermodel的.ini文件里设置,其 ...

先谢过了


回复 支持 1 反对 1

使用道具 举报

该用户从未签到

发表于 2016-12-25 15:45:13 | 显示全部楼层
ydy135 发表于 2016-12-24 13:16
麻烦提供一下,多谢

http://emuloader.mameworld.info/files/el829-bin.rar
似乎按键还得在supermodel的.ini文件里设置,其他则可以在emuloader中设置。
回复 支持 0 反对 1

使用道具 举报

该用户从未签到

发表于 2016-12-24 13:16:29 | 显示全部楼层
diurasho 发表于 2016-12-21 16:57
supermodel越来越完善了。经某网友贴子提醒,开始使用EmuLoader作前端,比起那古老的supermodel UI好用多了 ...

麻烦提供一下,多谢
回复 支持 1 反对 0

使用道具 举报

该用户从未签到

发表于 2016-12-24 13:15:55 | 显示全部楼层
R760 发表于 2016-12-11 11:58
多谢分享,期待接下来的更新版本能彻底解决Spike Out的贴图错误问题

你怎么敢抢我的台词,啊啊啊啊
回复 支持 1 反对 0

使用道具 举报

该用户从未签到

发表于 2016-12-21 16:57:17 | 显示全部楼层
supermodel越来越完善了。经某网友贴子提醒,开始使用EmuLoader作前端,比起那古老的supermodel UI好用多了。可以选择new3d引擎或老引擎,设置各种方便。
多谢楼主的分享。
回复 支持 1 反对 0

使用道具 举报

该用户从未签到

发表于 2016-12-17 01:00:34 | 显示全部楼层
r514
For scroll fog set the viewport to the entire area, allows fog to work in widescreen mode

Not in all games.
回复 支持 1 反对 0

使用道具 举报

该用户从未签到

发表于 2016-12-16 06:54:29 | 显示全部楼层

感谢楼主分享
回复 支持 1 反对 0

使用道具 举报

该用户从未签到

发表于 2016-12-12 15:34:58 | 显示全部楼层
都修正啥了?洛杉矶机枪手完美了么?
回复 支持 1 反对 0

使用道具 举报

该用户从未签到

发表于 2016-12-12 07:54:50 | 显示全部楼层
碰到大神,我作为专业小白都不知道说什么了
回复 支持 1 反对 0

使用道具 举报

签到天数: 546 天

[LV.9]以坛为家II

发表于 2016-12-11 11:58:24 | 显示全部楼层
多谢分享,期待接下来的更新版本能彻底解决Spike Out的贴图错误问题
回复 支持 1 反对 0

使用道具 举报

该用户从未签到

发表于 2016-12-9 19:21:31 | 显示全部楼层
沙发,感谢楼主分享
回复 支持 1 反对 0

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|琵琶行论坛 ( 赣ICP备12000882号 )

GMT+8, 2020-2-25 17:09 , Processed in 0.025428 second(s), 13 queries , Gzip On, MemCached On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表