i2c2oled (little brother of tty2oled)
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
Does anyone have 128x64 image collection for "yellow and blue" 2-color oled?
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
Find some Pix here
https://github.com/venice1200/MiSTer_i2 ... ctures/Pix
and here
https://github.com/ingloriond/MiSter_I2 ... c2oled_pix
//Edit
Download the ZIP file from here https://github.com/venice1200/MiSTer_i2 ... s/main.zip
Unzip it, search for PIX.
Voila, you have all PIX I know as I add all Pictures from ingloriond to my Repository.
https://github.com/venice1200/MiSTer_i2 ... ctures/Pix
and here
https://github.com/ingloriond/MiSter_I2 ... c2oled_pix
//Edit
Download the ZIP file from here https://github.com/venice1200/MiSTer_i2 ... s/main.zip
Unzip it, search for PIX.
Voila, you have all PIX I know as I add all Pictures from ingloriond to my Repository.
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
I'm creating all colors from scratch in the way that I like best, if anyone wants!
Ps. I wanted to learn how to make animated PIX!
https://cdn.awsli.com.br/17/17197/arquivos/i2c.png
Ps. I wanted to learn how to make animated PIX!
https://cdn.awsli.com.br/17/17197/arquivos/i2c.png
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
Then please upload your pix here in a ZIP file.marcelosofth wrote: ↑Thu Dec 09, 2021 12:18 pm I'm creating all colors from scratch in the way that I like best, if anyone wants, I can make it available for download!
An animated PIX is not a real animation, it's just a set of Icons drawn over the base picture at a dedicated position in a timed order.
Here is an Example, it's the "Press Play on Tape" Animation. See https://github.com/venice1200/MiSTer_i2 ... ed.sh#L407
Code: Select all
function pressplay () {
local t=0;
showpix pressplay #Load Base Picture "pressplay.pix"
# Testing Font-Based-Animation
for (( t=0; t<5; t++)); do #Loop
set_cursor 48 4 #SetCursor
i2cset -y ${i2cbus} ${oledaddr} 0x40 ${itape1} i #Draw Tape Wheel 1 with Icon 1
set_cursor 64 4 #SetCursor
i2cset -y ${i2cbus} ${oledaddr} 0x40 ${itape2} i #Draw Tape Wheel 2 with Icon 2
sleep 0.3 #Wait
set_cursor 48 4 #SetCursor
i2cset -y ${i2cbus} ${oledaddr} 0x40 ${itape2} i #Draw Tape Wheel 1 with Icon 2
set_cursor 64 4 #SetCursor
i2cset -y ${i2cbus} ${oledaddr} 0x40 ${itape1} i #Draw Tape Wheel 2 with Icon 1
sleep 0.3 #Wait
done
}
Code: Select all
itape1="0x3C 0x5A 0x81 0xC3 0xC3 0x81 0x5A 0x3C"
itape2="0x3C 0x66 0xE7 0x81 0x81 0xE7 0x66 0x3C"
You do not have the required permissions to view the files attached to this post.
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
I also saw an example of a slide, where the image is shifted to the right, very cool!
Follow the link, see what you think of the work, it is not complete but the main one is there!
Link: https://www.sendspace.com/file/l783g5
Follow the link, see what you think of the work, it is not complete but the main one is there!
Link: https://www.sendspace.com/file/l783g5
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
The i2c2oled NCC1701 Demo?marcelosofth wrote: ↑Thu Dec 09, 2021 2:51 pm I also saw an example of a slide, where the image is shifted to the right, very cool!
That's Display based pixel scrolling.
//Edit
Nice Pictures, well done.
But you now that you need to convert them to B/W and pix format?
See https://github.com/venice1200/MiSTer_i2 ... dification
...and renamed to the Cores name.
- Moondandy
- Top Contributor
- Posts: 535
- Joined: Mon May 25, 2020 2:14 am
- Location: Edinburgh, Scotland
- Has thanked: 32 times
- Been thanked: 102 times
Re: i2c2oled (little brother of tty2oled)
I don't know much about this project, but do you want an extra column on the tty2oled to track images created for this, or does it work differently?
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
That's right "Venice" I haven't converted to .pix yet, but this is easy I've already tested it here, now like you said I have to rename it to the name of each "CORE" for display!
Ps.: I ended up selling my Mister for a very good price, and the other one I bought arrives next week, so that's where I can really test it out!
Ps. do you use some .pix as right scroll? if you use it, can you make a video for me to see?
Ps.: I ended up selling my Mister for a very good price, and the other one I bought arrives next week, so that's where I can really test it out!
Ps. do you use some .pix as right scroll? if you use it, can you make a video for me to see?
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
Hardware Scrolling means for SSD1306 Oled, define the display area which should scroll and start scrolling.marcelosofth wrote: ↑Thu Dec 09, 2021 7:11 pm Ps. do you use some .pix as right scroll? if you use it, can you make a video for me to see?
It will continuously scroll until you stop it.
See:
You do not have the required permissions to view the files attached to this post.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
Simply wonderful, mine is this SSD1306, I'm Noob, if you can I'd like you to teach me how to do it, I don't know anything about the command line! hahaha!
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
Teach? What exactly?marcelosofth wrote: ↑Thu Dec 09, 2021 7:43 pm ...if you can I'd like you to teach me how to do it, I don't know anything about the command line! hahaha!
Re: i2c2oled (little brother of tty2oled)
I am adding in support to view the i2c2oled pix files in the tty2oled pixviewer
@venice opened a PR in i2c2oled repo to add a workflow to generate the data file
@venice opened a PR in i2c2oled repo to add a workflow to generate the data file
You do not have the required permissions to view the files attached to this post.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
I am thinking about moving the i2c2oled pictures to the picture repository.
Would this help or make things easier?
//Edit
Idea dropped!
Would this help or make things easier?
//Edit
Idea dropped!
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
Yes Venice, it would be perfect to move the images, accordingly! ^_^
Ps. Just amazing the .pix viewer on the site!
Ps. Just amazing the .pix viewer on the site!
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
i2c2oled Updates
i2c2oled got his own Installer/Updater. Thanks to RealLarry
Run
from the MiSTer's command line (F9) or from an SSH Session to download the i2c2oled install/update script to the MiSTer's Script Folder.
After the Script was downloaded, start it from the MiSTer's Script Menu, the MiSTer's command line (F9) or an SSH Session running the command
All needed Files and Pictures are downloaded to the right places and the correct permissions are set.
And i2c2oled got now his own Picture Repository on GitHub.
See: https://github.com/venice1200/MiSTer_i2c2oled_Pictures
i2c2oled got his own Installer/Updater. Thanks to RealLarry
Run
Code: Select all
wget https://raw.githubusercontent.com/venice1200/MiSTer_i2c2oled/main/update_i2c2oled.sh -O /media/fat/Scripts/update_i2c2oled.sh
After the Script was downloaded, start it from the MiSTer's Script Menu, the MiSTer's command line (F9) or an SSH Session running the command
Code: Select all
/media/fat/Scripts/update_i2c2oled.sh
And i2c2oled got now his own Picture Repository on GitHub.
See: https://github.com/venice1200/MiSTer_i2c2oled_Pictures
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
More Updates
The tty2oled Picture Viewer by mr-fitzie supports now i2c2oled Pictures.
Jump to https://venice1200.github.io/MiSTer_tty2oled_Pictures
Many many thanks for this update!
The tty2oled Picture Viewer by mr-fitzie supports now i2c2oled Pictures.
Jump to https://venice1200.github.io/MiSTer_tty2oled_Pictures
Many many thanks for this update!
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
Is there somewhere to download all the full .pix "128x64" of Arcade games?
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
Not that I know.
But you already made a lot of nice looking png’s.
They just need to be converted and renamed.
Could you do this?
But you already made a lot of nice looking png’s.
They just need to be converted and renamed.
Could you do this?
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
Friend "Venice" follow the link, I've already renamed, add more cores it and converted it to "pix" see if they're ok"
Link: https://www.sendspace.com/file/vjy28h
Link: https://www.sendspace.com/file/vjy28h
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
Hi,
it looks to me the Header of your PIX is not what we need.
Working Header:
And your PIX using the character "`" (accent grave) instead of the character "1".
Example:
must be
But many many thanks for your work.
it looks to me the Header of your PIX is not what we need.
Code: Select all
#!/bin/bash
logo=("`1c1#000000",
"01c1#ffffff",
/*1pixels1*/
"`````````````````
Code: Select all
#!/bin/bash
# 128x64 Pixel C64 Logo Picture in Pixart as Bash String-Array
logo=("111111111
Example:
Code: Select all
````````0000`````
Code: Select all
11111111000011111
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
I just found out, and the problem was the "reaConverter Pro" program I used to convert from .PNG to .XPM, which program do you use to convert to XPM?
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
Good Morning!
I use Gimp but with an B/W Picture in BMP Format as source, not an greyscale.
See attachment.
I use Gimp but with an B/W Picture in BMP Format as source, not an greyscale.
See attachment.
You do not have the required permissions to view the files attached to this post.
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
Good morning friend, see if this way is correct!
https://www.sendspace.com/file/bgsf2w
A detail, in the case of the game "Golden Axe" the core is not "goldnaxe" but "jts16b3" which together represents all System16 games, how is it in this and several other cases?
https://www.sendspace.com/file/bgsf2w
A detail, in the case of the game "Golden Axe" the core is not "goldnaxe" but "jts16b3" which together represents all System16 games, how is it in this and several other cases?
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
Some Systems using different "mra" files with the same core.
In this case the Value of "setname" is used instead of the corename.
Example
https://github.com/MiSTer-devel/Arcade- ... er.mra#L14
Take a look in the google spreadsheet we created for tty2oled.
https://docs.google.com/spreadsheets/d/ ... NAnj0a4RCU
This will help you a lot.
In this case the Value of "setname" is used instead of the corename.
Example
https://github.com/MiSTer-devel/Arcade- ... er.mra#L14
Take a look in the google spreadsheet we created for tty2oled.
https://docs.google.com/spreadsheets/d/ ... NAnj0a4RCU
This will help you a lot.
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
Perfect, what about the "pix" file I made, is it correct like that and can I go on with the process?
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
Your 1942 was fine!
Btw, I updated a few PIX (Commando, TI-99_4A_alt, cclimber) because of format or character errors.
Btw, I updated a few PIX (Commando, TI-99_4A_alt, cclimber) because of format or character errors.
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
Ready, everything converted and correctly, then if you can check and want to go up to the site, feel free ok!
Link: https://www.sendspace.com/file/8wpshh
Link: https://www.sendspace.com/file/8wpshh
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: i2c2oled (little brother of tty2oled)
Hi@all,
I added Marcelo's Pictures to the Repository.
Most of them looking better than the old ones so I changed the old ones filename and added Macelo's one.
Double check the Pictures with the PIX Viewer...
https://venice1200.github.io/MiSTer_tty2oled_Pictures/#
...and apply your update.
Have fun
Many Thanks Marcelo!
How did you do the mass converting?
I added Marcelo's Pictures to the Repository.
Most of them looking better than the old ones so I changed the old ones filename and added Macelo's one.
Double check the Pictures with the PIX Viewer...
https://venice1200.github.io/MiSTer_tty2oled_Pictures/#
...and apply your update.
Have fun
Many Thanks Marcelo!
How did you do the mass converting?
- marcelosofth
- Posts: 174
- Joined: Wed Sep 22, 2021 10:03 pm
- Location: Brazil - São Paulo
- Has thanked: 8 times
- Been thanked: 4 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
Friend Venice, it is not possible to do the mass conversion in GIMP for image export, it is only allowed for "Save as..." and as .XPM uses "Export" it has to be really individual.
Ps.: I added all the images in "Layer" then I applied the conversion of "Indexed Mode" for all and I was exporting one by one, it took 1h20 to export 253 images!
Is it possible to download the images you publish on the site in .pix format?
Ps.: I added all the images in "Layer" then I applied the conversion of "Indexed Mode" for all and I was exporting one by one, it took 1h20 to export 253 images!
Is it possible to download the images you publish on the site in .pix format?