Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Special pages
modding.dev WIKI
Search
Search
Appearance
Appearance
move to sidebar
hide
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
QPic
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{#seo: |title=Modding.dev | QPic File Format |keywords=QPic,GoldSrc |description=A simple image of any size used in WAD3 files. |image=https://modding-assets.net/_modding-assets/images/engines/goldsrc.png |image_alt=Wiki Logo }} A simple image of any size. Specific images of this format can be found in these wad files: * cached.wad - The loading screen and the drop-down console background (WON version only) * gfx.wad - The "LOADING" and "PAUSED" images among others = File Structure QPic = {{binary_struct|Width|type=uint32|length=4|description=Image width, in pixels. Must be divisible by 16.}} {{binary_struct|Height|type=uint32|length=4|description=Image height, in pixels. Must be divisible by 16.}} {{binary_struct|Pixels|type=byte[]|length=width*height|description=The color index within the pallete.}} {{binary_struct|ColorsUsed|type=uint16|length=2|description=Number of colors used in the palette (always 256 for GoldSrc).}} {{binary_struct|Palette|type=color[]|length=256 * 3|description=Up to 256 RGB colors used in the texture. Each group of 3 uint32 form a R G B color.}}
Summary:
Please note that all contributions to modding.dev WIKI are considered to be released under the Creative Commons Attribution-ShareAlike (see
Modding-dev-wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Binary struct
(
edit
)
Search
Search
Editing
QPic
Add topic