tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by RealLarry »

You are welcome! Thanks for the counters, a soft slap into one's face that there're still hundreds of images to go :mrgreen:
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

Response from Sorg:

"How it's done on other arcade cores supporting different games?"
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by RealLarry »

Just commented that issue to Sorgelig.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by RealLarry »

https://github.com/MiSTer-devel/Main_MiSTer/issues/469
Sorgelig wrote:i will add /tmp/STARTPATH file which will contain path to either rbf or mra(xml). If it will be mra, then it will be up to your script which data you will get from it.
That are unfucking unbelieveable fantastic news! And you kids know what that means: thousands and thousands of pictures need to be created! :ugeek:
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

Well that was positive! These are the Sega System E games, I think all are already in Main from the MS core if someone wants to make up some images for testing when the fix is added. Tetris already has an image so presumably just a rename:

Hang-On Jr.
Slap Shooter
Transformer
Pythagoras no Nazo
Fantasy Zone: The Maze
Fantasy Zone II: The Tears of Opa-Opa
Tetris

So does this mean in theory that each individual game could get an image for every core?
User avatar
Sigismond0
Posts: 339
Joined: Mon May 25, 2020 2:21 am
Has thanked: 1 time
Been thanked: 66 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Sigismond0 »

venice wrote: Sat Sep 25, 2021 7:36 pm Does the AIO has an free internal USB Port available for connecting the tty2oled?

Maybe better to use an external tty2oled to keep the card slot free for other add-ons.
It has an internal header for every external USB port.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

Moondandy wrote: Mon Sep 27, 2021 4:13 pm …These are the Sega System E games

So does this mean in theory that each individual game could get an image for every core
There are 9 mra files for System E games on the SMS Github Repository.
Tetris, for example, uses the setname „tetrisse“.
I am sure we can use this as picture name for tty2oled.

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

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

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

Sigismond0 wrote: Mon Sep 27, 2021 8:46 pm It has an internal header for every external USB port.
In know.
But I think there is one internal free header which has no external Connector.
That's the one we need ;)

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

Jukk@M
Posts: 48
Joined: Wed Aug 26, 2020 2:20 pm
Location: Finland / Tampere
Has thanked: 14 times
Been thanked: 19 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Jukk@M »

Here are (Core x 6 , Arcade x 17 & Sega System E x 1) .xbm images.
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

I already uploaded a few Pictures from Jawler for Sega System E

Code: Select all

aliensyn.xbm           Alien Syndrome
aurail.xbm             Aurail
goldnaxe2.xbm          Golden Axe Set 2 ??
goldnaxe3.xbm          Golden Axe Set 3
goldnaxej.xbm          Golden Axe Set 4 Japan
mmatrix.xbm            Mars Matrix
msh.xbm                Marvel Super Heroes
msword.xbm             Magic Sword

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

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

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

Jukk@M wrote: Sat Oct 02, 2021 9:30 am Here are (Core x 6 , Arcade x 17 & Sega System E x 1) .xbm images.
Could you please post something like an translation list.
We need to know which picture is for which game.
Makes life easier :D

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

Jukk@M
Posts: 48
Joined: Wed Aug 26, 2020 2:20 pm
Location: Finland / Tampere
Has thanked: 14 times
Been thanked: 19 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Jukk@M »

Missing images selected here.
https://docs.google.com/spreadsheets/d/ ... edit#gid=0
Cores:
Camputers Lynx = ?.xbm
CHIP-8 = chip8.xbm
Flappy Bird = FLAPPY.xbm
Interact Home Computer = ?.xbm
Interton VC4000 = VC4000.xbm
Sega Saturn = ?.xbm

Arcade:
Cotton = ?.xbm
Diet Go Go = ?.xbm
Dottori-Kun = ?.xbm
Dottori-Man Jr = ?.xbm
HyperOlympic = ?.xbm
Hyper Street Fighter 2 = hsf2.xbm
Mars Matrix = mmatrix.xbm
Marvel Super Heroes = msh.xbm
Puzz Loop 2 = pzloop2.xbm
Rampage = rampage.xbm
Scooter Shooter = scotrsht.xbm
Scramble = TomyScramble.xbm
Sinistar = ?.xbm
SkySkipper = ?.xbm
Vulgus = vulgus.xbm
Wacko = wacko.xbm
Yie Ar Kung Fu = ?.xbm

Sega System E:
HangOnJr.xbm
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

I just found the Text file in the Pack and uploaded all Pictures except:

Code: Select all

 Cores
Camputers Lynx = ?.xbm               cn=lynx48
Interact Home Computer = ?.xbm       cn=interact
Sega Saturn = ?.xbm
because of the unkown name.

I uploaded

Code: Select all

Cotton = ?.xbm                       wip
Diet Go Go = ?.xbm                   wip
HyperOlympic = ?.xbm                 wip, maybe hyperolym
Yie Ar Kung Fu = ?.xbm               wip
as well but left a note in the Google Sheet that it's possible that the pictures needs to be renamend.

