Cookie Clicker

Cookie Clicker

69 ratings
コンソールを開く方法 / How to open the console
By hitsub[JP]
   
Award
Favorite
Favorited
Unfavorite
手順 / 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 Comments
PikachuShinigamiShiro 12 Mar, 2023 @ 4:37pm 
ward
borgx 27 Sep, 2021 @ 2:18am 
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]  [author] 14 Sep, 2021 @ 7:04pm 
I suggest that don't use it if don't know what the console can do well.
gAck 14 Sep, 2021 @ 12:10pm 
Fuck i got all the steam achievments :(
Marelo 13 Sep, 2021 @ 7:03pm 
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 13 Sep, 2021 @ 1:35pm 
Can achievements be unlocked again after they are locked?
hitsub[JP]  [author] 13 Sep, 2021 @ 5:50am 
Yes, but it blocks Steam achievements, as discussed in the comments.
Drakinite 13 Sep, 2021 @ 4:38am 
Or you could just change DEV=0 to DEV=1 on the top.
hitsub[JP]  [author] 12 Sep, 2021 @ 7:07pm 
Read this guide and follow steps.
Platinum 12 Sep, 2021 @ 9:12am 
how do i display the console?