Skip to content

Commit 0ec16f4

Browse files
committed
Bump sm64extend version to 0.3.1 and update READMEs
1 parent 5fb0b7e commit 0ec16f4

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Output files are stored in the 'gen' directory.
2525

2626
## sm64extend
2727
Super Mario 64 ROM Extender
28-
- accepts Z64 (BE) or V64 (byte-swapped) ROMs as input
29-
- works with both US and Japanese ROMs (other tools may not)
28+
- accepts Z64 (BE), V64 (byte-swapped), or N64 (little-endian) ROMs as input
29+
- works with US, European, Japanese, and Shindou ROMs
3030
- decompresses all MIO0 blocks from ROM to extended area
3131
- configurable extended ROM size (default 64 MB)
3232
- configurable padding between MIO0 blocks (default 32 KB)
@@ -40,12 +40,12 @@ Super Mario 64 ROM Extender
4040

4141
### Usage
4242
```console
43-
sm64extend [-s SIZE] [-p PADDING] [-a ALIGNMENT] [-d] [-f] [-v] FILE [OUT_FILE]
43+
sm64extend [-a ALIGNMENT] [-p PADDING] [-s SIZE] [-d] [-f] [-v] FILE [OUT_FILE]
4444
```
4545
Options:
46-
- <code>-s SIZE</code> Size of the extended ROM in MB (default: 64).
47-
- <code>-p PADDING</code> Padding to insert between MIO0 blocks in KB (default = 32).
4846
- <code>-a ALIGNMENT</code> Byte boundary to align MIO0 blocks (default = 1).
47+
- <code>-p PADDING</code> Padding to insert between MIO0 blocks in KB (default = 32).
48+
- <code>-s SIZE</code> Size of the extended ROM in MB (default: 64).
4949
- <code>-d</code> Dump MIO0 blocks to files in mio0 directory.
5050
- <code>-f</code> Fill old MIO0 blocks with 0x01.
5151
- <code>-v</code> verbose output.

release/sm64extend.README.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## sm64extend: Super Mario 64 ROM Extender
2-
- accepts Z64 (BE) or V64 (byte-swapped) ROMs as input
2+
- accepts Z64 (BE), V64 (byte-swapped), or N64 (little-endian) ROMs as input
33
- works with US, European, Japanese, and Shindou ROMs
44
- decompresses all MIO0 blocks from ROM to extended area
55
- configurable extended ROM size (default 64 MB)
@@ -49,6 +49,10 @@ Pad 64 KB between blocks, align blocks to 16-byte boundaries, fill old MIO0 bloc
4949
sm64extend -p 64 -a 16 -f sm64.z64 sm64_output.ext.z64
5050
```
5151
### Changelog:
52+
v0.3.1: add little-endian ROM support and error checking
53+
- add support for .n64 little-endian ROMs
54+
- add further validation on SM64 ROM version
55+
- restrict range of output size to between 16 and 64MB
5256
v0.3: add support for (E) and Shindou ROMs
5357
- increase detection of level script and asm references
5458
- detect optimized ASM references

sm64extend.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include "libsm64.h"
66
#include "utils.h"
77

8-
#define SM64EXTEND_VERSION "0.3"
8+
#define SM64EXTEND_VERSION "0.3.1"
99

1010
// default configuration
1111
static const sm64_config default_config =
@@ -37,7 +37,7 @@ static void print_usage(void)
3737
"File arguments:\n"
3838
" FILE input ROM file\n"
3939
" OUT_FILE output ROM file (default: replaces FILE extension with .ext.z64)\n",
40-
default_config.ext_size, default_config.padding, default_config.alignment);
40+
default_config.alignment, default_config.padding, default_config.ext_size);
4141
exit(EXIT_FAILURE);
4242
}
4343

0 commit comments

Comments
 (0)