# Lets watch NyanCat

**URL:** <https://forum.clockworkpi.com/t/lets-watch-nyancat/1607>\
**Category:** Games\
**Tags:** retroarch\
**Created:** [September 6, 2018, 1:31pm UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607 "2018-09-06T13:31:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nielsvd](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/nielsvd/32/967_2.png) [@Nielsvd](https://forum.clockworkpi.com/u/Nielsvd)\
**Post date:** [September 6, 2018, 1:31pm UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607/1 "2018-09-06T13:31:07Z")

</div>

If you followed the instructions to install the [FloppyBird](https://forum.clockworkpi.com/t/lets-play-floppybird/1433) game you can skip the steps until making the gamefolder for Nyancat

Open Retroarch on your gameshell  
Select Load Cores  
Select Download Core  
Select Chailove  
Quit Retroarch

Connect your device to your gameshell with SSH

Lets move the core to the emulators folder.  
(If you use another folder to save your downloaded cores navigate there)

> mv ~/.config/retroarch/cores/chailove\_libretro.so /home/cpi/apps/emulators

Make a folder for the game (start here if you allready have Floppybird installed)

> mkdir ~/games/NyanCat

Lets download the game

> cd ~/games/NyanCat  
> wget [GitHub - ocr-junky/ChaiLove-NyanCat: 😸 NyanCat on ChaiLove](https://github.com/ocr-junky/ChaiLove-NyanCat)

Make the .sh file

> nano ~/apps/launcher/Menu/GameShell/NyanCat.sh  
> (change NyanCat if you want another name in the menu)

Add:

> retroarch -L /home/cpi/apps/emulators/chailove\_libretro.so /home/cpi/games/NyanCat/ChaiLove-NyanCat/main.chai

Save and quit

![](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/e/ec8d4258d6c89a34e9aee9a3f88c6d0b59a4aaa7.png)

Move the icon to ~/apps/launcher/skin/default/Menu/GameShell

> cd ~/apps/launcher/skin/default/Menu/GameShell  
> wget [https://raw.githubusercontent.com/ocr-junky/GS\_Icons/Icons/NyanCat.png](https://raw.githubusercontent.com/ocr-junky/GS_Icons/Icons/NyanCat.png)

Make sure the icon has the same name as the .sh file. In this case NyanCat.png

Reboot and happy watching the rainbow cat 😃

---

<div class="post-metadata">

**Author:** ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)\
**Post date:** [September 6, 2018, 4:08pm UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607/2 "2018-09-06T16:08:55Z")

</div>

My life is now complete.

---

<div class="post-metadata">

**Author:** ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)\
**Post date:** [September 6, 2018, 10:50pm UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607/3 "2018-09-06T22:50:53Z")

</div>

I can’t get it to boot for the life of me. I tried chown and chmod. Tried the steps twice. Just boots back to launcher. Any tips?!

---

<div class="post-metadata">

**Author:** ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)\
**Post date:** [September 6, 2018, 11:41pm UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607/4 "2018-09-06T23:41:54Z")

</div>

Fixed! I had to download the zip and extract the files myself. Not sure why, but hey! Hooray! ![image](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/clockworkpi/original/2X/0/09e3b77d4ff309db687e978e9d1216433ef397dd.jpeg)

---

<div class="post-metadata">

**Author:** ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)\
**Post date:** [October 18, 2018, 8:32pm UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607/5 "2018-10-18T20:32:57Z")

</div>

![image](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/clockworkpi/original/2X/f/f563e549727e9a769d4780ac042e12a2484826d3.jpeg) Curious if anyone knows how to make the screen res smaller (like the clockwork pic. I included a screenshot)

I’d also like the “Nyaned for xx seconds” to not be there.

---

<div class="post-metadata">

**Author:** ![Nielsvd](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/nielsvd/32/967_2.png) [@Nielsvd](https://forum.clockworkpi.com/u/Nielsvd)\
**Post date:** [October 19, 2018, 12:22pm UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607/6 "2018-10-19T12:22:11Z")

</div>

Just edit the main.chai.

> nano ~/games/NyanCat/main.chai (adjust if you saved the main.chai in a other folder)

Edit to Resolution from

> t.window.width = 340  
> t.window.height = 260

to

> t.window.width = 1020  
> t.window.height = 780

To remove the text delete this from main.chai

> ```
> // Text at the bottom.
> var scoreInt = 2 // Port the time to an integer.
> scoreInt = time
> var text = "YOU'VE NYANED FOR " + to_string(scoreInt) + " SECONDS" love.graphics.print(text, love.graphics.getWidth() / 2 - activeFont.getWidth(text) / 2, love.graphics.getHeight() - activeFont.getHeight(text) * 4)
> 
> ```

To move the cat more to the right side of the screen adjust

> catX = love.graphics.getWidth() / 2 - images[0].getWidth() / 2

to

> catX = love.graphics.getWidth() / 1.3 - images[0].getWidth() / 2

The result looks like this:

![main-181019-175314](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/2/28b291859b6b523c015bb64271480b06c6b26732.png)

---

<div class="post-metadata">

**Author:** ![neko](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@neko](https://forum.clockworkpi.com/u/neko)\
**Post date:** [October 20, 2018, 10:31am UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607/7 "2018-10-20T10:31:44Z")

</div>

There is a simpler way to do the nyancat thing because you can directly grab it on the retroarch’s build-in app store! Try the following steps:

Open Retroarch on your gameshell  
Select Online Updater  
Select Content Downloader  
Select Chailove  
Select NyanCat.chailove  
(also update the Chailove core if you haven’t done so)

Go back yo Main Menu  
Select Load Content  
Select the Downloads folder  
Load NyanCat.chailove

Happy nyaning~~!! (^o^)

---

<div class="post-metadata">

**Author:** ![Nielsvd](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/nielsvd/32/967_2.png) [@Nielsvd](https://forum.clockworkpi.com/u/Nielsvd)\
**Post date:** [October 20, 2018, 11:04am UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607/8 "2018-10-20T11:04:30Z")

</div>

You can for sure, it has the you have been nyaning text, the last time i checked.

---

<div class="post-metadata">

**Author:** ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)\
**Post date:** [October 20, 2018, 2:27pm UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607/9 "2018-10-20T14:27:40Z")

</div>

Thnx dude! I was actually experimenting last night with x location and the res, and got the same conclusion as you. I put catX at 1.25

---

<div class="post-metadata">

**Author:** ![RobLoach](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/robloach/32/1327_2.png) [@RobLoach](https://forum.clockworkpi.com/u/RobLoach)\
**Post date:** [October 21, 2018, 7:51pm UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607/10 "2018-10-21T19:51:34Z")

</div>

Thanks for checking out ChaiLove and having some great ideas of how NyanCat can improve 😊

Just pushed up a fix to make it so that when you push the Start button, it’ll show/hide the text. Feel free to push up more updates through Pull Requests! [https://github.com/RobLoach/ChaiLove-NyanCat](https://github.com/RobLoach/ChaiLove-NyanCat)

---

<div class="post-metadata">

**Author:** ![riverscn](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/riverscn/32/1558_2.png) [@riverscn](https://forum.clockworkpi.com/u/riverscn)\
**Post date:** [January 29, 2019, 12:29am UTC](https://forum.clockworkpi.com/t/lets-watch-nyancat/1607/11 "2019-01-29T00:29:10Z")

</div>

```
t.window.width = 640
t.window.height = 480
catX = love.graphics.getWidth() / 1.6 - images[0].getWidth() / 2

```

would be better.
