how can i modify this images?
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
how can i modify this images?
Here is original url : viewtopic.php?f=9&t=2469
this is font image.
https://www.dropbox.com/s/bzcpnwdhjlaqg ... g.png?dl=0
i don't know how to change this font..
https://www.dropbox.com/s/5j1qrq4wlzhrt ... code2?dl=0
https://www.dropbox.com/s/if0o7f7bbtgwo ... g.tex?dl=0
i need your help.
specially, i want to change font image..
and this file compressed 'lz77'
https://www.dropbox.com/s/f27vh47rsuv8f ... 1.pck?dl=0
this is font image.
https://www.dropbox.com/s/bzcpnwdhjlaqg ... g.png?dl=0
i don't know how to change this font..
https://www.dropbox.com/s/5j1qrq4wlzhrt ... code2?dl=0
https://www.dropbox.com/s/if0o7f7bbtgwo ... g.tex?dl=0
i need your help.
specially, i want to change font image..
and this file compressed 'lz77'
https://www.dropbox.com/s/f27vh47rsuv8f ... 1.pck?dl=0
-
- Posts: 121
- Joined: Sun May 01, 2016 10:06 pm
Re: how can i modify this images?
I've found that ImageMagick could help:
1a. Open Command Prompt - Win+R (Windows emblem key together with R) - cmd - Enter.
1b. Navigate to where your files are: first switch the disc with (disc letter) - : - Enter; then with cd (directory/folder).
2. Separate channels into files:
3. Edit them with editor of choice; save as 8-bit grayscale PNGs (if asked).
4. Combine them back:
As for re-importing:
1. Manually copy a part of FontMsg.tex header in hex editor, from start to right before 89 50 4E 47 (or \x89PNG, as C guys know it)
In FontMsg.tex case it will be:
2. Save the result as FontMsg.tex
3. Try QuickBMS for reimport: viewtopic.php?f=4&t=22
4. Then try the game itself.
1a. Open Command Prompt - Win+R (Windows emblem key together with R) - cmd - Enter.
1b. Navigate to where your files are: first switch the disc with (disc letter) - : - Enter; then with cd (directory/folder).
2. Separate channels into files:
Code: Select all
convert FontMsg.png -channel RGBA -set colorspace RGB -separate FontMsg.png
4. Combine them back:
Code: Select all
convert fontmsg-0.png fontmsg-1.png fontmsg-2.png -alpha set fontmsg-3.png -channel RGBA -combine FontMsg.png
As for re-importing:
1. Manually copy a part of FontMsg.tex header in hex editor, from start to right before 89 50 4E 47 (or \x89PNG, as C guys know it)
In FontMsg.tex case it will be:
Code: Select all
81 01 40 00 00 1B 36 1A 00 00 03 C0 00 00 03 C0
3. Try QuickBMS for reimport: viewtopic.php?f=4&t=22
4. Then try the game itself.
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
Re: how can i modify this images?
Sorry, in my computer
it doesn't work...
C:\apps>convert FontMsg.png -channel RGBA -set colorspace RGB -separate FontMsg.png
The wrong parameter - -channel
error... i don't know why...;;
and which version can i download?
dll, static, Q8, Q16, HDRI....
there are a lot of version...
my computer is x86.
it doesn't work...
C:\apps>convert FontMsg.png -channel RGBA -set colorspace RGB -separate FontMsg.png
The wrong parameter - -channel
error... i don't know why...;;
and which version can i download?
dll, static, Q8, Q16, HDRI....
there are a lot of version...
my computer is x86.
-
- Posts: 121
- Joined: Sun May 01, 2016 10:06 pm
Re: how can i modify this images?
OneCombo wrote:C:\apps>convert FontMsg.png -channel RGBA -set colorspace RGB -separate FontMsg.png
The wrong parameter - -channel
Maybe you'll have to navigate to ImageMagick install folder too, i.e. instead of just "convert" - "C:\Program Files\ImageMagick\convert.exe" for example
OneCombo wrote:and which version can i download?
dll, static, Q8, Q16, HDRI....
there are a lot of version...
Default is okay.
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
Re: how can i modify this images?
thank you guy!
i didn't install 'e.g convert'
now it does work!
thank you!
later i'll be back!
i didn't install 'e.g convert'
now it does work!
thank you!
later i'll be back!
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
Re: how can i modify this images?
https://www.dropbox.com/s/f27vh47rsuv8f ... 1.pck?dl=0
how can i decompress this file?
it is 'lz77' compress
how can i decompress this file?
it is 'lz77' compress
-
- Posts: 121
- Joined: Sun May 01, 2016 10:06 pm
Re: how can i modify this images?
OneCombo wrote:how can i decompress this file?
it is 'lz77' compress
Heck if I know. Someone does know, but it requires downloading Visual Studio 2013 and compiling it.
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
Re: how can i modify this images?
i have a question.
after separate and after edit
i combined, but it combined just 2 font png files..
and then i tried, combined file to separate.
it made 3 png files same image.
it is separated files.
https://www.dropbox.com/s/cnpjcy5103srx ... 0.png?dl=0
https://www.dropbox.com/s/m65rbp4bncymf ... 1.png?dl=0
https://www.dropbox.com/s/6fmx5dn8hjujs ... 2.png?dl=0
https://www.dropbox.com/s/f3rkpl27kzga9 ... 3.png?dl=0
it is combined file.
https://www.dropbox.com/s/oxwfir371zp8j ... t.zip?dl=0
and combined font > separated png images
https://www.dropbox.com/s/fg1lggmtqpw6l ... 0.png?dl=0
https://www.dropbox.com/s/4wygzbe6ljkcg ... 1.png?dl=0
how can i make like original font file?
between original file and combined file is different.
i need your help.
after separate and after edit
i combined, but it combined just 2 font png files..
and then i tried, combined file to separate.
it made 3 png files same image.
it is separated files.
https://www.dropbox.com/s/cnpjcy5103srx ... 0.png?dl=0
https://www.dropbox.com/s/m65rbp4bncymf ... 1.png?dl=0
https://www.dropbox.com/s/6fmx5dn8hjujs ... 2.png?dl=0
https://www.dropbox.com/s/f3rkpl27kzga9 ... 3.png?dl=0
it is combined file.
https://www.dropbox.com/s/oxwfir371zp8j ... t.zip?dl=0
and combined font > separated png images
https://www.dropbox.com/s/fg1lggmtqpw6l ... 0.png?dl=0
https://www.dropbox.com/s/4wygzbe6ljkcg ... 1.png?dl=0
how can i make like original font file?
between original file and combined file is different.
i need your help.
-
- Posts: 121
- Joined: Sun May 01, 2016 10:06 pm
Re: how can i modify this images?
Ok, I see where I've messed up: "convert" expects RGB (24 bit or full colour)/RGBA (32 bit or full colour+alpha) input to combine everything the way it should be.
Resave FontMsg-0/1/2/3.png as 24 or 32 bit, then try again
Resave FontMsg-0/1/2/3.png as 24 or 32 bit, then try again
Code: Select all
convert fontmsg-0.png fontmsg-1.png fontmsg-2.png -alpha set fontmsg-3.png -channel RGBA -combine FontMsg.png