Opening .PIC files
Discuss Upcoming Releases, Coding New Cards, Etc.
PLEASE DO NOT REPORT BUGS HERE!
PLEASE DO NOT REPORT BUGS HERE!
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
Re: Opening .PIC files
by kcua_626 » 10 Apr 2009, 22:14
I used a hex editor to open the hex files and came out with some interesting results. I used bmp2pic to create .PIC files of an all black and all white .BMP file and used a hex editor to open them.
-it looks like the .PIC files are not proprietary bitmaps but rather compressed picture files. Look how small the white and black .PIC files are.
-the header of the .PIC files might give as a clue on the file type if someone can recognize them. Here's a good list of possible programs for opening .PIC files. http://file-extension.net/seeker/file_extension_pic
-viewpic and bmp2pic were written for the PMODE/W DOS extender which means that they are most probably written in c/c++ or pascal. Hopefully we can find a decompiler and see these programs work. Here's the article of PMODE from Wikipedia http://en.wikipedia.org/wiki/PMODE
So that's all for now . I'll try my luck on decompilers and see what I can come up with.
Kevin
-it looks like the .PIC files are not proprietary bitmaps but rather compressed picture files. Look how small the white and black .PIC files are.
-the header of the .PIC files might give as a clue on the file type if someone can recognize them. Here's a good list of possible programs for opening .PIC files. http://file-extension.net/seeker/file_extension_pic
-viewpic and bmp2pic were written for the PMODE/W DOS extender which means that they are most probably written in c/c++ or pascal. Hopefully we can find a decompiler and see these programs work. Here's the article of PMODE from Wikipedia http://en.wikipedia.org/wiki/PMODE
So that's all for now . I'll try my luck on decompilers and see what I can come up with.
Kevin
- kcua_626
- Posts: 6
- Joined: 09 Apr 2009, 03:22
- Has thanked: 0 time
- Been thanked: 0 time
Re: Opening .PIC files
by mathusalem » 11 Apr 2009, 19:52
Thanks for your efforts kcua_626 but GmZombie has managed to make some screen capture of the game's pic files (a good part of them). so now I have a lot of the elements I need in terms of aspect and pixel size and how the skin is organized. Now what we need to do is tell the game to load an other format than .pics which are much too troubledome to handle. I have loaded in the Graphic Update thread a zip f le with some test images of a renewed skin in Bmp and png. That's the images we would like to find a way to use. (if we find the way, i will update the skin further.
So if you have the knowledge, now that you know our present goal, go right along.
So if you have the knowledge, now that you know our present goal, go right along.
-
mathusalem - Posts: 459
- Joined: 24 Feb 2009, 21:00
- Has thanked: 6 times
- Been thanked: 4 times
Re: Opening .PIC files
by Snacko » 10 May 2009, 09:24
I decompressed and unlinked the pmode extender from bmp2pic so now it's possible to load the executable via a debugged ex. IDA
http://www.mediafire.com/download.php?uighloyfzeo
http://www.mediafire.com/download.php?uighloyfzeo
Re: Opening .PIC files
by mathusalem » 10 May 2009, 10:05
hmmm it still doesn't work for any image.
as I said wouldn't it be easier to find where the exe loads the images and redirect it toward the pngs or bmps ? (those file apart from their format have the exact same name as the .pic files
as I said wouldn't it be easier to find where the exe loads the images and redirect it toward the pngs or bmps ? (those file apart from their format have the exact same name as the .pic files
-
mathusalem - Posts: 459
- Joined: 24 Feb 2009, 21:00
- Has thanked: 6 times
- Been thanked: 4 times
Re: Opening .PIC files
by jonkarni » 12 Jul 2009, 14:58
I don't know if this will help but I saw that you can make qbasic file into assembler and the new file to c code lines.
I have done half job by disassembling the bmp2pic into assembler.
If you think you will be able to get some thing from that, that will be happy, so good luck, if it worth some thing and so the file.
http://www.mediafire.com/?sharekey=316f ... 49b5870170
I think I found the source code, at list big part:
http://www.mediafire.com/?sharekey=316f ... 49b5870170
http://read.pudn.com/downloads35/source ... ic.c__.htm
I have done half job by disassembling the bmp2pic into assembler.
If you think you will be able to get some thing from that, that will be happy, so good luck, if it worth some thing and so the file.
http://www.mediafire.com/?sharekey=316f ... 49b5870170
I think I found the source code, at list big part:
http://www.mediafire.com/?sharekey=316f ... 49b5870170
http://read.pudn.com/downloads35/source ... ic.c__.htm
- jonkarni
- Posts: 2
- Joined: 09 Jul 2009, 10:37
- Has thanked: 0 time
- Been thanked: 0 time
Re: Opening .PIC files
by mathusalem » 12 Jul 2009, 20:12
Thanks !
ouch ! This is a graphic designer you are talking to, not a coder (and I can't fathom what I could write in C)
Well, GMZombie has managed to send me a good bunch od the images in png a while ago. But you haven't worked in vain : I will go back to you if we find out that we have some mising images.
ouch ! This is a graphic designer you are talking to, not a coder (and I can't fathom what I could write in C)
Well, GMZombie has managed to send me a good bunch od the images in png a while ago. But you haven't worked in vain : I will go back to you if we find out that we have some mising images.
-
mathusalem - Posts: 459
- Joined: 24 Feb 2009, 21:00
- Has thanked: 6 times
- Been thanked: 4 times
51 posts
• Page 4 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 26 guests