Black screen is the first error that we will learn about, this can also be said to be the most common error, the most difficult to fix, accounting for about 90% of problems when launching games on Windows 10/ 11 systems. If you can solve it, identify the problem, then almost no startup error is difficult enough to trouble you.
Black screen error is understood as an error that occurs when starting the game, a typical sign is a black screen, not displaying any information or images, it is often accompanied by Crash, meaning the end of the black screen image by turning off automatically, the game icon on the taskbar automatically turns off and disappears.
In case the Black screen does not turn off automatically after a few seconds but lasts until the user has to intervene with Task Manager, this case will be related to problems with the game itself, compatibility, system conflicts, system problems occur in the game's script, corrupted files, or something missing, rather than the Windows system.
The causes of Black screen errors are very diverse, there is no specific cause that applies to all cases, so we will not spend time looking for a specific name that caused the Black Screen error, we will learn and identify problems that may occur during game startup, causing the problem.
When starting the game, the game basically queries the data file directory, then uses the command library to operate, then creates the personal file for starting the game. Please note that the above order and concepts do not reflect the correct concept when talking about software engineering, they are mainly based on my own experience, the way I understand it after many times encountering and solving it.
As I shared about the Black screen error above, it can be seen that the Black screen error will be caused by the game startup process, specifically in 3 stages: Querying the file Data > Using script library > Creating personal boot files.
About Data File Query: You can simply understand that when you run the game's startup file (.exe), it will perform queries, review data files, to send information to the computer, for your computer to processed and displayed, if it queries the intro video file, intro sound file... the computer will process and read the files according to the script for which the game is designed, then you will see the intro appear on the screen of the game and accompanying sounds, such as the startup logo, intro video, etc.
Intro video from the game Need for Speed: Underground
If at this stage there is a problem and a black screen occurs, most of the time the phenomenon is a black screen and turns off immediately after 1-3 seconds, even without a black screen, no response after you run the game's startup file (.exe).
Need for Speed: Underground 2 game starts up error (black screen appears but the recording software cannot record)
When querying data, it can be understood that the game will scan its files at the exact location where the game's startup file is located, or at the folders containing the game's startup file. An example can be "D:\ Game\ Offline games\ NFS Series\ Need for Speed: Underground 2"
For older games, even including newly released games, they usually do not support special languages, which can simply be called Unicode. Special languages are languages that use special characters and letters that Latin languages do not support (For example: ế, é, ẹ, ắ, ặ, ớ, ậ, 國, ある, 감, д. و…).
When the address of the game's data files is related to special languages, the game will not be able to read it and cannot find the correct location of the data file to be queried, so the game will encounter problems while trying to start and shuts down on its own. (Fact: Shutting down is not an error, it is a last resort for a game to escape problems/conflicts between commands/code)
For example: If I put the game folder of the game in the following location "D:\ Game\ Trò chơi đua xe\ NFS Underground 2".
When querying, the game processes address information "D:\ Game\ Trò chơi đua xe\ NFS Underground 2" and convert into "D:\ Game\ Tr? Chơi ?ua xe\ NFS Underground 2".
It's clear at this point that the game misinterpreted the data file address, which it should have been "D:\ Game\ Trò chơi đua xe\ NFS Underground 2", but the game sees "D:\ Game\ Tr? Chơi ?ua xe\ NFS Underground 2", so the problem occurs.
With address "D:\ Game\ Trò chơi đua xe\ NFS Underground 2"
If I rename the folder to change the data file address to "D:\ Game\ Tro choi dua xe\ NFS Underground 2", then the game will work, because it has no problem reading the data file address.
With address "D:\ Game\ Tro choi dua xe\ NFS Underground 2"
In addition to containing special languages, some games can only read addresses of a certain length, limited to a certain number of characters. In this regard, you need to pay attention to the length of the directory name and the number of directory levels, these two factors directly affect the length/number of characters of the data file address.
What is the folder name? Folder name is the name, the nominal name placed on a folder, the name of a folder to distinguish it from adjacent folders., typically in the same folder, you cannot see two folders with the same name, they may be somewhat similar, but there are still differences (For example: Folder vs Folder (1); Folder (2)).
What is the number of folder levels? The number of folder levels is the rank of the lowest subfolder, To make it easier to understand, you can imagine that: With a folder, when inside it contains another folder, it will become the parent folder and the other folder will become a subfolder, at this point the folder will become the parent folder. The parent folder is called the 1st level folder, the folder inside is called the 2nd level folder, if inside it there is another folder, the folder inside is called the 3rd level folder. (For example: "D:\ Game\ NFS Series\ NFS Underground 2" then we determine that there are 3 levels of folders, and the game is in the 3rd level folder)
Going back to the character count issue, if I put the game in the following address: "D:\ Game\ NFS series\ aaaa...\...\...ddddddd\ NFS Underground 2", then maybe the game will just read to "D:\ Game\ NFS series\ aaaa...\...\ ddd…" As a result, it cannot find the last position, the exact location where the game is located and the problem occurs.
In fact, I intentionally made the names of the folders too long, causing the game's startup file to even be disabled and unable to be opened.
To summarize, in this stage there will mainly be only the above two issues: Special language characters and data file address length.
About Using command file library: You can understand that games are designed with programming languages, operating scenarios, built on scripts or technology, on a certain template and a certain convention. If your computer does not possess that library of command files/technology, it cannot read, understand and process the script files and command files of the game. It can be understood that you need a book to teach encode to be able to understand the encoding language and decode it.
For example: I send you a txt file containing the message content inside and comes with reading software, when you directly open that txt file you will see:: “He**o gu$, Hoự &re $ou @o d&$?”, you won't understand anything, it's meaningless because it can't be read, but when you use the reading software that I give with the principle of decoding ( * = l, $ = y, ư = w, & = a, @ = t), then the text will display as “Hello guy, How are you to day?”, now you understand the content of the message, after they have been decoded).
It can be seen that the game will be built on a certain type of command and convention, the computer will need a library large enough to understand them and process them, operating properly according to the scenario required by the game.
Command file library mainly related to Visual C++, If your computer needs it to understand what the game wants, but your computer doesn't have the necessary command file library, then the computer won't be able to handle the game's requests and problems will occur.
If your computer has the Visual C++ 2005 script library, then games released before 2005 will not have problems starting (unless they require special software) , but for games released after 2005, most will have problems when starting (unless these games still use the old script library, Visual C++ 2005).
Regarding the signs of a problem, it is almost no different from the 'Data file query' stage, because that process does not require the computer to process, calculate and display graphics, so you won't see anything appear on the screen yet, so they are almost similar in terms of recognition ability.
In addition, you should also pay attention to DirectX, mainly DirectX 9. For new devices, they are not available and must be additionally installed. Although this is not much related to this stage, mainly in the game's graphics processing process, but you should also pay attention to it.
To summarize, during this period, you need to pay attention to Visual C++. You should find and install Visual C++ according to the release years, as complete as possible, excess is better than deficiency.
About Creating Personal Boot Files: You can understand that when each game starts, it will download configuration information related to your device, then save them for the next startup, because it was saved the first boot, so subsequent boots will be faster and take less time than the first time.
The problem at this stage is easier to recognize, because some games will run the intro video first, then save the boot file, so if you start the game and see on the screen The logo of the publishing company, the development team or an introductory video appears, and after they finish the game suddenly turns off and disappears, then it is very likely that your problem is in this stage (for example: Titan Quest: Anniversary Edition, Age of Empires: Definitive Edition).
Typically, games will save their personal boot files in two formats: one in the Documents folder, the other directly in the game folder. Going back to the issue of some games not supporting special languages, at this stage you just need to focus on making sure that the path to the location to save the personal boot file, does not contain special languages .
So how is the path to the location to save the personal boot file determined? This path will depend on each game, if it saves the boot file in the game folder, just make sure that the names of the folders containing the games do not have special language. If it's saved in the Documents folder on your computer, we'll have more to talk about below.
About saving files in the Documents folder:
- If you use Windows 10, it will be saved in C: Users\ Yourname\ Documents
- If you use Windows 11, it will be saved in C: Users\ Yourname\ OneDrive\ Documents
Going back to the issue of some games not supporting special languages, you need to make sure that the address above to save the personal boot file does not contain the special language. Pay attention to “Yourname” and “Documents” because those are things that can change depending on the language which you use on your computer.
Some people leave their username as “Việt”, Of course the game can crash if it can't read special languages, some people use Vietnamese as the system language, make “Documents” change into “Tài liệu” and of course the game will crash if it doesn't support the special language, for Windows 11 users, please pay attention to the language set on OneDrive, “Documents” may have been changed to another language.
The most effective solution to this problem is to proactively intervene and change the default path of the folder location where your personal files are saved. You will need to pay attention to following the steps below.
Step 1: Open Registry Editor (by pressing Windows key + typing “Registry Editor” and open it
Step 2: Open according to the link "Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
Step 3: Open the "Personal" line, you will see the address bar in the "Value data" section, in the form "%USERPROFILE%\Documents" or "C:\Users\Yourname\Documents"
Step 4: Check to see if the address bar contains special language, when the game saves the personal boot file to the Documents folder, it will read this address to determine the location, if the address If this file contains a special language and the game does not support that language, a problem will occur.
Step 5: After you have finished checking, or changed it if necessary, you just need to press "OK" to save and can turn it off.
To make sure, check the same with the path "Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"
To summarize, during this stage, pay attention to the address where the game's personal boot file is saved, it is usually located in the Documents folder or in the game folder itself, if it saves the file in the game folder then you Just make sure the name of the folder containing the game doesn't have special language, if it saves files in the Documents folder, check with Registry Editor, as I instructed.
Also, for 32bit games, remember to add them to the list in Data Execution Prevention (DEP) in case you enable it, this is also a common cause of “Black screen” error, don't ignore it , see instructions below.
Step 1: Press the Windows key and type “View advanced system settings”, open it
-
Step 2: In the Advanced column, open "Settings" of "Perfomance"
Step 3: Switch to the “Data Execution Prevention” column, add games by clicking “Add…” if you are checking the second line
Step 4: Click “OK” to save. Finished
Finally, above is all that I think is necessary to solve the Black screen error when starting/running an old/new game on Windows 10/11 system, remember to read it all, don't miss anything.
Comments
Post a Comment