Jump to content
LaunchBox Community Forums

walter10h

Members
  • Posts

    58
  • Joined

  • Last visited

  • Days Won

    1

File Comments posted by walter10h

  1. On 8/27/2023 at 5:27 PM, marzipant0rte said:

    I had the exact same error. It seems like the save_image function does not create the output_path variable when you are not resizing the images. I could fix it for me by adding these two lines in line 165 (right after the last else statement in the save_image function):

    filename = os.path.basename(r'%s' % original_path)
    output_path = os.path.join(output_dir, filename)

    so the complete else block should read like:

            else:
                filename = os.path.basename(r'%s' % original_path)
                output_path = os.path.join(output_dir, filename)
                copy(r'%s' % original_path, r'%s' % output_dir)
            return os.path.basename(output_path)    

    I hope it helps

    It works! It's a tad inconsistent with some games not saving video or screenshot. Hardly a big deal. It's very usable now. :D 

    EDIT: Actually, the video path doesn't get added to gamelist.xml. Oh well. LOL


    Thank you man!

  2.   

    On 7/9/2023 at 5:35 PM, Barnabas said:

    This is a great theme, I'm surprised I liked it so much. When I was a kid I had a polystation.
    But the total amount of games at the top is cut off and the long names of some games are cut off too (Aspect Ratio: Stretch).
    It would be great if you could fix that.

     

    Hello again! I believe the issues have been fixed now. Sorry it took so long, I've been incredibly busy with finding another engineering job and dealing with life. 

  3. This is so good. Any way to fix the import of media into gamelist.xml? It's not properly creating entries for marquee, video or image. The only one that works is thumbnail, and only if reduce_image_size = True. 

    gamelist.xml ends up looking like: 
     

    <gameList>
        <game>
            <path>./Mega Man X4.chd</path>
            <name>Mega Man X4</name>
            <desc>Taking place in an ambiguous year in the 22nd century (21XX) and following the third defeat of the &quot;Maverick&quot; robot Sigma, Cain Labs issues an initiative to create a supplementary military force to complement the &quot;Maverick Hunters&quot;. The army, called the &quot;Repliforce&quot;, is a strict regime led by General and his second-in-command, Colonel. Six months following the inception of the group, Cain Labs finds its methods to be ineffective, questionable, and potentially dangerous in the Maverick defense. To make matters worse, behind the scenes, General has been meeting with a mysterious figure who plots the Hunters' demise, insinuating that they are a significant threat to the jurisdiction of the Maverick Hunters. Mayhem breaks out when the Sky Lagoon, a massive floating city, is sent crashing down onto the city below it, killing millions of civilians, humans and Reploids alike. The game begins here where either X or Zero is dispatched to investigate possible causes of the disaster only to become entangled, once again, in a struggle against Sigma to save the world.</desc>
            <image/>
            <marquee/>
            <thumbnail>./images_boxart/Mega Man X4-01.png</thumbnail>
            <video/>
            <rating>0.0</rating>
            <releasedate>19970925T000000</releasedate>
            <developer>Capcom</developer>
            <publisher>Capcom</publisher>
            <genre>Platform; Shooter</genre>
            <players>1+</players>
        </game>
    
    ...


    I added some more messages on the terminal so I could debug it, but I haven't found the issue yet. All I know is that the media files are being imported no problem, but when it comes to writing them to gamelist.xml, it acts as if those files don't exist. Also, it doesn't remove the -01 from filenames (not a big deal, just odd).

    Image type: screenshot
    Media Files Found:
    Image type: marquee
    Media Files Found:
    Image type: box art
    Media Files Found:
    Image type: video
    Media Files Found:
    D:\LaunchBox\videos\Sony Playstation\Clock Tower Ghost Head -Yokubari--01.mp4
    D:\LaunchBox\videos\Sony Playstation\Goemon Shin Sedai Shuumei.mp4
    D:\LaunchBox\videos\Sony Playstation\King_s Field (US)-01.mp4
    D:\LaunchBox\videos\Sony Playstation\King_s Field II-01.mp4
    D:\LaunchBox\videos\Sony Playstation\Mega Man X4-01.mp4
    D:\LaunchBox\videos\Sony Playstation\Mega Man X5-01.mp4
    D:\LaunchBox\videos\Sony Playstation\Mega Man X6-01.mp4
    D:\LaunchBox\videos\Sony Playstation\Resident Evil_ Director_s Cut-01.mp4
    D:\LaunchBox\videos\Sony Playstation\Resident Evil_ Director_s Cut-02.mp4
    D:\LaunchBox\videos\Sony Playstation\Spyro the Dragon-01.mp4
    D:\LaunchBox\videos\Sony Playstation\Tomb Raider-01.mp4
    Sony Playstation: Mega Man X4
            No screenshot found for Mega Man X4
            No marquee found for Mega Man X4
    D:\Launchbox Rom Export\launchbox_retropie_export_symlink.py:153: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
      resized_image = original_image.resize(size, Image.LANCZOS)
            No video found for Mega Man X4
    [WinError 183] Cannot create a file when that file already exists: 'D:\\LaunchBox\\..\\Games\\Emulators\\PS1\\Games\\Mega Man X4.chd' -> 'D:\\Launchbox Rom Export\\roms\\psx\\Mega Man X4.chd'
    Sony Playstation: Resident Evil: Director's Cut
            No screenshot found for Resident Evil: Director's Cut
            No marquee found for Resident Evil: Director's Cut
            No video found for Resident Evil: Director's Cut
    [WinError 183] Cannot create a file when that file already exists: "D:\\LaunchBox\\..\\Games\\Emulators\\PS1\\Games\\Resident Evil - True Director's Cut - Dual Shock Ver. .chd" -> "D:\\Launchbox Rom Export\\roms\\psx\\Resident Evil - True Director's Cut - Dual Shock Ver. .chd"
    ----------------------------------------------------------------------
    Created 1 gamelist XMLs and symlinked 2 media files from 0 games
    ----------------------------------------------------------------------

     

    • Like 1
  4. On 1/24/2022 at 8:28 PM, bundangdon said:

    Yep! I went back and took a look at this theme now and noticed that all videos (16x9, 4x3) look fine and fill up the screen, with an exception of a few odd shaped, unusual ratio videos. But the screenshots (all ratios) all have that same problem. It's certainly not a deal-breaker but it would be nice if I could find a more uniform and consistent style, and I'll see what I can cook up with the latest version of Community Theme Creator.

    I appreciate your hard work on this awesome theme. You're making me want to make one myself lol.  After that MS-DOS one I made back in 2017, I never got the urge to make anything else.

    • Game On 1
  5. 7 hours ago, bundangdon said:

    Thanks a lot! Unfortunately though, with 16x9 videos and screenshots, I wasn't able to fix that issue, while 4x3 videos seem to be fine. What I will probably do, in the near future, is make a 2nd version for HD 16x9, and that way users can switch between the themes and use them with the appropriate (mostly newer) systems

    Thanks for such a quick response. That's the interesting part, I haven't had issues with 16:9 videos, it's some of my 4:3 videos showing with black bars on the side. Some show fine. Most likely a weird aspect ratio. I thought maybe there was a way to force the theme to stretch the video regardless of aspect ratio. Oh well, it's not really a big deal. Cheers!

×
×
  • Create New...