Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- align(int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- align(int, byte) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- ARM7 - Enum constant in enum class io.github.turtleisaac.nds4j.NintendoDsRom.UNPACKED_FILENAMES
- ARM9 - Enum constant in enum class io.github.turtleisaac.nds4j.NintendoDsRom.UNPACKED_FILENAMES
B
- BANNER - Enum constant in enum class io.github.turtleisaac.nds4j.NintendoDsRom.UNPACKED_FILENAMES
- BIG - Enum constant in enum class io.github.turtleisaac.nds4j.framework.Endianness
- BinaryWriter - Class in io.github.turtleisaac.nds4j.framework
- BinaryWriter(File) - Constructor for class io.github.turtleisaac.nds4j.framework.BinaryWriter
- BinaryWriter(String) - Constructor for class io.github.turtleisaac.nds4j.framework.BinaryWriter
- BinaryWriter(Path) - Constructor for class io.github.turtleisaac.nds4j.framework.BinaryWriter
- BLZ_DecodePub(byte[], String) - Method in class io.github.turtleisaac.nds4j.framework.BLZCoder
- BLZ_EncodePub(byte[], boolean, boolean, String) - Method in class io.github.turtleisaac.nds4j.framework.BLZCoder
- BLZCoder - Class in io.github.turtleisaac.nds4j.framework
- BLZCoder(String[]) - Constructor for class io.github.turtleisaac.nds4j.framework.BLZCoder
- Buffer - Class in io.github.turtleisaac.nds4j.framework
- Buffer(String) - Constructor for class io.github.turtleisaac.nds4j.framework.Buffer
- Buffer(Path) - Constructor for class io.github.turtleisaac.nds4j.framework.Buffer
C
- calculateCrc(byte...) - Static method in class io.github.turtleisaac.nds4j.framework.CRC16
- calculateNumFiles(File) - Static method in class io.github.turtleisaac.nds4j.Fnt
- close() - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- close() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- Core - Class in io.github.turtleisaac.nds4j
- Core() - Constructor for class io.github.turtleisaac.nds4j.Core
- Core.VersionData - Enum Class in io.github.turtleisaac.nds4j
- CRC16 - Class in io.github.turtleisaac.nds4j.framework
- CRC16() - Constructor for class io.github.turtleisaac.nds4j.framework.CRC16
- create() - Static method in class io.github.turtleisaac.nds4j.framework.MemBuf
D
- DATA - Enum constant in enum class io.github.turtleisaac.nds4j.NintendoDsRom.UNPACKED_FILENAMES
E
- Endianness - Enum Class in io.github.turtleisaac.nds4j.framework
- endOfFile() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- equals(Object) - Method in class io.github.turtleisaac.nds4j.Fnt.Folder
- equals(Object) - Method in class io.github.turtleisaac.nds4j.Narc
F
- FATB_HEADER_SIZE - Static variable in class io.github.turtleisaac.nds4j.Narc
- files - Variable in class io.github.turtleisaac.nds4j.Fnt.Folder
- FIMG_HEADER_SIZE - Static variable in class io.github.turtleisaac.nds4j.Narc
- findLowestAvailableFileId(ArrayList<byte[]>) - Static method in class io.github.turtleisaac.nds4j.Fnt
- firstId - Variable in class io.github.turtleisaac.nds4j.Fnt.Folder
- Fnt - Class in io.github.turtleisaac.nds4j
- Fnt() - Constructor for class io.github.turtleisaac.nds4j.Fnt
- Fnt.FileProcessingData - Interface in io.github.turtleisaac.nds4j
- Fnt.Folder - Class in io.github.turtleisaac.nds4j
- FNTB_HEADER_SIZE - Static variable in class io.github.turtleisaac.nds4j.Narc
- Folder() - Constructor for class io.github.turtleisaac.nds4j.Fnt.Folder
- Folder(String) - Constructor for class io.github.turtleisaac.nds4j.Fnt.Folder
- Folder(HashMap<String, Fnt.Folder>, ArrayList<String>, int) - Constructor for class io.github.turtleisaac.nds4j.Fnt.Folder
- folders - Variable in class io.github.turtleisaac.nds4j.Fnt.Folder
- formatOutputString(int, int, String, String) - Static method in class io.github.turtleisaac.nds4j.framework.StringFormatter
- fromContentsAndNames(ArrayList<byte[]>, Fnt.Folder, Endianness) - Static method in class io.github.turtleisaac.nds4j.Narc
-
Create a NARC archive from a list of files and (optionally) a filename table.
- fromFile(File) - Static method in class io.github.turtleisaac.nds4j.Narc
-
Load a NARC archive from a file on disk
- fromFile(File) - Static method in class io.github.turtleisaac.nds4j.NintendoDsRom
-
Reads a
NintendoDsRom
from a ROM file on disk - fromFile(String) - Static method in class io.github.turtleisaac.nds4j.Narc
-
Load a NARC archive from a filesystem file
- fromFile(String) - Static method in class io.github.turtleisaac.nds4j.NintendoDsRom
-
Reads a
NintendoDsRom
from a ROM file on disk - fromUnpacked(File) - Static method in class io.github.turtleisaac.nds4j.NintendoDsRom
-
Creates a
NintendoDsRom
from an unpacked ROM on disk - fromUnpacked(File, boolean, Endianness) - Static method in class io.github.turtleisaac.nds4j.Narc
-
Load an unpacked NARC from a directory on disk
- fromUnpacked(String) - Static method in class io.github.turtleisaac.nds4j.NintendoDsRom
-
Creates a
NintendoDsRom
from an unpacked ROM on disk - fromUnpacked(String, boolean, Endianness) - Static method in class io.github.turtleisaac.nds4j.Narc
-
Load an unpacked NARC from a directory on disk
G
- getBuffer() - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- getFile() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- getFileByName(String) - Method in class io.github.turtleisaac.nds4j.Narc
-
Return the contents of the file with the given filename (path).
- getFileByName(String) - Method in class io.github.turtleisaac.nds4j.NintendoDsRom
-
Return the data for the file with the given filename (path).
- getFileId() - Method in interface io.github.turtleisaac.nds4j.Fnt.FileProcessingData
- getFilenameOf(int) - Method in class io.github.turtleisaac.nds4j.Fnt.Folder
-
Find the filename of the file with the given ID.
- getFiles() - Method in class io.github.turtleisaac.nds4j.Fnt.Folder
- getFirstId() - Method in class io.github.turtleisaac.nds4j.Fnt.Folder
- getFntEntry() - Method in interface io.github.turtleisaac.nds4j.Fnt.FileProcessingData
- getFolders() - Method in class io.github.turtleisaac.nds4j.Fnt.Folder
- getIdOf(String) - Method in class io.github.turtleisaac.nds4j.Fnt.Folder
-
Find the file ID for the given filename, or for the given file path (using "/" as the separator) relative to this folder.
- getLength() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- getParentFolderId() - Method in interface io.github.turtleisaac.nds4j.Fnt.FileProcessingData
- getPosition() - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- getPosition() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- getPosition() - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- getPosition() - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- getSubfolder(String) - Method in class io.github.turtleisaac.nds4j.Fnt.Folder
-
Find the Folder instance for the given subfolder name, or for the given folder path (using "/" as the separator) relative to this folder.
- getValue() - Method in class io.github.turtleisaac.nds4j.framework.CRC16
- getVersionNumber() - Static method in class io.github.turtleisaac.nds4j.Core
-
Returns a formatted string containing the version number of this library
H
- hashCode() - Method in class io.github.turtleisaac.nds4j.Fnt.Folder
- hashCode() - Method in class io.github.turtleisaac.nds4j.Narc
- HEADER - Enum constant in enum class io.github.turtleisaac.nds4j.NintendoDsRom.UNPACKED_FILENAMES
I
- io.github.turtleisaac.nds4j - package io.github.turtleisaac.nds4j
- io.github.turtleisaac.nds4j.framework - package io.github.turtleisaac.nds4j.framework
L
- LITTLE - Enum constant in enum class io.github.turtleisaac.nds4j.framework.Endianness
- load(byte[]) - Static method in class io.github.turtleisaac.nds4j.Fnt
-
Create a
Folder
from filename table data. - loadFromDisk(File, ArrayList<byte[]>) - Static method in class io.github.turtleisaac.nds4j.Fnt
-
Create a
Folder
from an unpacked filesystem on disk; This also grabs all the binary data for each file.
M
- main(String[]) - Static method in class io.github.turtleisaac.nds4j.framework.BLZCoder
- main(String[]) - Static method in class Test
- MAJOR - Enum constant in enum class io.github.turtleisaac.nds4j.Core.VersionData
- MemBuf - Class in io.github.turtleisaac.nds4j.framework
- MemBuf() - Constructor for class io.github.turtleisaac.nds4j.framework.MemBuf
- MemBuf.MemBufReader - Class in io.github.turtleisaac.nds4j.framework
- MemBuf.MemBufWriter - Class in io.github.turtleisaac.nds4j.framework
- MemBufReader() - Constructor for class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- MemBufWriter() - Constructor for class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- MINOR - Enum constant in enum class io.github.turtleisaac.nds4j.Core.VersionData
N
- name - Variable in class io.github.turtleisaac.nds4j.Fnt.Folder
- Narc - Class in io.github.turtleisaac.nds4j
- Narc() - Constructor for class io.github.turtleisaac.nds4j.Narc
- Narc(byte[]) - Constructor for class io.github.turtleisaac.nds4j.Narc
-
Read NARC data, and create a filename table and a list of files.
- NARC_HEADER_SIZE - Static variable in class io.github.turtleisaac.nds4j.Narc
- nextFolderId - Static variable in class io.github.turtleisaac.nds4j.Fnt
- NintendoDsRom - Class in io.github.turtleisaac.nds4j
- NintendoDsRom(byte[]) - Constructor for class io.github.turtleisaac.nds4j.NintendoDsRom
-
Creates a
NintendoDsRom
object from a providedbyte[]
representing the bytes of a ROM file - NintendoDsRom.UNPACKED_FILENAMES - Enum Class in io.github.turtleisaac.nds4j
O
- OVERLAY - Enum constant in enum class io.github.turtleisaac.nds4j.NintendoDsRom.UNPACKED_FILENAMES
P
- PATCH - Enum constant in enum class io.github.turtleisaac.nds4j.Core.VersionData
R
- readByte() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readByte() - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- readBytes(int) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readBytes(int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- readBytesI(int) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readBytesI(int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- reader() - Method in class io.github.turtleisaac.nds4j.framework.MemBuf
- readFile(String) - Static method in class io.github.turtleisaac.nds4j.framework.Buffer
- readFile(Path) - Static method in class io.github.turtleisaac.nds4j.framework.Buffer
- readInt() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readInt() - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- readLong() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readRemainder() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readSelectiveByte(int, int) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readSelectiveInt(int, int) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readSelectiveShort(int, short) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readShort() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readShort() - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- readShorts(int) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readString(int) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readString(int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- readTo(int) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readTo(int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- readTo(long) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readTo(long) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- readUInt16() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readUInt16() - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- readUInt32() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readUInt32() - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- readUnsignedShorts(int) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readUShort8() - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- readUShort8() - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- reset() - Method in class io.github.turtleisaac.nds4j.framework.CRC16
S
- save() - Method in class io.github.turtleisaac.nds4j.Narc
-
Generate a
byte[]
representing this NARC. - save(boolean) - Method in class io.github.turtleisaac.nds4j.NintendoDsRom
-
Generate a
byte[]
representation of this ROM - save(Fnt.Folder) - Static method in class io.github.turtleisaac.nds4j.Fnt
-
Generates a MemBuf representing the root folder as a filename table.
- saveToFile(File) - Method in class io.github.turtleisaac.nds4j.Narc
-
Generate a
byte[]
representing this NARC, and save it to a file on disk - saveToFile(File, boolean) - Method in class io.github.turtleisaac.nds4j.NintendoDsRom
-
Generate binary file representing this ROM, and save it to the file specified by filePath.
- saveToFile(String) - Method in class io.github.turtleisaac.nds4j.Narc
-
Generate a
byte[]
representing this NARC, and save it to a file on disk - saveToFile(String, boolean) - Method in class io.github.turtleisaac.nds4j.NintendoDsRom
-
Generate binary file representing this ROM, and save it to the file specified by filePath.
- setFileByName(String, byte[]) - Method in class io.github.turtleisaac.nds4j.Narc
-
Replace the contents of the NARC subfile with the given filename (path) with the given data.
- setFileByName(String, byte[]) - Method in class io.github.turtleisaac.nds4j.NintendoDsRom
-
Set the data for the file with the given filename (path).
- setPosition(int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- setPosition(int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- setPosition(long) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- setPosition(long) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufReader
- skip(int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- skipBytes(int) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- skipBytes(int) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- skipTo(int) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- skipTo(long) - Method in class io.github.turtleisaac.nds4j.framework.Buffer
- StringFormatter - Class in io.github.turtleisaac.nds4j.framework
- StringFormatter() - Constructor for class io.github.turtleisaac.nds4j.framework.StringFormatter
- symbol - Variable in enum class io.github.turtleisaac.nds4j.framework.Endianness
T
- Test - Class in Unnamed Package
- Test() - Constructor for class Test
- toString() - Method in class io.github.turtleisaac.nds4j.Fnt.Folder
- toString() - Method in class io.github.turtleisaac.nds4j.Narc
- toString() - Method in class io.github.turtleisaac.nds4j.NintendoDsRom
- toStringList(int) - Method in class io.github.turtleisaac.nds4j.Fnt.Folder
-
Return a
String
containing all file positions relative to thisFolder
, indented based on subfolder
U
- unpack(File) - Method in class io.github.turtleisaac.nds4j.Narc
-
Unpacks this
Narc
to disk at the specified path - unpack(File) - Method in class io.github.turtleisaac.nds4j.NintendoDsRom
-
Unpacks the rom to the target directory on disk
- unpack(String) - Method in class io.github.turtleisaac.nds4j.Narc
-
Unpacks this
Narc
to disk at the specified path - unpack(String) - Method in class io.github.turtleisaac.nds4j.NintendoDsRom
-
Unpacks the rom to the target directory on disk
- update(byte) - Method in class io.github.turtleisaac.nds4j.framework.CRC16
V
- valueOf(String) - Static method in enum class io.github.turtleisaac.nds4j.Core.VersionData
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.turtleisaac.nds4j.framework.Endianness
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.turtleisaac.nds4j.NintendoDsRom.UNPACKED_FILENAMES
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.turtleisaac.nds4j.Core.VersionData
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.turtleisaac.nds4j.framework.Endianness
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.turtleisaac.nds4j.NintendoDsRom.UNPACKED_FILENAMES
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERSION - Static variable in class io.github.turtleisaac.nds4j.Core
-
Individual values can be accessed in a structured manner using
Core.getSpecificVersionNumber(VersionData vData)
W
- write(byte...) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- write(byte...) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- write(byte[], int, int) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- write(byte[], int, int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
-
writes provided bytes at current offset
- write(int) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- write(short...) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- writeAt(byte[], int, int, int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
-
writes provided bytes at specified offset
- writeByte(byte) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeByte(byte) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- writeByte(int) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeByteNumTimes(byte, int) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeByteNumTimes(byte, int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- writeByteNumTimes(int, int) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeByteNumTimesAt(byte, int, int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- writeBytes(int...) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeBytes(int...) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- writeFile(File, byte...) - Static method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeFile(File, int...) - Static method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeFile(String, byte...) - Static method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeFile(Path, byte...) - Static method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeFolderToDisk(File, Fnt.Folder, ArrayList<byte[]>) - Static method in class io.github.turtleisaac.nds4j.Fnt
-
writes the ROM's internal filesystem to disk at the specified path
- writeInt(int) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeInt(int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- writeInts(int...) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeLong(long) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writePadding(int) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writer() - Method in class io.github.turtleisaac.nds4j.framework.MemBuf
- writeShort(short) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeShort(short) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- writeShorts(int...) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeShorts(short...) - Method in class io.github.turtleisaac.nds4j.framework.BinaryWriter
- writeString(String) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- writeString(String, int) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
- writeUInt32(long) - Method in class io.github.turtleisaac.nds4j.framework.MemBuf.MemBufWriter
Y
- Y7 - Enum constant in enum class io.github.turtleisaac.nds4j.NintendoDsRom.UNPACKED_FILENAMES
- Y9 - Enum constant in enum class io.github.turtleisaac.nds4j.NintendoDsRom.UNPACKED_FILENAMES
All Classes and Interfaces|All Packages|Constant Field Values