Metadata Edits: Difference between revisions

From Flashpoint Datahub
Jump to navigation Jump to search
(added outdated warning)
(→‎Metadata Changes: launch command and application path clarification)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:Curationedits.png|thumb|Shows where to find the ID of a game in Flashpoint Launcher.]]
[[File:editgamefpfssmenu.png|thumb|With the Edit Game (FPFSS) menu, metadata can be changed entirely in-browser.]]
This page describes how to submit metadata changes to games or animations that are already in Flashpoint. All metadata changes should be submitted to the appropriate channel under the "Pending Fixes" category on Discord, including game/animation assets if necessary.  
This page describes how to submit metadata changes to games or animations that are already in Flashpoint.


Before you begin, please note that metadata edits can only be submitted for games that are already in Flashpoint. If you notice a mistake with your own curation after you've submitted it, you should upload a fixed version with the changes made on your curation's page before it is marked as added to Flashpoint. Once marked, you should wait until the next version to submit a metadata edit.
Before you begin, please note that metadata edits can only be submitted for games that are already in Flashpoint. If you notice a mistake with your own curation after you've submitted it, you should upload a fixed version with the changes made on your curation's page before it is marked as added to Flashpoint. Once marked, you can now submit a metadata edit.


'''Note: All of the information in this is outdated. A more up to date guide will be coming soon.'''
== Metadata Changes ==


== Metadata Edits (JSONs) ==
Metadata edits are done entirely in the latest installer version of Flashpoint.


First, use your copy of Flashpoint Infinity or Ultimate to find the game/animation that you wish to change.
'''Metadata editing is currently restricted to Staff and Trial Editors only.'''
# Click the entry to select it.
# On the right sidebar, click the pencil button. If this button is not available, click the Config tab of the launcher and check the Enable Editing box.
# Keep the ID of the game in mind (see screenshot on the right).
# Change the metadata that you wish to change.
# Once you're done, click the checkmark in the top right to save your changes.
# Right click the game entry for a drop down menu, and click Export Meta Edit.
# Click the checkbox for each metadata type that you've changed.
# Click Export.
# Go into your Flashpoint folder, then Data, then the MetaEdits folder. (If you haven't done a metadata edit previously, this folder will have been created.)
# Remember that ID from a few steps back? You'll now have a file with that filename in this folder. This is your meta edit.


Drag and drop this meta edit to [https://discord.com/channels/432708847304704010/912557298776416306 #metadata-jsons] and Discord will allow you to upload it straight to the channel. Type a message stating what the pending edit does (eg: "Updates the developer and description for Bowman".) If you wish to perform multiple pending fixes at a time, a zip file with all of the files is also acceptable.
First make sure Editing is enabled in the Config menu. At the top of the sidebar for every game is the Edit Game (FPFSS) button, click it to begin editing. If you are not logged into the launcher with your Discord account,  it will open FPFSS in your internet browser asking if you approve the device. Approve it and head back to the launcher. The metadata editing menu will now be open.


You can test your meta edits if you so wish. By leaving the files in the MetaEdits folder, you can use the Developer tab (remember to enable it via Config), and use the Import Meta Edits button (the second set of buttons, furthest to the right). Simply click the button and you'll see a summary of your pending edits (they will be noted as "discarded changes" because they'll be the same in your copy).
[[File:editgamefpfssbutton.png|none|frameless|border]]


'''Note:''' You cannot do a pending fix on a curation that hasn't been in a public Flashpoint release yet. The ID generated by Core and by the master build of Flashpoint are not the same.
Here you can edit every single aspect of an entry's metadata, except for GameZIP application path and launch commands. Those edits are done on the <code>https://fpfss.unstable.life/web/game/(UUID)</code> link of a zipped title. Additional Applications can also be added via this method, but if they require any edits to the game files, then again they need to be content patches. '''Please follow the [[Curation Format|curation formatting rules]].'''
 
When you are ready to submit your edits, click the check icon, and after a few seconds a small window should let you know if it was a success or a failure. If it was a failure, then close and reopen the launcher and try again. If you forgot to include an edit, open the menu and re-edit it. There are no limits to how many times you can edit an entry.


== Submitting Logos/Screenshots ==
== Submitting Logos/Screenshots ==
Line 41: Line 33:
== Duplicates ==
== Duplicates ==


First of all, if a curation requires metadata to be merged or content to be moved around/deleted, follow the appropriate steps from [[#Metadata Edits (JSONs)|Metadata Edits]] and [[#Submitting Assets (Content Changes)|Submitting Assets]].
First of all, if a curation requires metadata to be merged or content to be moved around/deleted, follow the appropriate steps from [[#Metadata Edits (JSONs)|Metadata Edits]] and [[Content Patches]].
 
Next, post a message with the UUID and title of the "main" curation, along with the UUIDs and titles of the duplicates to be deleted in [https://discord.com/channels/432708847304704010/912557662204481616 #duplicates]. Make sure both versions are identical, and if not specify which should be an alternate app of the other. The older entry takes precendence in not being deleted.
 
== Submitting Tech Changes (new plugins) ==
 
You will need to submit your changes directly with a merge request on our main project repository. Sign up for an account over at:
 
https://gitlab.fp.unstable.life/flashpoint/software/Flashpoint
 
== Submitting Alternates ==
 
To submit an alternate, first follow the instructions in the "Submitting Zipped Games" section, zipping the alternate as you would a full game. In your message to #new-zips, include the name of the entry the alternate belongs to, the name of the alternative app as will be shown in the launcher, and the launch command for said alternative app. Include any additional instructions if applicable. It should look something like this, but as long as you have all the essentials in the message in a not-stupid way, it should be okay:
 
Alternative App for Alien Hominid (ID: 08143aa7-f3ae-45b0-a1d4-afa4ac44c845)
Heading: Big Head Mod
Application Path: FPSoftware\Flash\flashplayer_32_sa.exe
Launch Command: http://uploads.ungrounded.net/10/alien_bighead.swf
 
<code>(link to folder here, or Discord upload)</code>
 
Submissions go in #new-zips.
 
If you would like to submit Extras, just include an Extras folder as an extra zipped file.
If any other files are required (such as a Shockwave Xtra), include those alongside the alt.
 
== Submitting Zipped Games ==
 
Follow the instructions on the [[Zipping Guide]] page and send it to #new-zips in the Pending Fixes section, stating it is a newly zipped game and noting which files to remove from Legacy\htdocs.
 
== Submitting Assets (Content Changes) ==
 
If a game/animation needs content files added, replaced, removed or otherwise fixed, you will need to assemble a complete game zip as per the Submitting Zipped Games section. Take the game's original files, add the fixed files on top of those files, then follow the [[Zipping Guide]] to make and test a GameZip. Finally, submit the zip via #new-zips, along with a list of files that can be safely removed from Legacy\htdocs, or if you're replacing an existing zipped game (whichever is applicable), and note why you have done so (what bug is fixed, what resources are replaced, etc.).
 
=== Examples of Noting Changes ===
 
(Game Name): Fixed missing sound effect (added example.com/example.wav)
 
(Game Name): Updated game (replaced game.swf)


(Game Name): Removed unneeded resources (removed bad_file.txt)
Next, post a message with the UUID and title of the "main" curation, along with the UUIDs and titles of the duplicates to be deleted in [https://discord.com/channels/432708847304704010/912557662204481616 #duplicates]. Make sure both versions are identical, and if not then make a [[Content Patches|content patch]] adding one as an additional application to the other one. The entry with better metadata takes precendence in not being deleted.


<noinclude>
<noinclude>
[[Category:Curation Guides]]
[[Category:Curation Guides]]
</noinclude>
</noinclude>

Latest revision as of 15:37, 15 November 2023

With the Edit Game (FPFSS) menu, metadata can be changed entirely in-browser.

This page describes how to submit metadata changes to games or animations that are already in Flashpoint.

Before you begin, please note that metadata edits can only be submitted for games that are already in Flashpoint. If you notice a mistake with your own curation after you've submitted it, you should upload a fixed version with the changes made on your curation's page before it is marked as added to Flashpoint. Once marked, you can now submit a metadata edit.

Metadata Changes

Metadata edits are done entirely in the latest installer version of Flashpoint.

Metadata editing is currently restricted to Staff and Trial Editors only.

First make sure Editing is enabled in the Config menu. At the top of the sidebar for every game is the Edit Game (FPFSS) button, click it to begin editing. If you are not logged into the launcher with your Discord account, it will open FPFSS in your internet browser asking if you approve the device. Approve it and head back to the launcher. The metadata editing menu will now be open.

Editgamefpfssbutton.png

Here you can edit every single aspect of an entry's metadata, except for GameZIP application path and launch commands. Those edits are done on the https://fpfss.unstable.life/web/game/(UUID) link of a zipped title. Additional Applications can also be added via this method, but if they require any edits to the game files, then again they need to be content patches. Please follow the curation formatting rules.

When you are ready to submit your edits, click the check icon, and after a few seconds a small window should let you know if it was a success or a failure. If it was a failure, then close and reopen the launcher and try again. If you forgot to include an edit, open the menu and re-edit it. There are no limits to how many times you can edit an entry.

Submitting Logos/Screenshots

Add any new logos or screenshots into a ZIP file structured as so:

Logos
└─── ID.png
Screenshots
└─── ID.png
└─── ID.png
└─── ID.png

You may submit multiple logos/screenshots in a single ZIP file, as long as they are named after the curation's ID. Replace "ID" with the UUID of the curation that you copied from the Launcher. Submit the ZIP file to #logos-screenshots

Duplicates

First of all, if a curation requires metadata to be merged or content to be moved around/deleted, follow the appropriate steps from Metadata Edits and Content Patches.

Next, post a message with the UUID and title of the "main" curation, along with the UUIDs and titles of the duplicates to be deleted in #duplicates. Make sure both versions are identical, and if not then make a content patch adding one as an additional application to the other one. The entry with better metadata takes precendence in not being deleted.