Skip to content

alandmprtma/Tucil1_13522124

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cyberpunk logo

Tucil1_13522124

Cyberpunk 2077 Breach Protocol Solver with Brute Force Algorithm

📑Table of Contents

🖥️ Description

Cyberpunk 2077 Breach Protocol is a hacking minigame in the video game Cyberpunk 2077. This minigame is a simulation of hacking a local network from ICE (Intrusion Countermeasures Electronics) in the game Cyberpunk 2077. This Python Language Program can find the most optimal solution to the Breach Protocol game with any combination of matrix, sequence, and buffer size using the brute force algorithm.

🦾 Technologies Used (Dependencies)

  • Python Programming Language

🔧 Installation

Python Installation:

  1. Visit the official Python website at https://www.python.org/downloads/ and download the version of Python that suits your operating system.
  2. Make sure to select the "Add Python to PATH" option during the installation process.
  3. Select the location where Python will be installed. By default, Python will be installed in the C:\Program Files\Python<version> directory.
  4. After the installation process is complete, open a terminal or command prompt, and type the command python --version. If Python is installed correctly, you will see the version of Python installed.

Colorama Library:

  1. Execute pip install colorama.

🏃‍♂️ How to Run

  1. Clone the repository to your local files. Access the repository here. Open the terminal and run git clone https://github.com/alandmprtma/Tucil1_13522124.git
  2. Ensure the directory is set to Tucil1_13522124 and run cd src to change the directory to src folder.
  3. Execute python3 main.py.
  4. You can find the optimal solution by using input from file.txt in config folder or generate random input.

🏋 Features

The following are the features or commands contained in the Command Line Interface (CLI) Cyberpunk 2077 breach protocol solver program in the Python programming language along with a brief description of these features:

  1. Input from file.txt

The game matrix can be generated by reading a file with the extension .txt which has the following format:

buffer_size
matrix_width matrix_height
matrix
number_of_sequences
sequences_1
sequences_1_reward
sequences_2
sequences_2_reward
…
sequences_n
sequences_n_reward

The following is an example of an input file.txt that can be used:

7
6 6
7A 55 E9 E9 1C 55
55 7A 1C 7A E9 55
55 1C 1C 55 E9 BD
BD 1C 7A 1C 55 BD
BD 55 BD 7A 1C 1C
1C 55 55 7A 55 7A
3
BD E9 1C
15
BD 7A BD
20
BD 1C BD 55
30
  1. Generate random input

Matrix & sequences (along with their prize weights) can also be generated automatically by the program with input via CLI in the form of number of unique_tokens, token, buffer_size, matrix_size, sequence_number, and maximum_sequence_size (doesn't have to be in order). The output for this feature should display both the Matrix and the sequence game used.

5 // Number of unique_tokens
BD 1C 7A 55 E9 //token
7 //buffer_size
6 6 //matrix_size
3 //sequence_number
4 //maximum_sequence_size

🗂️ Structure

.
├── config
│   ├── input_1.txt
│   ├── input_2.txt
│   ├── input_3.txt
│   ├── nosolution_1.txt
│   ├── nosolution_2.txt
│   ├── nosolution_3.txt
│   └── spek.txt
├── doc
│   └── Tucil1_K3_13522124_Aland Mulia Pratama.pdf
├── img
│   ├── inputfile.png
│   ├── mainmenu.png
│   ├── solverview.png
│   ├── cyberpunk_2077.png
│   └── outputfile.png
├── src
│   └── main.py
├── test
│   ├── input_txt_1.txt
│   ├── input_txt_2.txt
│   ├── input_txt_3.txt
│   └── sortorder_initiating.pl
└── README.md

📸 Screenshots

Main Menu

main menu

Main Menu Display

Input file.txt

input file.txt

Input with file.txt

Breach Protocol Solver Display

solver display

Breach Protocol Solver Display

Output file.txt

output file.txt

Output with file.txt

🪪 Contributor

Nama NIM
Aland Mulia Pratama 13522124

Releases

No releases published

Packages

No packages published

Languages