Jump to content
LaunchBox Community Forums

13.2 Beta Thread


faeran

Recommended Posts

12 minutes ago, retroNUC said:

Slightly ahead of you faeran, the hashing/identification issues I'm logging at BitBucket are all games that work fine with RAHasher/RALibretro :)

Not sure I follow this line of thinking. We ARE sending your files to their application (found in \\LaunchBox\Third Party\RetroAchievements\rahasher.exe). What app exactly are you comparing results with?

Link to comment
Share on other sites

15 minutes ago, C-Beats said:

Not sure I follow this line of thinking. We ARE sending your files to their application (found in \\LaunchBox\Third Party\RetroAchievements\rahasher.exe). What app exactly are you comparing results with?

I'm using rahasher too, on the command line.

Can't tell you why .nds files don't seem to be processed through LB - Not even "COULDNTFILEHASH", doesn't seem to be adding any changes back out to the platform XML at all. Perhaps wrong platform ID, or passing down the zip/7z forces it to go down the wrong algorithm?

Also can't say why CHD files are failing when ISO ones work fine (because rahasher doesn't support CHD, it's up to the app using it to mount/translate it first through something like libchdr).

Edited by retroNUC
Link to comment
Share on other sites

1 hour ago, faeran said:

Something to keep in mind is that we use the official hashing program by RetroAchievements, found here: https://github.com/RetroAchievements/RALibretro/releases

Any time there's a new version of that program, we will be updating LaunchBox with it. It may be worth the effort to help them determine where they should be focusing their time.

I dont know how to help them

and I dont know how to help me with the dreamcast set (like reported)

I have followed the manual workaround for some titles, and it works, but I know that it is not the correct way.

So, what I have to do?

Link to comment
Share on other sites

16 minutes ago, retroNUC said:

Can't tell you why .nds files don't seem to be processed through LB - Not even "COULDNTFILEHASH", doesn't seem to be adding any changes back out to the platform XML at all. Perhaps wrong platform ID, or passing down the zip/7z forces it to go down the wrong algorithm?

Is anything generated in your log file? The only thing I would think may be happening is that the app takes longer that the timeout period we set to gen the hash and we are just killing the process too soon for your computer. Though that wouldn't explain the "COULDNTFILEHASH" not being inserted (since it should be if the timeout is hit). Do you have a filename + md5 hash you could provide for a few of the files that you are seeing work in command line and NOT in LaunchBox?

Link to comment
Share on other sites

24 minutes ago, retroNUC said:

Also can't say why CHD files are failing when ISO ones work fine (because rahasher doesn't support CHD, it's up to the app using it to mount/translate it first through something like libchdr).

The release handles CHD because it is wrapping libchdr, just not in the repo the report was raised in. Though it does make sense that CHD has issues and ISO don't. ISO is a single format, where CHD has like 5 different versions and different compression formats that can be used within a single version. CHD is a far bigger umbrella of possibilities to manage where the ISO file format is far more straight forward.

Link to comment
Share on other sites

25 minutes ago, C-Beats said:

Is anything generated in your log file? The only thing I would think may be happening is that the app takes longer that the timeout period we set to gen the hash and we are just killing the process too soon for your computer. Though that wouldn't explain the "COULDNTFILEHASH" not being inserted (since it should be if the timeout is hit). Do you have a filename + md5 hash you could provide for a few of the files that you are seeing work in command line and NOT in LaunchBox?

Of course, I'll add any info/logs you request to the issue tickets once I get a chance.

Sorry for the misunderstanding, and apologies for my tone.

Link to comment
Share on other sites

18 minutes ago, retroNUC said:

Of course, I'll add any info/logs you request to the issue tickets once I get a chance.

Sorry for the misunderstanding, and apologies for my tone.

No need for apologies, I appreciate you willingness to try and help. I just want to ensure the two of us our on the same page so we can correctly diagnose the issue and hopefully get it resolved.

Link to comment
Share on other sites

Still need to talk with various parties across GitHub projects as to where the fault lies and how it should be fixed properly, but I've put together a new version of RAHasher that now works properly with all CHD files. Download the attached file and replace the one located at "...\launchbox\ThirdParty\RetroAchievements\RAHasher.exe"

Resanned my PS2 CHD collection with a 99%+ success rate. I'm not sure if LB will force retry entries already marked as COULDNTFILEHASH on a rescan, or whether you'll need to remove those lines before the rescan? 

https://www.virustotal.com/gui/file/383ff365c89255e8d12e2580ae49e3af55ed59c3f2099e8eb173f0f231bba762

RAHasher_Fix.zip

  • Like 2
  • Thanks 3
Link to comment
Share on other sites

when first opening launchbox

Common Language Runtime detected an invalid program.

App:     LaunchBox
Version: 13.2
Type:    System.InvalidProgramException
Site:    Void ListRemoteDefinition()
Source:  Unbroken.LaunchBox.Windows

   at Unbroken.LaunchBox.Windows.Music.<>c__DisplayClass66_0.ListRemoteDefinition()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

 

2023-03-18 08:18:28 PM All necessary config files and folders now confirmed to exist.
2023-03-18 08:18:28 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en-US, PublicKeyToken=null...
2023-03-18 08:18:28 PM About to initialize WPF App constructor...
2023-03-18 08:18:28 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en, PublicKeyToken=null...
2023-03-18 08:18:28 PM Resolving assembly CefSharp.Wpf, Version=83.4.20.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138...
2023-03-18 08:18:28 PM CefSharp assembly path: D:\LaunchBox\ThirdParty\Chromium\CefSharp.Wpf.dll
2023-03-18 08:18:28 PM CefSharp assembly path found, loading...
2023-03-18 08:18:28 PM Resolving assembly CefSharp.Core, Version=83.4.20.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138...
2023-03-18 08:18:28 PM CefSharp assembly path: D:\LaunchBox\ThirdParty\Chromium\CefSharp.Core.dll
2023-03-18 08:18:28 PM CefSharp assembly path found, loading...
2023-03-18 08:18:28 PM Resolving assembly CefSharp, Version=83.4.20.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138...
2023-03-18 08:18:28 PM CefSharp assembly path: D:\LaunchBox\ThirdParty\Chromium\CefSharp.dll
2023-03-18 08:18:28 PM CefSharp assembly path found, loading...
2023-03-18 08:18:28 PM Resolving assembly CefSharp, Version=83.4.20.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138...
2023-03-18 08:18:28 PM CefSharp assembly path: D:\LaunchBox\ThirdParty\Chromium\CefSharp.dll
2023-03-18 08:18:28 PM CefSharp assembly path found, loading...
2023-03-18 08:18:28 PM Resolving assembly CefSharp, Version=83.4.20.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138...
2023-03-18 08:18:28 PM CefSharp assembly path: D:\LaunchBox\ThirdParty\Chromium\CefSharp.dll
2023-03-18 08:18:28 PM CefSharp assembly path found, loading...
2023-03-18 08:18:28 PM WPF App Constructing...
2023-03-18 08:18:28 PM Initializing CefSharp...
2023-03-18 08:18:28 PM Resolving assembly CefSharp.Core, Version=83.4.20.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138...
2023-03-18 08:18:28 PM CefSharp assembly path: D:\LaunchBox\ThirdParty\Chromium\CefSharp.Core.dll
2023-03-18 08:18:28 PM CefSharp assembly path found, loading...
2023-03-18 08:18:28 PM CefSharp initialized successfully.
2023-03-18 08:18:32 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en-US, PublicKeyToken=null...
2023-03-18 08:18:32 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en, PublicKeyToken=null...
2023-03-18 08:18:32 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en-US, PublicKeyToken=null...
2023-03-18 08:18:32 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en, PublicKeyToken=null...
2023-03-18 08:18:32 PM Resolving assembly Meta.Vlc.resources, Version=1.0.0.0, Culture=en-US, PublicKeyToken=null...
2023-03-18 08:18:32 PM Resolving assembly Meta.Vlc.resources, Version=1.0.0.0, Culture=en, PublicKeyToken=null...
2023-03-18 08:18:32 PM FIRST CHANCE EXCEPTION: D:\LaunchBox\pack:\application:,,,\WpfResources\Background.png
   at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
