Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

I need help with converting a palette to the .mas format...

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
Novahero




Joined: 11 Jul 2007
Posts: 4
Location: Albany, NY

PostPosted: Wed Jul 11, 2007 8:21 pm    Post subject: I need help with converting a palette to the .mas format... Reply with quote

Hello there! Is anybody able to help me with converting a custom-made palette to the .mas format? I'm trying to use Neo's 2mas program but, despite my best efforts, I just can't get the program to accept my palette.

I've reviewed the instructions the program came with and have done everything to ensure maximum compatibility with the program, such as saving my palette as a 24-bit 16x15 .pcx file, but the program won't accept it. It won't even accept the palette it comes with! I've tried running the program under command prompt, I've tried dos box, I even went as far as moving the program and everything with it to a directory on C:/, and yet I've had no success.

I'd appreciate any sort of input on the matter, or even if someone would be kind enough to convert the file for me. I'd really like to understand how I can do this sort of thing myself, but I'd settle for getting my palette into the OHR so I can go ahead and design some graphics.

Many thanks!

my palette: http://kaisersoft.homestead.com/files/custom_palette.pcx
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Wed Jul 11, 2007 9:11 pm    Post subject: Reply with quote

Works for me. Is that the filename you're using? It might be too long. I saved it as novapal.pcx and used the following command:

2mas novapal.pcx novapal.mas

If that doesn't work for you, I can e-mail the .mas I have to you.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Novahero




Joined: 11 Jul 2007
Posts: 4
Location: Albany, NY

PostPosted: Wed Jul 11, 2007 10:33 pm    Post subject: Reply with quote

Okay, FINALLY, I managed to get it to work! I had to run command.com, set the prompt at C:\2mas, and from there execute the program using your exact syntax, "2mas novapal.pcx novapal.mas". Now I have both my converted palette and a means of adjusting it on demand. Thank you so much, Moogle1!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Novahero




Joined: 11 Jul 2007
Posts: 4
Location: Albany, NY

PostPosted: Wed Jul 11, 2007 10:40 pm    Post subject: Reply with quote

Ah, now that I got it to work, I realize the problem was that I tried running 2mas without first going into the directory that held it. I was trying to convert my palette with a statement like "C:\2mas\2mas.exe 2mas novapal.pcx novapal.mas" and just ended up confounding myself, not realizing I wasn't simplifying the issue. Oh well, I know better now, though. Thanks Happy
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
NeoTA
Idiomatic Nomenclature




Joined: 15 Mar 2004
Posts: 165

PostPosted: Fri Jul 13, 2007 8:11 pm    Post subject: Reply with quote

Novahero wrote:
Ah, now that I got it to work, I realize the problem was that I tried running 2mas without first going into the directory that held it. I was trying to convert my palette with a statement like "C:\2mas\2mas.exe 2mas novapal.pcx novapal.mas" and just ended up confounding myself, not realizing I wasn't simplifying the issue. Oh well, I know better now, though. Thanks Happy


The isolated '2mas' is probably the problem. The program doesn't need you to give it any special flag to work:
when I wrote

"The syntax to run 2mas is "2mas <input.pcx> <output>""

I meant that 2mas was the program name (and indeed, on my OS of choice, Linux, it is named that)
so "C:\2mas\2mas.exe novapal.pcx novapal.mas"
should work fine - 2mas requires no external files. That would assume that novapal.pcx was in the current directory though.

Although, this program has been mainly obsoleted by the latest progress towards Ubersetzung; Mike Caron added the ability to import 16x16 bmp files as master palettes, from inside the OHR.
'edit general game data -> view master palettes -> replace master palette'
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Sun Jul 15, 2007 11:16 pm    Post subject: Reply with quote

(That was me - resizing my palette image to 320x200 just so I could import its palette into my 48 hour game was so much bother that I went off on a tangent and implemented that in the middle of the contest.)
More generally, it's mas files that are obsolete.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
NeoTA
Idiomatic Nomenclature




Joined: 15 Mar 2004
Posts: 165

PostPosted: Mon Jul 16, 2007 7:54 am    Post subject: Reply with quote

Have different initials from Mike, TMC! it's less confusing!
Razz

(well, you do, but you don't call yourself by your real name, so..)
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Mon Jul 16, 2007 7:59 am    Post subject: Reply with quote

The Mad Cacti wrote:
(That was me - resizing my palette image to 320x200 just so I could import its palette into my 48 hour game was so much bother that I went off on a tangent and implemented that in the middle of the contest.)
More generally, it's mas files that are obsolete.


What is the preferred way of importing a palette now?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Tue Jul 17, 2007 3:51 am    Post subject: Reply with quote

NeoTA wrote:
Have different initials from Mike, TMC! it's less confusing!
Razz

(well, you do, but you don't call yourself by your real name, so..)


Well, I never thought of "Mike Caron" as MC, because that's just confusing.



The preferred method is a 16x16 24 bit bmp, because it's very easy to modify, and most programs yeild a randomly arranged palette when palettizing. (8 bit bmps don't have to be 320x200 to import as palette.)
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group