gerald15 Posted April 14 Posted April 14 I need unpack, edit and repack tool. Can someone help me? rage fonts.rar
Supporter wq223 Posted April 15 Supporter Posted April 15 9 hours ago, gerald15 said: I need unpack, edit and repack tool. Can someone help me? rage fonts.rar 1.52 MB · 11 downloads You need to decompress using zlib first, it looks like the positions 0C and 10 are like the width and height values
Supporter wq223 Posted April 15 Supporter Posted April 15 11 hours ago, gerald15 said: I need unpack, edit and repack tool. Can someone help me? rage fonts.rar 1.52 MB · 12 downloads I wrote a script to convert them, not sure if it is correct, the pixel data has shown the correct text mib2png.py
gerald15 Posted April 15 Author Posted April 15 3 hours ago, wq223 said: I wrote a script to convert them, not sure if it is correct, the pixel data has shown the correct text mib2png.py 3.2 kB · 2 downloads Thanks. Could you please say commands? I couldn't convert the texture. I tried drag-and-drop, or using the `-export` or `-e` command, but I couldn't export it. It's also necessary for imports, of course. I will test it and let you know if it works.
Supporter wq223 Posted April 15 Supporter Posted April 15 58 minutes ago, gerald15 said: Thanks. Could you please say commands? I couldn't convert the texture. I tried drag-and-drop, or using the `-export` or `-e` command, but I couldn't export it. It's also necessary for imports, of course. I will test it and let you know if it works. My script doesn't have these tedious parameters, you just need the input folder and the output folder python mib2.png input folder output folder The script will process related files in all subfolders and output directories with the same structure to the output folder The example you sent is currently successful. If you encounter a failed file, it may be a new type. 1
Members OAleex Posted April 15 Members Posted April 15 (edited) Rage Bimage Tool By OAleex rage_bimage_tool.py Edited April 15 by OAleex 1
gerald15 Posted April 15 Author Posted April 15 22 minutes ago, wq223 said: My script doesn't have these tedious parameters, you just need the input folder and the output folder python mib2.png input folder output folder The script will process related files in all subfolders and output directories with the same structure to the output folder The example you sent is currently successful. If you encounter a failed file, it may be a new type. Thanks, but I couldn't unpack it. I tried the script shared by Oaleex and it works flawlessly. Thank you both for your efforts.
gerald15 Posted April 15 Author Posted April 15 (edited) 1 hour ago, OAleex said: Rage Bimage Tool By OAleex rage_bimage_tool.py 11.27 kB · 4 downloads I tested it in the game, but it crashes. I think the reason is the file size. I packaged the .dds file without editing it, and I noticed it was 22 bytes larger than the original size. That's why it crashes. I think the import needs to be fixed. idginza_narrow_heavy font test Edited April 15 by gerald15 2 pictures
Members OAleex Posted April 15 Members Posted April 15 42 minutes ago, gerald15 said: I tested it in the game, but it crashes. I think the reason is the file size. I packaged the .dds file without editing it, and I noticed it was 22 bytes larger than the original size. That's why it crashes. I think the import needs to be fixed. idginza_narrow_heavy font test The size of files recompressed using zlib may vary. Probably it depends on the compressor flow. All done, I've fixed the code.
Supporter wq223 Posted April 15 Supporter Posted April 15 1 hour ago, gerald15 said: Thanks, but I couldn't unpack it. I tried the script shared by Oaleex and it works flawlessly. Thank you both for your efforts. It may be caused by differences in operating platforms. Please continue to use the script shared by Oaleex. This version is more advanced.
gerald15 Posted April 15 Author Posted April 15 28 minutes ago, OAleex said: The size of files recompressed using zlib may vary. Probably it depends on the compressor flow. All done, I've fixed the code. I've tried, but the problem persists. After packaging the font, it needs to be the same size as the original bimage file – no more, no less. I think there's a size restriction in the archive. When I package the fonts into the archive without exporting or importing them, the game works flawlessly. However, when I export textures and don't edit them, their size changes after packaging, and this causes the crashing issue. The game generally uses three fonts: interface and subtitle fonts. The sizes are different for each. I've uploaded the original and packaged fonts separately as an example. The imported bimage files crash even though they are smaller than the original file. I would appreciate it if you could look into the cause of this problem. rage.rar
Supporter wq223 Posted April 15 Supporter Posted April 15 1 hour ago, gerald15 said: I've tried, but the problem persists. After packaging the font, it needs to be the same size as the original bimage file – no more, no less. I think there's a size restriction in the archive. When I package the fonts into the archive without exporting or importing them, the game works flawlessly. However, when I export textures and don't edit them, their size changes after packaging, and this causes the crashing issue. The game generally uses three fonts: interface and subtitle fonts. The sizes are different for each. I've uploaded the original and packaged fonts separately as an example. The imported bimage files crash even though they are smaller than the original file. I would appreciate it if you could look into the cause of this problem. rage.rar 110.33 kB · 3 downloads Try this version, added memLevel parameter rage_bimage_tool.py
gerald15 Posted April 15 Author Posted April 15 1 hour ago, wq223 said: Try this version, added memLevel parameter rage_bimage_tool.py 11.35 kB · 1 download Thanks a lot, it's worked. 1
Members OAleex Posted April 16 Members Posted April 16 11 hours ago, gerald15 said: I've tried, but the problem persists. After packaging the font, it needs to be the same size as the original bimage file – no more, no less. I think there's a size restriction in the archive. When I package the fonts into the archive without exporting or importing them, the game works flawlessly. However, when I export textures and don't edit them, their size changes after packaging, and this causes the crashing issue. The game generally uses three fonts: interface and subtitle fonts. The sizes are different for each. I've uploaded the original and packaged fonts separately as an example. The imported bimage files crash even though they are smaller than the original file. I would appreciate it if you could look into the cause of this problem. rage.rar 110.33 kB · 3 downloads Are you inserting the files via hex?
Members Solution OAleex Posted April 16 Members Solution Posted April 16 The game's container logic is very similar to that of The Evil Within. If you still want to try out the container tool and the image tool, it's here. rage_resources.py rage_bimage_tool_v2.py
Supporter wq223 Posted April 16 Supporter Posted April 16 1 hour ago, OAleex said: Are you inserting the files via hex? The problem may be that the compression of both versions must be exactly the same, any mismatching parameters resulting in size and hash may break the original situation, I have fixed your script in the reply above, if it is not for the compression problem, I have a hard time explaining why
Engineers h3x3r Posted May 4 Engineers Posted May 4 (edited) RAGE Toolkit has font creator called idFont. Edited May 4 by h3x3r
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now