+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Difficult graphics format
Pages: 1 [2]
Author Topic: Difficult graphics format  (Read 1643 times)
Kitsune Sniper
Guest
« Reply #15 on: June 22, 2007, 08:15:09 pm »

Quote from: DMV27 on June 22, 2007, 06:56:55 pm
It looks like the image is 8bpp with a palette before each section. Here is the 8-bit image with no palette applied.


Isn't that what I said? Tongue Well, sort of! Tongue
Ryusui
Guest
« Reply #16 on: June 22, 2007, 08:16:51 pm »

Well, you can get pretty damn good image quality out of a 256-color GIF...
southark2
Guest
« Reply #17 on: June 22, 2007, 09:34:25 pm »

I dont know I still use older graphic's editors witch don't support ps2 graphics,
But are ps2 graphic's similar to any older systems graphic's.
Have you tried any other graphics tools if there are any that is.
Sorry I am not much help. :banghead:
creaothceann
Guest
« Reply #18 on: June 23, 2007, 02:06:33 am »

Quote from: DMV27 on June 22, 2007, 07:47:25 pm
It looks like 8bpp to me.

<img>http://img263.imageshack.us/img263/6204/namco1fd8.png</img>

Hmmm... OK, this looks better. Smiley
KaioShin
Guest
« Reply #19 on: June 23, 2007, 05:36:16 am »

Wow, just wow Shocked

With which program did you get that shot, a custom one? Can it re-insert too? Grayscale would be ideal for editing, so it'll just keep the original colors. And thanks for figuring out the title screen too along the way  Cheesy

Thanks a lot!
DMV27
Guest
« Reply #20 on: June 23, 2007, 02:32:55 pm »

I used Paint Shop Pro to open the file in RAW mode, and then I adjusted the sizes until I was able to get those images. After looking at the file some more, I was able to write a program that can export / import the images to / from BMPs. You can edit the image data and the palette, but not the alpha part of the palette (the original data from the fac file will be used).

Here is the program (I will package the source code later). To use it, just type "farc_edit e file.fac" to export, and "farc_edit i file.fac" to import. BMPs will be stored as "file.fac.<index>.bmp".

http://minorcrisis.net/files/farc_edit.zip
KaioShin
Guest
« Reply #21 on: June 23, 2007, 03:25:27 pm »

Awesome, thank you so very much. I'll make sure you'll be properly credited when the translation is finished. And I'm interested in the source yeah, that should give me some insight in how the format really works.

Edit: Ups, running the app with the file gives me a c++ runtime error: This application has requested the Runtime to terminate it in an unusual way (haven't tested other fac files yet).

« Last Edit: June 23, 2007, 04:03:54 pm by KaioShin »
DMV27
Guest
« Reply #22 on: June 23, 2007, 04:57:01 pm »

The file was probably set to read-only or the filename was incorrect. I fixed the export code for that and added some better error handling. Here is the new file.

http://minorcrisis.net/files/farc_edit2.zip
KaioShin
Guest
« Reply #23 on: June 23, 2007, 05:14:58 pm »

Now it worked, awesome  Grin
Naruto
Guest
« Reply #24 on: June 23, 2007, 09:39:59 pm »

Congratulation! :thumbsup:

Can we see some screenshots? Smiley
KaioShin
Guest
« Reply #25 on: July 06, 2007, 05:02:18 am »

Sorry to bother again, but I'm having trouble insterting a modified bitmap.

http://download.yousendit.com/B11EB4E44D63161D

The program does something with the file, but it isn't changed at all afterwards Undecided\
DMV27
Guest
« Reply #26 on: July 07, 2007, 10:42:10 pm »

What did you use to modify that bitmap? Both the palette size and image size entries in the file are incorrect, causing the program to reject the file. The import code has now been fixed to handle this. You can download the new version below, which also contains the modifications I meant to post last week, plus the full source code. I added more options, multiple file support, more info and error messages, and support for 32-bit image resources. To import 32-bit images, you must use a program that can save 32-bit BMP files.

http://minorcrisis.net/files/farc_edit-2007-07-07.zip
KaioShin
Guest
« Reply #27 on: July 08, 2007, 04:49:52 am »

Thanks a lot, it works flawless now.

I edited the thing in Photoshop. Actually I created a new one from scratch, and copy and pasted the graphics over the original then, in the hope it would retain the format that way.
elnegro492003
Guest
« Reply #28 on: July 08, 2007, 12:08:20 pm »

WOW,just WOW:). I just wanna say thanks to Kaio for all the hard work and dedication in making this project a reality,and to DMV27 for creating the farc_edit tool which has helped us in a huge way. Sprite editing is going along smoothly,and me and saito are doing alot of progress with the translation too,all dialogue up to ep 41 has been translated and inserted,except battle dialogue, and probably even more (I havent talked to him in about 4 days,cause of ISP problems Sad) prologue 1-5 and Chapter 1-2 has everything completely translated including battle dialogue. Anyways,we plan to have it ready for Beta testing in at least 1-2 months the most,God willing. I have a question though.I havent tried it myself,but does paint shop pro allow to open large files like the 350mb Battle.bin (doubt it) and the 55mb BTL_BG.FAC? I ask this because I'm sure most of the battle text sprites are there,and they would obviously need to be edited also (There's other files with possible battle text sprites,these are just the only ones I remember). See ya, and thanks to everybody for your input and support. Byes Smiley
Pages: 1 [2]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC