RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    PC Engine build

    Scheduled Pinned Locked Moved Projects and Themes
    pc enginetg16pcebuildturbografx
    59 Posts 15 Posters 20.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Stuart2773S
      Stuart2773 @ruckage
      last edited by Stuart2773

      @ruckage Can't wait to see what "theme" you come up with for this build

      1 Reply Last reply Reply Quote 0
      • FlyingTomahawkF
        FlyingTomahawk
        last edited by FlyingTomahawk

        So back at home I gave it a try and here the results

        First boot up

        around 23 sec till boot video
        28:45 sec till menu

        Second boot up (wifi off)

        around 16 sec till boot video
        48:45 sec till menu

        Third boot up (wifi and network check off)

        around 17:20 sec till boot video
        23:38 sec till menu

        The overall time hasn't improved by much but the boot video shows up lot faster now.
        I don't use super fast SD cards or the like just regular stuff so maybe this is as fast as it goes. I also don't have 1000+ roms on it. Now I am also curious to know what else can be turned off to speed up the boot time.

        UPDATE

        Retropie Shares removed, Samba uninstalled.
        Getting random times. Sometimes fast sometimes a bit slower.

        8-9 seconds till boot video
        15-21 seconds till menu

        I ain't braking any records here but it has become faster and that is good enough for me. Many thanks for the pointers.
        Hope ruckage can cut off a bit more so I'll be following this discussion closely.

        1 Reply Last reply Reply Quote 2
        • SgtJimmyRustlesS
          SgtJimmyRustles @herb_fargus
          last edited by

          @herb_fargus

          Ok, that's pretty tight man. I'm thinking about using that as my intro splash screen.

          Check out /r/SBCGaming for Retropie, Recalbox, OGST (Odroid) talk and more!
          http://www.reddit.com/r/sbcgaming

          Hop on the Dicscord as well and chat about all things Retropie (or recalbox, lakka, etc)
          https://discord.gg/JdXc6nx

          Check out our Podcast!

          1 Reply Last reply Reply Quote 0
          • SgtJimmyRustlesS
            SgtJimmyRustles @ruckage
            last edited by

            @ruckage

            I saw this the other day, and I loved the splashscreen Here. Sadly, I'm not a bomberman fan or TurboGrafx-16 fan, but this is well done.

            Check out /r/SBCGaming for Retropie, Recalbox, OGST (Odroid) talk and more!
            http://www.reddit.com/r/sbcgaming

            Hop on the Dicscord as well and chat about all things Retropie (or recalbox, lakka, etc)
            https://discord.gg/JdXc6nx

            Check out our Podcast!

            1 Reply Last reply Reply Quote 1
            • ruckageR
              ruckage @MrJordaaany
              last edited by ruckage

              @mrjordaaany said in PC Engine build:

              @ruckage said in [PC Engine build]:
              A man after my own heart. Respect the classics! Not many of these Retro consoles left, so look after them :)

              Always makes me worried when people tear apart old consoles just to put a Raspberry Pi in them. They are finite and only getting old (I know there are millions, but still). But its nice to see if someone does do this they do it in a way that the console can be restored if needed.

              Yeah, for this one especially I didn't want to destroy it as it's much less common than other consoles (particulalrtly in UK) so the internals will be kept safe for the future and the only damage to the case will be a few drill holes - most people who mod these for RGB etc. cause much more damage to the cases than that so I don't feel guilty :) .

              @herb_fargus said in PC Engine build:

              @ruckage now, if you really want to be ambitious you could look into Plymouth boot...

              I saw your PacMan boot a while back, I really like it. I don't think I'll try Plymouth for this build though, it does look interesting but also quite complicated and I've already made this build more complicated than I originally planned :D. Animated gif support would actually be a good option for the boot screen, I wonder if that's possible.

              @mitu said in PC Engine build:

              @ruckage In addition to disabling Samba, you can also disable the Wifi and configure ES with Parse Gamelists only, this way ES will not re-scan the ROM folders on start.

              Thanks, I like to have the wifi on so i can access the machine easily if needed but once everything is completely setup it may not be necessary so I'll look into it. Setting ES to 'parse gamelists only' is a good tip if you have a lot systems and roms but for this build I'm not loading ES at all so it wouldn't have any impact.

              @stuart2773 said in PC Engine build:

              @ruckage Can't wait to see what "theme" you come up with for this build

              I'm sorry to disappoint you but this build won't be using ES at all so it won't have a theme, all games will be launched by inserting my fake Hucards (I have enough plastic blanks to make 100 at least which will easily cover all the PC Engine games I'm interested in.

              @flyingtomahawk said in PC Engine build:

              8-9 seconds till boot video
              15-21 seconds till menu

              I ain't braking any records here but it has become faster and that is good enough for me. Many thanks for the pointers.
              Hope ruckage can cut off a bit more so I'll be following this discussion closely.

              That's a pretty good improvement, thanks for posting the different boot times as it gives a good indication of what changes make the most difference. Is it a pi3 or a pi2 you're using? The SD card can definitely make a big difference up to a point, you don't need a super expensive card as the SD reader is limited anyway but I've always found Sandisc Ultra to be a good affordable card with good performance (32gb is about £10 sold by Amazon).

              SNES mini/Nes mini/Famicom mini theme developer.

              If you'd like to support my work you can donate here: Donate

              SgtJimmyRustlesS FlyingTomahawkF Stuart2773S 3 Replies Last reply Reply Quote 0
              • SgtJimmyRustlesS
                SgtJimmyRustles @ruckage
                last edited by

                @ruckage

                Are you 3d printing the fake cards? And I assume they'll use NFC?

                Check out /r/SBCGaming for Retropie, Recalbox, OGST (Odroid) talk and more!
                http://www.reddit.com/r/sbcgaming

                Hop on the Dicscord as well and chat about all things Retropie (or recalbox, lakka, etc)
                https://discord.gg/JdXc6nx

                Check out our Podcast!

                ruckageR 1 Reply Last reply Reply Quote 0
                • ruckageR
                  ruckage @SgtJimmyRustles
                  last edited by

                  @sgtjimmyrustles They're lasercut and using NFC. Hucards are the size and shape of a credit card (only thicker) so it was relatively cheap to have them cut which makes this feasible for a large number of games (more details in my post a few days ago https://retropie.org.uk/forum/topic/14989/pc-engine-build/16 )

                  SNES mini/Nes mini/Famicom mini theme developer.

                  If you'd like to support my work you can donate here: Donate

                  1 Reply Last reply Reply Quote 0
                  • FlyingTomahawkF
                    FlyingTomahawk @ruckage
                    last edited by

                    @ruckage
                    It's a Pi3 with a Mausberry switch.
                    I'll definitely have a look at different SD cards to see if I can get the boot time down a few more seconds.

                    1 Reply Last reply Reply Quote 1
                    • ruckageR
                      ruckage
                      last edited by

                      I just made what I think will be the finalised Hucard design, it's come out pretty well. There is a slight bulge on the back of the card where the NFC label is placed under the rear hucard label but there isn't much I can do about that as the NFC label has to go somewhere.

                      0_1518563133798_hucard back.jpg

                      The art on the hucards will not be accurate in most cases, finding high quality scans of hucards is difficult and in many cases is just text which is a bit boring so I'm using the cover art as the hucard art. Also the artwork on real hucards varies in size as the pcb (the black area) varies depending on the game size. For mine I'm sticking to an artwork size that is as large as possible while still being fully visible when inserted into the console.

                      0_1518563170585_hucard in console.jpg

                      I'm also making cases for these complete with a custom made insert to really add the finishing touch, I'm really pleased with the way they look.

                      0_1518563147693_hucard case.jpg
                      0_1518563160407_hucard case back.jpg

                      You can't see in the photos but at the top of the spine I have a colour coded genre similar to TurboGrafx 16 boxes, these I think will cover most games.

                      0_1518563506967_pc engine genre.jpg

                      SNES mini/Nes mini/Famicom mini theme developer.

                      If you'd like to support my work you can donate here: Donate

                      1 Reply Last reply Reply Quote 1
                      • FlyingTomahawkF
                        FlyingTomahawk
                        last edited by FlyingTomahawk

                        Funny you show this game. Just saw it yesterday at Hard Off for 12000 yen. So you just saved yourself a big amount of money.

                        A guy that I used to have contact in Yokohama owns the complete Shmups collection for PCEngine and some were REALLY expensive he said.

                        Still I don't understand how you gonna run these games without ES. Is there a different software you gonna use? Can you explain more details?

                        lilbudL ruckageR 2 Replies Last reply Reply Quote 1
                        • lilbudL
                          lilbud @FlyingTomahawk
                          last edited by

                          @flyingtomahawk Kinda going off memory here from the NESPI project. But what would happen is he would insert the "HuCard" into the slot and underneath would be the NFC reader. When he presses a button or toggle, the reader will read the rom on the NFC sticker, pass the rom along to RA which would load it in the proper emulator.

                          Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                          Backlog: http://backloggery.com/lilbud

                          1 Reply Last reply Reply Quote 1
                          • ruckageR
                            ruckage @FlyingTomahawk
                            last edited by ruckage

                            @flyingtomahawk said in PC Engine build:

                            Funny you show this game. Just saw it yesterday at Hard Off for 12000 yen. So you just saved your self a big amount of money.

                            A guy that I used to have contact in Yokohama owns the complete Shmups collection for PCEngine and some were REALLY expensive he said.

                            Still I don't understand how you gonna run these games without ES. Is there a different software you gonna use? Can you explain more details?

                            Yeah some of the games for PC engine are stupidly expensive, i'd never be able to afford most of the genuine hucards so It will be cool to have a collection with all those rare games (even if they are just pretend :D )

                            @lilbud is very close with how it works, mine is bit different to the nespi as everything happens automatically when the console is switched on.
                            I've modified autostart.sh and have removed emulationstation from it (this means that ES isn't launched) and in it's place I call a python script. The python script reads the nfc (using nfcpy library) which contains the rom name and launches the game using 'Runcommand' which is exactly the same way ES launches the games as well.

                            SNES mini/Nes mini/Famicom mini theme developer.

                            If you'd like to support my work you can donate here: Donate

                            1 Reply Last reply Reply Quote 0
                            • FlyingTomahawkF
                              FlyingTomahawk
                              last edited by FlyingTomahawk

                              ~~So how do you get those games/roms into the hucards? Where did you get the python script from to let it read that game data and then run them?

                              I am not familiar with the NESPI build. So forgive me the questions.~~

                              Never mind. I'll just keep watching this build and see how it goes. I probably will never build anything close to it so no need to know everything behind it.

                              DarksaviorD 1 Reply Last reply Reply Quote 0
                              • DarksaviorD
                                Darksavior @FlyingTomahawk
                                last edited by Darksavior

                                @flyingtomahawk Me too. PC Engine's that look like they were used as a doorstop are way too expensive and the nearmint ones are even more. I wanted to solder a microsd usb reader to a hucard's pins but that also might've been near impossible.

                                1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator
                                  last edited by mitu

                                  @flyingtomahawk said in PC Engine build:

                                  ~~So how do you get those games/roms into the hucards? Where did you get the python script from to let it read that game data and then run them?

                                  There's a NES mini build with NFC support explained at http://www.daftmike.com/p/nespi-software-install-guide_30.html. The concept I think is the same - read the NFC card label and then execute a command on the Pi. Note that the game is not on the card, it's just the name of the game. The script reads the NFC label (name of the game), searches for the ROM file (on the Pi) and then executes runcommand with the proper parameters to start the emulator for the ROM name found on the NFC card.
                                  The code used is published at https://github.com/imdaftmike/NESPi.git .

                                  FlyingTomahawkF 1 Reply Last reply Reply Quote 1
                                  • FlyingTomahawkF
                                    FlyingTomahawk @mitu
                                    last edited by

                                    @mitu
                                    Now that makes sense.
                                    So the the card is just a trigger to load the rom which is on the SD card. Cool stuff!

                                    1 Reply Last reply Reply Quote 1
                                    • FlyingTomahawkF
                                      FlyingTomahawk
                                      last edited by FlyingTomahawk

                                      @ruckage
                                      Sorry to go again off-topic with the following question.

                                      I was looking at SD cards on amazon and they offer 2 types of SanDisk Ultras.
                                      One is red/grey and says Class10 / A1 Sandisk microSDHC 98mb/S GB Ultra SD
                                      They other is white/grey and says Class10 Sandisk microSDHC Ultra 80MB/s GB
                                      Can the Pi read either one?

                                      ruckageR 1 Reply Last reply Reply Quote 0
                                      • ruckageR
                                        ruckage @FlyingTomahawk
                                        last edited by ruckage

                                        @flyingtomahawk

                                        Hi. Yes, both should work. A1 should technically be better I think (it's a new rating that I believe signifies good 4KB read/write performance which from my reading is important when it comes to the pi). My current card is A1 and works perfectly. Just make sure to buy directly from Amazon themselves as there are a lot of fake SD cards around.

                                        Regarding your previous question, @mitu description is correct. Mine is slightly different to daftmikes as I don't have an arduino as a middleman reading the tags, instead I have it connected directly to the gpio and I'm using a python library to read the tags ndef data. To write the tags I'm just using my tablet and an app which i think is called nfctool. Daftmikes software is much more advanced than mine as it handles multiple systems and can also write the tags, I didn't need that so mine is quite simple.

                                        I'd post a link to the tutorial I followed but the site doesn't seem to be working, there is a google cache of it though https://webcache.googleusercontent.com/search?q=cache:fPoZv3oSw_kJ:blog.digitaloctave.com/posts/hardware/nfc-module-v3-raspberry-pi/+&cd=1&hl=en&ct=clnk&gl=uk

                                        My code is based on the sample from that tutorial, I'll post my code below though I'll probably tweak it some more before I'm finished, it could be simplified (particularly where it joins the strings to create the command) but I'm trying to keep it easily readable.

                                        import subprocess
                                        import nfc
                                        import ndef
                                        from nfc.tag import tt1
                                        from nfc.tag import tt2
                                        from nfc.tag import tt3
                                        from nfc.tag import tt4
                                        
                                        
                                        tagtypes = (
                                            ('uid', nfc.tag.tt1.Type1Tag),
                                            ('uid', nfc.tag.tt2.Type2Tag),
                                            ('idm', nfc.tag.tt3.Type3Tag),
                                            ('uid', nfc.tag.tt4.Type4Tag)
                                        )
                                        
                                        
                                        with nfc.ContactlessFrontend('tty:S0:pn532') as clf:
                                        
                                            tag = clf.connect(rdwr={'on-connect': lambda tag: False})
                                            record = tag.ndef.message[0]
                                            rom = nfc.ndef.TextRecord(record).text
                                            rom = rom + ".zip"
                                            path = "\"/home/pi/RetroPie/roms/pcengine/"
                                            command = "sudo /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ pcengine "
                                            command=command+path+rom+"\""
                                            subprocess.call(command, shell=True)
                                        

                                        Edit: Forgot to say, daftmike is a really nice helpful guy. I've sent him a few emails and he kindly pointed me in the right direction to buy an NFC reader after my fake one didn't work as expected.

                                        SNES mini/Nes mini/Famicom mini theme developer.

                                        If you'd like to support my work you can donate here: Donate

                                        FlyingTomahawkF 1 Reply Last reply Reply Quote 3
                                        • FlyingTomahawkF
                                          FlyingTomahawk @ruckage
                                          last edited by FlyingTomahawk

                                          @ruckage

                                          Thanks a lot for explaining. Now things start to make sense.

                                          Regarding my boot time, not sure why but I had a 16GB Class 4 SD card inside my Pi3. That might explain why I had slow loading times. I have a 32GB SanDisk Ultra Class 10 A1 coming my way now that should hopefully speed things up a bit.

                                          ruckageR 1 Reply Last reply Reply Quote 0
                                          • ruckageR
                                            ruckage @FlyingTomahawk
                                            last edited by

                                            @flyingtomahawk
                                            You should definitely notice a difference going from a class 4 to class 10 SD card, will be interesting to see your boot times with the new card.

                                            The cable you're looking for is just called a 'micro sd extension cable'
                                            I think this is the one I bought but they should be fairly easy to find on ebay/amazon as well.
                                            https://shop.pimoroni.com/products/microsd-extension-cable

                                            SNES mini/Nes mini/Famicom mini theme developer.

                                            If you'd like to support my work you can donate here: Donate

                                            FlyingTomahawkF 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.