Old Zipping Guide: Difference between revisions

From Flashpoint Datahub
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 8: Line 8:
# Open Flashpoint Infinity or Ultimate and find the game that you'd like to convert. Right-click the game and copy its UUID.
# Open Flashpoint Infinity or Ultimate and find the game that you'd like to convert. Right-click the game and copy its UUID.
# Create a new folder and name it according to the UUID you just copied.
# Create a new folder and name it according to the UUID you just copied.
#* '''Note:'''Do ''not'' create a "content" folder inside this folder!  
#* '''Note:''' Do ''not'' create a "content" folder inside this folder!  


=== Gathering the Files ===
=== Gathering the Files ===

Revision as of 05:03, 11 July 2022

This page describes how to create and test GameZIPs. The goal is to create GameZIPs for existing Legacy games, allowing the ZIP to replace the existing game files in Legacy\htdocs. You'll need a copy of Flashpoint Core, as well as a copy of either Flashpoint Infinity or Ultimate.

Creating a GameZIP

Setting it Up

  1. Find the Utilities folder in your copy of Flashpoint Core. Copy it into the same location in Flashpoint Infinity or Ultimate.
  2. Open Flashpoint Infinity or Ultimate and find the game that you'd like to convert. Right-click the game and copy its UUID.
  3. Create a new folder and name it according to the UUID you just copied.
    • Note: Do not create a "content" folder inside this folder!

Gathering the Files

There are a number of approaches for finding files for your zip. You might want to use some combination of the approaches below:

  • Launch the game in Flashpoint and check the Logs tab. Make a note of which files the game loads and where they are located. Find and copy these files into the UUID folder you created earlier.
  • Find and download the game's original curation. Ensure that curation's files and file locations match those in your copy of Infinity/Ultimate. You'll probably need to launch the game and check the Logs tab to find those file locations. Copy the files from the curation into your UUID folder.
    • Note: The game files/folders should be located directly inside the UUID folder! There should not be a "content" folder.

Once you've gathered the files, you may want to open your copy of Flashpoint Core and create a new curation just to quickly test that you didn't miss any files. Be sure to clear your cache before testing!

Zipping up the Files

  1. Open the Utilities folder in Flashpoint Infinity/Ultimate (the one you copied in earlier). Open the "bluezip" folder.
  2. Copy and paste your UUID folder containing the game files into the "bluezip" folder.
    • Note: The game files/folders should be located directly inside the UUID folder! There should not be a "content" folder.
  3. Drag the UUID folder onto "_CONVERT.bat". You should see some output showing that the conversion was successful. If it asks you whether to delete files, just press Enter to skip that. Then press Enter to close the Command Prompt window.
  4. In your main Flashpoint Infinity/Ultimate folder, you should now see a Games folder. Open that folder and verify that a ZIP file named according the game's UUID has been created.

Testing a GameZIP

Below are instructions for testing your own GameZIP after creating it, or testing someone else's GameZIP to verify that it works.

Setting it Up

Testing should be done in Flashpoint Core. To set up your copy of Core, open the Data folder and back up the flashpoint.sqlite file. (You can rename it to something like flashpoint.sqlite.bak, for example.) Then replace Core's flashpoint.sqlite file with the one from your copy of Infinity/Ultimate, or download a fresh database file.

Importing the GameZIP

  1. Open your modified copy of Core. You should see the same list of games you normally see in Infinity/Ultimate.
  2. Find the game corresponding to your GameZIP. You can search for id:TheUUID to find the right entry quickly. (Replace TheUUID with the game's UUID.)
  3. Select the game and click "Open Game Data Browser" on the right-hand side of the launcher.
  4. Click the "Import Data" button. Select your ZIP file and close the Game Data Browser.

Testing the GameZIP

  1. Clear your cache to ensure that cached files don't interfere with the test.
  2. Click "Play" to launch and test the game!