Dottori Kun and Jr are using the same "MRA-Setname" dotrikun.
The Pictures for Sinistar, SkySkipper and Hang On Jr. are renamed
to their "MRA-Setname" sinistar, skyskipr and hangonjr.
Chip8 has already an Picture, yours was renamed to "Chip8_alt.xbm".

Camputers Lynx, Interact Home Computer and Sega Saturn needs to be checked for the name, then will upload them as well.

Please update the google list by yourself, if possible.

//Edit
Interact Home Computer (Interact.xbm) and Camputers Lynx Uploaded (Lynx48.xbm) uploaded.

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

User avatar
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

Weirdly I ran the update today and didn't get any of these new images.

If anyone is wanting to the Compukit UK101, here is it's logo:
https://lh3.googleusercontent.com/proxy ... 5zTUakXRbw

Here is the Tesla PMD 85, not too many images of it around:
https://upload.wikimedia.org/wikipedia/ ... D_85-1.jpg
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by RealLarry »

Moondandy wrote: Mon Oct 04, 2021 1:36 pm Weirdly I ran the update today and didn't get any of these new images.

If anyone is wanting to the Compukit UK101, here is it's logo:
https://lh3.googleusercontent.com/proxy ... 5zTUakXRbw

Here is the Tesla PMD 85, not too many images of it around:
https://upload.wikimedia.org/wikipedia/ ... D_85-1.jpg
Thanks, pal! Any picture, idea or hint is welcome. I've just uploaded a "picture" of UK101. More to come...
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

Moondandy wrote: Mon Oct 04, 2021 1:36 pm Weirdly I ran the update today and didn't get any of these new images.
Weird, i will check this.

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

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

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by venice »

I think I got them all...
+----------+
| tty2oled |---[]
+----------+

tty2oled update script
----------------------
Checking for available tty2oled updates...
Skipping Text-Based Picture download because of the USE_TEXT_PICTURE INI-Option
Checking for available Graphic-Pictures...
Downloading Picture aliensyn.xbm
Downloading Picture altbeast.xbm
Downloading Picture aurail.xbm
Downloading Picture Chip8_alt.xbm
Downloading Picture Cotton.xbm
Downloading Picture Diet Go Go.xbm
Downloading Picture dotrikun.xbm
Downloading Picture FLAPPY.xbm
Downloading Picture goldnaxe2.xbm
Downloading Picture goldnaxe3.xbm
Downloading Picture goldnaxej.xbm
Downloading Picture hangonjr.xbm
Downloading Picture hsf2.xbm
Downloading Picture HyperOlympic.xbm
Downloading Picture Interact.xbm
Downloading Picture Lynx48.xbm
Downloading Picture mmatrix_alt.xbm
Downloading Picture mmatrix.xbm
Downloading Picture msh_alt.xbm
Downloading Picture msh.xbm
Downloading Picture msword.xbm
Downloading Picture pzloop2.xbm
Downloading Picture rampage.xbm
Downloading Picture scotrsht.xbm
Downloading Picture sinistar.xbm
Downloading Picture skyskipr.xbm
Downloading Picture TomyScramble.xbm
Downloading Picture tturfu.xbm
Downloading Picture VC4000.xbm
Downloading Picture vulgus.xbm
Downloading Picture wacko.xbm
Downloading Picture Yie Ar Kung Fu.xbm
Skipping US-Version Picture download because of the USE_US_PICTURE INI-Option
Restarting init script

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

User avatar
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

Hmm, for me it just says "Press any ket to continue" and then ends the script, I deleted an image from the folder to make sure it had something to grab.
User avatar
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

So this is very odd the second time this has happened to me, so looking at my update_tty2oled.sh script, it was 0 bytes in size. Copying over the script fixed it and it runs fine, but this is the second time for some reason it has turned into a 8 bytes file. Have run it again and it is still fine. Will keep an eye out, only other scripts I run at Downloader and Update All.
User avatar
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

RealLarry wrote: Mon Oct 04, 2021 3:01 pm Thanks, pal! Any picture, idea or hint is welcome. I've just uploaded a "picture" of UK101. More to come...
Nice one! Looking through the non-arcade cores you guys are nearly there. One low hanging fruit for an unofficial core:

Gameboy2Pultrawide.xbm can use the same image as GAMEBOY2P.xbm

Looking at the remaining ones:
ADC Tape Input Tester - could use an image of a cassette tape and text for this one, you could have some fun with that one

Mandlebrot Zoomer - some text over a Mandlebrot image https://www.google.com/search?q=mandelbrot+zoomer

Nand2Tetris - They have an image of a little man pushing Tetris blocked they use for things: https://static.wixstatic.com/media/4404 ... f~mv2.webp

PC-8801 - this one has logos, name seems to be PC88.xbm http://4.bp.blogspot.com/-hqx8VBFxrIY/V ... C-8801.jpg

