Old Zipping Guide

From Flashpoint Datahub
Revision as of 04:51, 31 January 2022 by Nosamu (talk | contribs)
Jump to navigation Jump to search

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.

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 the game's original curation by searching the Curations channel on Discord, FPFSS, and/or Pwncloud. Download the curation and ensure that the files and their 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.

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.
  3. Drag the UUID folder onto "_CONVERT.bat". You should see some output showing that the conversion was successful. 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 Core/Ultimate, or [download a fresh database file http://infinity.unstable.life/Flashpoint/Data/flashpoint.sqlite].

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!