2023-03-18 08:18:32 PM Resolving assembly RenameImagesToROMname.resources, Version=1.1.0.0, Culture=en-US, PublicKeyToken=null...
2023-03-18 08:18:32 PM Resolving assembly RenameImagesToROMname.resources, Version=1.1.0.0, Culture=en, PublicKeyToken=null...
2023-03-18 08:18:33 PM FIRST CHANCE EXCEPTION: Object reference not set to an instance of an object.
   at Unbroken.LaunchBox.Windows.Integrations.Steam.CalculateGenericIndexer(Object )
2023-03-18 08:18:33 PM Resolving assembly System.Private.Xml.resources, Version=4.0.2.0, Culture=en-US, PublicKeyToken=cc7b13ffcd2ddd51...
2023-03-18 08:18:33 PM Resolving assembly System.Private.Xml.resources, Version=4.0.2.0, Culture=en, PublicKeyToken=cc7b13ffcd2ddd51...
2023-03-18 08:18:33 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Start
2023-03-18 08:18:33 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Before Set Side Bar Max Width to 800 Less
2023-03-18 08:18:33 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Before Notify Side Bar Max Width
2023-03-18 08:18:33 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Completed
2023-03-18 08:18:33 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en-US, PublicKeyToken=null...
2023-03-18 08:18:33 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en, PublicKeyToken=null...
2023-03-18 08:18:33 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en-US, PublicKeyToken=null...
2023-03-18 08:18:33 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en, PublicKeyToken=null...
2023-03-18 08:18:33 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Start
2023-03-18 08:18:33 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Before Set Side Bar Max Width to 800 Less
2023-03-18 08:18:33 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Before Notify Side Bar Max Width
2023-03-18 08:18:33 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Completed
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Start
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Before Set Side Bar Max Width to 800 Less
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Before Notify Side Bar Max Width
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SizeChanged Completed
2023-03-18 08:18:34 PM GameDetailsViewModel AttachView LoadVideoMusic Start
2023-03-18 08:18:34 PM GameDetailsViewModel LoadVideoMusic MusicNotPlaying Start
2023-03-18 08:18:34 PM Music.Prepare Start
2023-03-18 08:18:34 PM GameDetailsViewModel LoadVideoMusic MusicNotPlaying Complete
2023-03-18 08:18:34 PM GameDetailsViewModel AttachView LoadVideoMusic Completed
2023-03-18 08:18:34 PM FIRST CHANCE EXCEPTION: Common Language Runtime detected an invalid program.
   at Unbroken.LaunchBox.Windows.Music.<>c__DisplayClass66_0.ListRemoteDefinition()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
2023-03-18 08:18:34 PM FIRST CHANCE EXCEPTION: Common Language Runtime detected an invalid program.
   at Unbroken.LaunchBox.Windows.Music.<>c__DisplayClass66_0.ListRemoteDefinition()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2023-03-18 08:18:34 PM DISPLAYED EXCEPTION: Common Language Runtime detected an invalid program.
   at Unbroken.LaunchBox.Windows.Music.<>c__DisplayClass66_0.ListRemoteDefinition()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
