ASCII console color graphics for Fossapup64

Moderators: 666philb, Forum moderators

Post Reply
User avatar
Grey
Posts: 1984
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 355 times

ASCII console color graphics for Fossapup64

Post by Grey »

Update: colored eyes and inscription. Update-2: added variant with escape sequences.
Hi everyone. I made for Fossapup console color ASCII graphics here at my leisure (remove extension .txt, make executable and run with right mouse click and Run in Terminal)

ASCII-fossa.txt
(2.32 KiB) Downloaded 57 times

Variant with escape sequences:

ASCII-fossa-esccodes.txt
(2.52 KiB) Downloaded 59 times

There are at least three use cases:
1. In your own scripts, for design and branding, let's say :)
2. You can add all this shit to the .bashrc file and then it will always be in the console-terminal.
3. Maybe Phil will add that to the boot of system and then it will be a lot of fun. See the next post on how to add this to the boot screen.
The new version is here:
viewtopic.php?p=19151#p19151

ascii_fossa_scr1.png
ascii_fossa_scr1.png (210.15 KiB) Viewed 551 times
Last edited by Grey on Wed Mar 24, 2021 4:35 am, edited 6 times in total.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
Grey
Posts: 1984
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 355 times

Showing our ASCII graphics at system boot

Post by Grey »

To get your ASCII graphics to be displayed in the console when Fossapup boots up, you need to modify init file inside initrd.gz.
1. Unpack initrd.gz.
2. Open init file in Geany and find line 720. We insert our ASCII graphics starting from line 721 (up to the line starting with [ ! "$LOGLEVEL" ].
3. Select all files in the folder with unpacked initrd.gz, right-click on any file, select 'Open With ...' and specify PackIt.
4. In PackIt select 'cpio' in the left column and 'gzip' in the right column. We package it with the name initrd.cpio.gz.
5. Remove '.cpio' from the name and we end up with an initrd.gz file with our ASCII graphics appearing when Fossapup64 boots up.
It is especially good when there are save folders or save files, then the next lines of text do not move our graphics up and are displayed on a separate frame. The higher bootloader screen resolution, the better - grub2 and grub4dos let you customize the screen.
Please note that in the boot console, our little animal is brown and in the terminal of an already running system it is yellow. This is not a bug, this is a feature :)

fossa_ascii_initrd.png
fossa_ascii_initrd.png (19.86 KiB) Viewed 463 times
Last edited by Grey on Wed Mar 24, 2021 4:43 am, edited 2 times in total.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
Grey
Posts: 1984
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 355 times

Re: ASCII console color graphics for Fossapup64

Post by Grey »

The same, but as an ELF 64-bit LSB executable file :)

confossa.tar
(10 KiB) Downloaded 51 times

Maybe someday I'll make a version in motion, like the SL (Steam Locomotive) ( https://github.com/mtoyoda/sl ), but with a fossa instead of the D51/C51 locomotives.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
Grey
Posts: 1984
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 355 times

New format and different way to add to .bashrc

Post by Grey »

Is the script too big and crap a lot of space inside .bashrc? I think, yes. New plan. Put this file in root directory next to .bashrc:

ASCII-fossa.utf8ans.gz
(481 Bytes) Downloaded 50 times

No need to unpack! It is gzipped "ASCII text, with CRLF line terminators, with escape sequences". Now the escape sequences are used directly, plus it is packed, so the file is almost five times smaller than before.
And most importantly, now you can put just one command in /root/.bashrc:

Code: Select all

zcat ~/ASCII-fossa.utf8ans

The .gz extension can be omitted from the script.
Concatenation helps us save space and hassle.
Puppy is a doggie, but this time we got help from the zcat command :)

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

Post Reply

Return to “Fossapup64”