Page 8 of 11

Re: i2c2oled (little brother of tty2oled)

Posted: Thu May 19, 2022 4:58 pm
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.

Re: i2c2oled (little brother of tty2oled)

Posted: Fri May 20, 2022 3:05 am
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!

Re: i2c2oled (little brother of tty2oled)

Posted: Fri May 20, 2022 4:06 am
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

Re: i2c2oled (little brother of tty2oled)

Posted: Fri May 20, 2022 4:49 am
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“.

Re: i2c2oled (little brother of tty2oled)

Posted: Fri May 20, 2022 5:46 am
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

Re: i2c2oled (little brother of tty2oled)

Posted: Fri May 20, 2022 7:32 am
by terminator2k2
nice , might have to get the bigger screen now :)

Re: i2c2oled (little brother of tty2oled)

Posted: Fri May 20, 2022 9:27 am
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.

Re: i2c2oled (little brother of tty2oled)

Posted: Fri May 20, 2022 12:32 pm
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.

Re: i2c2oled (little brother of tty2oled)

Posted: Sat May 21, 2022 2:32 am
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!

Re: i2c2oled (little brother of tty2oled)

Posted: Sat May 21, 2022 1:47 pm
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.

Re: i2c2oled (little brother of tty2oled)

Posted: Sat May 21, 2022 2:19 pm
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.

Re: i2c2oled (little brother of tty2oled)

Posted: Sat May 21, 2022 3:13 pm
by venice
The "update_i2c2oled.sh" Script got his update to Support the new "OneColor" Picture Folder.

Please update and report here.

Re: i2c2oled (little brother of tty2oled)

Posted: Sat May 21, 2022 5:56 pm
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?

Re: i2c2oled (little brother of tty2oled)

Posted: Sun May 22, 2022 10:47 am
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:

Re: i2c2oled (little brother of tty2oled)

Posted: Mon May 23, 2022 1:22 am
by aeronius
Forked and pulled. Let me know if there's anything else you need as this Github stuff is still new to me.

Re: i2c2oled (little brother of tty2oled)

Posted: Mon May 23, 2022 1:43 am
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 :)

Re: i2c2oled (little brother of tty2oled)

Posted: Mon May 23, 2022 6:04 am
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.

Re: i2c2oled (little brother of tty2oled)

Posted: Wed May 25, 2022 1:04 pm
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

Re: i2c2oled (little brother of tty2oled)

Posted: Wed May 25, 2022 7:53 pm
by venice
SGB.pix uploaded, Google sheet updated.
Many Thx

Re: i2c2oled (little brother of tty2oled)

Posted: Thu May 26, 2022 9:38 am
by venice
I just added the new OneColor-Pictures by aeronius to the Picture Repository.
Many Thanks.

Re: i2c2oled (little brother of tty2oled)

Posted: Sun May 29, 2022 4:21 pm
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

Re: i2c2oled (little brother of tty2oled)

Posted: Sun May 29, 2022 4:35 pm
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.

Re: i2c2oled (little brother of tty2oled)

Posted: Mon May 30, 2022 3:53 am
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

Re: i2c2oled (little brother of tty2oled)

Posted: Mon May 30, 2022 6:10 am
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.

Re: i2c2oled (little brother of tty2oled)

Posted: Wed Jun 08, 2022 8:32 pm
by venice
I added a Picture for GameNWatch for One- and Two-Color Displays.

You just need to run the i2c2oled updater!

Re: i2c2oled (little brother of tty2oled)

Posted: Sat Jun 18, 2022 9:41 am
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.

Re: i2c2oled (little brother of tty2oled)

Posted: Mon Jul 11, 2022 3:25 pm
by salamantecas
Can someone confirm that if I load the game, Out Zone loads the image correctly?

Re: i2c2oled (little brother of tty2oled)

Posted: Mon Jul 11, 2022 3:34 pm
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.

Re: i2c2oled (little brother of tty2oled)

Posted: Mon Jul 11, 2022 5:08 pm
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

Re: i2c2oled (little brother of tty2oled)

Posted: Tue Jul 12, 2022 3:03 pm
by venice
The new Pix uploaded to the Repository.
Run the Updater to get the updated Pictures.

Many Thanks!