设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 9807|回复: 28
打印 上一主题 下一主题

[已经解决] RMVX在Vista和Win7上启动比较慢有什么解决办法吗?

[复制链接]

Lv1.梦旅人

梦石
0
星屑
61
在线时间
24 小时
注册时间
2008-8-5
帖子
1924
1
发表于 2010-8-8 11:02:47 | 显示全部楼层
楼主说一下你的计算机详细配置,大伙帮你分析下看是不是硬件问题
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
61
在线时间
24 小时
注册时间
2008-8-5
帖子
1924
2
发表于 2010-8-9 04:01:00 | 显示全部楼层
XP、Vista、Win7 +数种配置机器都用过的表示没这个问题,各位不妨说说自己的环境
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
61
在线时间
24 小时
注册时间
2008-8-5
帖子
1924
3
发表于 2010-8-10 05:46:57 | 显示全部楼层
敢情是和硬件无关,哥儿几个的处理器就还真就和我的不是一个年代的……
可以想象等 10 秒是件很恼火的事,完全失去了解释性语言短调试周期的优势

XP的5s却是花在了 Scene_Title 的 $game_system.bgm_play($data_system.title_bgm)上。这点令我很疑惑= =
小幽的马甲 发表于 2010-8-8 11:19

前后各放置一个 p,中间等待了 5 秒?

点评

把这句注掉就能即时打开了= =  发表于 2010-8-10 10:02
是,前面的p一打开就能出来,等了差不多5秒才出来后面那个p= =  发表于 2010-8-10 09:42
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
61
在线时间
24 小时
注册时间
2008-8-5
帖子
1924
4
发表于 2010-8-10 23:20:32 | 显示全部楼层
是,前面的p一打开就能出来,等了差不多5秒才出来后面那个p= =小幽的马甲 发表于 2010-8-9 12:27

再进到 bgm_play 里面呢,具体是哪个内置的方法在作祟?
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
61
在线时间
24 小时
注册时间
2008-8-5
帖子
1924
5
发表于 2010-8-18 09:47:36 | 显示全部楼层
本帖最后由 紫苏 于 2010-8-18 10:09 编辑

最近换了新计算机,很神奇地也有了这个问题,XP 是在 Audio.bgm_play 的时候卡 6 秒左右,VX 是启动就卡 10 秒
估摸着能和微软从 Vista 起废除了 DirectSound 有关,坐等高人解释:
Windows Vista features a completely re-written audio stack based on the Universal Audio Architecture. Because of the architectural changes in the redesigned audio stack, a direct path from DirectSound to the audio drivers does not exist[1]. DirectSound and other APIs such as MME are emulated as WASAPI Session instances. DirectSound runs in emulation mode on the Microsoft software mixer. The emulator does not have hardware abstraction, so there is no hardware DirectSound acceleration, meaning hardware and software relying on DirectSound acceleration may have degraded performance. It's likely a supposed performance hit might not be noticeable, depending on the application and actual system hardware. In the case of hardware 3D audio effects played using DirectSound3D, they will not be playable.
Third-party APIs such as ASIO and OpenAL are not affected by these architectural changes in Windows Vista. A solution for applications that wish to take advantage of hardware accelerated high-quality 3D positional audio is to use OpenAL. However, this only works if the manufacturer provides an OpenAL driver for their hardware.[2]
As of 2007, a solution to re-enable hardware acceleration of DirectSound3D and Audio Effects, such as EAX, called Creative ALchemy was launched[3]. Creative ALchemy intercepts calls to DirectSound3D and translates them into OpenAL calls to be processed by supported hardware such as Sound Blaster X-Fi and Sound Blaster Audigy. For software-based Creative audio solutions, ALchemy utilizes its built-in 3D audio engine without using OpenAL at all.
Realtek, a manufacturer of integrated HD audio codecs, has a product similar to ALchemy called 3D SoundBack. C-Media, a manufacturer of PC sound card chipsets, also has a solution called Xear3D EX, although it works instead by intercepting DirectSound3D calls transparently in the background without any user intervention.


奇怪的是我之前也用过 Vista 和 Win7 系统,却没有这个问题
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
61
在线时间
24 小时
注册时间
2008-8-5
帖子
1924
6
发表于 2010-8-20 14:21:05 | 显示全部楼层
确实和 DirectSound 有关,我的现象是在 VX 里,用程序自带的音乐测试,所有 BGM 和 ME 一律卡 4-6 秒;在 XP 中音乐测试不会卡,但实际执行 Audio.bgm_play 等函数的时候却会卡 4-6 秒
回复 支持 反对

使用道具 举报

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

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-5-19 00:24

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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