Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Search the Community

Showing results for tags 'cleanup'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • News
    • Convert-It News and Updates.
    • PinballX - News and Updates
    • Touch-Play - News and Updates.
  • Convert-It
    • Convert-It Support
    • Convert-It News and Updates
  • GameEx
    • FAQs, Guides, & Other Useful Information
    • General
    • User Projects
    • GameEx Media Projects
  • PinballX
    • FAQs, Guides, & Other Useful Information
    • General
    • User Projects
    • PinballX Media Projects
    • XDMD - DMD Display Library
    • News and Releases
  • Touch-Play
    • FAQs, Guides, & Other Useful Information
    • General
  • GameEx Evolution
    • FAQs, Guides, & Other Useful Information
    • General
    • Emulator Support
    • GameEx Evolution Media Projects
    • Plugins, Addons, Wrappers, etc.
  • VPDB
    • VPDB General Discussion
    • VPDB Feature Requests
  • Spesoft Free Products and Applications
    • SlingFront - SlingBox HTPC Front End
    • MAME Screensaver
    • MNGer - MNG Player
  • Hi-Score Competitions
    • GameEx Hi-Score Competition
    • The Arena
  • Gamer's Tavern
    • Social Club
    • Gamer Rigs
    • Buy - Sell - Trade
  • Spesoft Web Sites and Projects
    • Games Database
  • The UK Retro Gaming Club's Topics
  • USA CLUB's Post a pic of your arcade setup.
  • MacOSGaming's Topics

Calendars

  • Community Calendar
  • The UK Retro Gaming Club's UK Retro Gaming Events

Categories

  • Official Repository - GameEx
    • AddIns
    • Plugins
    • Themes
    • Emulators
    • Databases
    • Data Files
    • Utilities
    • Extensions
    • Themes (Evo)
  • GameEx Installs
  • PinballX
    • PinballX Install
    • Visual Pinball Tables
    • Visual Pinball Install
    • Documentation & Tutorials
    • UltraDMD Install
    • Wheel Images
    • Topper Videos
  • Images, Media and Sounds
    • Backgrounds
    • Bezels
    • Logos
    • System Images
    • Themes
    • Sounds
    • 3D Models
  • Apps, Configs, Map Files, Wrappers, and Plugins
    • Apps
    • Config
    • Plugins
    • Sounds
    • Backgrounds
    • Apps-Config-Map Files-Plugins
    • Databases & Management Tools
    • Other graphics and media
    • Map Files
    • Wrappers
  • Spesoft Applications
  • Database and Management Tools
    • Databases
    • DB Management Tools
  • Touch-Play

Product Groups

  • Packages
  • GameEx, PinballX and Spesoft Products. Make a donation.
  • Convert-It

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Instagram


MSN


PSN


Twitch


Twitter


YouTube


Website URL


Xbox Live


Yahoo


Location


Interests

Found 1 result

  1. Hi All I created a small program that wil generate XML files that will be shown as "Recently Updated" in the game list. It will check all XML files from the INI file and wil create a top list (as many as you want) This is handy if yo have a lot of tables, and added (or modified) some recently How does it works ? Simple copy the attached EXE and INI file and put it into a directory. Edit the INI file with your favorite editor (Notepad.exe for me ) [Global] LogPathLocal = "log" LogFileName = "GenerateUpdateTables.log" LogSize = 0 LogLevel = "LOGLVL_INFO [Paths] PinballX_Path = "c:\Pinball\PinballX" [PINBALLX] ShowTotalNewCount = 25 GenerateXMLSection1 = "VisualPinball" GenerateXMLSection2 = "System_1" GenerateXMLSection3 = "PinballFX3" [Options] CreateSeparateFile = True CleanupDebug = True CleanupOldFiles = True Setup the next sections one time : [Global] section : LogPathLocal - path for logfile. Can be only put a subdirectory or file pathname LogFileName - File name of the logfile LogSize - 0 will overwrite everytime the log file other value will be overwrite the logfile is fize is reached (kb) LogLevel - Type of logging : LOGLVL_INFO - Shows the least ammount of logging. Enough if all is working LOGLVL_VERBOSE - If you encounter errors, this mode will shows the most issues LOGLVL_VERY_VERBOSE - Nightmare logging mode ! Shows too much info, but handy if it is really not working [Paths] section : PinballX_Path - Set the correct to your PinballX root folder [PINBALLX] section : ShowTotalNewCount - Set a number. This will show the totally new or modified tables GenerateXMLSection - Start the GenerateXMLSection from 1 and up. add/remove the sections that has the names in the original Pinballx.INI in the CONFIG folder of PinballX for the emulators which you want t create the new tables for In the example, I want only for the 3 entries that are defined in PinballX.ini to be processed for this script. Modify this to your own needs, but make sure the numbering is starting from 1 to ... [Options] section : CreateSeparateFile - Set to True is you want to have Recently Added and Recently Modified in your list. Set to False creates 1 list of Recently Added (including recently modified) CleanupOldFiles - Set to True if you want to cleanup the next folders for unused files : "Backglass Images","Table Images","Table Images Desktop","Table Videos Desktop","Table Videos","Backglass Videos" Set to False to SKIP deletion (CleanupDebug will be ignored) CleanupDebug - True will only show files to delete, False will delete the files And just run the executable file every time you add or modify tables (I run it after i finished GameManager.exe) A log file will be generated to check anything (See global section), but also on the command line you see the results If you encounter any issues, please change the LogLevel = "LOGLVL_INFO" to LogLevel = "LOGLVL_VERBOSE" and post the logfile as attachment here The EXE file uses the icon of pinballX. Not sure if that is aloud. If not, I will remove the icon latest version : 1.3 GenerateUpdatedTables.exe GenerateUpdatedTables.ini (English is not my native language, so it could be that in the program/logs there are typos. I'm open to change that too ) Thanks to @scutters for testing this in Beta phase and reported issue (and extra feature) back and @simbamame for testing without finding issues
×
×
  • Create New...