2023-03-18 08:18:34 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en-US, PublicKeyToken=null...
2023-03-18 08:18:34 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en, PublicKeyToken=null...
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SourceInitialized Start
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SourceInitialized Before Add Hook
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.SourceInitialized Completed
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Start
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before JoystickTimer Enabled Set
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Resume Video
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Check Already Focused
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Not Already Focused, Proceeding to Get Handle
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Got Handle, Proceeding to Set Focus
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Got Element
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Set Focus On Element
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Setting Already Focused
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Checking for Updates
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Completed
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Start
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Maximize Visibility
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Restore Visibility
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Window Controls Margin
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Set Window Border Visibility
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Before Notify Window Border Visibility
2023-03-18 08:18:34 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.StateChanged Completed
2023-03-18 08:18:37 PM GameDetailsViewModel AttachView LoadVideoMusic Start
2023-03-18 08:18:37 PM Music.Play Start
2023-03-18 08:18:37 PM GameDetailsViewModel AttachView LoadVideoMusic Completed
2023-03-18 08:18:37 PM GameDetailsViewModel.Dispose: Begin...
2023-03-18 08:18:37 PM GameDetailsViewModel.Dispose: Marked disposed true...
2023-03-18 08:18:37 PM GameDetailsViewModel.Dispose: Star rating faded nulling...
2023-03-18 08:18:37 PM GameDetailsViewModel.Dispose: Video control dispose...
2023-03-18 08:18:37 PM GameDetailsViewModel.Dispose: Video control nulling...
2023-03-18 08:18:37 PM GameDetailsViewModel.Dispose: Invoking UI thread...
2023-03-18 08:18:37 PM Music.Kill Start
2023-03-18 08:18:37 PM Music.Kill Finished
2023-03-18 08:18:37 PM Music.Play Empty Music Path
2023-03-18 08:18:37 PM Music.NotifyTrackList Start
2023-03-18 08:18:37 PM Music.NotifyTrackList Invoke WPF
2023-03-18 08:18:37 PM GameDetailsViewModel.Dispose: Nulling out all image sources...
2023-03-18 08:18:37 PM GameDetailsViewModel.Dispose: Completed.
2023-03-18 08:18:40 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Start
2023-03-18 08:18:40 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Before Pause Video
2023-03-18 08:18:40 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Completed
2023-03-18 08:20:26 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Start
2023-03-18 08:20:26 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before JoystickTimer Enabled Set
2023-03-18 08:20:26 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Resume Video
2023-03-18 08:20:26 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Check Already Focused

 

Edited by wallmachine
Link to comment
Share on other sites

9 hours ago, retroNUC said:

Still need to talk with various parties across GitHub projects as to where the fault lies and how it should be fixed properly, but I've put together a new version of RAHasher that now works properly with all CHD files. Download the attached file and replace the one located at "...\launchbox\ThirdParty\RetroAchievements\RAHasher.exe"

Resanned my PS2 CHD collection with a 99%+ success rate.

Great work! I can start to convert my rom in chd, then!

 

9 hours ago, retroNUC said:

I'm not sure if LB will force retry entries already marked as COULDNTFILEHASH on a rescan, or whether you'll need to remove those lines before the rescan?

I have asked this in a post above but I have not received a reply. 

I am quite sure that if you remove  a rom and re-import it, it 'll be scanned again...but 

Link to comment
Share on other sites

Quick way I use to reset that data is the following:

- Close LaunchBox

- Open up the platform XML file in Notepad++

- Ctrl+F to open search box, move to Mark tab, tick the 'bookmark lines' checkbox and search/mark lines with "COULDNTFILEHASH" - You'll see a blue bookmark circle next to all lines that matched

- From the top bar, Search > Bookmarks... > Remove Bookmarked Lines

- Save, open LaunchBox back up, rescan

  • Like 2
Link to comment
Share on other sites

4 hours ago, retroNUC said:

Quick way I use to reset that data is the following:

- Close LaunchBox

- Open up the platform XML file in Notepad++

- Ctrl+F to open search box, move to Mark tab, tick the 'bookmark lines' checkbox and search/mark lines with "COULDNTFILEHASH" - You'll see a blue bookmark circle next to all lines that matched

- From the top bar, Search > Bookmarks... > Remove Bookmarked Lines

- Save, open LaunchBox back up, rescan

Thank you very much for your reply!

And thank you for your clear instructions, I am a supernoob.

I have followed your steps and it works great.

LB has done a new complete scan on my Dreamcast platform. And now it has found new games that werent marked...

Thank you very much, this is a very helpful tip if you need a new scan

Link to comment
Share on other sites

14 hours ago, retroNUC said:

Still need to talk with various parties across GitHub projects as to where the fault lies and how it should be fixed properly, but I've put together a new version of RAHasher that now works properly with all CHD files. Download the attached file and replace the one located at "...\launchbox\ThirdParty\RetroAchievements\RAHasher.exe"

Resanned my PS2 CHD collection with a 99%+ success rate. I'm not sure if LB will force retry entries already marked as COULDNTFILEHASH on a rescan, or whether you'll need to remove those lines before the rescan? 

https://www.virustotal.com/gui/file/383ff365c89255e8d12e2580ae49e3af55ed59c3f2099e8eb173f0f231bba762

RAHasher_Fix.zip 106.46 kB · 6 downloads

I see that you are able to do magic ^_^

