Question about information on a disc

  • Thread starter Thread starter Bradfordly1
  • Start date Start date
  • Tags Tags
    Disc Information
Click For Summary

Discussion Overview

The discussion revolves around the nature of information stored on a game disc for the Xbox 360, specifically examining whether it is classified as application software or merely a collection of game files. Participants explore the technical aspects of how games are loaded and installed, touching on various programming languages and file formats.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants suggest that loading a game involves a mix of executable files and data files, with installation processes potentially modifying system registries.
  • Others propose that the nature of the game files depends on the programming language used, such as interpretive languages like Python or compiled languages like C, which affect how the game is executed.
  • There is a discussion about the use of dynamically linked libraries (DLLs) versus static libraries, with some participants clarifying that executables can link to libraries at runtime.
  • One participant mentions the XEX file format specific to Xbox, noting that it typically contains the main executable, while other files may include graphics and sound.
  • Another viewpoint highlights that modern consoles, like the PS4 and Xbox One, load game data from the hard drive after installation, rather than directly from the disc.
  • Participants also discuss the packing of data on discs, comparing it to structures like zip files, which can lead to larger installation sizes on hard drives.

Areas of Agreement / Disagreement

Participants express differing views on the classification of game data and the technical details of how games are loaded and executed. There is no clear consensus on the specifics of how game files are structured or the implications of different programming languages.

Contextual Notes

Some claims depend on specific definitions of terms like "shared library" and "DLL," and the discussion includes various assumptions about the technical workings of game installations and file formats.

Bradfordly1
Messages
17
Reaction score
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
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.
 
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.
 
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   Reactions: jedishrfu
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.
 
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   Reactions: jedishrfu
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/
 
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.
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 40 ·
2
Replies
40
Views
5K
Replies
12
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K