Code Monkey home page Code Monkey logo

gbfal's Introduction

GBF Asset Lookup

pages-build-deployment
Web page to search for GBF assets.
Click Here to access it.

Updater Requirements

  • Python 3.11.
  • Run pip install -r requirements.txt in a command prompt.
  • See requirements.txt for a list of third-party modules.

Front-End

The project consists of a single HTML, javascript and css files.
Github Pages are used for hosting but it can technically be hosted anywhere.

Back-End

Two of the JSON files in the json folder are the core of the system:

  • changelog.json is the first file loaded upon opening the page. It contains the timestamp of the last update and a list of recently updated elements.
  • data.json is loaded next and contains the data used to catalog all the assets, and more.

Others JSON files are used for debug or update purpose:

More JSON files not specified here might appear in this folder.

This script is in charge of updating the JSON files.
Do note than using it can be time and bandwidth consuming and the code isn't always optimized (especially for recent additions).
Running python updater.py without any parameters will give you an up-to-date list of parameters, but here's a description of them at the time of writing this README: Start parameters:

  • -wait: Wait for GBF to update before running.
  • -nochange: Disable changes to changelog.json "new" list.
  • -stats: Display data.json statistics before quitting.

Action parameters (Only one of those can be used at a time):

  • -run: Look for new content. If new content is found, it will automatically run -update, -event, -thumb, -relation and -lookup. Can append a list of element to -update.
  • -update: Update the content for specified IDs. Example usage: python updater.py-update 3040000000 3040001000 to update those two characters. Usable with all ten digit IDs, boss IDs and indexed background IDs. It will run -lookup after.
  • -job: Check for new MC jobs. Time consuming and not always accurate.
  • -jobedit: Open the JOB EDIT CLI, allowing you to manually edit the job data.
  • -lookup: Force update the lookup table. Time consuming.
  • -lookupfix: Open a CLI to manually add lookup data to elements without any. Last resort option.
  • -scenenpc: Update scene datas for NPCs. Very time consuming.
  • -scenechara: Update scene datas for characters. Very time consuming.
  • -sceneskin: Update scene datas for outfits. Very time consuming.
  • -scenefull: Update scene datas for characters, outfits and NPCs. Very time consuming.
  • -scenesort: Sort scene datas for every elements. It's called automatically in most cases but this is a way to trigger it manually.
  • -thumb: Check thumbnail data for NPCs.
  • -sound: Update sound datas for characters, outfits and NPCs. Very time consuming.
  • -partner: Update all partner datas. Very time consuming.
  • -enemy: Update all enemy datas. Time consuming.
  • -missingnpc: Update all missing npc datas. Time consuming.
  • -addpending: Add a list of character/skin/npc ID to the pending list for scene/sound updates.
  • -runpending: Run scene/sound updates for the pending lists of character/skin/npc IDs. Can be Time consuming.
  • -story: Update main story datas. Can add all to update existing chapters and/or a number to limit set manually the last chapter number.
  • -event: Update event datas. Time consuming.
  • -eventedit: Open the EVENT EDIT CLI, allowing you to add event thumbnail, update skycompass arts and more.
  • -buff: Update all buff datas. Time consuming.
  • -bg: Update all background datas. Time consuming.

Other Informations

  • On Windows, local_server.bat can be used to test the project locally, in a web browser.
  • On other OS, just run python-m http.server in a terminal, in the project folder.
  • GBFAP is the sister project, dealing with character animations.
  • For developpers, I documented some things in this file.

gbfal's People

Contributors

mizagbf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

windrunnerex

gbfal's Issues

Additional Tyra Scene Arts from "Tyra's Bizarre Adventure"

Feature requests go here!

If there is some sort of feature or change that you would wish to see implemented, you can post it here.

Here's a detailed list of what I might not, or won't, bother with:

  • Items icons

You can easily find those in-game and it wouldn't add much value. The only interesting point would be for cut-content items but there are only a few of them.

  • Anything fate episode related

The first hurdle would be to have a reliable way to track which fate are added to the game without having to crawl over all of them.
Second, considering the amount of episodes in-game, it would be quite time and bandwidth consuming.

  • Event voice files

I actually got a way to get those but it would make the events even harder to maintain over time and I'm not sure Cygames would like it either.

  • BGM and boss voice files

They simply don't have a reliable naming scheme which we can exploit to find them.

  • Skill sprite sheets and SFX files

They wouldn't add much values, although I'm not considering those to be off the table forever.

tldr: Anything sound or fate episode related is likely off the table.

Old character or NPC is missing a cutscene art or a sound file? Post here

Title says it all.
If you notice a npc or character is missing an image under the Scene Arts category, just post here the ID or the URL(s) of the image(s).
(URLs might be more useful in case those arts are due to me missing the corresponding strings, such as _sad.png, _laugh.png or whatever else they might add).
Same thing if you notice a missing sound file associated with a NPC, characters or outfits.
Thanks in advance.

EDIT: If you're passing by and don't have a github account, you can notify me via this google form

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.