PC-9801 - similar deal with the PC88, the PC-9801 has similar logos, name seems to be Zet98.xbm https://www.pngfind.com/pngs/m/159-1594 ... wnload.png

Basilisk II - not much in the way of images for this, they use the old apple logo and some text on their site, https://basilisk.cebix.net/

Sega Pico - Is a core under development, but I know the name will be PICO.xbm, it had a very 90s logo https://static.wikia.nocookie.net/sonic ... 0110151915

That would pretty much cover everything that can be run right now that isn't an arcade core.
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by RealLarry »

Yeah, I'll take a look to the mentioned ones as I've to, erm, create some similiar-ones-but-I-can't-talk-about pictures :)
BTW: Did you read Sorgelig's answer about "logos for rom's"? He did it already and it's working as suggested by you. I think it's time for you to learn how to create nice pictures as there'll are zillions to be done... :ugeek:
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

Hah! I probably should learn to make some pics. So does this mean that every single rom for every core could now have a pic?
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by RealLarry »

Moondandy wrote: Mon Oct 04, 2021 7:57 pm Hah! I probably should learn to make some pics. So does this mean that every single rom for every core could now have a pic?
More or less, yes. He released a new version of MAIN yesterday with an appropriate hint. I tried this with some cores (Atari 2600, Atari XL, C64, SMS, NeoGeo) then, but every core printed out what ROM or disk I have loaded.
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

Hmm, is it possible for it to default to the core image if there isn't one for the ROM? There is the big issue that ROM names aren't standardised for console games like they are for arcades, different packs often have different names.
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by RealLarry »

Moondandy wrote: Tue Oct 05, 2021 10:31 am Hmm, is it possible for it to default to the core image if there isn't one for the ROM? There is the big issue that ROM names aren't standardised for console games like they are for arcades, different packs often have different names.
You're correct. We are thinking about using a checksum based translation table. This requires that one is using "ROM packs" which are containing standard ROM/Disk dumps - this means it would be difficult to impossible to include hacked and patched ones. But better this than a dead dove in the raindutter :D
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

That sounds a good idea, might be good (if possible) to have a flag in the .ini to use rom images if available, otherwise always use the system image.
Jukk@M
Posts: 48
Joined: Wed Aug 26, 2020 2:20 pm
Location: Finland / Tampere
Has thanked: 14 times
Been thanked: 19 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Jukk@M »

Arcade pictures :
Tokio - Scramble Formation = tokiob.xbm
Tron = tron.xbm
Two Tigers = twotigerc.xbm
U.N. Squadron = unsquad.xbm
UniWar S = uniwars
Vampire Hunter 2 Darkstalkers Revenge = vhunt2.xbm
Vampire Savior The Lord of Vampire = vsav.xbm
Vampire Savior 2 The Lord of Vampire = vsav2.xbm
Van-Van Car = vanvan.xbm
Varth Operation Thunderstorm = varth.xbm
Victory = victorycb.xbm
Vindicators Part 2 = vindctr2.xbm
X-Men children of the atom = xmcota.xbm
X-Men vs Street Fighter = xmvsf.xbm
You do not have the required permissions to view the files attached to this post.
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by RealLarry »

Moondandy wrote: Tue Oct 05, 2021 1:39 pm That sounds a good idea, might be good (if possible) to have a flag in the .ini to use rom images if available, otherwise always use the system image.
The mentioned flag is already in my testing version of INI and with your thought in my mind ;)
Today I have played with the new informations Sorgelib gave us. Nice and needful infos, but what I'm missing is the info what ROM/Disk was started finally. This state would end in displaying the current/last selected ROM/Disk and the corresponding picture while browsing through the filebrowser. Also a nice option, indeed, but I'm afraid that could be "too much" and maybe slowdown things.
What do you think? (other users gladly included)
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
User avatar
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by Moondandy »

So would the flow be:
Launch Master System: Master System Image
Launch Sonic within MS core: image changes to Sonic
Open OSD while in Sonic and browse: image stays as Sonic
Launch Alex The Kidd: images changes to Alex The Kidd
?
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Unread post by RealLarry »

Moondandy wrote: Tue Oct 05, 2021 2:30 pm So would the flow be:
Launch Master System: Master System Image
Launch Sonic within MS core: image changes to Sonic
Open OSD while in Sonic and browse: image stays as Sonic
Launch Alex The Kidd: images changes to Alex The Kidd
?
No, just not. What you are describing is that what i had in mind, but (for now, under the given circumstances) the way would be
Launch Master System: Master System Image
Browse through the ROMs, displaying every picture of item which is selected/underlined
Launch Sonic within MS core: image changes to Sonic
Open OSD while in Sonic and browse: same as two points above
Launch Alex The Kidd: images changes to Alex The Kidd

Unsatisfying to me. Hmm....
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
Post Reply