-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
95 lines (82 loc) · 3.45 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html>
<!--
This file is part of gbfs-web <https://mattiebee.dev/gbfs-web>.
Copyright 2024 Mattie Behrens.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
“Software”), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject
to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
<head>
<title>gbfs-web</title>
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css" />
<script src="gbfs-web.js"></script>
</head>
<body>
<header>
<nav>
<a href="https://mattiebee.app/gbfs-web">Home</a>
<a href="#about">About this app</a>
<a href="https://mattiebee.dev/gbfs-web">Source</a>
</nav>
<h1>gbfs-web</h1>
<p>
Attach files to a ROM using
<a href="https://pineight.com/gba/#gbfs">GBFS</a>.
</p>
</header>
<h2>① Pick a ROM</h2>
<input id="rom" type="file" />
<h2>② Pick files to attach</h2>
<input id="objects" type="file" multiple />
<h2>③ Save the new ROM</h2>
<button id="save">Save</button>
<section id="about">
<h2 id="about">About this app</h2>
<p>
By following the three simple steps in this app, you can take any ROM
that supports <a href="https://pineight.com/gba/#gbfs">GBFS</a> (such as
<a href="https://mattiebee.dev/4-e">4-e</a>), select files to attach,
and save a new ROM with those files attached.
</p>
<p>
Everything is done in your browser. No ROM or file data is sent to or
received from any server.
</p>
<p>
This app differs slightly from the command-line GBFS tools in a few
ways. It currently only creates a single GBFS "file" that it attaches to
the ROM, unlike those tools, which can create many. It also does not pad
objects in the GBFS file, unlike those tools; this did not appear
necessary. If you have problems, please consider
<a href="https://github.com/mattieb/gbfs-web/issues">filing an issue</a
>.
</p>
</section>
<footer>
<p>
Version 1.1. gbfs-web was developed for and tested with
<a href="https://mattiebee.dev/4-e">4-e</a>, a Game Boy Advance homebrew
application that can emulate an e-Reader for Super Mario Advance 4. It
was created by <a href="https://mattiebee.io">Mattie Behrens</a> and is
available under the
<a href="https://opensource.org/license/MIT">MIT license</a>, and uses
<a href="https://simplecss.org">Simple.css</a> by
<a href="https://kevquirk.com">Kev Quirk</a>.
</p>
</footer>
</body>
</html>