Difference between revisions of "Instructions for Curating"

From Flashpoint Database
Jump to: navigation, search
(Created page with "'''A guide to testing your extracted Flash games, Java Applets, and more.''' * Download [https://mega.nz/#!1jpQWKJY!Qdy5lbhc6iTa9Pq3ADCJ3c4obbxBSBvSSZEwoNXq-sc Flashpoint Cor...")
 
Line 3: Line 3:
 
* Download [https://mega.nz/#!1jpQWKJY!Qdy5lbhc6iTa9Pq3ADCJ3c4obbxBSBvSSZEwoNXq-sc Flashpoint Core], a lightweight developer version of Flashpoint
 
* Download [https://mega.nz/#!1jpQWKJY!Qdy5lbhc6iTa9Pq3ADCJ3c4obbxBSBvSSZEwoNXq-sc Flashpoint Core], a lightweight developer version of Flashpoint
 
* Most games are tested within <code>Flashpoint Core X.X/Games/Flash/htdocs</code>. X.X is the version number
 
* Most games are tested within <code>Flashpoint Core X.X/Games/Flash/htdocs</code>. X.X is the version number
* Make note of the direct URL to the game executable you've extracted
+
* Make note of the direct URL to the game's main files you've extracted
<pre>Important, for most non-flash games, you need to save not only the game executable, but also the HTML code snippet in which the executable is embedded - place that in an index.html file, and keep reading </pre>
+
<blockquote>'''Important''', for most non-flash games, you need to save not only the game main file, but also the HTML code snippet in which the main file is embedded - place that in an index.html file, and keep reading </blockquote>
 
* Within htdocs, make a folder with the website name  
 
* Within htdocs, make a folder with the website name  
 
** i.e. <code>newgrounds.com</code>, <code>static.nickjr.com</code>, etc
 
** i.e. <code>newgrounds.com</code>, <code>static.nickjr.com</code>, etc
 
* Within that folder, begin mimicking the URL by building corresponding subdirectories.
 
* Within that folder, begin mimicking the URL by building corresponding subdirectories.
 
** i.e. <code>newgrounds.com/alienhominid/59593_alien_booya202c.swf</code> - you would make an <code>alienhominid</code> subfolder, if your url has more, keep adding subfolders until it looks like your url
 
** i.e. <code>newgrounds.com/alienhominid/59593_alien_booya202c.swf</code> - you would make an <code>alienhominid</code> subfolder, if your url has more, keep adding subfolders until it looks like your url
* Finally, place your game executable in the last subfolder (along with an <code>index.html</code> if you've created one)
+
* Finally, place your game's main files in the last subfolder (along with an <code>index.html</code> if you've created one)
  
 
'''Now that you have the code set up correctly in htdocs:'''
 
'''Now that you have the code set up correctly in htdocs:'''
  
* Open up Flashpoint Core and click on New Game on the bottom right corner
+
* Open up Flashpoint Core and click on New Game on the bottom right corner  
 
* Click on <u>Application Path</u> and select the appropriate path for your extracted game ** i.e. flashplayer.exe for flash, startUnity.bat for Unity, etc.  
 
* Click on <u>Application Path</u> and select the appropriate path for your extracted game ** i.e. flashplayer.exe for flash, startUnity.bat for Unity, etc.  
 
* The <u>Launch command</u> should be the exact URL to where you extracted the game
 
* The <u>Launch command</u> should be the exact URL to where you extracted the game
 
** '''However''', for most non-Flash games, you need to link it to the html in which the game is embedded
 
** '''However''', for most non-Flash games, you need to link it to the html in which the game is embedded
* If you want to edit these locations later, head to the Arcade tab and select the game - there will be a pencil image and a trash image next to the name - click the pencil
+
* If you want to edit these locations later, head to the Arcade tab and select the game (there will be a pencil image and a trash image next to the name) and click the pencil
 
* You should see a new game in the launcher list
 
* You should see a new game in the launcher list
 
* Run it  
 
* Run it  
* You can debug by observing the Flashpoint redirector and seeing if you're missing any extra assets or code by going to the URL locations, downloading it and placing it correctly in the htdocs
+
 
 +
'''Tips for debugging issues:'''
 +
 
 +
* Observe the Flashpoint redirector window and see if you're getting 404 errors - you can grab any missing assets or code by going to the indicated URL locations, downloading it and placing it correctly in the htdocs
 +
* Hunt down other websites in which the game has been embedded or even originally hosted if any of the files end up being broken
 +
 
 +
----
  
 
Once it works, follow the instructions on the [[Curation_Format]].
 
Once it works, follow the instructions on the [[Curation_Format]].

Revision as of 02:36, 12 March 2019

A guide to testing your extracted Flash games, Java Applets, and more.

  • Download Flashpoint Core, a lightweight developer version of Flashpoint
  • Most games are tested within Flashpoint Core X.X/Games/Flash/htdocs. X.X is the version number
  • Make note of the direct URL to the game's main files you've extracted
Important, for most non-flash games, you need to save not only the game main file, but also the HTML code snippet in which the main file is embedded - place that in an index.html file, and keep reading
  • Within htdocs, make a folder with the website name
    • i.e. newgrounds.com, static.nickjr.com, etc
  • Within that folder, begin mimicking the URL by building corresponding subdirectories.
    • i.e. newgrounds.com/alienhominid/59593_alien_booya202c.swf - you would make an alienhominid subfolder, if your url has more, keep adding subfolders until it looks like your url
  • Finally, place your game's main files in the last subfolder (along with an index.html if you've created one)

Now that you have the code set up correctly in htdocs:

  • Open up Flashpoint Core and click on New Game on the bottom right corner
  • Click on Application Path and select the appropriate path for your extracted game ** i.e. flashplayer.exe for flash, startUnity.bat for Unity, etc.
  • The Launch command should be the exact URL to where you extracted the game
    • However, for most non-Flash games, you need to link it to the html in which the game is embedded
  • If you want to edit these locations later, head to the Arcade tab and select the game (there will be a pencil image and a trash image next to the name) and click the pencil
  • You should see a new game in the launcher list
  • Run it

Tips for debugging issues:

  • Observe the Flashpoint redirector window and see if you're getting 404 errors - you can grab any missing assets or code by going to the indicated URL locations, downloading it and placing it correctly in the htdocs
  • Hunt down other websites in which the game has been embedded or even originally hosted if any of the files end up being broken

Once it works, follow the instructions on the Curation_Format.