Author Topic: PCE image converter  (Read 1113 times)

beddy

  • Newbie
  • *
  • Posts: 14
Re: PCE image converter
« Reply #30 on: February 24, 2014, 08:32:25 PM »
Code: [Select]
Image2PCE 0.1.8 - Export date : 20/02/2014 23:04:54
BAT.bin 1280 bytes
PAL.bin 32000 bytes
DATA.bin 512 bytes
-------------------------
BAT Size 32x20 Tiles -> 256x160 Pixels
16 palettes used.
It kind of got PAL.bin and DATA.bin's file sizes backwards. :) Also, DATA.bin was listed as twice as large as it really is. Other than that, so far so good, it seems. :) The log is just a minor detail.

Arrhhh! Dammed, I gonna fix that ! tks !

beddy

  • Newbie
  • *
  • Posts: 14
Re: PCE image converter
« Reply #31 on: February 24, 2014, 08:44:54 PM »
Yeah touko, this is a pretty sweet app so far. I like that you can specify the number of palettes it's allowed to use... that helps for making things like digital comics where it's useful to have one palette set aside for text displays.

Sure, I gonna do that !

beddy

  • Newbie
  • *
  • Posts: 14
Re: PCE image converter
« Reply #32 on: February 24, 2014, 09:45:55 PM »
I'm just glad that they will be able to keep improving this, as this is an awesome start. I'm kind of curious as to why it doesn't have BMP support... one of the easiest file formats to parse. Not a huge issue, just a curiosity. The "CRT Emul" option in the "PCE Render" tab is nice... that was an interesting and useful addition.

The Old Rover : The reason is simple, the standard java api don't The function from java api I'm using doesn't support this format. I gonna see what can i do for bmp files.
« Last Edit: February 24, 2014, 09:55:46 PM by beddy »

beddy

  • Newbie
  • *
  • Posts: 14
Re: PCE image converter
« Reply #33 on: February 24, 2014, 09:47:57 PM »
I'm just glad that they will be able to keep improving this, as this is an awesome start. I'm kind of curious as to why it doesn't have BMP support... one of the easiest file formats to parse. Not a huge issue, just a curiosity. The "CRT Emul" option in the "PCE Render" tab is nice... that was an interesting and useful addition.

The Old Rover : The reason is simple, the standard java api don't The function from java api I'm using doesn't support this format. I gonna see what can i do for bmp files.
I saw, you right is very simple. If you want, I can implement bmp reader The bmp files will supported on the next version. Format supported on next release :
[ul][li]JPEG[/li][li]PNG[/li][li]BMP[/li][li]WBMP[/li][li]GIF[/li][/ul]
« Last Edit: February 24, 2014, 10:13:37 PM by beddy »

touko

  • Hero Member
  • *****
  • Posts: 953
Re: PCE image converter
« Reply #34 on: February 24, 2014, 10:09:43 PM »
Eh i'am glad to see you here, you can talk of your tool better than me ;-) .

Bonknuts

  • Hero Member
  • *****
  • Posts: 3292
Re: PCE image converter
« Reply #35 on: February 25, 2014, 12:58:09 AM »
So there's gonna be support for XOR pattern dither? Oouuu :3

 How hard is it to great GUI apps in java?

beddy

  • Newbie
  • *
  • Posts: 14
Re: PCE image converter
« Reply #36 on: February 25, 2014, 04:33:49 AM »
So there's gonna be support for XOR pattern dither? Oouuu :3

 How hard is it to great GUI apps in java?

No bad ! I'm using NetBean to create my GUI.

ccovell

  • Hero Member
  • *****
  • Posts: 2245
Re: PCE image converter
« Reply #37 on: February 25, 2014, 11:35:47 AM »
Trame will be active on the next version.

Oh, so "Trame" is French for dithering (halftone / XOR dither)?

Can I request an option that Image2PCE does NO colour remapping?  I load in a 16-colour image file that has a correct palette already and in the correct order; I don't want it removing or altering any colours in the original image, only to make a MAP and remove duplicate tiles.

Also, right now I'm testing out a 1024x512 map and the tile data is 50% garbage...  :-(

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: PCE image converter
« Reply #38 on: February 25, 2014, 11:44:26 AM »
How hard is it to great GUI apps in java?

the netbeans GUI dropper makes it easy (read: sane).

I haven't really tested / messed with this yet (working on Atlantean!)...

but I think I'll give it a go for some of the stuff in Atlantean, when the time comes.   By then, whatever you guys have spotted should be sorted out.
[Fri 19:34]<nectarsis> been wanting to try that one for awhile now Ope
[Fri 19:33]<Opethian> l;ol huge dong

I'm a max level Forum Warrior.  I'm immortal.
If you're not ready to defend your claims, don't post em.

beddy

  • Newbie
  • *
  • Posts: 14
Re: PCE image converter
« Reply #39 on: February 25, 2014, 07:38:18 PM »
Trame will be active on the next version.

Oh, so "Trame" is French for dithering (halftone / XOR dither)?

Can I request an option that Image2PCE does NO colour remapping?  I load in a 16-colour image file that has a correct palette already and in the correct order; I don't want it removing or altering any colours in the original image, only to make a MAP and remove duplicate tiles.

Also, right now I'm testing out a 1024x512 map and the tile data is 50% garbage...  :-(
I'll will change name of "trame" with "halftone".

I tested 1024x512 and the problem from the memory of my vdc emulator.

1024x512 -> 128x64 tiles and if all tiles are differents size is 128*32*64 = 262144 bytes (it's over the VRAM size). May be is wrong because I'm not really awake ;)

How can resolve this point ? Where is my mistake ? Tks

I gonna see about remapping colors
« Last Edit: February 25, 2014, 07:41:21 PM by beddy »

ccovell

  • Hero Member
  • *****
  • Posts: 2245
Re: PCE image converter
« Reply #40 on: February 25, 2014, 09:43:39 PM »
Yes, but AFTER tile optimization, the number of unique tiles can possibly be below the limit for a map of that size (49152 bytes, or 1536 unique tiles), so the "remove duplicate tiles" feature should not be within the constraints of PCE memory.

beddy

  • Newbie
  • *
  • Posts: 14
Re: PCE image converter
« Reply #41 on: February 25, 2014, 09:52:26 PM »
Yes, but AFTER tile optimization, the number of unique tiles can possibly be below the limit for a map of that size (49152 bytes, or 1536 unique tiles), so the "remove duplicate tiles" feature should not be within the constraints of PCE memory.

I save only optimisation of tiles. I gonna do before to put in the VRAM of my VDC emulator. I'm know sometime i'm stupid ;)

Tks ;)

Bonknuts

  • Hero Member
  • *****
  • Posts: 3292
Re: PCE image converter
« Reply #42 on: February 27, 2014, 01:43:59 PM »
Even if the results aren't perfect, your app allows me to get to where I can edit out the errors manually:

Original from Image2PCE


Tweaked manually, afterwards




Test rom:

http://www.pcedev.net/pics/misc/girl.zip

shubibiman

  • Hero Member
  • *****
  • Posts: 1832
Re: PCE image converter
« Reply #43 on: February 27, 2014, 06:23:28 PM »
I can't wait for a new Girls of Hawai to be released :p
Self proclamed Aldynes World Champion

touko

  • Hero Member
  • *****
  • Posts: 953
Re: PCE image converter
« Reply #44 on: February 27, 2014, 07:15:53 PM »
eh tom, not bad at all ...