您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds buttons to extract the private key and launch Dead Frontier from a .bat - for windows or .sh file - for linux os
当前为
This script is designed for Dead Frontier 3D to help run the game without needing it to be installed, or to run it on a Linux operating system. It can display your current authentication token for logging into Inner City or create a downloadable script that launches the game using your current account authentication token from a specified game path. The script relies on the browser's user agent; if it detects that the operating system is Windows, it will download a batch file tailored for Windows. Otherwise, it assumes the user is on Linux. This script was tested to be working both on windows and on linux.
This script allows you to run the game without having it installed on your system. For example, you can have the game on a USB drive and launch it quickly by downloading the batch file and running it! There's no need to copy the authentication key and place it anywhere! Additionally, if you're using a public computer, the batch file will delete itself by default, so you won't have to worry about leaving your authentication token saved outside of your USB drive.
On Linux, pressing "LAUNCH STANDALONE CLIENT" does not work. If you open the F12 console, you will see a warning: Prevented navigation to "deadfrontier://" due to unknown protocol. The real solution would be to add a custom URL scheme (deadfrontier://) to Linux so it recognizes Dead Frontier as an installed application. On Windows, this is done automatically by the Dead Frontier installer.
The easiest solution is to launch the game with your authentication token instead. This script does exactly that. It creates a bash script (.sh) with the path to the Wine `deadfrontier.exe` file. It automatically includes your authentication token in the script, allowing the game to launch and log into your account without any issues.
After installing the script control buttons will appear at the bottom of https://fairview.deadfrontier.com/onlinezombiemmo/index.php?page=21 page
If you prefer the launcher shortcut not to delete itself automatically and find it annoying to uncheck the checkbox every time, you can change:
const isCheckboxChecked = true;
to
const isCheckboxChecked = false;
This change sets the checkbox to be unchecked by default.
The script requires you to specify the path to the Dead Frontier executable file. This path tells the script where to find the game on your system. If you are using a USB drive to run the game, you will need to set the path accordingly.
Assuming you have Dead Frontier installed on a USB drive, the path might look something like this:
const applicationPathWindows = "E:\\Dead Frontier\\DeadFrontier.exe";
In this example, "E:" represents the drive letter assigned to your USB drive. You should replace "E:" with the actual drive letter of your USB drive if it is different. The rest of the path should point to the location of the `DeadFrontier.exe` file on your USB drive.
After modifying the paths in the script, save your changes. The script will now be able to create the game launcher with correct game path and launch it with your authentication token when you click the launch button and run the downloaded script.
The problem on Linux is that everytime you download new .sh file, you need to allow executing that file as program otherwise you won't be able to run it.
[Desktop Entry]
Version=1.0
Type=Application
Name=Launch Dead Frontier0
Comment=Launch the Dead Frontier game
Exec=bash -c "chmod +x /home/xxxx/Downloads/launch_dead_frontier.sh && /home/xxxx/Downloads/launch_dead_frontier.sh"
Icon=/path/to/icon.png
Terminal=false
Categories=Game;
To solve this issue you need to create .desktop shortcut that would set the downloaded script (launch_dead_frontier.sh) as executable and then launch it afterwards. That's exactly what the code above does - just make sure to change the path to where your browser downloads .sh file. Save it as .desktop file and run it instead of directly running downloaded launch_dead_frontier.sh
If you prefer to launch the game manually instead of using the downloadable script, you can do so by using the Command Prompt (CMD) on Windows or the terminal on Linux. Follow the instructions below:
1. Open the Command Prompt. You can do this by searching for "cmd" in the Start menu.
2. Type the following command, replacing path\to\your\deadfrontier\folder
with the actual path to your Dead Frontier installation and your_token_here
with your authentication token:
"E:\Dead Frontier\DeadFrontier.exe" "your_token_here"
For example, if your USB drive is E: and your token is "deadfrontier:12345678", you would type:
"E:\Dead Frontier\DeadFrontier.exe" "deadfrontier:12345678"
1. Open the terminal. You can usually find it in your applications menu or by pressing Ctrl + Alt + T
.
2. Type the following command, replacing /path/to/your/deadfrontier/folder
with the actual path to your Dead Frontier installation and your_token_here
with your authentication token:
"/media/.wine/cdrive/Dead Frontier/DeadFrontier.exe" "your_token_here"
For example, if your USB drive is mounted at /media/username/MyUSB and your token is ABC123, you would type:
"/media/.wine/cdrive/Dead Frontier/DeadFrontier.exe" "ABC123"
Warning: Do not share your authentication token with anyone else. Sharing your token can pose security risks. Always keep your authentication information private to protect your account.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址