i2c2oled (little brother of tty2oled)

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Hi@all / Moinsen :mrgreen:

First testing Version of the i2c2oled-system.ini file with SSH1106 Support.

Your User INI file i2c2oled-user.ini need the new Option

Code: Select all

SSH1106="yes"
and set to "yes" to activate the SSH1106 Specials in the Script.
Set the above option to "no" for SSD1306/1309 or remove it.

Please test with SSD1306/1309 and SSH1106 if you can, and report.

I like the "OneColor" Pics on the SSH1106 :D.
You do not have the required permissions to view the files attached to this post.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

aeronius
Posts: 28
Joined: Sat Feb 06, 2021 5:32 am
Has thanked: 3 times
Been thanked: 13 times

Re: i2c2oled (little brother of tty2oled)

Unread post by aeronius »

Great! I've just added a bunch of pix to my repo, so now's a good time to try this out. I'll let you know what I find!
aeronius
Posts: 28
Joined: Sat Feb 06, 2021 5:32 am
Has thanked: 3 times
Been thanked: 13 times

Re: i2c2oled (little brother of tty2oled)

Unread post by aeronius »

So far so good! Ran through a handful if images and everything loads as it should. The larger screen, despite being the same resolution, really adds some clarity to the images. I did have to change the loadY to 4 instead of 5 to have the loading icons line up properly (I'm using loading animation #2), but obviously that's not a big deal.
20220519_201256.jpg
20220519_201343.jpg
20220519_205020.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

aeronius wrote: Fri May 20, 2022 4:06 am …I did have to change the loadY to 4 instead of 5 to have the loading icons line up properly (I'm using loading animation #2), but obviously that's not a big deal.
Thx for testing.
Please make a picture how it looks wrong and show me the line where you changed the loadY value.
It was working fine for me.

I was using ONECOLOR and SSH1106 set to „yes“.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

aeronius
Posts: 28
Joined: Sat Feb 06, 2021 5:32 am
Has thanked: 3 times
Been thanked: 13 times

Re: i2c2oled (little brother of tty2oled)

Unread post by aeronius »

You know what, I was wrong. I didn't have the onecolor option set to yes. I changed it, made sure all my pix were in the PRI_Onecolor folder, and now the loading screen shows correctly.

Much thanks for making this happen! :D
User avatar
terminator2k2
Posts: 36
Joined: Sun May 24, 2020 6:46 pm
Has thanked: 27 times
Been thanked: 22 times

Re: i2c2oled (little brother of tty2oled)

Unread post by terminator2k2 »

nice , might have to get the bigger screen now :)
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

aeronius wrote: Fri May 20, 2022 5:46 am You know what, I was wrong. I didn't have the onecolor option set to yes. I changed it, made sure all my pix were in the PRI_Onecolor folder, and now the loading screen shows correctly.

Much thanks for making this happen! :D
Please check if the „old“ SSD1306 still works with the correct options.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Find attached my last testing i2c2oled-system.ini file.

Changes:
Option ONECOLOR (the default setting is "no")
Set to "yes" if you want to use the new "OneColor" and "Original" Two-Color Pictures.
Set to "no" uses only the "Original" Pictures.

New Option INVERTHEADER (the default setting is "no")
Set to "yes" if you want the Header (first 16 Pixel Lines) of the "original" Two-Color Pictures to be inverted.

Add these Options to your i2c2oled-user.ini to enable them.

By splitting the above functions into two Options we have more possibilities.

I have tested this Version with my SSH1106 and SSD1306 (TwoColor) Display.
You do not have the required permissions to view the files attached to this post.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

aeronius
Posts: 28
Joined: Sat Feb 06, 2021 5:32 am
Has thanked: 3 times
Been thanked: 13 times

Re: i2c2oled (little brother of tty2oled)

Unread post by aeronius »

Confirmed everything works for my 1106 and 1306 (one-color and two-color) OLEDs. Unfortunately I don't have a 1309 screen but I'm assuming that's well-tested on your end. Thanks so much for the work!
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Hi i2c2oled Users :mrgreen:

I have released a new Version mainly for SSH1106 Display Support.

Changes
  • Make the Daemon Script more quite again (inotifywait -qq)
  • Support and Option for the SSH1106 Display
  • Support and Option for the new OneColor Picture folders
  • New separate Option for Picture Header inverting, useful for OneColor Users.

Add the following Options to your /media/fat/i2c2oled-user.ini file if you need.
  • Add SSH1106="yes" if you use an SSH1106 Display
  • Add ONECOLOR="yes" if you like to use the new pictures in /media/fat/i2c2oled/Pix_Onecolor
  • Add INVERTHEADER="yes" if you like to invert the 16 Top Pixel Lines of the original Pictures in /media/fat/i2c2oled/Pix
See here https://github.com/venice1200/MiSTer_i2 ... figuration for more "Option" Details.

Actually you need to create the OneColor Picture folders "/media/fat/i2c2oled/Pix_Onecolor" and "/media/fat/i2c2oled/PRI_Onecolor" manually
but I will add them ASAP into the update process.
Copy the PIX files from aeronius's into /media/fat/i2c2oled/Pix_Onecolor.
Direct Zip-File Download Link: https://github.com/aeronius/MiSTer_Pix/ ... s/main.zip

Updater "updated", see two thread entries later!

Run the Updater to get the new Scripts.
Report Problems here.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

aeronius wrote: Sat May 21, 2022 2:32 am Confirmed everything works for my 1106 and 1306 (one-color and two-color) OLEDs. Unfortunately I don't have a 1309 screen but I'm assuming that's well-tested on your end. Thanks so much for the work!
I added your Pictures to the i2c2oled Picture Repository and the PixViewer already recognizes them.
See https://venice1200.github.io/MiSTer_tty2oled_Pictures/

But I think rbz must change something ;) as the header should not been inverted for Pictures in "Pix_Onecolor".
And we don't need a TwoColor View for these Pictures.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

