Cookie Clicker

Cookie Clicker

69 人が評価
コンソールを開く方法 / How to open the console
作者: hitsub[JP]
   
アワード
お気に入り
お気に入り
お気に入りから削除
手順 / Steps
  1. ゲームのインストールされている場所を開きます。
    Open the location where the game is installed.

  2. 以下のファイルを開きます。
    Open the following file.
    Cookie Clicker\resources\app\start.js

  3. 一番下まで移動し、以下の記述を見つけます。
    Move to the bottom and find the following code.
    win.loadFile(path.join(__dirname,'/splash.html')); setTimeout(()=>{ win.maximize(); win.loadFile(path.join(__dirname,'/src/index.html')); if (DEV) win.webContents.openDevTools(); },1000*splashDur);

  4. 「if (DEV) 」のみ削除します。
    Delete "if (DEV) ".

  5. スクショのようになっていることを確認してください。
    Check that it is the same as the screenshot.

  6. ゲームを起動し、コンソールが表示されることを確認してください。
    Launch the game and make sure the console is displayed.

注意事項 / Notes
  • ゲームを終了する際は、コンソールを閉じないとウィンドウの×ボタンが反応しません。
    When you exit the game, the close button on the window will not respond until you close the console.

  • 元に戻したい場合は、削除した「if (DEV) 」を同じところに追加するだけです。
    If you want to put it back, just add the removed "if (DEV)" in the same place.
16 件のコメント
PikachuShinigamiShiro 2023年3月12日 16時37分 
ward
borgx 2021年9月27日 2時18分 
why not just comment the dev check nine lines up? with the menu bar you can open the dev tools at will.
//if (!DEV) win.setMenu(null);
hitsub[JP]  [作成者] 2021年9月14日 19時04分 
I suggest that don't use it if don't know what the console can do well.
gAck 2021年9月14日 12時10分 
Fuck i got all the steam achievments :(
Marelo 2021年9月13日 19時03分 
To be honest, looking at the game code, only the BETA flag and using mods without the AllowSteamAchievs will block steam achievements.
Fideos con Duko 2021年9月13日 13時35分 
Can achievements be unlocked again after they are locked?
hitsub[JP]  [作成者] 2021年9月13日 5時50分 
Yes, but it blocks Steam achievements, as discussed in the comments.
Drakinite 2021年9月13日 4時38分 
Or you could just change DEV=0 to DEV=1 on the top.
hitsub[JP]  [作成者] 2021年9月12日 19時07分 
Read this guide and follow steps.
Platinum 2021年9月12日 9時12分 
how do i display the console?