Comments (5)
Could be related to this issue: NewEraCracker/nfo2png#1
from ascension.
-
Could you please link to files that are easily downloadable and not leading to scam/spam unclear downloads? I was not able to download the file and I don't want to hassle with sites like that. Please use an easy solution like Cloud.app or your own FTP.
-
The NFO renderer is working 100%. If the files don't render, they are not proper. They either have a wrong encoding and / or wrong chars. A NFO file is a file that comes with the ancient DOS encoding (CP437 or equivalent) and uses the extended ASCII set to draw it's content. We sadly cannot work around issues by people who misuse the format, possibly to make it render in modern applications like Notepad. Please use the last release of Ascension (Ascension III - v3.0.0 - codename: Magrathea ), open the NFO file and try to change the encoding to Unicode UTF-8 or any other modern encoding, maybe Win-1252. The file should render now. If so, the files have a wrong encoding. If not, I need a file to evaluate what's the problem. But its definitely an unproper file, thats a fact as the NFO renderer is 100% implemented. Here is how you switch encodings http://cl.8-bit.info/3E1r411R2p1a
Let me know how it works. I will keep this issue open until then.
from ascension.
Thanks for your reply.
Sorry, I'm not using any cloud services. I tried to upload to another filehoster: http://s000.tinyupload.com/index.php?file_id=05005750082484399991 (download should work, I've tested it).
I'm using the latest Ascension version and tried all different encoding types. Without success. The NFO is still unviewable. I guess you're right, the NFO isn't created correctly. But I think a NFO-Viewer should handle such kind of NFOs.
from ascension.
Thanks mate, I was able to download the file now and test run it. It's like I said, they use Unicode characters to draw the box chars, not the extended ASCII charset (DOS codepage 437). Ascension can open these files and render correctly, however you have to select the Unicode-UTF8 encoding after opening such a file. There are two solutions to work around the problems that arise when using wrong files like this:
-
Open the file and directly select Unicode-UTF8 encoding. Ascension will render.
-
Change the ending of the file to .txt and open it with Ascension. Ascension will now assume it is a text file (which it is in fact) and directly open it in Unicode anyway (and render correctly).
I've uploaded a movie to show you what I mean. Note that I use the implemented "Commodore 64" font in Ascension III, so it looks a bit different than the standard DOS font "BlockZone": http://cl.8-bit.info/440J3N1d063C
Now to the root of the problem: using Unicode characters in an .NFO file is completely wrong. What you have here is a text .TXT file that is falsely flagged to .NFO - you could also create a Word document .DOC and flag it to .XLS - which would be as wrong either. It's just not right. Keep in mind that NFO files come from the good old DOS days, which means they should have 80 chars per line and Codepage 437 (or equivalent) encoding, so that these files would still render on a DOS machine. That's what NFO viewers are made for: to correctly render such files with ancient encodings. One of the key aspects of Ascension is to preserve the heritage of these good old days. Here is an early example: http://cl.8-bit.info/1k462h3Q3S2e
I might consider implementing a feature to check whether a NFO file contains Unicode chars and then switching the encoding to Unicode automatically. I see however not a point in this. Ascension can render the file anyway (if you either modify the ending to .txt or simply choose the UTF8 encoding), and it would be notably a workaround for issues that arise from people misusing the .NFO format. I put it on the list "to be considered" though and close the issue for now. Hope this helps.
from ascension.
Thanks for checking that. You're right, it works with UTF-8 rendering. I tested that before, but it didn't work. Looks like there is a small bug. For example: If I firstly select UTF-16 encoding and after that UTF-8 encoding, nothing happens. That was the reason why it didn't work for me yesterday.
from ascension.
Related Issues (13)
- 2 recommendations + 2 possible issues HOT 2
- Compile Ascension HOT 2
- Is it possible to compile and run on non Mac linux? HOT 1
- Ascii block/line characters not displaying correctly HOT 1
- Apple Silicon?
- Ascension uses CP850 and not CP437 HOT 1
- Better editing support HOT 1
- Req: SL version HOT 1
- Crashes when attempting to open *.nfo under OS X 10.8 (12A154q) HOT 7
- Latest Update says Ascension can't open files of type .nfo HOT 3
- Cannot Update to 2.0.7 HOT 1
- Blockzone.ttf missing glyphs HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ascension.