I think the big deal is in compression method...
A lot of files is compressed and if you try to reimport them it will fail coz the game uses some modified zlib compression.
If someone know how to get exactly the same result of compressed file as is used in the game, it will be very usefull.
Maybe we dont need to compress edited files at all, but than u need to change offsets (I didnt try this method yet).
BTW Im working on resources and index file editor...
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Wolfenstein: The New Order (PC)
-
- ultra-n00b
- Posts: 8
- Joined: Wed Nov 06, 2013 9:57 pm
- Location: Czech Republic
- Been thanked: 1 time
Re: Wolfenstein: The New Order (PC)
You do not have the required permissions to view the files attached to this post.
- lostprophet
- mega-veteran
- Posts: 202
- Joined: Wed Apr 07, 2010 7:38 pm
- Has thanked: 35 times
- Been thanked: 7 times
Re: Wolfenstein: The New Order (PC)
Wow nice! So with this it will be easier to export and modify the fonts too?Killermannvs wrote:I think the big deal is in compression method...
A lot of files is compressed and if you try to reimport them it will fail coz the game uses some modified zlib compression.
If someone know how to get exactly the same result of compressed file as is used in the game, it will be very usefull.
Maybe we dont need to compress edited files at all, but than u need to change offsets (I didnt try this method yet).
BTW Im working on resources and index file editor...
Hungarian translator | Previous translations: http://lostprophet.hu
-
- ultra-n00b
- Posts: 8
- Joined: Wed Nov 06, 2013 9:57 pm
- Location: Czech Republic
- Been thanked: 1 time
Re: Wolfenstein: The New Order (PC)
Well, after some playing with zlib library I can finally to decompress all files correctly.
Now, I need to try if replaced file has to be compressed as well as original file.
After this test I will be able to release first usable version of my app.
Now, I need to try if replaced file has to be compressed as well as original file.
After this test I will be able to release first usable version of my app.
-
- Moderator
- Posts: 954
- Joined: Sun Mar 27, 2011 8:42 pm
- Has thanked: 10 times
- Been thanked: 161 times
Re: Wolfenstein: The New Order (PC)
Killermannvs wrote:Well, after some playing with zlib library I can finally to decompress all files correctly.
Now, I need to try if replaced file has to be compressed as well as original file.
After this test I will be able to release first usable version of my app.
Would this support also Big Endian pls?
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
-
- ultra-n00b
- Posts: 8
- Joined: Wed Nov 06, 2013 9:57 pm
- Location: Czech Republic
- Been thanked: 1 time
Re: Wolfenstein: The New Order (PC)
Well guys here it is...
I have successfuly tested all fonts and english.lang file and it works great.
Quick overview:
"Load file" - accepts resources or index file, you need both of them
"Export all" - exports all files into selected folder
"Export" - exports selected file into selected folder
"Import" - imports selected file back to .resources file and re-index .index file (this function will use a lot of memory, expect this)
You need to have .Net Framework 4.0 installed.
I hope that will help you guys and looking forward for your feedback.
If some will successfuly edit and than import font file and the game will work, let me know pls!
I have successfuly tested all fonts and english.lang file and it works great.
Quick overview:
"Load file" - accepts resources or index file, you need both of them
"Export all" - exports all files into selected folder
"Export" - exports selected file into selected folder
"Import" - imports selected file back to .resources file and re-index .index file (this function will use a lot of memory, expect this)
You need to have .Net Framework 4.0 installed.
I hope that will help you guys and looking forward for your feedback.
If some will successfuly edit and than import font file and the game will work, let me know pls!
You do not have the required permissions to view the files attached to this post.
-
- Moderator
- Posts: 954
- Joined: Sun Mar 27, 2011 8:42 pm
- Has thanked: 10 times
- Been thanked: 161 times
Re: Wolfenstein: The New Order (PC)
Did you also test it with different sizes i mean bigger then original ?Killermannvs wrote:Well guys here it is...
I have successfuly tested all fonts and english.lang file and it works great.
Quick overview:
"Load file" - accepts resources or index file, you need both of them
"Export all" - exports all files into selected folder
"Export" - exports selected file into selected folder
"Import" - imports selected file back to .resources file and re-index .index file (this function will use a lot of memory, expect this)
You need to have .Net Framework 4.0 installed.
I hope that will help you guys and looking forward for your feedback.
If some will successfuly edit and than import font file and the game will work, let me know pls!
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
-
- n00b
- Posts: 16
- Joined: Mon Aug 19, 2013 8:57 am
- Has thanked: 2 times
- Been thanked: 1 time
Re: Wolfenstein: The New Order (PC)
Hi there,
your tool works great. Tested for translation menu.
Great work!!
But how edit .bimage fonts? Many characters of my native language are missing Some help??
Is there somebody, who has german.lang file? German version o Wolf isn´t avaiable in my country...
Regards
your tool works great. Tested for translation menu.
Great work!!
But how edit .bimage fonts? Many characters of my native language are missing Some help??
Is there somebody, who has german.lang file? German version o Wolf isn´t avaiable in my country...
Regards
Killermannvs wrote:Well guys here it is...
I have successfuly tested all fonts and english.lang file and it works great.
Quick overview:
"Load file" - accepts resources or index file, you need both of them
"Export all" - exports all files into selected folder
"Export" - exports selected file into selected folder
"Import" - imports selected file back to .resources file and re-index .index file (this function will use a lot of memory, expect this)
You need to have .Net Framework 4.0 installed.
I hope that will help you guys and looking forward for your feedback.
If some will successfuly edit and than import font file and the game will work, let me know pls!
-
- veteran
- Posts: 93
- Joined: Wed May 09, 2012 1:13 pm
- Has thanked: 11 times
- Been thanked: 3 times
Re: Wolfenstein: The New Order (PC)
In my opinion, it seems that 64_df.dat file is a dummy file and I can not change font mapping information.
Although I tried to change 64_df.dat file to another lang 64_df.dat file, it didn't change anything on the game when I used quickbms reimport option.
Is it working on that tool? Hmm.. I didn't tried it but I guess that it will not work. I mean, no change.
Although I tried to change 64_df.dat file to another lang 64_df.dat file, it didn't change anything on the game when I used quickbms reimport option.
Is it working on that tool? Hmm.. I didn't tried it but I guess that it will not work. I mean, no change.
- lostprophet
- mega-veteran
- Posts: 202
- Joined: Wed Apr 07, 2010 7:38 pm
- Has thanked: 35 times
- Been thanked: 7 times
Re: Wolfenstein: The New Order (PC)
Search is your friend: viewtopic.php?f=10&t=11556&p=96257albert1905 wrote:In my opinion, it seems that 64_df.dat file is a dummy file and I can not change font mapping information.
Although I tried to change 64_df.dat file to another lang 64_df.dat file, it didn't change anything on the game when I used quickbms reimport option.
Is it working on that tool? Hmm.. I didn't tried it but I guess that it will not work. I mean, no change.
Hungarian translator | Previous translations: http://lostprophet.hu
-
- veteran
- Posts: 93
- Joined: Wed May 09, 2012 1:13 pm
- Has thanked: 11 times
- Been thanked: 3 times
Re: Wolfenstein: The New Order (PC)
You misunderstand what I said. I mean, font mapping file. Not bimage. And that thread was what I asked so I knew it.lostprophet wrote:Search is your friend: viewtopic.php?f=10&t=11556&p=96257albert1905 wrote:In my opinion, it seems that 64_df.dat file is a dummy file and I can not change font mapping information.
Although I tried to change 64_df.dat file to another lang 64_df.dat file, it didn't change anything on the game when I used quickbms reimport option.
Is it working on that tool? Hmm.. I didn't tried it but I guess that it will not work. I mean, no change.
-
- Moderator
- Posts: 954
- Joined: Sun Mar 27, 2011 8:42 pm
- Has thanked: 10 times
- Been thanked: 161 times
Re: Wolfenstein: The New Order (PC)
albert1905 wrote:You misunderstand what I said. I mean, font mapping file. Not bimage. And that thread was what I asked so I knew it.lostprophet wrote:Search is your friend: viewtopic.php?f=10&t=11556&p=96257albert1905 wrote:In my opinion, it seems that 64_df.dat file is a dummy file and I can not change font mapping information.
Although I tried to change 64_df.dat file to another lang 64_df.dat file, it didn't change anything on the game when I used quickbms reimport option.
Is it working on that tool? Hmm.. I didn't tried it but I guess that it will not work. I mean, no change.
I have never check font mapping, but im planning to i guess not sure when
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/
-
- ultra-n00b
- Posts: 8
- Joined: Wed Nov 06, 2013 9:57 pm
- Location: Czech Republic
- Been thanked: 1 time
Re: Wolfenstein: The New Order (PC)
I hate that ads!!!
I did a little research on font mapping file "64_df.dat" and I got this.
I can partialy confirm this:
1. y axis (yadvance)
2. yoffset? (did nothing)
3. x axis (xadvance)
4. xoffset? (did nothing)
I still dont know what 2 last bytes do.
I have successfuly edited font 64_df.bimage file and my glyphs are shown in the game, but I had to replaced some original glyphs (I have choosen which ones are not used in english.lang file)
So if I want to use my glyph, I have to type original glyph and that is ugly.
I tried to replace original glyph with my glyph by unicode table, but it doesnt work.
The game shows only "*" (unknown character).
Do you have any idea how to make this work?
EDIT:
After more digging I have idea about header bytes.
Here is my struct description of 64_df.dat.
I did a little research on font mapping file "64_df.dat" and I got this.
I can partialy confirm this:
I have tested that 4 bytes and...Thief1987 wrote: 1 byte - width
1 byte - height
4 bytes - unknown(need test, maybe yadvance, yoffset, xadvance, xoffset)
2 bytes - x (little endian)
2 bytes - y (little endian)
2 bytes - unknown
1. y axis (yadvance)
2. yoffset? (did nothing)
3. x axis (xadvance)
4. xoffset? (did nothing)
I still dont know what 2 last bytes do.
I have successfuly edited font 64_df.bimage file and my glyphs are shown in the game, but I had to replaced some original glyphs (I have choosen which ones are not used in english.lang file)
So if I want to use my glyph, I have to type original glyph and that is ugly.
I tried to replace original glyph with my glyph by unicode table, but it doesnt work.
The game shows only "*" (unknown character).
Do you have any idea how to make this work?
EDIT:
After more digging I have idea about header bytes.
Here is my struct description of 64_df.dat.
Code: Select all
header
4B - 0x6964662B (idf+)
font config
1B - size
1B - scale
1B - y shift
1B - y shift
1B - multi-line, CR size
1B - multi-line, CR size
2B - number of glyphs (big endian)
glyph description
1B - width
1B - height
1B - y axis (yadvance)
1B - yoffset? (did nothing)
1B - x axis (xadvance)
1B - xoffset? (did nothing)
2B - x (little endian)
2B - y (little endian)
2B - unknown
glyph character (unicode)
4B - char (little endian)
kerning pairs?
2B - number of pairs (big endian)
xB - pair struct?
-
- ultra-veteran
- Posts: 452
- Joined: Sun Jul 06, 2014 6:30 am
- Has thanked: 110 times
- Been thanked: 326 times
Re: Wolfenstein: The New Order (PC)
I notice some filenames in the list are black, and some are red. what do the colors mean?Killermannvs wrote:Well guys here it is...
I have successfuly tested all fonts and english.lang file and it works great.
Quick overview:
"Load file" - accepts resources or index file, you need both of them
"Export all" - exports all files into selected folder
"Export" - exports selected file into selected folder
"Import" - imports selected file back to .resources file and re-index .index file (this function will use a lot of memory, expect this)
You need to have .Net Framework 4.0 installed.
I hope that will help you guys and looking forward for your feedback.
If some will successfuly edit and than import font file and the game will work, let me know pls!
-
- ultra-n00b
- Posts: 8
- Joined: Wed Nov 06, 2013 9:57 pm
- Location: Czech Republic
- Been thanked: 1 time
Re: Wolfenstein: The New Order (PC)
volfin wrote:I notice some filenames in the list are black, and some are red. what do the colors mean?Killermannvs wrote:Well guys here it is...
I have successfuly tested all fonts and english.lang file and it works great.
Quick overview:
"Load file" - accepts resources or index file, you need both of them
"Export all" - exports all files into selected folder
"Export" - exports selected file into selected folder
"Import" - imports selected file back to .resources file and re-index .index file (this function will use a lot of memory, expect this)
You need to have .Net Framework 4.0 installed.
I hope that will help you guys and looking forward for your feedback.
If some will successfuly edit and than import font file and the game will work, let me know pls!
Red are compressed files, if you look at size and zsize is always different.
-
- veteran
- Posts: 93
- Joined: Wed May 09, 2012 1:13 pm
- Has thanked: 11 times
- Been thanked: 3 times
Re: Wolfenstein: The New Order (PC)
I'd tried to edit font mapping file and successfully reimported it but there are no change.
Below the image is chinese version. I mean, I can't change the position of glyphs. Was 64_df.dat really font mapping file..?
It doesn't read on game! Even if I make it blank file and reimported it, there are no changes!
Below the image is chinese version. I mean, I can't change the position of glyphs. Was 64_df.dat really font mapping file..?
It doesn't read on game! Even if I make it blank file and reimported it, there are no changes!
You do not have the required permissions to view the files attached to this post.