View previous topic :: View next topic |
Author |
Message |
Novahero
Joined: 11 Jul 2007 Posts: 4 Location: Albany, NY
|
Posted: Wed Jul 11, 2007 8:21 pm Post subject: I need help with converting a palette to the .mas format... |
|
|
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 |
|
 |
Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner


Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
|
Posted: Wed Jul 11, 2007 9:11 pm Post subject: |
|
|
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 |
|
 |
Novahero
Joined: 11 Jul 2007 Posts: 4 Location: Albany, NY
|
Posted: Wed Jul 11, 2007 10:33 pm Post subject: |
|
|
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 |
|
 |
Novahero
Joined: 11 Jul 2007 Posts: 4 Location: Albany, NY
|
Posted: Wed Jul 11, 2007 10:40 pm Post subject: |
|
|
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  |
|
Back to top |
|
 |
NeoTA Idiomatic Nomenclature

Joined: 15 Mar 2004 Posts: 165
|
Posted: Fri Jul 13, 2007 8:11 pm Post subject: |
|
|
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  |
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 |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Sun Jul 15, 2007 11:16 pm Post subject: |
|
|
(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 |
|
 |
NeoTA Idiomatic Nomenclature

Joined: 15 Mar 2004 Posts: 165
|
Posted: Mon Jul 16, 2007 7:54 am Post subject: |
|
|
Have different initials from Mike, TMC! it's less confusing!
(well, you do, but you don't call yourself by your real name, so..) |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Mon Jul 16, 2007 7:59 am Post subject: |
|
|
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 |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Tue Jul 17, 2007 3:51 am Post subject: |
|
|
NeoTA wrote: | Have different initials from Mike, TMC! it's less confusing!
(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 |
|
 |
|