Jump to content

GRF: GRF Editor


Tokei

Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   9
  • Joined:  09/29/17
  • Last Seen:  

  

23 hours ago, jmsngls said:

image.png.b6062a2ae06da7217175d14ffd3c60b5.pngHello, whenever I encrypt my GRF with latest version, my emblem appears all white, I'm using client 2021-11-03

image.png.f2aad7c6c004ad5d0b24b7e554b8f107.png

Game Settings

 

Edited by Vashtido
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  10/23/24
  • Last Seen:  

I'm still unable to open the jRO data.grf even after the update that was meant to fix the issue.

image.thumb.jpeg.cc68fca1228910b659bdd7d42d9d44ec.jpeg

 

Edited by Tatacho
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  778
  • Reputation:   72
  • Joined:  02/10/12
  • Last Seen:  

On 10/20/2024 at 4:58 AM, Vashtido said:

  

image.png.f2aad7c6c004ad5d0b24b7e554b8f107.png

Game Settings

 

I have same issue even checked that option with client exe 2020

Edited by LearningRO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  695
  • Reputation:   721
  • Joined:  11/12/12
  • Last Seen:  

20 hours ago, LearningRO said:

I have same issue even checked that option with client exe 2020

I was unable to reproduce the issue. Can you show me what the emblem received by the emulator was? It will be stored in your SQL database in the "guild" table under the "emblem_data" field. (You should check the previous field first of course.)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  778
  • Reputation:   72
  • Joined:  02/10/12
  • Last Seen:  

44 minutes ago, Tokei said:

I was unable to reproduce the issue. Can you show me what the emblem received by the emulator was? It will be stored in your SQL database in the "guild" table under the "emblem_data" field. (You should check the previous field first of course.)

image.png.49cfca29ed0c0e2c004b0c01a6136467.pngimage.png.ceff3732ee949b27fa2878b5f92d1f9f.pngimage.png.f732049b322ac835baafdc9aef4e8867.png

Have u try with save advanced?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  12/11/19
  • Last Seen:  

Experiencing same issue with Emblems when I used the latest GRF Editor to encrypt my GRF. It only shows white emblem. I'm using 2022-04-06 client

image.png.adcffbe7c52ffb1bf2a9b0aa92bdc7fc.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  695
  • Reputation:   721
  • Joined:  11/12/12
  • Last Seen:  

Hmm, alright, since I'm unable to reproduce this issue on my end, I can only go with a trial and error approach. @Mister Noob @LearningRO @Vashtido Please PM me on Discord (tokei / 95599057182920704) if you're willing to help figure out the issue. I'll be sending you unprotected debug versions of the encryption tool.

Edited by Tokei
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  45
  • Reputation:   8
  • Joined:  03/17/21
  • Last Seen:  

5 hours ago, Tokei said:

Hmm, alright, since I'm unable to reproduce this issue on my end, I can only go with a trial and error approach. @Mister Noob @LearningRO @Vashtido Please PM me on Discord (tokei / 95599057182920704) if you're willing to help figure out the issue. I'll be sending you unprotected debug versions of the encryption tool.

I think i can confirmed this issue in latest GRF Editor Tool update. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  695
  • Reputation:   721
  • Joined:  11/12/12
  • Last Seen:  

The emblem issue should be fixed in 1.8.8.2.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  778
  • Reputation:   72
  • Joined:  02/10/12
  • Last Seen:  

On 10/31/2024 at 8:04 PM, Tokei said:

The emblem issue should be fixed in 1.8.8.2.

will try and give the feedback

update:
All fixed in the new version
Noted: 

