Question about information on a disc

In summary: When you install a program or other application, what gets loaded is a mix of executable files (typically DLLs - dynamic load libraries) and data files. Installation usually also makes changes to the Registry (in Windows) so that the program files know where to look for the data files they work with. There could be hundreds of files that get loaded when the game is installed.Depending on the application, there could be dozens, hundreds, or even thousands of files that get loaded when the game is installed. It depends on the application.
  • #1
Bradfordly1
17
0
When you load a game from a disc into an Xbox 360, example being Call of Duty, what is the information on the disc classified as? Is it just a different form of application software like Google Chrome or are you just loading a bunch of game files from the disc?
 
Computer science news on Phys.org
  • #2
When you install a program or other application, what gets loaded is a mix of executable files (typically DLLs - dynamic load libraries) and data files. Installation usually also makes changes to the Registry (in Windows) so that the program files know where to look for the data files they work with. There could be hundreds of files that get loaded when the game is installed.
 
  • #3
It depends on the application.

If the game is written in an interpretive language like python, it may be either readable ascii text or interpretable binary byte code (ie not so readable but python can read and execute it). Byte code removes the conversion from ascii text time during application loading making it faster to load and quicker to run.

If the game is written in java then it would be compiled into java binary byte code that is run by the java JVM and can be run from any machine platform ie Windows, Mac or Linux provided the necessary class libraries are installed and are accessible.

If its C or any other compilable language then its written in machine binary opcodes with all library code linked into the final executable file. The executable can only run on the machine platform is was compiled and linked for. Sometimes, the executable may referenced dynamically loaded libraries available on the machine which makes the executable file smaller and reuses common code that other applications on the machine platform may use.

As @Mark44 says there may be additional data files. For java applications these will be called jar files and they are actually zip files of java class files and text property files as well as images and other data.
 
  • #4
jedishrfu said:
If its C or any other compilable language then its written in machine binary opcodes with all library code linked into the final executable file.
Not necessarily. A small executable can link dynamically to DLLs, loading the library code as needed at run time. If static libraries are used, then they get linked in at link time to produce an executable that actually contains the library code.
 
  • Like
Likes jedishrfu
  • #5
Mark44 said:
Not necessarily. A small executable can link dynamically to DLLs, loading the library code as needed at run time. If static libraries are used, then they get linked in at link time to produce an executable that actually contains the library code.

Thanks for the clarification, I think I said that later on. I didn't use the moniker DLL but instead dynamically linked libraries.
 
  • #6
Another term for DLL is shared library.

The XEX file format for xbox comes as a file: default.xex - this file is the main executable. For many games this is all of the code, other files are just vector graphics. Or sound files or whatever. AFAIK shared libraries are not a common feature.

See this for a discussion of running XEX code in an emulator on a PC:
http://www.noxa.org/blog/2011/08/13/building-an-xbox-360-emulator-part-5-xex-files/
[opinion]
PS:
DLL is very windows-centric, I think shared library is more general.
Anyway whatever you choose to call them is kind of irrelevant to XEX technology, they are not all that common.
[/opinion]
 
  • Like
Likes jedishrfu
  • #8
Bradfordly1 said:
When you load a game from a disc into an Xbox 360, example being Call of Duty, what is the information on the disc classified as? Is it just a different form of application software like Google Chrome or are you just loading a bunch of game files from the disc?
With eighth generation game consoles (PS4 and Xbox One), game data is not used from the disk after installation; it is loaded in a sandboxed space on the console's hard drive, more similar to an app on your smartphone than software on a PC.

http://ps4daily.com/2013/11/how-the-mandatory-game-install-on-playstation-4-works/
 
  • #9
Most data on the disc is going to be packed, this practice has been common since the days of the .WAD file in DOOM. It's probably got a structure similar to a zip or a tarball. That's what it's doing when it's installing, and why a game disc that's 4GB can take 10GB of hard drive space.
 

1. What is a disc?

A disc is a type of storage media that is used to store information such as data, music, videos, and software. It is a flat circular object with a hole in the center, usually made of plastic or metal.

2. How does information get stored on a disc?

Information is stored on a disc by using a laser to burn tiny indentations on the surface of the disc. These indentations represent binary code, which is the language used by computers to store and process information.

3. What types of information can be stored on a disc?

A disc can store various types of information, such as documents, photos, music, videos, and software. The type of information that can be stored depends on the type of disc and its storage capacity.

4. How much information can a disc hold?

The amount of information a disc can hold varies depending on the type and format of the disc. For example, a standard DVD can hold up to 4.7 GB of data, while a Blu-ray disc can hold up to 25 GB of data.

5. How do you access information on a disc?

To access the information on a disc, you will need a disc drive, either built into your computer or as an external device. The disc is inserted into the drive, and the data can then be read and retrieved using a computer or other compatible device.

Similar threads

  • Computing and Technology
Replies
22
Views
2K
Replies
9
Views
2K
  • Electromagnetism
Replies
1
Views
817
Replies
2
Views
1K
Replies
1
Views
1K
  • Computing and Technology
Replies
5
Views
4K
Replies
1
Views
551
  • Other Physics Topics
Replies
8
Views
2K
  • Introductory Physics Homework Help
Replies
14
Views
824
Replies
12
Views
4K
Back
Top