• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Feature Tibia Recordings Renderer

tibiacast

Member
Joined
Feb 8, 2024
Messages
4
Reaction score
17
Hiho!

I don't think that you can easily generate video frames in such an easy way, it would require a lot of work to analyze packages and draw the whole environment instead to the client. The solution you think could work as an otclient extension that generated such cages instead of drawing them, but anyway the converter above (or parsing code) will be useful as input data for such a solution in the customer.

This is all in all an interesting challenge for the future and who knows, maybe someday it will be automated.

That day is now. :-)

Tibiacast had this feature back in the day, and last year we decided to clean up and open-source our Tibia rendering library because why not. You can find it on GitHub here: GitHub - tibiacast/tibiarc (https://github.com/tibiacast/tibiarc)

While mainly intended to be used as a library to be included in existing Tibia applications like tulio150's Tibia Time Machine or gurka's upcoming online player (emscripten-based), there's a demo command-line application for Linux/WSL that can convert recordings to any video format that ffmpeg supports, or act as a really basic player through its sdl2 backend.

Currently supported recording formats are .trp (TibiaReplay), .recording (Tibiacast), and .tmv2 (TibiaMovie). More can be added relatively easy but I haven't had enough recordings to work with. You can use gurka's .rec converter to convert old TibiCams to .trp, or tulio150's Tibia Time Machine once we've got support for its .ttm files.

Supported Tibia versions are 7.11 - 7.92, and while there's rudimentary support for versions up to 10.95, I haven't had any recordings to test with while cleaning this up for public release, so it will be very much hit-or-miss from 8.0 onward. If you've got a recording that doesn't work, open an issue on GitHub with it attached and I'll see what I can do. :-)

1707558369940.png
 
Nostalgia got the better of me, this trip down memory lane is fun :)

There's now direct support for .rec, .cam, .yatc, and .ttm files, as well as decent support for Tibia versions up to 8.57 (if you have any newer recordings than that, feel free to share). The player mode now also supports basic playback controls (pause, rewind, skip forward, speed controls), and can be used in a web browser through emscripten (with certain limitations).
 

Attachments

I've kept at it, an hour here and an hour there. There's now support up until 8.61, there's a small utility (miner) that converts recordings to a JSON file (as abstract events, e.g. "creature seen," "item moved", "something said in channel," "tile updated," etc), a tool for managing a recording collection, and an all-new player with chat channel support that eliminates the need of keeping a Tibia client around for each version.

There's an experimental Windows build, which works fine for all of the utilities but the player appears to have some graphical artifacts and is missing a lot of icons. I'm guessing some of the issues are due to being cross-compiled from Linux, I haven't managed to get the native build fully working on Windows since I didn't have the time to make Qt 6 to work under vcpkg.

I've also uploaded my collection of ~14000 recordings to archive.org, which I hope will be more permanent than the countless dead Speedyshare, Rapidshare, etc links I've encountered while trying to find more. If you've got any recordings of your own, feel free to share them.

If you don't already have clients (e.g. for use with TibiaTimeMachine instead) or their data files, @Gesior.pl has hosted a whole bunch over here.
 

Attachments

Back
Top