| View previous topic - View next topic | 
  
  
    | Author | Message | 
  
    | DeveloperX 202192397
 
  
 Joined: 04 May 2003
 Posts: 1626
 Location: Decatur, IL, USA
 
 | 
        
          |  Posted: Fri Apr 22, 2005 4:16 pm    Post subject: anyone know how to create pcx files in code? | [quote] |  
          | 
 |  
          | source in any programming language works. I just need to know the process of creating a pcx file.
 
 I don't want to use a library, or anything, because I need to convert the source to visual basic 6.
 
 I'm writing a tool, that needs pcx support, any help is most appreciated.
 _________________
 Principal Software Architect
 Rambling Indie Games, LLC
 
 See my professional portfolio
 |  | 
  
    | Back to top |  | 
  
    |  | 
  
    | LeoDraco Demon Hunter
 
  
 Joined: 24 Jun 2003
 Posts: 584
 Location: Riverside, South Cali
 
 | 
        
          |  Posted: Fri Apr 22, 2005 5:11 pm    Post subject: Re: anyone know how to create pcx files in code? | [quote] |  
          | 
 |  
          |  	  | DeveloperX wrote: |  	  | source in any programming language works. I just need to know the process of creating a pcx file.
 
 I don't want to use a library, or anything, because I need to convert the source to visual basic 6.
 
 I'm writing a tool, that needs pcx support, any help is most appreciated.
 | 
 
 I've not read it, but wotsit has a file specification for pcx.
 _________________
 "...LeoDraco is a pompus git..." -- Mandrake
 |  | 
  
    | Back to top |  | 
  
    |  | 
  
    | DeveloperX 202192397
 
  
 Joined: 04 May 2003
 Posts: 1626
 Location: Decatur, IL, USA
 
 | 
        
          |  Posted: Sat Apr 23, 2005 2:56 am    Post subject: Re: anyone know how to create pcx files in code? | [quote] |  
          | 
 |  
          | Ohhhh yeah, I forgot about wotsit! heh, its been awhile since I've been there. 
 Thanks, I'll see if I can make do with that..if not, I'll be back. ;)
 _________________
 Principal Software Architect
 Rambling Indie Games, LLC
 
 See my professional portfolio
 |  | 
  
    | Back to top |  | 
  
    |  | 
  
    | Hajo Demon Hunter
 
  
 Joined: 30 Sep 2003
 Posts: 779
 Location: Between chair and keyboard.
 
 | 
        
          |  Posted: Mon Apr 25, 2005 8:39 am    Post subject: | [quote] |  
          | 
 |  
          | IIRC Allegro has a quite clean PCX writing routines, at least for some variants of PCX. 
 You could take a look there. I have no real idea what the license requires from you if you transcribe them to another programming language, so I can't say if the idea is useful for you or not.
 |  | 
  
    | Back to top |  | 
  
    |  | 
  
    | DeveloperX 202192397
 
  
 Joined: 04 May 2003
 Posts: 1626
 Location: Decatur, IL, USA
 
 | 
        
          |  Posted: Mon Apr 25, 2005 8:43 am    Post subject: | [quote] |  
          | 
 |  
          |  	  | Hajo wrote: |  	  | IIRC Allegro has a quite clean PCX writing routines, at least for some variants of PCX. 
 You could take a look there. I have no real idea what the license requires from you if you transcribe them to another programming language, so I can't say if the idea is useful for you or not.
 | 
 
 IIRC?
 _________________
 Principal Software Architect
 Rambling Indie Games, LLC
 
 See my professional portfolio
 |  | 
  
    | Back to top |  | 
  
    |  | 
  
    | Hajo Demon Hunter
 
  
 Joined: 30 Sep 2003
 Posts: 779
 Location: Between chair and keyboard.
 
 | 
        
          |  Posted: Mon Apr 25, 2005 10:21 am    Post subject: | [quote] |  
          | 
 |  
          | IIRC = if I remember correctly 
 My memories may be wrong. It's been a while that I've looked at the Allegro sources, and there is a chance that I may remember incorectly. But if I'm right, Allegro has nice and clean PCX writing routines in C, and you could easily reverse engineer them and write them again in any other language or (license?) directly try to transcribe them to another language.
 
 So go, take a look at your copy of the Allegro sources. It should take only a few minutes to see if I'm right and if you want/can use the code or not.
 |  | 
  
    | Back to top |  | 
  
    |  | 
  
    | DeveloperX 202192397
 
  
 Joined: 04 May 2003
 Posts: 1626
 Location: Decatur, IL, USA
 
 | 
        
          |  Posted: Tue Apr 26, 2005 3:07 am    Post subject: | [quote] |  
          | 
 |  
          |  	  | Hajo wrote: |  	  | IIRC = if I remember correctly 
 My memories may be wrong. It's been a while that I've looked at the Allegro sources, and there is a chance that I may remember incorectly. But if I'm right, Allegro has nice and clean PCX writing routines in C, and you could easily reverse engineer them and write them again in any other language or (license?) directly try to transcribe them to another language.
 
 So go, take a look at your copy of the Allegro sources. It should take only a few minutes to see if I'm right and if you want/can use the code or not.
 | 
 
 OOOOoooooooooohhhhhhhhhhhhhh thanks, I didn't know that shortcut term. :)
 I'll do just that. Thanks.
 _________________
 Principal Software Architect
 Rambling Indie Games, LLC
 
 See my professional portfolio
 |  | 
  
    | Back to top |  | 
  
    |  | 
  
    | DrunkenCoder Demon Hunter
 
  
 Joined: 29 May 2002
 Posts: 559
 
 
 | 
        
          |  Posted: Wed Apr 27, 2005 8:45 am    Post subject: | [quote] |  
          | 
 |  
          | I think there's a spec on wotsit complete with sample implementation in C but it's quite simple todo anyhow. _________________
 If there's life after death there is no death, if there's no death we never live. | ENTP
 |  | 
  
    | Back to top |  | 
  
    |  |