It is currently Mon Nov 20, 2017 12:24 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: pcx2snes win won't work!
PostPosted: Tue Jul 18, 2017 11:29 am 
Offline

Joined: Tue Jul 18, 2017 5:35 am
Posts: 2
So I've recently started looking into snes assembly programming (I don't know if this site does snes or not, but it seems like it does, so I'm posting here anyway), and I've been reading this tutorial that says to use pcx2snes for sprite design. However, whenever I open it, it gives me this error:

"Component 'COMDLG32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid"

So I decided to look for this file, (the link in the tutorial just gave me the exe and a txt, I think it was old) I found the original one with these extra files, but it still didn't work, giving me the same error. Please help! :D


Top
 Profile  
 
PostPosted: Tue Jul 18, 2017 12:48 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19236
Location: NE Indiana, USA (NTSC)
If you're willing to install Python for Windows (per instructions) and use the Windows Command Prompt, the converter in my LoROM project template for ca65 supports Super NES tile format (but not palette format). Then you can take an indexed PNG made in GIMP (or any other paint program capable of producing indexed color images) and turn your 128xwhatever pixel tile sheet into CHR data.


Top
 Profile  
 
PostPosted: Tue Jul 18, 2017 12:55 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5822
Location: Canada
Nathonion wrote:
"Component 'COMDLG32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid"

I believe that's an old Visual Studio 6.0 runtime component. The correct way to get that OCX (and others you likely need, this is just the [i]first[i] error you're getting) is probably to install the Visual Studio 6.0 runtime redistributable from Microsoft.

Or, as tepples was sort of suggestion, maybe just find software that was made more recently. PCX2SNES is about 16 years old, and people don't normally have those old controls installed on their systems anymore.


Top
 Profile  
 
PostPosted: Tue Jul 18, 2017 8:13 pm 
Offline

Joined: Tue Jul 18, 2017 5:35 am
Posts: 2
If that's the case, do you have any suggestions? Preferably something that outputs .inc files (As stated earlier, I am just recently starting to learn snes assembly, so I am a total noob, and the tutorial I'm reading says to do that :P )


Top
 Profile  
 
PostPosted: Wed Jul 19, 2017 6:15 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19236
Location: NE Indiana, USA (NTSC)
pilbmp2nes.py from the LoROM template makes files that you can .incbin, but you have to pass a planemap to make it use one of the Super NES tile formats.

  • 2-bit (Super NES mode 0, mode 1 BG2, mode 4 and 5 BG1, and Game Boy):
    tools/pilbmp2nes.py --planes '0,1' kitten.png kitten.chrgb
  • 4-bit (Super NES modes 1, 2, 5, 6, and sprites, and TG16 background tiles):
    tools/pilbmp2nes.py --planes '0,1;2,3' kitten.png kitten.chrsfc
  • 8-bit planar (Super NES modes 3 and 4):
    tools/pilbmp2nes.py --planes '0,1;2,3;4,5;6,7' kitten.png kitten.chrm3
  • 8-bit packed (Super NES mode 7):
    tools/pilbmp2nes.py --planes '76543210' kitten.png kitten.chrm7


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Google [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group