Try re-encrypting with a fresh client (one that hasn't been injected by the encryption tool yet).

Edited by LearningRO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  04/12/16
  • Last Seen:  

I use flat map maker in options uncheck 'Make the ground flat' then generate map.
result the ground map cell display is incorrect.

Screenshot 2024-11-06 013355.png

Screenshot 2024-11-06 013437.png

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  09/29/24
  • Last Seen:  

My client simply opens and then closes immediately. I've tried everything, I followed the entire tutorial to encrypt the GRF but I still have the same problem. Does anyone know what could be happening?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  695
  • Reputation:   721
  • Joined:  11/12/12
  • Last Seen:  

On 11/5/2024 at 1:37 PM, poonsak58 said:

I use flat map maker in options uncheck 'Make the ground flat' then generate map.
result the ground map cell display is incorrect.

Updated to 1.8.8.4 to fix this issue. The flat maps tool has been updated as well.

 

13 hours ago, askuro3 said:

My client simply opens and then closes immediately. I've tried everything, I followed the entire tutorial to encrypt the GRF but I still have the same problem. Does anyone know what could be happening?

Hello,

  • Which client version are you using?
  • Which version of GRF Editor are you using?
  • Which Visual C++ redistributables version did you install?
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  02/02/23
  • Last Seen:  

@Tokei The way the grf is encrypted is no longer the same as before. Did you enter the password in the option that the program gave?
I tried to do this, it only generated a dll file and the client, and it did not generate another grf like before. Even after taking the dll and putting it in the patch, it did not ask for a password to open the grf.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  695
  • Reputation:   721
  • Joined:  11/12/12
  • Last Seen:  

14 hours ago, Medivh said:

@Tokei The way the grf is encrypted is no longer the same as before. Did you enter the password in the option that the program gave?
I tried to do this, it only generated a dll file and the client, and it did not generate another grf like before. Even after taking the dll and putting it in the patch, it did not ask for a password to open the grf.

Hello, I'll be adding a better guideline on the encryption window as I can understand the confusion there.

You are correct, the GRF Encryption tool window is only meant to create the client files (client.exe + cps.dll). The "Encrypt GRF" option was removed from that window because it was redundant. To encrypt your GRF, you have to right-click a folder and select encrypt:

image.png.e507bb72b6fb325b9e06526c1b24b812.png

This does the same thing as the previously removed option. That is also how you're supposed to encrypt your Thor patches when you want to patch encrypted content.

As for the password prompt when opening the GRF, that is mostly for visual effect in the first place. An encrypted GRF may not have this prompt. Also, the GRFs can be partially encrypted, so if you choose "Cancel" when this prompt shows up, you can still browse the GRF depending on what you did.

Edited by Tokei
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  02/02/23
  • Last Seen:  

On 11/18/2024 at 2:02 AM, Tokei said:

Hello, I'll be adding a better guideline on the encryption window as I can understand the confusion there.

You are correct, the GRF Encryption tool window is only meant to create the client files (client.exe + cps.dll). The "Encrypt GRF" option was removed from that window because it was redundant. To encrypt your GRF, you have to right-click a folder and select encrypt:

image.png.e507bb72b6fb325b9e06526c1b24b812.png

This does the same thing as the previously removed option. That is also how you're supposed to encrypt your Thor patches when you want to patch encrypted content.

As for the password prompt when opening the GRF, that is mostly for visual effect in the first place. An encrypted GRF may not have this prompt. Also, the GRFs can be partially encrypted, so if you choose "Cancel" when this prompt shows up, you can still browse the GRF depending on what you did.

Thhhhx Brooo, Great !

Working !

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  12/01/24
  • Last Seen:  

Hello, I'm trying to modify my aura on a server that seems to have that within a grf, probably data.grf. When opening that grf with GRF Editor, I get this error:image.png?ex=674d55ff&is=674c047f&hm=7783d18645ef4da0e0433d8d4587a03a8e893814f51e28d45cb184c7ac1404d4&

After this, I went ahead and hex edited the grf so the header would be Master of Magic and added a 00 padding for the 16 byte file size, since not doing so gave an error about how it was looking for "Master of Magic" and found "Master of Magic", this is the padded error fix:

4D 61 73 74 65 72 20 6F 66 20 4D 61 67 69 63 00

After doing this, the error disappeared from GRF Editor and where it said "errors were detected" it just says "finished" as it should, however, the data.grf still doesn't display directory folders on the left panel where it should, so now I have no error to work with and don't understand what's wrong. What can I do now?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  695
  • Reputation:   721
  • Joined:  11/12/12
  • Last Seen:  

9 hours ago, Klone Navir said:

Hello, I'm trying to modify my aura on a server that seems to have that within a grf, probably data.grf. When opening that grf with GRF Editor, I get this error:image.png?ex=674d55ff&is=674c047f&hm=7783d18645ef4da0e0433d8d4587a03a8e893814f51e28d45cb184c7ac1404d4&

After this, I went ahead and hex edited the grf so the header would be Master of Magic and added a 00 padding for the 16 byte file size, since not doing so gave an error about how it was looking for "Master of Magic" and found "Master of Magic", this is the padded error fix:

4D 61 73 74 65 72 20 6F 66 20 4D 61 67 69 63 00

After doing this, the error disappeared from GRF Editor and where it said "errors were detected" it just says "finished" as it should, however, the data.grf still doesn't display directory folders on the left panel where it should, so now I have no error to work with and don't understand what's wrong. What can I do now?

Hmm, is that even a GRF...? You'd have to show me the first ~50 bytes of the GRF (or upload the GRF somewhere) to have a look. If you have to manually change the header, something's definitely not right here. The magic header is always Master of Magic.

(Also, that color theme is quite broken. That's not how it's supposed to look at all.)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  12/01/24
  • Last Seen:  

7 hours ago, Tokei said:

Hmm, is that even a GRF...? You'd have to show me the first ~50 bytes of the GRF (or upload the GRF somewhere) to have a look. If you have to manually change the header, something's definitely not right here. The magic header is always Master of Magic.

(Also, that color theme is quite broken. That's not how it's supposed to look at all.)

Hello, thank you so much for your response!

The color theme is just because I'm using high contrast color mode in Windows, as it's easier on my eyes, it doesn't affect functionality of programs(I tested with and without high contrast mode).

 

Here's the server's data.grf and also a screenshot of the bytes that you requested:
https://mega.nz/file/trEnDY6A#bHk_e81spoMmyfE3UYs-XBDWP8iOL3V7yNmdQ5zQBtg
 

image.png?ex=674e461b&is=674cf49b&hm=beb55f8f5ac74c1d03e4d4dee132cf44a3d4ca48fe1d0e9f35a51ea280af412e&=

 

In order to make the GRF Editor error go away, you simply have to replace the first 16 bytes with:
4D 61 73 74 65 72 20 6F 66 20 4D 61 67 69 63 00
But after having the error go away and GRF Editor still being unable to display the folder directory within, I'm stumped.

GRF Editor is not detecting any encryption, and I highly doubt that it's corrupted, as it works just fine on the server it's from.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.01
  • Content Count:  3
  • Reputation:   0
  • Joined:  12/02/24
  • Last Seen:  

hi @Tokei can i add u on discord? we'r looking for some novaro file and do some test for fun if u can help 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.01
  • Content Count:  3
  • Reputation:   0
  • Joined:  12/02/24
  • Last Seen:  

hi @Tokei can i add u on discord? we'r looking for some novaro file and do some test for fun if u can help 

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   22
  • Joined:  07/05/18
  • Last Seen:  

On 12/1/2024 at 1:47 PM, Tokei said:

Hmm, is that even a GRF...? You'd have to show me the first ~50 bytes of the GRF (or upload the GRF somewhere) to have a look. If you have to manually change the header, something's definitely not right here. The magic header is always Master of Magic.

(Also, that color theme is quite broken. That's not how it's supposed to look at all.)

Hey man ~!
Thank you for your work as always 💠

When i try to open large .lub files using grf editor, like equipmentproperties.lub (7mb) grf editor just closes (crash i think).
I'm wondering if it's related to that file size or something else, but yeah.

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  06/13/15
  • Last Seen:  

Hello, I would like to share some info regarding JRO data.grf
Apparently they're changing something about the Header so right now GRF editor could not open it.
Here is the screenshoot:
PsKipBj.png

It happens after patching up beyond 08-2024 until 12-2024.

Thank you.

Edited by netorare
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.01
  • Content Count:  5
  • Reputation:   5
  • Joined:  11/17/24
  • Last Seen:  

hi there, whenever i try saving my GRFs as is, it's triggering this error for me - any reason why?

image.png.62bcc86cff428bf9bb3eb0f8a4cbb52e.png

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  937
  • Reputation:   124
  • Joined:  05/23/12
  • Last Seen:  

Try to run as admin and set priority to high with the task manager. Sometimes it works.

The error says some different.

How big is ur grf, which Windows ur using, ram, CPU?

 

Rynbef~

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...