The "update_i2c2oled.sh" Script got his update to Support the new "OneColor" Picture Folder.

Please update and report here.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

aeronius
Posts: 28
Joined: Sat Feb 06, 2021 5:32 am
Has thanked: 3 times
Been thanked: 13 times

Re: i2c2oled (little brother of tty2oled)

Unread post by aeronius »

venice wrote: Sat May 21, 2022 2:19 pm I added your Pictures to the i2c2oled Picture Repository and the PixViewer already recognizes them.
See https://venice1200.github.io/MiSTer_tty2oled_Pictures/
Cool! Does that get updated automatically when I add content to my repo or is that something you have to do manually?
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Actually I have to do it manually but maybe there is someone who can help us with this and knows how to automate this ;)

Another possibility is you add the pictures to a fork (copy) of my picture repo and send pull (update) requests.
Thats my preferred method as i don‘t have much work with this :mrgreen:

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

aeronius
Posts: 28
Joined: Sat Feb 06, 2021 5:32 am
Has thanked: 3 times
Been thanked: 13 times

Re: i2c2oled (little brother of tty2oled)

Unread post by aeronius »

Forked and pulled. Let me know if there's anything else you need as this Github stuff is still new to me.
User avatar
rbz
Posts: 16
Joined: Thu Nov 25, 2021 10:56 pm
Has thanked: 36 times
Been thanked: 17 times

Re: i2c2oled (little brother of tty2oled)

Unread post by rbz »

aeronius wrote: Mon May 23, 2022 1:22 am Forked and pulled. Let me know if there's anything else you need as this Github stuff is still new to me.
The i2c2oled Pictures got moved into their own repo awhile back and are now located here: https://github.com/venice1200/MiSTer_i2c2oled_Pictures this is the one you will need to fork, the main repo is just for code / info at this point.

Fantastic job with the pictures btw!
venice wrote: Sat May 21, 2022 2:19 pm But I think rbz must change something as the header should not been inverted for Pictures in "Pix_Onecolor".
And we don't need a TwoColor View for these Pictures.
Yeah I will need to do a code change to handle the split of onecolor and invert header functionality, I will throw something up in the next couple of days to fix this :)
aeronius
Posts: 28
Joined: Sat Feb 06, 2021 5:32 am
Has thanked: 3 times
Been thanked: 13 times

Re: i2c2oled (little brother of tty2oled)

Unread post by aeronius »

