
Rob_G
-
Posts
175 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Posts posted by Rob_G
-
-
I try to recover my license from the url:
https://www.launchbox-app.com/premium/lost-license
and I get the following error after I type my email address and click the button or press enter
-
13 minutes ago, C-Beats said:
What do you mean by "proper"? You can alter the rotation of anything in a FlowControl so I'd assume the answer is yes. That being said CTC is a third party app and not one I use so I'm not sure if you'd be able to from there. You referring to something like we have in the unified themes, or you mean more akin to Hyperspin where each logo is also rotated instead of strait?
More like emulation station gamecarousel, I've never used or worked with hyperspin. If that means logo rotation relative to wheel curve, then yes to that.
I thought I might go back and update Unified Lives.... The wheel was something I was never happy with
Rob
-
Have there been any improvements to theming in general so that wheels can have a proper curve now? The last time I worked on a theme back with CTC2.5, it didn't seem possible - at that time.
Rob
-
It's been a long while since I last worked on "Unified Lives!" and I just don't see myself going back to it (no interest). Rather than letting it go stale, if someone is willing to put in the effort to update and maybe even maintain it then I will hand over the source code (Community Theme Creator 2.55).
Rob
-
I think the 'IsCasino' boolean in the mame xml data is being used wrong, or some games have wrong metadata Megatouch XL is one example identified as a casino game when it's just another version of a Megatouch game.
Rob
-
3 hours ago, DerSchlachter said:
Thank you, i will check the result in my Test-Setup 🤠
I've changed my approach a bit now. Instead of deleting items, I just hide them by changing the hidden element in the platform or gamelist xml.
I don't have anything written for launchbox (yet), but I did write something for batocera already.. Same principle though. This keeps everything in place like bios and device files which are needed, but hides them since they aren't actually games to play.
Rob
-
Ok, one thing I had not counted on was that device roms are not included with the game roms. So for example, Arkanoid won't launch if mame cannot find m68705p3.zip which is a processor device rom.
The solution is going to be to not touch device (or bios) zip files now. I have updated the script to leave these alone.
Also, I have added a backup option to move files to another location instead of just deleting them if that is what you want.
I updated the script in the first post.
Rob
-
1
-
-
I wrote a powershell script to cleanup a full (merged) mame romset and remove the following junk:
Non working
Non arcade
No disk dump
CHD Missing
Casino
Mahjong
Playchoice 10
Mechanical
Non Runnabl
Uses Software lists
ClonesFiltering mame xml is NOT bulletproof. There are no explicit tags for language or genre so some filtering is tedious and/or may produce undesired results. So it's best to err on the side of caution. There will be casino/mahjong games that slip by for example and this even happens with Launchbox mame import.
Final tally is that this reduces a mame merged set from 15000+ files to less than 4000 files.
function deletefile($file) { #Comment next line if you don't want backup #$backupfolder = "d:\backupfolder" if (($backupfolder -ne $null) -and (($backupfolder | test-path) -eq $false)) { md $backupfolder } if ((Get-ChildItem $file -ErrorAction SilentlyContinue) -eq $null) {return} if ($backupfolder -ne $null) { write-host "Moving $file.name to $backupfolder" #$file | move-item -Destination $backupfolder } else { write-host "Deleting $file" $file | Remove-Item -Force } } if ($xml -eq $null) { #Changed to wherever your mame.exe is [xml]$xml = D:\Launchbox\Emulators\Mame\mame.exe -listxml } #Change to wherever your roms are stored $dir = "Z:\roms\mame" $xml.mame.machine | ForEach-Object { $name = $_.name $romfile = $dir + "\" + $name + ".zip" #Is a bios if ($_.isbios -eq "yes") {return} #Is a device if ($_.isdevice -eq "yes") {return} # Delete rom if it has no associated input or coins is null if ($_.input -eq $null) { deletefile $romfile return } $checkforcoin = $null $checkforcoin = ($_ | select -ExpandProperty input).coins if ($checkforcoin -eq $null) { deletefile $romfile return } #Unplayable if ($_.driver.status -eq "preliminary") {deletefile $romfile;return} #No disk dump if ($_.disk.status -eq "nodump") {deletefile $romfile;return} #Missing CHD if ($_.disk.status -eq "good") { $chdname = $dir + "\" + $_.name + "\" + $_.disk.name + ".chd" $checkdir = $null $checkdir = Get-ChildItem $chdname -ErrorAction SilentlyContinue if ($checkdir -eq $null) {deletefile $romfile;return} } #Not runnbable if ($_.runnable -eq "no") {deletefile $romfile;return} #Mechanical if ($_.ismechanical -eq "yes") {deletefile $romfile;return} #Description keywords #Playchoice isn't necessary #I think most rhythm games are unplayable as well if ($_.description -match "playchoice|mahjong|percussion|rhythm|beatmania") {deletefile $romfile;return} #Slot machine if ($_.manufacturer -match "Videos A A|QPS|IGT - International Game Technology|Aristocrat|Igrosoft") {deletefile $romfile;return} if ($_.description -match "casino|gamble|slot|fruit|mazooma|gaminator|poker") {deletefile $romfile;return} if ($_.sourcefile -match "barcrest|goldstar.cpp") {deletefile $romfile;return} #A few junk stragglers if ($_.sourcefile -match "nes_clone.cpp|att3b2.cpp|telercas|tvgames|skeleton|aristocrat|casio|yamaha|famibox") {deletefile $romfile;return} #Uses softwarelist if ($_.softwarelist -ne $null) {deletefile $romfile;return} #Is a clone. Not sure we keep or not. Disabled next line for now #if ($_.cloneof -ne $null) {deletefile $romfile;return} }
-
2
-
-
I almost regret including the recent games listbox in my theme since there's just no control over what it shows or how it activates.
Rob
-
I roughed up a proof of concept for exporting launchbox style media to a batocera installation. It's just something to play around with I guess.
This POC copied video files, renamed them appropriately and generated a new game list xml.
There are going to be limitations, but it certainly beats downloading gigs of data again through very slow scrapers.
$imgsourcedir = "D:\Launchbox\Images\Sammy Atomiswave" $vidsourcedir = "D:\Launchbox\Videos\Sammy Atomiswave" $destdir = "Z:\roms\atomiswave" [xml]$xml = Get-Content $destdir\gamelist.xml $xml.gameList.game | ForEach-Object { $name = $_.name write-host "Game: " $name $videos = dir $vidsourcedir -Recurse $firstvid = $null $firstvid = $videos | Where-Object {$_.name -match $name} | select -first 1 if ($firstvid -ne $null) { write-host "Video Found: " $firstvid.name $startchar = "/" $endchar = "." $pattern = @" (?<=\$StartChar).+?(?=\$EndChar) "@ $newvidname = [regex]::Matches($_.path, $pattern).Value + "-video" + $firstvid.Extension $firstvid | Copy-Item -Destination ($destdir + "\videos\$newvidname") $newvideoelement = $_.AppendChild($xml.CreateElement("video")) $newvideoelement.AppendChild($xml.CreateTextNode('./videos/' + $newvidname)) | Out-Null } } $xml.save("$destdir\gamelist.xml")
-
Sometimes box images have too much transparency padding which just makes them display improperly. There is an easy fix for this!
https://imagemagick.org/script/download.php
If you are running windows, download ImageMagick-7.1.0-58-Q16-x64-dll.exe
I don't think this warranted creating a powershell workflow for running multiple jobs at once since it's already very quick.
I just choose a folder of files I want to fix and run a small powershell script. Please don't run it against ALL your images, just ones where boxes have uneven cropping. I used it on 'Vectrex' and 'SNK Neo Geo CD' 3D boxes.
$foldertofix = "D:\Launchbox\Images\GCE Vectrex\Box - 3D"
$exe = "c:\Program Files\ImageMagick-7.1.0-Q16\magick.exe"$files = dir "$foldertofix\*.png" -Recurse
$files | ForEach-Object {
$file = $_.FullName
Write-host "Fixing $file"
& $exe $file -fuzz 1% -trim +repage $file}
Results before and after below:
-
On 1/8/2023 at 12:45 PM, darreldearth said:
Is the new theme going to still have the original platform layout as well?
I think the new one looks nice. Only thing I could come up with was maybe the top right box be only the description/clear logo, and then the bottom box having the recent games and the system icon somewhere. And there wouldn't be a random game 🤷♂️.
Honestly I personally like simple, so just like seeing the description, system icon and the video. Anything else is just fluff to me.
Also thanks for all the work on the theme man. I hope your personal situation works out so you don't have to stress.
Platform views are now updated and I think they turned out pretty good.
V4.4 is available now.
Rob
-
1
-
-
On 1/24/2023 at 11:11 AM, PaulyC said:
@y2guru Hi mate, I'm thinking of making my theme 4:3 as well as 16:9. You've had a look at my theme and have seen how many layout conditions i have currently (46 at last count). Would it hurt performance or break anything if i doubled them up with 4:3 conditioning?
You shouldn't need too much to make your theme compatible across different aspect ratios. Put your elements into grids, set CTC to 'stretch' and set images to 'fill' as necessary. It's better to just live with the stretch/shrink as opposed to trying to account for different aspect ratios. Videos are the one thing I don't let stretch, but I have a black canvas behind the video to fill in gaps.
Rob
-
So, there's currently no way to change the listbox behaviour? It's dependent on wheel position?
Vertical = right stick activation
Horizontal = down stick activation.Rob
-
Not so final after all. I got a cold so instead of going outside on my long weekend, I spent time indoors doing some some research on XAML. I learned a few cool animation tricks which I will implement into my game wheels.
I also have a few other fixes, improvements and changes implemented on game views. I noticed box wheel movement is backwards compared to my clear logo wheels and I'm not sure why. So I'll make another wheel template for boxes I guess and fix that.
Rob
-
2
-
-
Could we get more control of the recent games listbox if possible?
- Number of days to show content
- Activation directionThe activation direction is backwards in my theme and I know of no way to fix that. I asked for assistance in another thread, but did not get a reply.
In a perfect world, it would be nice to also have a 'random game listbox' (1 item) where you can also show details with the existing random meta tags. And also show gameplay video with a random game video tag instead of a repetitive platform video.
Rob
-
Just off the top of my head, but create another platform dedicated to MSU-1.
Rob
-
I added a random game display to my theme, but of course it's just static and doesn't do anything. I wish Big Box had a random game listbox like it does for recent and favorite games. Then whenever a platform or playlist is chosen, a random game can be shown and chosen if desired. I know there's been a lot of previous discussion about a random game picker, but I guess it never gained much traction for BigBox to implement?
Unless anyone has some thoughts to share?
Rob
-
9 hours ago, darreldearth said:
Is the new theme going to still have the original platform layout as well?
I think the new one looks nice. Only thing I could come up with was maybe the top right box be only the description/clear logo, and then the bottom box having the recent games and the system icon somewhere. And there wouldn't be a random game 🤷♂️.
Honestly I personally like simple, so just like seeing the description, system icon and the video. Anything else is just fluff to me.
Also thanks for all the work on the theme man. I hope your personal situation works out so you don't have to stress.
The layouts are still basically the same, but a few things things have also been re-arranged. I think I'm pretty much done except I may check out a random game plugin and see if I can integrate that as well.
Rob
-
22 hours ago, Rincewind said:
Some views don't warrant the game notes true but you can't just say "nobody reads that crap" because there will be users that do like to read it, so my feedback would be maybe have one vertical game wheel with the recent games.... and favourites if you can get it in there. And then a second vertical game wheel with the notes. That way you keep everyone happy 😊
I came up with a compromise. I will scroll the platform notes on the status bar.
-
I do need feedback if you like this direction or not.
I'm ditching the notes scroller from platforms because nobody is going to read that crap. Maybe once, then it's useless to have.
I moved a random game and rating in the frame as well as the device image. In the space below, I added a recent games listview. My focus is on what's useful and what's not (fluff). Some fluff is ok, but too much and nobody cares. I even thought about ditching repetitive platform videos and the random gameplay video would play instead, like a 'featured game' of sorts. I can't do that with CTC and may have to ask the bigbox team @faeran if it's even possible?
It's a WIP....
Rob
-
If you ever wondered about nesting elements....... Back in the late 90's I used to program HTML in notepad and would nest tables for layout purposes...
Reminds me of nested loops in programming in a way too. I always enjoyed that stuff. I do a lot of powershell and some REST API stuff these days for work.
I don't think I would attempt it today without a WYSIWYG editor like CTC. Thanks @y2guru
-
1
-
-
One more update coming soon I hope and then I'm hanging it up for a bit. I've had A LOT of stress in my life lately and this theme stuff has been a good distraction for me. But bad stuff is afoot, my situation is not good. Health is ok (I think), finances are not. I worry...
New video borders for platform and non arcade games has been implemented. Readability in some cases has been improved even more with additional semi opaque framing.
I wanted to implement 'recent games' but got no help on that and I can't get past how the controls activate the element - it's backwards from what I want. Maybe some day...
Probably this weekend I'll drop 4.1 and barring any issues that will be it for now.
Rob
-
2
-
-
CTC 2.5 allows you to place the recent games filter list in your theme, but it's only for size and placement purposes.
From lots of testing, it looks like the file 'ThumbnailListView.xaml' controls the appearance. The one that gets put in my theme by CTC 2.5 has issues with the bottom of the boxes being cropped. When I replace it with the 'ThumbnailListView.xaml' from default theme, I don't have that cropping issue any more. Also, the filter list title now shows where before it did not.
So one thing solved - more or less.
How do I change the navigation direction to the list? Right now it's DOWN, but the recent games filter list is above my wheel. So I want navigation to be UP, not DOWN.
Rob
Cannot recover forever license
in Troubleshooting
Posted
Yes, I am certain. I sent an email asking for assistance. I had also sent a message using the "License Support" option on this site, but I never got a reply yet.
Rob