PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Help with level making

:oops: I cannot figre out how to make my levels work. i go make my pictures (with everything perfectly in teh right format as peter and t1 said) but when i use teh program to make em zbm's i get the two output files, but they are only 16 bytes in size. any suggestions...or different bmp-zbm encoders?

ps i used photoshop 6 and photoshop LE to make my maps
How much of the original bmp is actual graphics (i.e bits that are NOT transparent)? If there are just a couple small images or it consists of blocks of 1-2 colours, the resulting zbm file will be kinda small. And, when i was playing around with making a level, i found that background or foreground images less than ~20k tended to crash Snails.

Also, as somebody else had a similar problem, are you sure your transparent colour is definitely #FF00FF (255,0,255 in decimal)?
I m positive it is ff00ff because i typed it inmyself.
for one of my levels i used a real life picture of an eagle...and for anotheri used teh house in teh forest that comes with winxp for backgrounds.
Try this: enter red:255 green: 00 blue:255. If it still doesn't work, then make sure they are saved as the right type of bmp file.

Loopy wrote:
I m positive it is ff00ff because i typed it inmyself.
for one of my levels i used a real life picture of an eagle...and for anotheri used teh house in teh forest that comes with winxp for backgrounds.
First of all, don't use real images. The resulting compression ratio will be horrible. Backgrounds should NEVER be more complex than the foreground and therefore they will be much smaller in filesize.

Even if the transparent color is wrong, it should compress to ZBM anyway because it doesn't check for a transparent color.

I don't recall images <20K crashing Snails. I thought at least one of my backgrounds was 18K. But if thats is the case, then we need to document it- maybe that is one of the problems with the 38xx (now I am just making up excuses).

There aren't any other ZBM compressors, since it is our proprietary format. Eventually I hope to have a frontend so that management is a little more comprehensive- it should even contain a debug window. A simple frontend would do for now- even in VB (for PC of course) if anyone wants to consider it.
Actually, I have no problem with homemade levels on my 3835. I made a level with the foreground at 13kb and a background of only 6kb, and it runs fine; it hasn't crashed once
Darn, there goes another one of my theories.

Some people have been having problems with their 38xx all along. So if they aren't in tune with T1's "temp fix" then most likely they'll continue to have seemingly random problems, when they aren't random/sporadic at all.

Realistically, <20K shouldn't be a problem on any device. But T1 claiming a crash throws up a red flag that something is awry with Snails, the map or the device. I'll rule out the map, because it doesn't DO anything. The device could be at fault, but going by T1s strict temp fix isn't a real solution. So debugging Snails on a 38xx is the only thing that will remedy the crash in the long term.

Peter is supposed to be getting a 38xx soon- in Finland they are backordered by months.

Back on topic in regard to Maps. They can be sent to Jason or me, either way we'll be exchanging them internally. If they don't contain licensed material, we can post them after testing to ensure they work. Those that contain licensed material can be posted on a private site, just be sure we know about it so we can point people to it.

Other questionable content will not be posted to the Snails site. But again, it can be put up privately and we'll point people in that direction. This isn't censorship since we aren't trying to prevent the work from being displayed, it is just a courtesy to all customers.

Here is the current map I have been working on for weeks (keep in mind I used to complete a map in one day- this isn't any more complex than those). I have begun painting again- it is theraputic and really helping me grasp computer imagery again so the entire task isn't so damn tedious.

Image

I can already see people grabbing this and converting it to ZBM so they can play it. But whatever, I thought it was more important for me to show REAL progress and that I am still dedicated.
Hey Randall, that looks pretty nice! Hurry up and finish it... :) Snails comes in pretty handy when i'm stuck in a traffic jam (which is very often), but i'm getting kinda bored of the same levels. And I would make my own but i don't often have the time, and i don't think i'm particularly good with graphics anyway (I prefer music & coding). Why hasn't anyone posted links to their levels anyway? I want to play Mario...

I should also point out, like i did in the other thread, that i haven't tested whether levels >20k definitely do crash Snails. I just noted that when i was making a level, the program crashed twice with levels less than that size. When i added more detail to the bitmaps, they worked perfectly. I'll check again when i get a chance, though.