rbz wrote: Mon May 23, 2022 1:43 am The i2c2oled Pictures got moved into their own repo awhile back and are now located here: https://github.com/venice1200/MiSTer_i2c2oled_Pictures this is the one you will need to fork, the main repo is just for code / info at this point.

Fantastic job with the pictures btw!
Thanks! I'm glad to be able to contribute in some small part to this community!

I've closed the original pull and I'll open a new one off the other branch in the next day or so. I've got some more images that I want to finish before making another update.
User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

Re: i2c2oled (little brother of tty2oled)

Unread post by salamantecas »

I think no one had uploaded it yet, I left the Super Game Boy image. I think the name is correct, if not correct it
All the best

https://www.mediafire.com/file/5gd7ly6b ... B.pix/file
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

SGB.pix uploaded, Google sheet updated.
Many Thx

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

I just added the new OneColor-Pictures by aeronius to the Picture Repository.
Many Thanks.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

rbz wrote: Mon May 23, 2022 1:43 am ..
Yeah I will need to do a code change to handle the split of onecolor and invert header functionality, I will throw something up in the next couple of days to fix this :)
Is it possible to generate the new lists whenever a pull request was applied?
https://docs.github.com/en/actions/usin ... est-merges

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

aeronius added new OneColor Pictures which are ready for the i2c2oled updater.

19xx,1944,baddudes,combatsc,ddsom,ddtod,ddux,dstlk,eswat,exedexes,ironhors,jackal,lwings,mercs,
msh,mx5000,rushatck,shinobi,topgunr,tricktrp,tturf

I modifed his dstlk picture for TwoColor Display.
Many Thanks.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
rbz
Posts: 16
Joined: Thu Nov 25, 2021 10:56 pm
Has thanked: 36 times
Been thanked: 17 times

Re: i2c2oled (little brother of tty2oled)

Unread post by rbz »

venice wrote: Sun May 29, 2022 4:21 pm Is it possible to generate the new lists whenever a pull request was applied?
https://docs.github.com/en/actions/usin ... est-merges
The data json is generated anytime a push (change) is applied to the `main` branch, this works for direct pushes or when a PR is merged in.
However the workflow is only looking changes in `/Pix/` right now which is why the merged PR did not auto-trigger the build. I will throw up a PR to fix. Also working on a workflow change to add the modified time of the files to the json so we can sort by date in the viewer
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

rbz wrote: Mon May 30, 2022 3:53 am The data json is generated anytime a push (change) is applied to the `main` branch, this works for direct pushes or when a PR is merged in.
However the workflow is only looking changes in `/Pix/` right now which is why the merged PR did not auto-trigger the build. I will throw up a PR to fix. Also working on a workflow change to add the modified time of the files to the json so we can sort by date in the viewer
Many Thanks for your changes. It works perfect :)

A Note for the "Viewers"; I had to clear the cache of my browser to get everything shown correctly.

Have a nice week, stay healthy.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

I added a Picture for GameNWatch for One- and Two-Color Displays.

You just need to run the i2c2oled updater!

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Two Updates :)

A Minor Update to the S60i2c2oled Startscript.
If i2c2oled is stopped the Startscript "kill's" an active "inotifywait" child-task as well.

And New One-Color Pictures by aeronius.
captcomm, cybots, ecofghtr, f1dream, higemaru, hsf2, knights, mbombrd, megaman, megaman2,
mtwins, mvsc, nemo, nwarr, ringdest, varth, wof, xmcota
Many Thanks.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

Re: i2c2oled (little brother of tty2oled)

Unread post by salamantecas »

Can someone confirm that if I load the game, Out Zone loads the image correctly?
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Testing with my SSH1106,
the „Loading… Screen is shown after the „Loading“ Animation.

I will check this later.

//Edit

Is fixed, the line ending was in "Windows Format".
Run the Updater to get the updated Picture.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
salamantecas
Posts: 108
Joined: Sat Feb 26, 2022 8:31 pm
Has thanked: 110 times
Been thanked: 14 times

Re: i2c2oled (little brother of tty2oled)

Unread post by salamantecas »

thank you Venice

I leave 2 images that I did not see

for the c128 I leave 2 images for you to put the one you like the most
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 739
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 261 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

The new Pix uploaded to the Repository.
Run the Updater to get the updated Pictures.

Many Thanks!

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

Post Reply