Two things.
An option to not draw to char 32, since otherwise you end up with holes in the image if youth use sprites to display it.
Currently, the program requests that you name the mzm, charset, and palette individually. Can this be changed so that you simply just have to pass in one name like...
png2smzx in.png out -> out.mzm out.chr out.pal
Report ID | 517 | Title | png2smzx tweaks |
Product | Archived Requests | Status | Implemented (Severity 2 - Fair) |
Version | 2.84c | Fixed in | GIT |
Page 1 of 1
Report ID #517: png2smzx tweaks
#1
Old-Sckool
Posted 09 July 2012 - 05:53 AM
<Nadir> mzxers don't make GAMES, usually
<phthalocyanine> they make experiences.
<Nadir> demos, more like
<Nadir> a glimpse into what could have been if mzx wasn't such a bore to work with
<Nadir> actually, i'm being unfair
<Nadir> i would have made mzx games if it was capable of running on more than 20 computers worldwide in 1998
<Nadir> >:D
<%Alice> functor
<%nooodl> i hear C++ has a thing called functors and they're completely different from Haskell functors...
<rorirover> the result is the most horrid thing in C++, it's basically black magic and it transforms any code you're writing into some eldritch monstrosity
<phthalocyanine> they make experiences.
<Nadir> demos, more like
<Nadir> a glimpse into what could have been if mzx wasn't such a bore to work with
<Nadir> actually, i'm being unfair
<Nadir> i would have made mzx games if it was capable of running on more than 20 computers worldwide in 1998
<Nadir> >:D
<%Alice> functor
<%nooodl> i hear C++ has a thing called functors and they're completely different from Haskell functors...
<rorirover> the result is the most horrid thing in C++, it's basically black magic and it transforms any code you're writing into some eldritch monstrosity
Page 1 of 1
Replies (1 - 5)
#2
ajs
Posted 29 July 2012 - 11:37 AM
It might be more intuitive if the "out" parameter was simply removed and the output files appeared as in.mzm, in.chr, in.pal.
I personally prefer naming the arguments explicitly, you get exactly what you want that way, but if you're willing to accept templating (as with "out") you can probably deal with the template being "in".
--ajs.
I personally prefer naming the arguments explicitly, you get exactly what you want that way, but if you're willing to accept templating (as with "out") you can probably deal with the template being "in".
--ajs.
#3
Lachesis
Posted 08 December 2012 - 04:29 AM
Updating status to: Approved
Updating version to: 2.84c
Updating version to: 2.84c
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#4
Lachesis
Posted 08 December 2012 - 04:29 AM
Updating severity to: 2 - Fair
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#5
Lachesis
Posted 08 December 2012 - 09:49 AM
Updating status to: Implemented
Issue fixed in: GIT
Implemented in GIT 3afc452. png2smzx now takes different command line options:
Valid usages:
This turned out to be pretty easy because smzxconv.c was already designed to be able to skip a single character, obviously with char 32 in mind.
Issue fixed in: GIT
Implemented in GIT 3afc452. png2smzx now takes different command line options:
png2smzx Image Conversion Utility Usage: ./png2smzx <in.png> [<out> | <out.mzm> [<out.chr>] [<out.pal>]] [options] Options: --skip-char=[value 0-255] Skip this char in the conversion process.
Valid usages:
./png2smzx hello.png ./png2smzx hello.png my_image ./png2smzx hello.png my_image.mzm ./png2smzx hello.png my_image.mzm my_image_rox.chr my_image_sux.pal ./png2smzx hello.png my_image.mzm my_image_sux.pal my_image_rox.chr ./png2smzx hello.png --skip-char=32 etc...
This turned out to be pretty easy because smzxconv.c was already designed to be able to skip a single character, obviously with char 32 in mind.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
Page 1 of 1
0 User(s) are reading this issue
0 Guests and 0 Anonymous Users
Powered by IP.Tracker 1.3.2 © 2025 IPS, Inc.