-
Notifications
You must be signed in to change notification settings - Fork 116
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
[Windows] FDS games don't start if system path contains a special character #448
Comments
this was suppose to be fixed in RA long time ago. would like to look into it, nut not a windows user here. just check in src/general.c, func FCEU_MakeFName() is there's any in there that affects how windows reads path with special chars. or maybe fopen itself is the issue: Line 78 in ff7d528
|
This is mostly Chinese to me :p But I can compile if you have any idea, I'd be happy to test the changes on Windows! And to be clear, with this core it seems to only affect the system dir path, I can load a game with a special character in its path with no issue. |
Yay, the game loaded with #449 👍 |
good to hear lemme know which other cores needs this update |
The ones I've noticed:
Also noticed, but haven't opened an issue yet:
And probably more I'm not aware of... 😓 Really appreciated anyway! ❤️ Some people use special characters in their Windows username, and since default install dir for RetroArch with the installer is in %APPDATA% (which contains the username in the path...) it can be REALLY frustrating for them because they did everything correctly but it's still not working :p And it's not always easy to troubleshoot either... |
Updating pcsx_rearmed. If you are able to test, kindly test with cd-images in special character-named folders as well, if possible if you have ccd, pbp, cue, bin files as well. thanks. |
Hm I can't build it, I get this at the end:
|
ok wait @bslenul - pcsx updated. try to clone again and recomple |
OK, so no issue with system dir, no issue with bin+cue/pbp/ccd+img+sub either (tested in both dir name and filename), however chd didn't load:
|
is that suppose to be valid? cant use " \ " as part of filename |
No no edit: Here, renamed to avoid confusion (folder
|
this is rather confusing since chd path have its own file handling function, so its not part of these changes. can you verify if this chd file actually works on other psx cores? |
Oh I see, didn't know. Beetle PSX HW crashed on load content:
The game starts with SwanStation however. |
can you try changing this line: https://github.com/libretro/pcsx_rearmed/blob/master/deps/libchdr/include/libchdr/coretypes.h#L24 to this?
recompile and test @twinaphex libchdr need to be changed as well. you have any inputs with this? |
That did it 👍 |
ugh.. so libchdr had to be change as well... |
@negativeExponent Thanks for letting me know about libchdr. |
@bslenul I am starting a different approach of solving this issue using vfs approach. If you would try testing again if there are still special character issues (like CHD). get the source from my repo/branch thanks. |
My test games loaded fine (bin+cue/pbp/ccd+img+sub/chd/m3u), tested special characters in system path as well and still no issue 👍 |
just want to confirm, this is off frm the vfs branch of my repo, right? can you show the log when you have the time. thanks. |
Yup, here you can see the commit version in bottom-left + path and filename for the CHD: And here's the log: https://pastebin.com/09Txs6JX Commit version:
and I renamed the system folder in Russian to mix even more:
BIOS loaded properly, and the game too as you can see (Japanese folder + special character
|
@bslenul thanks for testing and confirmation. Ill try compiling in on other platforms i am able to compile on and see if there are issues. ill forward final PR soon. thanks UPDATE: |
@bslenul Hi we can probably close this one now, and leave the other affected cores open. As for fceumm case, this is probably fixed now |
Sure! Thank you again :D |
Hey!
If the
disksys.rom
file is in a path that contains a special character, FDS games will fail to boot on Windows.As a test I moved the BIOS in a "é" folder on my desktop and changed
Settings > Directory > System/BIOS
path in RetroArch:Full log: retroarch_fceumm.log
It works fine on my Linux Mint VM however.
The text was updated successfully, but these errors were encountered: