# Getting started
1. Download and Unzip the contents of https://nodejs.org/dist/v20.17.0/node-v20.17.0-win-x64.zip to the node folder
2. There should be this structure: <MDKToolsFolder>/node/node.exe
3. Then click Start.bat

# Troubleshooting
If you want to debug the application, you can activate the developer tools by uncommenting the following lines in the main.js file:
	SideWindow.webContents.openDevTools() // open dev tools for Resource Editor
	mainWindow.webContents.openDevTools() // open dev tools for main aplication

# Imporant information
The knowledge I got throughout the whole reverse engineering is far more than I can write in this small readme. In order to keep this 
readme accessible for everyone, I will omit the details. If anyone wants to know more, you can crawl through the code and learn some of 
the stuff I found out. Maybe I will write a compendium to save this knowledge but for now, I think you want to get hands on the tools and 
thats why I focused on that. 

- the "Resource Editor" was not tested further for the first release
- the image preview is flipped vertically to produce more appealing images
-> the models' UV_Data, textures and exported textures use the original y-axis orientation.
- the asset files do not provide information about the used palettes for each asset. The current associations are a first approach but not based on actual facts.
-> if there are color issues, this might be due to a wrong palette used by the asset.
-> the alternate palette selector show every palette that has been parsed yet, so if you want to try out other palettes, crawl through the files and they will be added to the list


# Known bugs / limitations / issues
- the tools use old libraries / frameworks and updating to the newest ones would force further delays with the release.
- animations are not yet implemented
- cmi files are not fully implemented
- color entries (T_COLOREN) seem to be a deprecated concept but some models still use them
- some models reference materials which actually do not exist.
- palette / material export and lookup are extremely complex but this is due to the non existent explicit associations by the game files


# Credits
BuXXe
Discord: buxxe

29.08.2024