1/3
2 Years of Service
I have a Linux and I don't run any Windows emulator, but I wanted to take a look at the contents of some games posted here. I found some engines use the XP3 files. All the tools are available in code free portals, so I guess it's fine to share what I found here. They are created using reverse engineering, so no legal issues to share how to open these formats.
1) Unpacking XP3 file
I used xp3tools-udated
This is a python script, to run it, create a folder then:
With some luck that will create tons of files in that folder. Between them are the audio track in .wav, music in .ogg and the pictures in tlg.
3) Converting TLG to PNG
For this step we need a tool called tpg2png. This is a legacy tool, but worked fine.
It provides binaries, but in Linux we need to compile. It says to run first the command, but in my case it was not necessary.
To compile it extract the downloaded source code and then do the following
Once successfully compiled it can be use like this
./tlg2png 01.tlg 01.png
This tool processes a single file, so you will need to write a script to convert all the files.
(To MODs: If this kind of knowledge can't be shared here, I apologize and please delete the post)
1) Unpacking XP3 file
I used xp3tools-udated
You must be registered to see links
This is a python script, to run it, create a folder then:
python xp3-extract.py file.xp3 testWith some luck that will create tons of files in that folder. Between them are the audio track in .wav, music in .ogg and the pictures in tlg.
3) Converting TLG to PNG
For this step we need a tool called tpg2png. This is a legacy tool, but worked fine.
You must be registered to see links
It provides binaries, but in Linux we need to compile. It says to run first the command, but in my case it was not necessary.
apt-get install libpng-devTo compile it extract the downloaded source code and then do the following
mkdir build-dir
cd build-dir
cmake ..
make
Once successfully compiled it can be use like this
./tlg2png 01.tlg 01.png
This tool processes a single file, so you will need to write a script to convert all the files.
(To MODs: If this kind of knowledge can't be shared here, I apologize and please delete the post)