Do you think that it is possible to create a complete playlist using a modified RAHasher?

you launch the program and it makes a complete LB playlist for, example, Sega Dreamcast, so you can easily check what you miss.

Link to comment
Share on other sites

2 minutes ago, xevious1974 said:

I see that you are able to do magic ^_^

Do you think that it is possible to create a complete playlist using a modified RAHasher?

you launch the program and it makes a complete LB playlist for, example, Sega Dreamcast, so you can easily check what you miss.

Only thing that RAHasher does is takes a file and returns the hash ("identifier") of that file. This is the bit of data that emulators, LaunchBox, and other apps can send to the RetroAchievements server going "Do you know anything about this file?" and returns "Yeah, hash XYZ matches game ID 123 in our database, here's the cheevos info".

Any other functionality would be on LaunchBox's side, but I don't think what you're suggesting is feasible - How can LaunchBox populate a playlist with game entries that don't actually exist in your own database?

You'll be best off going through the platform lists on the RetroAchievements website and checking manually, like most of us do. But at least this new LB functionality gets us 95% of the way there instead of everything having to be fully manual! 

Link to comment
Share on other sites

4 minutes ago, retroNUC said:

Only thing that RAHasher does is takes a file and returns the hash ("identifier") of that file. This is the bit of data that emulators, LaunchBox, and other apps can send to the RetroAchievements server going "Do you know anything about this file?" and returns "Yeah, hash XYZ matches game ID 123 in our database, here's the cheevos info".

Any other functionality would be on LaunchBox's side, but I don't think what you're suggesting is feasible - How can LaunchBox populate a playlist with game entries that don't actually exist in your own database?

You'll be best off going through the platform lists on the RetroAchievements website and checking manually, like most of us do. But at least this new LB functionality gets us 95% of the way there instead of everything having to be fully manual! 

thank you again

I hoped it ^_^

Link to comment
Share on other sites

On 3/17/2023 at 11:59 PM, retroNUC said:

Still need to talk with various parties across GitHub projects as to where the fault lies and how it should be fixed properly, but I've put together a new version of RAHasher that now works properly with all CHD files. Download the attached file and replace the one located at "...\launchbox\ThirdParty\RetroAchievements\RAHasher.exe"

Resanned my PS2 CHD collection with a 99%+ success rate. I'm not sure if LB will force retry entries already marked as COULDNTFILEHASH on a rescan, or whether you'll need to remove those lines before the rescan? 

https://www.virustotal.com/gui/file/383ff365c89255e8d12e2580ae49e3af55ed59c3f2099e8eb173f0f231bba762

RAHasher_Fix.zip 106.46 kB · 7 downloads

Awesome work man! Worked great for me! :)

Link to comment
Share on other sites

I think I've found a way for RAHasher to detect attached game hashes. First, he should check if a game entry has games attached to it. If yes, he would scan that attached game and check it against the Retroachievements database to see if the attached game has any achievements. If it turns out that the attached game has achievements, a red icon is placed and the hash is saved. In the case that an attached game does not have achievements in Retroachievements, the hash is not saved and it would be scanned to the next attached game, until reaching the main game. In this way, RAHashes would be attached by attachment and compared to the Retroachievements database. He would only save the hash if there was a match. Otherwise go to the next.


I think it has been understood. It shouldn't be difficult to implement.

Link to comment
Share on other sites

I'm struggling to understand your request, but I think you're suggesting that 'Additional Apps' associated to a game should also be scanned/hashed?

As a user, I agree that would be useful - Some of the ones that the automatic scan missed were ones were only variants were associated with RA titles and not the default game. A good example of this is Final Fantasy X on PS2 where the default game is (USA) with no cheevos, but I have an additional version that is (Japan) which is linked to cheevos.

If the default game file does not match but an additional app does, it would be nice if the UI requests (badge, details panel) fell back to show the info/cheevos for the matching additional app instead. However, I can see this getting complicated if the default didn't match but there are multiple additional apps that match - Fine for the badge, but which one should RA show info for in the details pane?

In these cases, I'm fine with manually setting the hash/id on the default game of the exact one I want, but it would be nice if this was made more easily visible/editable in the Add/Edit window.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...