Troubleshooting/ja

From Minetest Wiki
< Troubleshooting
Revision as of 16:17, 11 November 2021 by Nogajun (talk | contribs) (update translation)
Jump to navigation Jump to search
Languages 言語: English • français • italiano • 日本語 • Bahasa Melayu
Mbox style.png これは不完全な翻訳です。
お時間があるときに翻訳を完了させてください。

このページでは、クラッシュする場合やエラーメッセージ(引用符で囲んでいます)出るなど一般的な技術的問題と、考えられる解決方法、その解説を掲載しています。技術的ではない一般的な質問についてはFAQをご覧ください。

バグを報告するための方法などは、Reporting bugsをご覧ください。

グラフィックとサウンド

画面が暗すぎます

画面が暗すぎると感じた場合、ディスプレイのガンマ値をより快適な値に調整できます。デフォルトでは、1.0から3.0までの間のうち2.2に設定されていますが、数字が大きくなるほど明るくなります。

ディスプレイのガンマ値を変更するには、minetest.confを開いて以下の行を追加します。

 display_gamma = 3.0

それでも画面が暗い場合、ディスプレイの設定を変更する以外に簡単に解決する方法はありません。ほかに解決策がなく、それでも明るさを上げたい場合は、テキストファイルを編集する必要があります。これは、シェーダーが有効な場合のみ機能します。テキストエディタで(Minetestディレクトリ)/client/shaders/nodes_shader/opengl_fragment.glslを開いて以下の行を検索します。

vec4 base = texture2D(baseTexture, uv).rgba;

そして次のように変更します

vec4 base = texture2D(baseTexture, uv).rgba;
float factor = 1.2;
base.rgb *= factor;

値は1.2の代わりにほかの値を試せます。値は高いほど明るくなりますが、整数値を使用する場合でも一部ドライバーではfloat factor = 2;のようにすると受け付けないものもあるので、float factor = 2.0;のように小数点以下の値も追加してください。

ゲーム内のすべての物の色が変な色(とくに赤色)になって虹のようになります。そして部分的に物が透けます

シェーダーを無効にしてください。お使いのグラフィックカードではサポートされていません。

Windowsで音が出ません

Windowsでサウンドを再生するには、OpenALをダウンロードする必要があります。インストールに必要なファイルはoalinst.exeです。ダウンロードしたら実行してインストールします。FirefoxやChromeをお使いの方は、ファイルを保存するかダウンロードを続けるかを選択の必要があります。Internet Explorerをお使いの方は実行ボタンを押す必要があります。ほかのブラウザでは同じ場合や違う場合があります。お使いのブラウザで失敗した場合は別のブラウザをお試しください。

テクスチャはボケましたが、ピクセルは表示させたいです!

テクスチャリングのバイリニア/トライリニアフィルタを無効にします。

エラーメッセージが表示されますがクラッシュはしません

"unable to open database file" (データベースファイルを開くことができません)

以下のようなエラーメッセージが表示された場合は、Minetestのインストール先をASCII文字のみのパスに移動させてください。例: C:\Games\Minetest\のような場所に移動させます

AsyncErr: ServerThread::run Lua: Runtime error from mod '*builtin*' in callback on_prejoinplayer():
Failed to open SQLite3 database file C:\Users\ПЛАТЫ\Downloads\minetest-unzip\bin\..\worlds\newname
\auth.sqlite: unable to open database file

“Unsupported texture format” (サポートしないテクスチャ形式です)

心配ありません。これは正常です。Minetestは動作します。

“Generating dummy image for […].png” ([…].pngのダミー画像を生成しています)

This means that a faulty mod or texture pack does not supply an image for an object. Minetest will still work normally, but the specified object will use a replacement image (the “dummy image”); it will be a random color. This should normally be reported to the author of the mod or texture pack.

"ERROR: No world name given or no game selected" in create world (ワールド生成時に「エラー:ワールド名が指定されていないかゲームが選択されていません」と表示される)

You need to select a game name in the list box in the create world dialog.
Please before the click of the "New" (to create new world), select the icon at the bottom ! (you need choose)
- Logo minetest ( Minetest Worlds )
- Cartesian coordinates ( Development Test - Worlds )
There may be more icons available if you installed more games.

クラッシュします

ここの二重引用符で囲まれたすべてのサブセクションのタイトルは、そのエラーメッセージを表示してMinetestがクラッシュしたことを意味しています。

OS全般

“Minetest can not load […]/init.lua” (Minetestは[…]/init.luaをロードできません)

List of possible causes and the solution for each:

Mod directory is named incorrectly

Mod directories sometimes have an unwanted name termination. GitHub usually appends "-master" to the directory name, i.e. "modname-master". Also, mod makers may sometimes add version numbers to the name, such as "modname-v2.0" To solve this problem, simply remove the unwanted termination ("-master", "-v2.0") from the directory name and try again.

If you're unsure of the correct name: check the mod's topic title on the forum and copy the mod name which is found inside the square brackets [ ].

Invalid installation

Ensure that you installed the mod correctly (empty mod directory?), read again Installing Mods.

Still does not work

If nothing helps, it might be a problem with the mod itself. Report the error to the mod author on the mod's forum page or, if available, the mod's GitHub page. Copy and paste the section in debug.txt that starts with "=====ERROR FROM LUA=====", or any relevant line about this problem.

”attempt to index field '<any value>' (a nil value)”

These error may look like one these:

init.lua:2: attempt to index field 'settings' (a nil value)
init.lua:18: attempt to call field 'register_lbm' (a nil value)
tools.lua:61: attempt to call global 'nodeupdate' (a nil value)

The first two errors are caused by an outdated Minetest version, latter by an old mod which tries to call API functions which were removed. In the first case, you can update Minetest or try an in-development build to see whether it works. For the second case, check for mod updates or tell the author about your problem.

“Assertion '0' failed”

This is usually a mod error. Report it to the mod programmer or mod programmers. To find out the name of the mod, look for any error text directly above that gives a path to a mod's init.lua

 ERROR: An unhandled exception occurred: LuaError: error: mods/minetest/<modname>/init.lua:69: [...]

“ServerEnvironment::loadMeta(): EnvArgsEnd not found”

This means that env_meta.txt in your world folder got corrupted. Since it doesn't contain any important information you can simply delete the file and let Minetest re-create it.

Windows

“MSCP2010.dll is not found” (or similar)

This is because Microsoft C++ Redistribute Package 2010 is not installed. [1]

Minetest doesn’t even start

If it stops working before the main window even opens, and there are no error messages in debug.txt, then try restarting your computer. (sometimes it crashes with a 0x00005 error, which is caused by Windows updates.) You can try looking in debug.txt for an error message or searching for a similar article in the forums.

“what()=Access Violation”

This is caused by the Direct3D driver. To fix, go to the minetest.conf file and find:

 video_driver = direct3d9

change it so that it says:

 video_driver = opengl

操作

トラックパッドを使っていますが移動と視点変更が同時にできません

This is a problem with the trackpad configuration in your operating system, not with Minetest - some operating systems can be configured to disable keyboard input while the trackpad is being used.

To fix under the GNOME desktop environment, install and open "gnome-tweak-tool" and open the "Keyboard & Mouse" section. Then, flip the "Disable While Typing" switch.

To fix under other platforms please search the Web for instructions on changing this setting.