Implement all the missing parts of the Edit Sheets and Edit Sounds dialogs

- On load, the game now detects graphic sheets and sounds whose IDs are "discontinuous", as well as graphics intended to directly replace preset graphic sheets.
- Edit sheets dialog can now handle "discontinuous" graphics. (The edit sounds dialog already could.)
- Edit sheets dialog prompts user to create a new sheet if there are none already, and also if there are some but not ID 0 (in the latter case they can cancel and still edit the sheets).
- Edit sheets dialog prompts user to convert sheets if the scenario is legacy, rather than doing it silently
- Edit sheets dialog now has "new" and "delete" buttons
- Edit sounds dialog now has functioning "delete" button
This commit is contained in:
2015-06-17 04:29:10 -04:00
parent 580f70f49a
commit 9d74f78df3
9 changed files with 263 additions and 54 deletions

View File

@@ -53,20 +53,10 @@ graphics.</p>
will work). For monster, item, and missile graphics, the slots must have a transparent
background.</p>
<p>Once you have your graphics sheet, there are a few ways to get it into the
scenario. A scenario generally consists of a archive file (specifically, a gzipped
tarball) containing various resource files, so you could put the graphics into the archive
yourself, either by decompressing it and recompressing it or by using a program that
allows you to open an archive without uncompressing it.</p>
<p>However, there's an easier way. Open your scenario in the scenario editor, then go to
the OBoE temporary files folder, where you'll find an uncompressed copy of your scenario.
(On the Mac, this can be found at "~/Library/Application Support/Blades of Exile"; on
Windows, it will be at "%APPDATA%/Blades of Exile".) Simply drop the files into the
graphics subdirectory within the scenario directory (if it doesn't exist, you can create
it), then return to the scenario editor and save the scenario. The scenario will
automatically add the new graphics to the archived copy of the scenario. You may need to
reload the scenario in the editor before it notice them, however.</p>
<p>Once you have your graphics sheet, the easiest way to get it into the scenario is to
select "Edit Custom Graphic Sheets" from the "Scenario" menu and either paste the image in
or click "Import" to load it in from a file. You may also need to click "New" first to
ensure the target sheet actually exists.</p>
<h2>Placing and Using Your Custom Graphics</h2>