Grid Sage Forums

Grid Sage Forums

  • May 19, 2024, 08:33:28 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - cosplay

Pages: [1]
1
Got it to work - it was a problem in my side. Works perfect right now. CosPlay now have bi-directional support for REXPaint *.xp format. Excellent!

2
Everything REXPaint / Java/Scala based image export in *.xp format
« on: May 01, 2022, 02:26:59 PM »
Hi There,
I'm working on CosPlay Engine (https://cosplayengine.com) and I wrote a simple function that stores any image in *.xp format so that it could be further edited in REXPaint. I've followed the format details in the manual. In fact, I have two functions: one for reading *.xp files and one for write in *.xp format. Reading works fine.

However, when I am trying to open *.xp file produced by my function in REXPaint - it says in 'run.log' the following:
N=0000308 |   CPathButton::init() | Ignoring protected file: images/pong_logo.xp

(pong_logo.xp is the file I produced).

Here's direct source code for the *.xp image saver: https://github.com/nivanov/cosplay/blob/dc853a45e6b460dac4e1ca665041188eaac7c38a/modules/cosplay/src/main/scala/org/cosplay/CPImage.scala#L215

Any clues would be greatly appreciated - thanks!

Pages: [1]