Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit 79bb30d

Browse files
committed
update readme
1 parent b6ad944 commit 79bb30d

File tree

1 file changed

+74
-38
lines changed

1 file changed

+74
-38
lines changed

README.md

+74-38
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,91 @@
1-
# Starlight Starter Kit: Basics
1+
# 3D Mesh, Texture, and Compression Formats for Retro Video Games
22

3-
[![Built with Starlight](https://astro.badg.es/v2/built-with-starlight/tiny.svg)](https://starlight.astro.build)
3+
Welcome to the documentation for reverse-engineered 3D mesh, texture, and compression formats used in retro video games. This project aims to provide detailed, easy-to-follow documentation for these formats to help developers, researchers, and enthusiasts better understand and work with these assets.
44

5-
```
6-
npm create astro@latest -- --template starlight
7-
```
5+
This site is built using [AstroJS](https://astro.build/) and [Starlight](https://starlight.astro.build/), ensuring fast, modern, and easy-to-navigate static documentation.
6+
7+
## Table of Contents
8+
9+
- [Introduction](#introduction)
10+
- [Features](#features)
11+
- [Getting Started](#getting-started)
12+
- [Installation](#installation)
13+
- [Documentation Structure](#documentation-structure)
14+
- [Contributing](#contributing)
15+
- [License](#license)
16+
17+
## Introduction
818

9-
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/starlight/tree/main/examples/basics)
10-
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/starlight/tree/main/examples/basics)
11-
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/withastro/starlight&create_from_path=examples/basics)
12-
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fwithastro%2Fstarlight%2Ftree%2Fmain%2Fexamples%2Fbasics&project-name=my-starlight-docs&repository-name=my-starlight-docs)
19+
The purpose of this documentation is to share insights gained from reverse-engineering various 3D mesh, texture, and compression formats used in retro video game development. These formats were often proprietary and optimized for the hardware limitations of their time. Understanding them can be useful for game preservation, modding, and educational purposes.
1320

14-
> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
21+
## Features
1522

16-
## 🚀 Project Structure
23+
- Detailed format specifications for various 3D mesh and texture formats used in retro games
24+
- Guides for reverse engineering and working with these formats
25+
- Examples and tools to help visualize the formats
26+
- Compression methods used in older games and how to decode them
27+
- Built with [AstroJS](https://astro.build/), offering a lightweight, fast, and static site
28+
- Powered by [Starlight](https://starlight.astro.build/) for documentation-friendly navigation
1729

18-
Inside of your Astro + Starlight project, you'll see the following folders and files:
30+
## Getting Started
1931

32+
To get started with this documentation locally, you'll need to have [Node.js](https://nodejs.org/) installed.
33+
34+
### Clone the Repository
35+
36+
```bash
37+
git clone https://github.com/DashGL/FormatDocs.git
38+
cd FormatDocs
2039
```
21-
.
22-
├── public/
23-
├── src/
24-
│ ├── assets/
25-
│ ├── content/
26-
│ │ ├── docs/
27-
│ │ └── config.ts
28-
│ └── env.d.ts
29-
├── astro.config.mjs
30-
├── package.json
31-
└── tsconfig.json
40+
41+
### Install Dependencies
42+
43+
```bash
44+
npm install
3245
```
3346

34-
Starlight looks for `.md` or `.mdx` files in the `src/content/docs/` directory. Each file is exposed as a route based on its file name.
47+
### Preview the Build
48+
49+
```bash
50+
npm run preview
51+
```
52+
53+
### Deploying
54+
55+
To deploy the documentation site, you can host it on platforms like GitHub Pages, Netlify, or Vercel.
56+
57+
- **Deploying to GitHub Pages**: Follow the [Astro guide](https://docs.astro.build/en/guides/deploy/github/) to deploy your site on GitHub Pages.
58+
59+
- **Deploying to Netlify**: Refer to the [Astro documentation](https://docs.astro.build/en/guides/deploy/netlify/) to deploy on Netlify.
60+
61+
- **Deploying to Vercel**: Instructions for deploying on Vercel can be found [here](https://docs.astro.build/en/guides/deploy/vercel/).
62+
63+
### Documentation Structure
64+
65+
The documentation is structured to be intuitive and easy to navigate:
66+
67+
- **Home**: Overview of the project and key concepts.
68+
- **Mesh Formats**: Detailed documentation of various 3D mesh formats.
69+
- **Texture Formats**: Specifications and examples of texture file formats.
70+
- **Compression Formats**: Methods used for data compression and decompression.
71+
- **Tools and Examples**: Code snippets and tools to help with reverse engineering and working with these formats.
72+
- **Contributors Guide**: Information on how to contribute to the project.
3573

36-
Images can be added to `src/assets/` and embedded in Markdown with a relative link.
74+
### Contributing
3775

38-
Static assets, like favicons, can be placed in the `public/` directory.
76+
We welcome contributions from anyone interested in reverse-engineering retro video game formats. Whether it's improving the documentation, adding new formats, or developing new tools, your contributions are appreciated!
3977

40-
## 🧞 Commands
78+
#### How to Contribute
4179

42-
All commands are run from the root of the project, from a terminal:
80+
1. Fork the repository
81+
2. Create a new branch (`git checkout -b feature-branch`)
82+
3. Make your changes
83+
4. Commit your changes (`git commit -m 'Add new feature'`)
84+
5. Push to the branch (`git push origin feature-branch`)
85+
6. Open a pull request
4386

44-
| Command | Action |
45-
| :------------------------ | :----------------------------------------------- |
46-
| `npm install` | Installs dependencies |
47-
| `npm run dev` | Starts local dev server at `localhost:4321` |
48-
| `npm run build` | Build your production site to `./dist/` |
49-
| `npm run preview` | Preview your build locally, before deploying |
50-
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
51-
| `npm run astro -- --help` | Get help using the Astro CLI |
87+
Please ensure your changes follow the project’s coding standards and are well-documented.
5288

53-
## 👀 Want to learn more?
89+
## License
5490

55-
Check out [Starlight’s docs](https://starlight.astro.build/), read [the Astro documentation](https://docs.astro.build), or jump into the [Astro Discord server](https://astro.build/chat).
91+
This project is licensed under the MIT License - see the LICENSE file for details.

0 commit comments

Comments
 (0)