• Welcome to Zoo Tycoon Designer Guild.
 

Frame Count And Animation Speed Checker

Started by Jay, July 20, 2022, 06:17:20 PM

0 Members and 1 Guest are viewing this topic.

Jay

Frame Count And Animation Speed Checker

Author: Jay

Keywords: Checker

Current exe date: April 18, 2022
Current bat date: July 14, 2022

Zip size: 10.2 KB

Overview: This is a program for designers to check the frame counts and animation speeds of their ZT animals and objects. When different views of an animation have different frame counts, the animal or object can become invisible when the zoo is rotated.

Description: This program checks for frame count and animation speed mismatches of all ZT image (e, n, ne, nw, s, se, sw, w) files in a specified folder and all of its subfolders. This program also checks if backslashes were used for the pal file paths inside the ZT images.

The program is not fancy. Therefore, you have to be somewhat proficient with MS Windows and unzipping in order to use it.

For completeness... For those that understand and write scripts, the CheckFrameCountAndAnimationSpeed.exe program can also be run on the command line. You can run CheckFrameCountAndAnimationSpeed.exe with a "-h" option to get more information.

Instructions:

Here are instructions for running the checkimages2 program.

Although the checkimages2 program can be run from different locations, the best place is from a C:\ZT-utils folder. If that folder does not exist yet, create a "ZT-utils" folder in the top level of the C: drive (C:\ZT-utils). Extract the files from checkimages2.zip into the ZT-utils folder. The following procedures were tested in Windows XP, but other Windows versions should be similar. For example, Windows 10 uses "More apps" instead of "Choose Program".

To run checkimages2 for the first time for a ".uca" file:
1. Extract the entire ".ztd" file. Do not extract it into any of Zoo Tycoon's folders.
2. Because Microsoft Windows does not support "Open With" for folders, running the checkimages2 program is unusual. Right click on an ".ani" file. The checkimages2 program will go up 2 folders from that point, then check all ZT images in that folder and all of its subfolders. For buildings that sell things, the best ".ani" to right click is one in a subfolder of the items folder. For animals, the best ".ani" to right click is one in an .../ic... folder. For other objects, the .../idle/idle.ani can be right clicked.
3. Click "Open With".
4. Click "Choose Program".
5. Click "Browse".
6. click "My Computer".
7. Double click "C:".
8. Double click "ZT-utils".
9. Click "checkimages2.bat".
10. Click "Open".
11. Click OK and the results of the checker are shown in a window that can be scrolled.

To run checkimages2 after the first time:
1. Extract the entire ".ztd" file. Do not extract it into any of Zoo Tycoon's folders.
2. Because Microsoft Windows does not support "Open With" for folders, running the checkimages2 program is unusual. Right click on an ".ani" file. The checkimages2 program will go up 2 folders from that point, then check all ZT images in that folder and all of its subfolders. For buildings that sell things, the best ".ani" to right click is one in a subfolder of the items folder. For animals, the best ".ani" to right click is one in an .../ic... folder. For other objects, the .../idle/idle.ani can be right clicked.
3. Click "Open With".
4. Click "checkimages2" and the results of the checker are shown in a window that can be scrolled.

To copy the results information so that it can be pasted into something, do the following:
1. Right click in the results window and click "Mark".
2. Move the mouse pointer to the bottom far left of the results window.
3. While pressing the left mouse button, move the mouse pointer from the bottom far left to the top far right of the window, allowing the window to scroll to the top. Everything will be highlighted. Release the mouse button and press the Enter key. The highlighting will disappear and the information can now be pasted elsewhere.

Click here to download checkimages2.zip.

Jay

Current ".c" date: April 18, 2022

Zip size: 2.30 KB

Description: If you are a programmer with a C compiler such as gcc, it is possible to compile the CheckFrameCountAndAnimationSpeed program yourself. Here is its source code. Extract CheckFrameCountAndAnimationSpeed.c from the ".zip" and use the following commands to compile it in a MS Windows Command Prompt window:
gcc -O3 CheckFrameCountAndAnimationSpeed.c -o CheckFrameCountAndAnimationSpeed
strip CheckFrameCountAndAnimationSpeed.exe

Click here to download CheckFrameCountAndAnimationSpeed-Source.zip.