Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Gbfs-web GBA: Difference between revisions

From GameBrew
(Created page with "{{Infobox GBA Homebrews |title=gbfs-web |image=gbfsweb.png |description=webapp for attaching files to a GBFS-capable ROM. |author=Mattie Behrens |lastupdated=2024/06/16 |type=Builder Tools |version=2024 |license=MIT |download= |website=https://mattiebee.app/gbfs-web/ |source=https://github.com/mattieb/gbfs-web }} {{lowercase title}} gbfs-web was developed for and tested with 4-e, a Game Boy Advance homebrew application that can emulate an e-Reader for Super...")
 
(Updated to version 1.1.)
 
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:
|description=webapp for attaching files to a GBFS-capable ROM.
|description=webapp for attaching files to a GBFS-capable ROM.
|author=Mattie Behrens
|author=Mattie Behrens
|lastupdated=2024/06/16
|lastupdated=2024/10/10
|type=Builder Tools
|type=Builder Tools
|version=2024
|version=2024
|license=MIT
|license=MIT
|download=
|website=https://mattiebee.app/gbfs-web/
|website=https://mattiebee.app/gbfs-web/
|source=https://github.com/mattieb/gbfs-web
|source=https://mattiebee.dev/gbfs-web/
}}
}}
{{lowercase title}}
{{lowercase title}}
gbfs-web was developed for and tested with [[#4-e GBA|4-e]], a Game Boy Advance homebrew application that can emulate an e-Reader for Super Mario Advance 4.
By following the three simple steps in this app, you can take any ROM that supports [[GBFS GBA|GBFS]] (such as [[4-e GBA|4-e]]), select files to attach, and save a new ROM with those files attached.


By following the simple steps in the app, you can take any ROM that supports [[GBFS GBA|GBFS]], select files to attach, and save a new ROM with those files attached.
Everything is done in your browser. No ROM or file data is sent to or received from any server.


Everything is done locally in your browser. No ROM or file data is sent to or received from any server.
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.
 
== User guide ==
Go to https://mattiebee.app/gbfs-web.
 
Or, open index.html directly.
 
=== Differences ===
One key difference between GBFS files made by gbfs-web and [https://github.com/devkitPro/gba-tools/blob/054d507f90d32784274b6cf7e03f1c43d02d7a57/src/gbfs.c the original gbfs tool] is that gbfs-web does not bother to pad the objects in the GBFS file. I did not see a use for it, and 4-e (which uses [https://github.com/dmdemoura/libgbfs/blob/4230f4b6221af557210393c84bbc1494e1e4bcb0/source/libgbfs.c libgbfs]) does not appear to have any issues with it, even when loaded with lots of files.
 
gbfs-web does not currently pad the base ROM. The original tool doesn't either, but the original distribution did include a tool called [https://github.com/devkitPro/general-tools/blob/46086605cdc63fb02ba0ed08cdc00801ba00c6f0/padbin.c padbin] which does do this. 4-e's build process includes a step to pad to 256 bytes, libgbfs' default stride, so it did not seem necessary here, but it could be added.
 
If folks encounter issues due to these differences, gbfs-web can be changed accordingly. Please check to see if using the original tools solves the issue before filing bugs or submitting changes.


== Credits ==
== Credits ==
Line 41: Line 28:
* gbfs-web - https://mattiebee.app/gbfs-web
* gbfs-web - https://mattiebee.app/gbfs-web
* GitHub - https://github.com/mattieb/gbfs-web
* GitHub - https://github.com/mattieb/gbfs-web
== Changelog ==
v1.1
* Fixed a bug that would rearrange the contents of attached files when using Google Chrome.

Latest revision as of 11:32, 11 October 2024

gbfs-web
Gbfsweb.png
General
AuthorMattie Behrens
TypeBuilder Tools
Version2024
LicenseMIT License
Last Updated2024/10/10
Links
Website
Source

By following the three simple steps in this app, you can take any ROM that supports GBFS (such as 4-e), select files to attach, and save a new ROM with those files attached.

Everything is done in your browser. No ROM or file data is sent to or received from any server.

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.

Credits

gbfs-web wouldn't exist without:

External links

Changelog

v1.1

  • Fixed a bug that would rearrange the contents of attached files when using Google Chrome.

Advertising: