Python modio file format library.
Each piece of data is tagged with a 4 character (32 bit) cell so sections of data from different scripts can be named.
The data is stored in a partially non-order-dependent structure so the tags are used to search for data (Similar to a basic INI format).
This is what a modio file looks like:(Actual files are binary, this just represents the structure.)
Header
- filever (1 cell)A single number which identifies which version of modio is required to read the file.
- numbyte (1 cell)The size of the header and body in cells (4 bytes per cell).
- numtags (1 cell)The number of tags/data sections in the file.
- taglist (numtags * 2 cells)A list of tags in the file; each item in this list has two elements:tagname (1 cell)The 4 character tag namephyspos (1 cell)The physical position of the actual data block (offset from first body cell. First tag always has a physpos of 0)
Body
- data blocktagname (1 cell)The 4 character tag nametagsize (1 cell)The amount of cells stored in the block (not including these first two cells)tagdata (tagsize cells)The actual data
How can we download modio Josearocho Posted: Tue. Feb 07, 2012. How can we get modio 1 2. Related Downloads. Modern Warfare 2 Mod Tool (72) 02. Download Modio Latest Version – See XBOX Files on PC and Mod Using Modio. Download Modio Latest Version – See XBOX Files on PC and Mod Using Modio. TricksTalks Updated on: December 16, 2017. Download Modio – We all love Xbox, right? The graphics and the processing power makes it one heck of a gaming experience. 4) Download games online.
![Modio Modio](/uploads/1/2/5/2/125288549/120277005.jpg)
Main open function:
------------------------ | ------------------------open(filename, filemode) | Opens a file, reads the data and returns a ModioSession object instance.
Class: ModioSession
A ModioSession stores all the information related to a modio file that's open. These objects are created when a file is opened and removed when the file is closed.
------------------------ | ------------------------close() | Closes the session. If the session was opened in write mode, this writes the new data.get_bytes() | Returns the raw bytes of the file that will be written.get(tag) | Returns a list containing the data stored in the file under the block named after 'tag' (4 characters). Only works when the file has been opened in 'r'(ead) mode.put(tag, data) | Writes 'data' (a list of integers or a single integer) to the file in a block named 'tag' which must be a 4 character string. Only works when the file has been opened in 'w'(rite) mode.metadata() | Returns the three pieces of data from the file header (file version, size and number of tags).version() | Returns the file version,file_size() | Returns the size of the file in 32 bit cells (not bytes!)num_tags() | Returns the amount of data tags in the open file.
Class: ModioFileTag
These objects are created to contain single tags and their data. When a file is opened and read, all the data blocks are moved into ModioFileTag objects. These objects can then be interacted with to get their tag name, data and other information.
------------------------ | ------------------------get_name() | Return the integer version of the tag name, which is a 32 bit unsigned integer consisting of the 4 character bytes of the name.get_data() | Returns the raw data stored in the tag.get_size() | Returns the size of the data stored in the tag. This size is representative of the data as a string of 32 bit integers, not bytes!get_total_size() | Returns the full size of the tag as it appears in the file (the data size plus the data block header).get_name_str() | Returns the name of the tag as a 4 character string.get_data_block() | Returns the full data block as it appears in the file as a list of integers.get_data_format() | Returns the data in a formatted string suitable for reading.
Helper functions
------------------------ | ------------------------_tag_StringToInt(s) | Converts 's' to an integer. 's' must be a 4 character ASCII string._tag_IntToString(i) | Converts 'i' to a 4 character string 'i' must be a 32 bit integer.validate_data_block_types(data) | Validates the data stored in a tag block. Decodes strings and ensures the result data is a list of integers.
Scan performed on 4/25/2017, Computer: OEGStone CS-B - Windows 7 64 bit
Outdated or Corrupted drivers:10/21
Device/Driver | Status | Status Description | Updated By Scanner |
Motherboards | |||
Microsoft Controller per High Definition Audio | Outdated | ||
Mice And Touchpads | |||
Microsoft Microsoft Serial BallPoint | Corrupted By Modio | ||
Razer USA HID mouse | Up To Date and Functioning | ||
Usb Devices | |||
Ericsson AB H5321 gw Mobile Broadband Driver | Corrupted By Modio | ||
Google Android | Corrupted By Modio | ||
Microsoft Unknown USB Device (Device Failed Enumeration) | Corrupted By Modio | ||
Sound Cards And Media Devices | |||
Intel(R) High Definition Audio-apparaat | Up To Date and Functioning | ||
Buffalo BUFFALO TV Tuner DT-T90/PCIEMW-TS | Up To Date and Functioning | ||
Network Cards | |||
Intel(R) Centrino(R) Wireless-N 2200 | Up To Date and Functioning | ||
Keyboards | |||
Microsoft Keyboard Device Filter | Up To Date and Functioning | ||
Hard Disk Controller | |||
Intel Intel(r) 82801DB Ultra ATA Storage-Controller-24CA | Up To Date and Functioning | ||
Others | |||
Nokia Nokia USB LCIF | Corrupted By Modio | ||
Hewlett-Packard psc 1200 (DOT4) | Up To Date and Functioning | ||
Intel(R) Sensor Solution | Corrupted By Modio | ||
Nokia Nokia 5230 USB Phonet | Up To Date and Functioning | ||
Cameras, Webcams And Scanners | |||
SunplusIT HD Webcam | Corrupted By Modio | ||
Video Cards | |||
Intel Video Controller | Corrupted By Modio | ||
Input Devices | |||
Logitech Logitech WingMan Digital Device | Up To Date and Functioning | ||
Port Devices | |||
Huawei HUAWEI Mobile Connect - USB Device (COM8) | Up To Date and Functioning | ||
Monitors | |||
Sony Digital Flat Panel (1024x768) | Up To Date and Functioning | ||
Mobile Phones And Portable Devices | |||
Acer NOKIA | Corrupted By Modio |