📜 ⬆️ ⬇️

Doom launch on Samsung Gear S2



I got an article in the middle of last week stating that the game Doom was ported to a bunch of different platforms. The list included calculators and oscilloscopes. There were also Apple Watch and Android Wear watches. But for some reason there were no Samsung Gear S2 and S3 watches that work on Tizen. Strange, the watch is powerful. And I just have experience developing for them. Well, I decided, the challenge was accepted.

I took the DOOM source from Id Software from github as a basis . Everything is written in C for Linux. A few days in the evenings I picked and corrected the code in Tizen Studio. Replaced X11 with Cairo, since there is no X11 on the clock. Changed the control system, the keyboard either. I found in the source and known IDDQD and IDKFA.
I set the time for porting myself until Sunday, so I finished writing it at night. And then, finally, everything worked, first in the emulator, and then on a real clock.

I admit, the post was quite small. The program literally just launched, and I decided to immediately share this news. Now we need to rest))
')
I plan to make another article in which I will try to describe in detail the entire porting process. If you have any suggestions, write here in the comments.

And so it was not boring for you to wait, here is a video with a running game on the clock.

Source: https://habr.com/ru/post/322664/


All Articles