About the frontend: I actually did make a quick frontend in VB for BMP2ZBM.exe, so that my girlfriend could use it more easily. I didn't bother posting it because it seemed like nobody was still having problems with using the converter, but i could upload it somewhere if someone needs it. Its nothing special, just a 5 min VB job, but it does the job.
If you could u/l teh vb thing to somewhere where i could get it that would be great. I also made levels with no real life pictures on them ans they all turn out to be 16 bytes. ill try your pic that you posted and see if that converts and get back to you



thx
I saved teh village as a bmp and tehn went into photo shop on resized it to 945x540 pixels.
i made teh white FF00FF and saved it as a 24 bit windows bmp file.

used teh shortcut method to convert the file to zmp...but it is still 16bytes
Where can i download the frontend program to convert zbm? I cant find it anywhere on the site.
We don't own the frontend, and only heard about it just now. A 5 minute VB job doesn't entail alot of features, so if you aren't having problems it won't offer alot. Still, its nice to have a clean frontend to use.

What version of Windows are you using? I think only XP would need a shortcut- Win9x (including ME)certainly doesn't.

I've been using ZBM for a long time, and never encountered a time when it produced a 16byte file. We have verified that the simple tools run on all Microsoft OSs, so there must be something on your end that you are leaving out. Send the file to to me.
in WinXP here is what I do:

1. go to the start menu and open "run"
2. type command.com
3. drag the bmp2zmb.exe into the command.com window
4. hit the spacebar once
5. drag the properly formated bitmap you want to convert into the command.com window
6. hit enter
7. you now should have a .zbm in the same folder as your zbm tools.
Ill try that Matt....thank you
holy cow matt... thats damn cool. I wouldn't have figured that out (I don't have XP tho)
BurningSheep · 14 Apr 2002, 15:36 UTC
I use XP to, anyone else noticed that with zbm2bmp you can drag files onto it and it works?
Very strange it doesn't work with bmp2zbm...
Anybody who was asking for the frontend app, you can get it from here. As i said, it was knocked up in less than 5 mins and doesn't do anything more than help convert BMPs. Actually, i dunno why anybody still needs it now that they've worked out how to use BMP2ZBM.exe now, but you asked so...
Thx for the program..but i still get 16 bytes for m file size...im gonna mess around still...maybe i did somethin wrong
BurningSheep · 14 Apr 2002, 18:31 UTC
Loopy wrote:
Thx for the program..but i still get 16 bytes for m file size...im gonna mess around still...maybe i did somethin wrong


Mail me the bitmaps I'll see if I can find out what's going wrong or mail you back the ZBM files
My e-mail address is: robert@vulcanus.its.tudelft.nl
It shouldn't have a problem with large files
Loopy-not logged in · 14 Apr 2002, 22:10 UTC
i emailed you my levels...but im not sure if tehy sent...
BurningSheep · 14 Apr 2002, 23:17 UTC
Loopy-not logged in wrote:
i emailed you my levels...but im not sure if tehy sent...


didn't receive anything maybe you're not allowed to send large files? Can't you put it online somewhere?
Ill try to send it thru my brothers @home acct...i sent it thru my hotmail last time
In XP, the ZMB2BMP works by dragging the ZBM onto the EXE, but you can't just drag the BMP onto the BMP2ZBM, for some reason.

I've also experienced crashes with small sized files. I'm on Windows XP/HP Jornada 520.

I'm sure I made an idiotic mistake somewhere, but when I play my levels, the part that's supposed to be at the left is in the middle, and the right half is on the left side and the colors seem inverted. What did I do? :?
BurningSheep · 16 Apr 2002, 14:46 UTC
Loopy wrote:
Ill try to send it thru my brothers @home acct...i sent it thru my hotmail last time


I haven't received the files yet, did you sent them already?
actually i tried teh ne way of doing it in xp thru command.com and it works...thanks ayways...once i get all 5 of my levels better ill give em away to you guys...my friends r also making a level i think