question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support encodings when loading/saving REXPaint files.

See original GitHub issue

I’m using Rexpaint and load the resulting .xp files with tcod.console_from_xp("data/images/title.xp"). When I blit the resulting console it looks different then the Rexpaint image.

Example (left: Rexpaint, right: tcod)

Screenshot 2019-06-13 at 21 45 35

I’m using a custom font (its a CP437 one), but it also happens with the standard font.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
HexDecimalcommented, Jun 19, 2019

I can give an example on how to decode REXPaint files into Unicode if you want.

0reactions
HexDecimalcommented, Jun 8, 2021

The documentation now includes examples on how to convert the encoding between CP437 and Unicode when loading or saving REXPaint files.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resources | REXPaint - A powerful and user-friendly ASCII art ...
REXPaint, A powerful and user-friendly ASCII art editor by Grid Sage Games.
Read more >
python-tdl - Bountysource
Support encodings when loading/saving REXPaint files. $ 0 ... When I blit the resulting console it looks different then the Rexpaint image.
Read more >
Changelog for libtcod 1.6.7 - ABI laboratory
### Changed - REXPaint functions now have their own header file: `console_rexpaint.h` - `TCOD_color_set_HSV` now normalizes bad hue/saturation/value parameters.
Read more >
Sharing Saturday #196 : r/roguelikedev - Reddit
So I wrote some debug mode code to have Cogmind create all the files, ... from a pointer-encoding to Morton code, but it...
Read more >
Multi Layered Images Windows 10 downloads - Free Multi Layered ...
It supports multiple layers, and is able to detect tablet pressure, ... loading/saving drawing process from/into a file canvas ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found