Skip to content

Commit 9f59202

Browse files
Merge branch 'master' into fix/strict_mkdocs
2 parents 5c9217c + 0a88d9c commit 9f59202

File tree

9 files changed

+92
-110
lines changed

9 files changed

+92
-110
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ cd wiki/
5151

5252
4. Choose one of the two deployment methods below.
5353

54-
... DEPLOYMENT / STARTUP of mkdocs ...
54+
```sh
55+
pip install mkdocs mkdocs-material mkdocs-redirects
56+
```
5557

5658
5. At this point, load up the cloned repository in a text editor that has live-markdown preview function.
5759
- For example: Visual Studio Code. Instructions: (https://code.visualstudio.com/Docs/languages/markdown)

docs/Development/LibXenon/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ already! - See bottom of [Xenon Toolchain](https://github.com/Free60Project/libx
3232
## Support
3333

3434
**libXenon** (or **devkitxenon**) stuff is best discussed in
35-
\#free60-noos on the OFTC IRC network , <irc://irc.oftc.net/free60-noos>
36-
or in \#libXenon on EFnet IRC, <irc://irc.efnet.fr/libXenon>
35+
the [IRC](/Support/IRC/) or [Discord](/Support/Discord/)
3736

3837
## Sample Code
3938

docs/Hacks/NAND_Reading.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ There are guides to dump via USB, but compared to this it's quite
1515
expensive and easily found with a search. Maybe someone will add one
1616
later on.
1717

18-
If you're facing any problems, feel free to ask in \#free60 on OFTC. :)
19-
2018
Moreover thanks to tmbinc, Tiros, Redline and all else involved (feel
2119
free to add their names) for their great work! :)
2220

docs/Support/Discord.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Join us in the Free60 Project Discord guild at
2+
[https://discord.gg/KvMB4HzHym](https://discord.gg/KvMB4HzHym)
3+
to discuss the Free60 project, the Linux kernel ports, LibXenon and LibXenon
4+
homebrew, and XeLL Reloaded.
5+
6+
Rules are available in the \#rules-and-guidelines channel.

docs/Support/Help.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
## IRC
1+
## IRC/Discord
22

3-
Server ⇒ <font color="purple">irc.oftc.net</font>(irc.oftc.net)
4-
Channel ⇒ \#free60 ; \#free60-chat ; \#free60-dev
5-
or if theres nobody replying try:
3+
For real-time chat, for either support or to help with the project, you can
4+
join us on [IRC](/Support/IRC/) or [Discord](/Support/Discord/).
65

7-
Server ⇒ <font color="purple">irc.efnet.nl</font>
8-
Channel ⇒ \#libxenon
9-
10-
\== Want to Help? ==
6+
## Want to Help?
117

128
Here is what you can do to help this project:
139

docs/Support/IRC.md

Lines changed: 16 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
Join us on the Free60 IRC channel at <irc://irc.oftc.net/free60-chat>
2-
(server irc.oftc.net, channel **\#free60-chat**)
1+
Join us in the Free60 IRC channel(s) **\#free60** at
2+
[irc.libera.chat](https://libera.chat/) to discuss the Free60 project, the
3+
Linux kernel ports, LibXenon and LibXenon homebrew, and XeLL Reloaded.
34

4-
To contribute new information and speak with devs, come to
5-
<irc://irc.oftc.net/free60> (server irc.oftc.net, channel **\#free60**)
5+
## Free60 Channel List
66

7-
There's also a channel for the guys on EFNET which is currently the most
8-
active channel of all three.
7+
* **\#free60** for general Free60 discussion.
8+
* **\#free60-libxenon** for LibXenon.
9+
* **\#free60-linux** for the Free60 Linux patches.
10+
* **\#free60-xell** for XeLL Reloaded.
911

10-
Catch us in **#libxenon** on EFnet!
12+
## Guidelines
1113

12-
Free60 and oftc.net are happy to facilitate the means for information
14+
Free60 and Libera.Chat are happy to facilitate the means for information
1315
gathering and dissemination. But, we have some basic guidelines we need
1416
you to follow.
1517

16-
## Guidelines
17-
1818
We're not trying to be dictators, we just want everyone to get along.
19-
[OFTC](http://www.oftc.net/) is a civil network and we'd like to keep it
19+
[Libera](https://libera.chat/) is a civil network and we'd like to keep it
2020
that way.
2121

2222
### Basic Guidelines
@@ -35,20 +35,20 @@ that way.
3535

3636
- Please don't run any bots without prior permission from an op.
3737

38-
- Channel opertator status is not a privilege, but rather a
38+
- Channel operator status is not a privilege, but rather a
3939
responsibilty. Asking for such will more than likely get you banned.
4040

4141
- \#free60 is NOT a distribution point for pirated/illegal material,
4242
be it software or even documentation. We have zero-tolerance towards
43-
any related discussion. That also goes for use of !list or other
44-
such commands. You have been warned.
43+
any related discussion.
44+
45+
- Messages sent in the IRC channels are forwarded to the Discord guild.
4546

4647
### Asking Questions
4748

4849
#### Before Asking
4950

50-
- Search the wiki for an answer.
51-
- Search the mailing list.
51+
- Search the wiki and [GitHub](https://github.com/Free60Project) for an answer.
5252

5353
#### While Asking
5454

@@ -63,31 +63,7 @@ that way.
6363
post that info.
6464
- Stick around to help others after you.
6565

66-
### Use the right channel
67-
68-
There are two channels in OFTC currently for public use:
69-
70-
1. **#free60** is for technical and development discussion, for idle chat
71-
seek #free60-chat.
72-
2. **#free60-chat** is for general discussion on or off topic for free60
73-
and is loosely controlled.
74-
75-
And one public channel on EFNET
76-
77-
1. **#libxenon** for everything from LibXenon and Linux till XeLL
78-
79-
- Currently neither channel is moderated ( m) though if conversations
80-
get out of hand or anything of that nature we reserve the right to
81-
place higher restrictions.
82-
- Both channels will receive the same updates about important
83-
information.
84-
- You can hang out in both, but make sure you questions are for the
85-
right channel.
86-
8766
## Conclusion
8867

8968
Thank you for your interest in Free60, enjoy your stay!
9069

91-
<iframe src="https://webchat.oftc.net/?channels=%23free60%2C%23free60-chat" width="647" height="400"></iframe>
92-
93-

docs/System-Software/Formats/XEX.md

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -17,60 +17,60 @@ Actually it has been reported to work with the first official "Backward
1717
Compatibility" .XEX File from Microsoft. It takes the XEX file as
1818
argument.
1919

20-
`// default.xex table dumper`
21-
` // only works with the default.xex from the xbox360 emulator update package.`
22-
` // - th0mas, th0mas.sixbit.org [at] gmail.com`
23-
` `
24-
` #include <stdio.h>`
25-
` #include <string.h>`
26-
` `
27-
` #define TABLE_START 0x288`
28-
` `
29-
` struct table {`
30-
`    unsigned int unknown[6];`
31-
` };`
32-
` `
33-
` unsigned int ByteSwap (unsigned int nInt)`
34-
` {`
35-
`    union u {unsigned int vi; unsigned char c[sizeof(unsigned int)];};`
36-
`    union v {unsigned int ni; unsigned char d[sizeof(unsigned int)];};`
37-
`    union u un;`
38-
`    union v vn;`
39-
`    un.vi = nInt;`
40-
`    vn.d[0]=un.c[3];`
41-
`    vn.d[1]=un.c[2];`
42-
`    vn.d[2]=un.c[1];`
43-
`    vn.d[3]=un.c[0];`
44-
`    return (vn.ni);`
45-
` }`
46-
` `
47-
` void printTable(struct table *t)`
48-
` {`
49-
`    int i;`
50-
`    for (i = 0; i < 6; i  ) {`
51-
`       int j = ByteSwap(t->unknown[i]);`
52-
`       printf("0x%08x ", j);`
53-
`    }`
54-
`    printf("\n");`
55-
` }`
56-
` `
57-
` int main(int argc, char **argv)`
58-
` {`
59-
`    FILE *fp = fopen(argv[1], "rb");`
60-
`    struct table tmp;`
61-
`    int numEntries = 0;`
62-
`    int i;`
63-
` `
64-
`    fseek(fp, TABLE_START, SEEK_SET);`
65-
`    fread(&numEntries, sizeof(unsigned int), 1, fp);`
66-
`    numEntries = ByteSwap(numEntries);`
67-
`    for (i = 0; i < numEntries; i  ) {`
68-
`         fread(&tmp, sizeof(struct table), 1, fp);`
69-
`         printTable(&tmp);`
70-
`    }`
71-
` }`
72-
` `
73-
` `
20+
```c
21+
// default.xex table dumper
22+
// only works with the default.xex from the xbox360 emulator update package.
23+
// - th0mas, [email protected]
24+
25+
#include <stdio.h>
26+
#include <string.h>
27+
28+
#define TABLE_START 0x288
29+
30+
struct table {
31+
   unsigned int unknown[6];
32+
};
33+
34+
unsigned int ByteSwap (unsigned int nInt)
35+
{
36+
   union u { unsigned int vi; unsigned char c[sizeof(unsigned int)]; };
37+
   union v { unsigned int ni; unsigned char d[sizeof(unsigned int)]; };
38+
   union u un;
39+
   union v vn;
40+
   un.vi = nInt;
41+
   vn.d[0]=un.c[3];
42+
   vn.d[1]=un.c[2];
43+
   vn.d[2]=un.c[1];
44+
   vn.d[3]=un.c[0];
45+
   return (vn.ni);`
46+
}
47+
48+
void printTable(struct table *t)
49+
{
50+
   int i;
51+
   for (i = 0; i < 6; i++) {
52+
      int j = ByteSwap(t->unknown[i]);
53+
      printf("0x%08x ", j);
54+
   }
55+
   printf("\n");
56+
}
57+
58+
int main(int argc, char **argv)
59+
{
60+
   FILE *fp = fopen(argv[1], "rb");
61+
   struct table tmp;
62+
   int numEntries = 0;
63+
   int i;
64+
65+
   fseek(fp, TABLE_START, SEEK_SET);
66+
   fread(&numEntries, sizeof(unsigned int), 1, fp);
67+
   numEntries = ByteSwap(numEntries);
68+
   for (i = 0; i < numEntries; i++) {
69+
        fread(&tmp, sizeof(struct table), 1, fp);
70+
        printTable(&tmp);
71+
   }
72+
}
73+
```
7474

7575
# Structure of the XEX File
7676

docs/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@
33
Welcome to the archive of Free60.org Mediawiki.
44

55
To submit changes:
6-
1. Fork the repo
6+
7+
1. Fork [the repo](https://github.com/Free60Project/wiki)
8+
79
2. Make changes
10+
811
3. Send a Pull Request
912

13+
Join us on [IRC](/Support/IRC/) or [Discord](/Support/Discord/)!
14+
1015
## Categories
1116

1217
[Xbox 360 Hardware](./Hardware/index.md)

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ validation:
4545
nav:
4646
- Home:
4747
- 'index.md'
48-
- Attack: 'Support/Attack.md'
48+
- IRC: 'Support/IRC.md'
49+
- Discord: 'Support/Discord.md'
4950
- Contribute: 'Support/Contribute.md'
5051
- Help: 'Support/Help.md'
5152
- Frequently Asked Questions: 'Support/FAQ.md'
52-
- IRC: 'Support/IRC.md'
5353
- Links: 'Support/Links.md'
5454
- Hacks:
5555
- Reset Glitch Hack (RGH): 'Hacks/Reset_Glitch_Hack.md'

0 commit comments

Comments
 (0)