Skip to content

Commit

Permalink
add license header to project files
Browse files Browse the repository at this point in the history
  • Loading branch information
ihaveamac committed Aug 30, 2018
1 parent 88decbb commit a861733
Show file tree
Hide file tree
Showing 28 changed files with 169 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fuse3ds/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

__author__ = 'ihaveamac'
__copyright__ = 'Copyright (c) 2017-2018 Ian Burgwin'
__license__ = 'MIT'
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

from os.path import dirname, realpath
from sys import argv, exit, path

Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/_gui.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

# not very good with gui development...
# don't read this file, it sucks
print('Importing dependencies...')
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/_pyi_main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

from sys import argv, exit, path
from os.path import dirname, realpath

Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/fmt_detect.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

from typing import TYPE_CHECKING

if TYPE_CHECKING:
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

#!/usr/bin/env python3

from importlib import import_module
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/_common.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

import logging
from argparse import ArgumentParser, SUPPRESS
from errno import EROFS
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/cci.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts CTR Cart Image (CCI, ".3ds") files, creating a virtual filesystem of separate partitions.
"""
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/cdn.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts raw CDN contents, creating a virtual filesystem of decrypted contents (if encrypted).
"""
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/cia.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts CTR Importable Archive (CIA) files, creating a virtual filesystem of decrypted contents (if encrypted) + Ticket,
Title Metadata, and Meta region (if exists).
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/exefs.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts Executable Filesystem (ExeFS) files, creating a virtual filesystem of the ExeFS contents.
"""
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/nand.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts NAND images, creating a virtual filesystem of decrypted partitions. Can read essentials backup by GodMode9, else
OTP file/NAND CID must be provided in arguments.
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/nanddsi.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts Nintendo DSi NAND images, creating a virtual filesystem of decrypted partitions.
"""
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/ncch.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts NCCH containers, creating a virtual filesystem of decrypted sections.
"""
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/romfs.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts Read-only Filesystem (RomFS) files, creating a virtual filesystem of the RomFS contents. Accepts ones with and
without an IVFC header (original HANS format).
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/sd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts SD contents under `/Nintendo 3DS`, creating a virtual filesystem with decrypted contents. movable.sed required.
"""
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/srl.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts Nintendo DS ROM images, creating a virtual filesystem of the RomFS contents.
"""
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/threedsx.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts 3DSX Homebrew files, creating a virtual filesystem with the 3DSX's RomFS and SMDH.
"""
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/mount/titledir.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

"""
Mounts a "title" directory, creating a virtual system of all the installed titles inside it.
"""
Expand Down
7 changes: 7 additions & 0 deletions fuse3ds/pyctr/common.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.


class PyCTRError(Exception):
"""Common base class for all PyCTR errors."""
6 changes: 6 additions & 0 deletions fuse3ds/pyctr/crypto.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

from functools import wraps
from hashlib import sha256
from os import environ
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/pyctr/types/exefs.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

from typing import TYPE_CHECKING, NamedTuple

from ..common import PyCTRError
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/pyctr/types/ncch.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

from hashlib import sha256
from os import environ
from os.path import join as pjoin
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/pyctr/types/romfs.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

from functools import wraps
from io import BufferedIOBase, TextIOWrapper
from threading import Lock
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/pyctr/types/smdh.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

from types import MappingProxyType
from typing import TYPE_CHECKING, NamedTuple

Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/pyctr/types/tmd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

from hashlib import sha256
from typing import TYPE_CHECKING, NamedTuple

Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/pyctr/util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

import os
from math import ceil
from sys import platform
Expand Down
6 changes: 6 additions & 0 deletions fuse3ds/reg_shell.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is a part of fuse-3ds.
#
# Copyright (c) 2017-2018 Ian Burgwin
# This file is licensed under The MIT License (MIT).
# You can find the full license text in LICENSE.md in the root of this project.

from sys import executable
from os import remove
from os.path import abspath, dirname
Expand Down

0 comments on commit a861733

Please sign in to comment.