Cookie Clicker

Cookie Clicker

70 个评价
コンソールを開く方法 / 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 日 下午 4: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 日 下午 7: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 日 下午 7:03 
To be honest, looking at the game code, only the BETA flag and using mods without the AllowSteamAchievs will block steam achievements.
Tussitonkas 2021 年 9 月 13 日 下午 1: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 日 下午 7:07 
Read this guide and follow steps.
Platinum 2021 年 9 月 12 日 上午 9:12 
how do i display the console?