Does a working NES2GB and GB2NES CHR converter exist?

Discussion of development of software for any "obsolete" computer or video game system. See the WSdev wiki and ObscureDev wiki for more information on certain platforms.
User avatar
Hamtaro126
Posts: 837
Joined: Thu Jan 19, 2006 5:08 pm

Does a working NES2GB and GB2NES CHR converter exist?

Post by Hamtaro126 »

The reason is I need this for SNES graphics testing... after that I can convert GB to SNES with the utility BPP++ 2.1 by Alcaro from SMWCentral and do anything I want with it, but doing it manually ain't gonna cut it...

So, Do they already exist? and if not, can someone do some magic?

Must be compatible with Windows XP-7-8, I'm using 7 (64-bit), and Sorry, NO DOS. (Can be multiplatform, example: Windows-Linux-Mac Compatible!)

EDIT: Post #666, :twisted:
AKA SmilyMZX/AtariHacker.
User avatar
Bregalad
Posts: 8181
Joined: Fri Nov 12, 2004 2:49 pm
Location: Divonne-les-bains, France

Re: Does a working NES2GB and GB2NES CHR converter exist?

Post by Bregalad »

No but I think I'd be a dozen of lines of code at worst, you can create your own.
User avatar
Hamtaro126
Posts: 837
Joined: Thu Jan 19, 2006 5:08 pm

Re: Does a working NES2GB and GB2NES CHR converter exist?

Post by Hamtaro126 »

That's ok, I tried talking to the author about it and he seems to be busy right now, because it looks like there's an event he is involved in!

BPP++ May get an update soon otherwise!
AKA SmilyMZX/AtariHacker.
User avatar
Memblers
Posts: 4150
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis

Re: Does a working NES2GB and GB2NES CHR converter exist?

Post by Memblers »

I believe in YY-CHR, you can copy the tiles onto the clipboard, switch to Gameboy format, then paste it back in. Tile Molester also can probably do it too, I haven't used it in a while.
User avatar
Myask
Posts: 965
Joined: Sat Jul 12, 2014 3:04 pm

Re: Does a working NES2GB and GB2NES CHR converter exist?

Post by Myask »

I was under the impression that NES and GB had the exact same CHR format: 2bpp planar, d7 leftmost;
LSB line 1, MSB line 1, LSB line 2, etc.

I'm curious what needs converting?
lidnariq
Site Admin
Posts: 11803
Joined: Sun Apr 13, 2008 11:12 am

Re: Does a working NES2GB and GB2NES CHR converter exist?

Post by lidnariq »

On the NES, the bitplanes are separated by 8 bytes. On the GB, they're only separated by 1 byte.

The "only" difference is ABCDEFGHIJKLMNOP vs AIBJCKDLEMFNGOHP
User avatar
Myask
Posts: 965
Joined: Sat Jul 12, 2014 3:04 pm

Re: Does a working NES2GB and GB2NES CHR converter exist?

Post by Myask »

Oh, thanks, sorry. That I built tiles in a hex editor confused me on that front (as then the left 8 bytes are the LSB, and the right 8 MSB)...of a whole tile, rather than a sliver.
User avatar
Hamtaro126
Posts: 837
Joined: Thu Jan 19, 2006 5:08 pm

Re: Does a working NES2GB and GB2NES CHR converter exist?

Post by Hamtaro126 »

I would use YY-CHR, but my fingers start giving me the slip after getting tired...

Let's say that I wanted auto support instead, Currently no such utility has auto conversion support for NES <-> 2BPP GB/SNES format conversion, so I either would program something (which even in C/C++ is too much for me), wait for a response from the author of BPP++, or be S.O.L. (So-Outta-Luck).
AKA SmilyMZX/AtariHacker.
User avatar
tokumaru
Posts: 12668
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: Does a working NES2GB and GB2NES CHR converter exist?

Post by tokumaru »

Since GB tiles have to be copied to RAM manually, couldn't you simply store the tiles using NES format in the ROM and fix the byte order when copying them to RAM?
psycopathicteen
Posts: 3198
Joined: Wed May 19, 2010 6:12 pm

Re: Does a working NES2GB and GB2NES CHR converter exist?

Post by psycopathicteen »

lidnariq wrote:On the NES, the bitplanes are separated by 8 bytes. On the GB, they're only separated by 1 byte.

The "only" difference is ABCDEFGHIJKLMNOP vs AIBJCKDLEMFNGOHP
GB format is better for software effects.
User avatar
ShaneM
Posts: 353
Joined: Wed Apr 04, 2012 4:15 pm
Location: United States of America (USA)

Re: Does a working NES2GB and GB2NES CHR converter exist?

Post by ShaneM »

Memblers wrote:I believe in YY-CHR, you can copy the tiles onto the clipboard, switch to Gameboy format, then paste it back in. Tile Molester also can probably do it too, I haven't used it in a while.
Right. That's exactly what I did when I ripped SMAS tiles to my FDS hack in Homebrew. (Recoloring may be necessary though but at least it works.)