Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMLGame file generated in Windows fails to load in Linux #4082

Open
CloakTheLurker opened this issue Oct 7, 2024 · 2 comments
Open

XMLGame file generated in Windows fails to load in Linux #4082

CloakTheLurker opened this issue Oct 7, 2024 · 2 comments
Labels
App: EmuHawk Relating to EmuHawk frontend Enhancement For feature requests or possible improvements

Comments

@CloakTheLurker
Copy link

Summary

I cannot open XMLGame Multiple Disk files made with BizHawk on Windows in the Linux version.

Repro

  1. Create XMLGame file in BizHawk on Windows.
  2. Transfer files to Linux drive.
  3. Open the XMLGame file in BizHawk on Linux
<BizHawk-XMLGame System="ZXSpectrum" Name="Captain Kook (1989)(Silent Corner, The)(Tape 1 of 2)">
  <LoadAssets>
    <Asset FileName=".\Captain Kook (1989)(Silent Corner, The)(Tape 1 of 2).tzx" />
    <Asset FileName=".\Captain Kook (1989)(Silent Corner, The)(Tape 2 of 2).tzx" />
  </LoadAssets>
</BizHawk-XMLGame>

The problem seems to be the .\ being used instead of a ./ - manually typing the correct slashes and saving the XML file fixes the issue.

Output

Screenshot_20240917_210911

Host env.

  • BizHawk 2.9.1; Windows 10; AMD/AMD
  • BizHawk 2.10-rc1; Fedora Kinoite 40; AMD/AMD
@YoshiRulz YoshiRulz added App: EmuHawk Relating to EmuHawk frontend Working as intended (wontfix) Intended behaviour perceived as a bug, or an unreasonable feature request Enhancement For feature requests or possible improvements and removed Working as intended (wontfix) Intended behaviour perceived as a bug, or an unreasonable feature request labels Oct 8, 2024
@YoshiRulz
Copy link
Member

That's expected. Though since the rest of the app converts '\' to '/' when running on Windows, maybe the bundler should too.

@Asnivor
Copy link
Contributor

Asnivor commented Oct 24, 2024

Can't we just force the xml generation to emit / instead of \ in the Asset Filename node on Windows? That will probably work these days.

Hmm, unless it's a UNC path..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App: EmuHawk Relating to EmuHawk frontend Enhancement For feature requests or possible improvements
Projects
None yet
Development

No branches or pull requests

3 participants