Jump to content
LaunchBox Community Forums

Baggio

Members
  • Posts

    288
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Baggio

  1. This looks like an absolute godsend for me, if I've read correctly whats its doing lol.

    I have come to find out that I have to reconfigure my controls for the gamepads and lightgun every time I load up Teknoparrot after I've shut down my PC which you can imagine is an absolute pain.   I was looking at modifying a script posted in the Gun4ir discord for Supermodel that picks up the device IDs and changes the corresponding values in the ini file but looking through the TP XMLs it may be beyond my scope.

  2. Hi guys,  I have recently moved my large collection of manuals over to my NAS and am symlinking them back to the root launchbox manuals folder but get this error when I try and view them.

    Screenshot(562).thumb.png.95d0426c6f87e8411095bb26dc7dc5a2.png

    I have tried turning off the built-in function in the options but that opens Acrobat and it doesn't load them full screen like the BB one does.   Any ideas what I can do to get them to work?  

  3. I have a solution but can't quite execute it lol

    So I have to load the game in borderless and then press F3 for it to go fullscreen.

    Now I am using a script in the running section in the emulator but am struggling to get something like,

    #IfWinActive, %MFMEWindow%
    F3:: ; Press F3 key
    Send, {F3}
    return

    added to it and working for it to go fullscreen after it closes the splash screen and notes.

    Heres @fruity script that im trying to add it too.

    SetTitleMatchMode, 2 
    WindowClass = TLayoutNotes
    MFMEWindow = MFME.exe 
    
    TimerCloseWindow:
     IfWinExist, ahk_class %windowclass%
      { WinClose, ahk_class %windowclass%
      }
      SetTimer, TimerCloseWindow, -4000
     return
    
    #IfWinActive
    Esc::
    WinCLose, ahk_exe %MFMEWindow%
    Return

     

  4. A little update is that it appears to be something to do with the backdrops as when I enable "random backdrops" it breaks a lot more games 😂 

    Also choosing anything other than fullscreen in load mode and they work as well so i'm guessing if i can figure out how to change the monitor size from the defaults of 1538 x 864 i may be able to get them all working.

  5. Has anyone else come across this type of error?

    Screenshot(496).thumb.png.34d043d120c4ba75353a0ade839fd253.png

     

    This is happening for a few games and the addresses change slighty, this error was for Monopoly Hot Property.   The game runs fine when ran through MFME but I get the errors when it's being launched through Launchbix for some reason.   I've tried adding MFME as an exception in DEP and deleting and re-scanning the DB but neither had any effect.

  6. I just did an image clean-up with the image clean up function and after it finished I moved the files and I had a look through my platforms to see it it removed any images it shouldn't and i found some images were missing.

    Now the strange thing is the box backs and spines are named Dragon_s Lair II _ Time Warp for example and are shown still in LB and werent moved with the clean up tool but the box front which is named exactly the same and was picked up as not in use and move/deleted.  This has happened with quite a lot of files with a dash in the filename and with the underscore in the images filename.

    Just to put it out there image naming on Launchbox is the bain of my life, i don't know how much time i have spent remaining files 😂   Can we not have Launchbox ignore commas, hyphens, dashes and apostrophes in titles/filenames so it matches them, instead of having to use underscores in the image file?

  7. 14 hours ago, uberrr said:

    Could you make a bat to extract first page from PDF also? I'm also getting low quality jpgs from ComicUtilityBelt and i cba to pay for acrobat

    Here you go.

    Extract First Page PDF.zip

    Below is a work in progress but it converts the folder of PDFs into JPEGS.

    For this to work Ghostscript needs to be installed https://ghostscript.com/releases/gsdnld.html

    PDF to JPEG.zip

    I'll try to get these into one batch file at some point.

    • Like 1
  8. I've only just come across this and it sounds like exactly what i need for my NAS.

    I'm struggling to get it working the way I want though.  From reading your release notes we are able to cache non-archived files and that's what I'm trying to set up.  Basically, I just want it to copy the game from my NAS to my LB SSD on launch, so do I need to set up each emulator in the extraction settings or can I have one setting for them all?

    At the minute I can't get it to cache anything, because i can't get my head around it lol

     

  9. On 8/21/2023 at 12:21 AM, JaysArcade said:

    Once you install imagemagick, you run a batch file. I run it in the folder with the seed image and then copy out the images to another folder when its done.

    for /l %%x in (1, 1, 34) do (
       echo %%x
       magick convert "Mad.png" -font "Segoe-UI-Black" -pointsize 155 -fill white -strokewidth 7 -stroke black -gravity south -annotate +0+0 "XL #%%x" "Mad XL #%%x.png"
    )

     

    The things to focus on are:

    On the first line, the 34 means create up to 34 images. Change this according to however many you need. Not sure what the 1,1, are but probably means start at number one, and increase by one for each file.

    On the second line, tell it to convert Mad.png which is the seed png I already made with space on the bottom for the new text. Font and pointsize should be self explanatory. Fill text with white and add a black stroke. The 7 indicates how thick the stroke. Gravity is where you want the text. SouthWest would be the bottom left, SouthEast bottom right, North is the top middle, etc, etc. The Annotate means to write on the image. The +0+0 is the XY offset from whatever gravity you set. the "XL #%%x" is what you want it to write. So this would write XL #1, XL #2, XL #3, etc, etc. The "Mad XL #%%x.png" will be the filename it writes. So the files will be Mad XL #001.png, Mad XL #002.png, Mad XL #003.png, etc, etc.

     

    MadXL1.thumb.png.ee0a20669b138faabc3df76693273811.png

    Brilliant thanks for this.  This will come in very handy in the future no doubt 👍

    • Like 1
  10. 3 hours ago, KingSlayer420 said:

    I've been away for a few weeks playing some ps2 games, it turns out I have a obsession with the actual video games as well and forget to check back on threads I created 😁 I see Baggio has been busy in my absence adding a bunch of cool batch scripts and other useful stuff, I'll add those to the front page, thanks for all that btw I will use those when I get back to adding some new mags.  

    No worries bud.  You're bang on about me being busy with this as I have made another 9 UK magazine sets that I need to send you.  You’ve got me well into it now lol

    Regarding FlipPDF, I love the style but it was the converting to exe’s that made me steer away from it becuase I dont think you can convert them back to PDFs. That meant if I ever needed them in PDFs again and i would have to find and download them all again which as you know is no easy feat 😂

  11. I forgot to add it you want to use Acrobat for the reader i have found these settings (and the transitions) work really well.

    image.thumb.png.a4deef563134d34c8aa95c3c7f6bd014.pngimage.thumb.png.33316e92ebf87dabf9e17988d23de18a.png

    And here's an AHK to open them in fullscreen, just change the Acrobat location and the PDF name

    run, "X:\YOUR LOCATION\Acrobat.exe" /A "pagemode=FullScreen" "FILENAME.pdf"
    
    Escape::
    WinClose, ahk_exe Acrobat.exe
    ExitApp
    return

    If you don't want to make an AHK for every mag, you can run this Action file Set_Initial_View.sequ

    image.thumb.png.fb9ddb6070b77851341f9c497a86a444.pngimage.thumb.png.aa96299b0e84bac3f736a210a53be4ad.png

    Once installed, edit it and set "Open In Fullscreen mode" to yes (like the images above),  then run that on your PDF folder and it will set them all to open fullscreen by default. 

    • Like 1
  12. After messing about will all sorts of programs trying to extract the first and last pages from a PDF I have found out that Adobe Acrobat has actions like Photoshop so you can create a set of commands to run on a whole folder, so I have created 3 for anyone that uses AA.

    First and Last page to JPG.sequFirst Page To JPG.sequLast Page To JPG.sequ

    Just double-click each one to install them and in Acrobat to Tools>Customise>Action Wizard, choose which action you want to use, select the folder with the PDFs you want the covers for, and click start. 

    It will extract all the images to the folder with the PDFs in with the back cover having 'BACK' in the name (if using front and back or just the back action file.)

    image.thumb.png.e9bea05e3684dd305ed2af458ec63dbc.png

     

    The reason I have been trying to find an alternate solution to Comic Utility Belt was that it was outputting really really small JPGS on some PDFs and I couldn't figure out why.

    • Like 3
  13. Another thing,  if you want to use BRU to rename the files, run that bat file above in the folder you created all your images in to get your names.  Paste them into the first cell in excel/libre,  in the second cell put a pipe | in each row, and in the third cell put the names you wish to change it to.  For this again you can run the bat file I posted in the relevant folder to grab them all and paste into excel.

    image.thumb.png.ef162b63f886132be96ea38936606583.png

    Select all that once you have done and paste it into a text file, save it and load up BRU. 

    image.thumb.png.eb563d25ebc21159e6a4a8f157cd70c5.png

    Once there select "Actions>Import Rename-Pairs" and select your text file your just created.

    image.thumb.png.2ee804ed17bebd7e0885074754028018.png

    Then it's just a matter of selecting all the files you're wanting to rename and pressing rename

    Doing it this way you don't need to remove the extension the bat file created either.

     

  14. btw @DerSchlachter this may be of use to you as well with your spines and save you a few steps of what you posted earlier.

    I made it a while ago and it's been very useful for stuff like this.  It'll just create a text file with all the things in that folder (not the subfolders) and without the path so you'd just need to remove the extension in a text editor.  I'm sure there is a way to do this without the extension showing as well but i don't know how to do it lol

     List files in Folder.zip

×
×
  • Create New...