EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: ` (backquote/backtick) isn't accepted  (Read 221 times)

Datter

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 78.0 Firefox 78.0
    • View Profile
` (backquote/backtick) isn't accepted
« on: 17 July 2020, 18:47 »

Hi people,

Am I'm doing something wrong or doesn't clrmamepro like the backtick sign?
The software automatically replaces (and "half-escapes") the character with an apostrophe (').

Example:

Code: [Select]
Do you want to rename the following wrong named ROMs?
tim\s_book.pdf -> tim's_book.pdf

If I click on "Yes", clrmamepro isn't able to fix the filename "issue": (only folder name/archive name works)
When trying to fix "folder/file", the filename just stays the same and in case of "zip archive/file", clrmamepro never gets finished or even crashes.

Any explanations or ideas how to fix this behaviour?
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 88
  • Offline Offline
  • Posts: 2800
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 13.1.1 Safari 13.1.1
    • View Profile
Re: ` (backquote/backtick) isn't accepted
« Reply #1 on: 17 July 2020, 20:34 »

Send me the datfile you‘re using. The back-apostrophe is used internally for setsubfolder handling thats the reason why you suddenly see a directory separator in the message.
Normally dats with such a character should be updated with the normal apostrophe and everything should work fine. A misbehaviour or even a crash is not known. So Im very interested in the dat and maybe the file in question.
Logged

Datter

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 78.0 Firefox 78.0
    • View Profile
Re: ` (backquote/backtick) isn't accepted
« Reply #2 on: 18 July 2020, 12:45 »

I was using an older clrmamepro version back from 2017 and now, after I'm updated, no freeze or crash anymore.
However, still the following "incorrect" behaviour:

Case 1) zip archive/file: backtick in zip archive name is not accepted, filename inside archive is accepted.
Case 2) directory/file: backtick is neither accepted in the directory name nor in the filename.

Letting clrmamepro "fix" the cases (= replacing with an apostrophe) now works without any issues.

While you're right that it's grammatically not correct to use the backtick instead of the apostrophe, the background of my question/thread is that I want to create a datfile and I'd like to have the option to keep the original filenames from the respective authors.
However, it seems that this is not (completely) possible when it comes to a backtick sign?

PS: I'll attach a test datfile (as "*.dat.txt" as "*.dat" is not allowed) and a test archive so you may take a look yourself.
« Last Edit: 18 July 2020, 12:50 by Datter »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 88
  • Offline Offline
  • Posts: 2800
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 13.1.1 Safari 13.1.1
    • View Profile
Re: ` (backquote/backtick) isn't accepted
« Reply #3 on: 18 July 2020, 16:35 »

Well thanks for checking and good to hear it is an old version.
There are several characters which get replaced simply because they are not allowed in filenames (remember you can keep sets unpacked). The back apostrophe is not such a character. I will check what I can do about it when Im back from holiday.
Logged

Datter

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 78.0 Firefox 78.0
    • View Profile
Re: ` (backquote/backtick) isn't accepted
« Reply #4 on: 18 July 2020, 22:21 »

Thanks in advance and enjoy your holiday! :)
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 88
  • Offline Offline
  • Posts: 2800
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 84.0.4147.89 Chrome 84.0.4147.89
    • View Profile
Re: ` (backquote/backtick) isn't accepted
« Reply #5 on: 20 July 2020, 19:42 »

ok, replaced the internal use of ` with a real private use utf8 character which then allows all apostrophe types again in your dat/files.
No new nightly build yet since I'm just back from holiday and have to deal with real life a bit first ;-)
« Last Edit: 20 July 2020, 19:43 by Roman »
Logged

Datter

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 78.0 Firefox 78.0
    • View Profile
Re: ` (backquote/backtick) isn't accepted
« Reply #6 on: 21 July 2020, 22:04 »

Thumbs up! :)

And of course, take your time. ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.122 seconds with 22 queries.