Jump to content

GRF: GRF Editor


Tokei

Recommended Posts


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

3 hours ago, Radian said:

Hey @Tokei how are you doing?

Im just having issues with encrypted files atm while using a 2018-06-20eRagexeRE client date exe

What im getting is queryRegionInfo or the client cant read when its encrypted i tried running it without encryption and its working fine.

I made new GRF's change the cpp.dll name into something else, create new patch of client and still not working. Any idea what mistake i made on encrypting it?

Newer clients reference cps.dll twice; so keep the name to cps.dll instead of changing it to cpp.dll.

  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

4 hours ago, Tokei said:

Newer clients reference cps.dll twice; so keep the name to cps.dll instead of changing it to cpp.dll.

Thank you for the response, I will try this one and see if it will work.

Edit: Its working now, thank you @Tokei its normal when i encrypt the client it wont produce a new client right just the .dll file?

Edited by Radian
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  03/14/21
  • Last Seen:  

Appreciate the work ,Thanks Tokei & Haziel
 

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  177
  • Reputation:   25
  • Joined:  12/24/14
  • Last Seen:  

hello, I need support

I got error when I try to open my ragnarok with encrypted grf

---------------------------
GRF Encryption - File not found
---------------------------
The client executable is invalid. Encryption feature will be disabled.

Error code : 0x02.
---------------------------
OK   
---------------------------

I play at pc (OS : Win 7 )  normal then I change to my laptop (OS: Win 10) become error

Thank you before

EDITED : already fix, personal issue

Edited by mR L
Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  355
  • Reputation:   34
  • Joined:  02/09/12
  • Last Seen:  

On 3/26/2021 at 4:53 PM, Tokei said:

...

Mind making a feature for exporting sprites as SpriteSheets? and also importing them back? (the importing back should have the same coords for cuts but make it so you can tell if the sprite sheet was expanded or reduced in size when importing)

 

Would something like that be possible? Just so we can work in sprite sheets instead of editing frame by frame

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:  06/11/21
  • Last Seen:  

Hello, after installation and launch, it writes this error.

34798016.png

 

Win 10 pro

.net 4.8 (last)


Please help anyone ?


This program used to work fine

@Tokei

Edited by Gradusnick
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   4
  • Joined:  04/18/12
  • Last Seen:  

why is still objets there? : (

Captura.PNG

Captura2.PNG

Link to comment
Share on other sites


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

Heya,

You would have to share the map files you're trying to modify as there should be no issues with the settings you've picked.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   4
  • Joined:  04/18/12
  • Last Seen:  

It's arug_cas02 from BG conquest. The normal version (woe) work fine, but in bg I can't even walk.

 

 

flatmapbg.rar

Edited by Last
Link to comment
Share on other sites


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

3 hours ago, Last said:

It's arug_cas02 from BG conquest. The normal version (woe) work fine, but in bg I can't even walk.

 

 

flatmapbg.rar 74.91 kB · 0 downloads

I loaded the maps you provided and there are no objects. So nothing to do with GRF Editor, but an issue with your local files or your client.

Edited by Tokei
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   7
  • Joined:  06/06/12
  • Last Seen:  

Hi @Tokei, i was playing with the grf editor cli and i didn't found a way to encrypt a grf via command line, is it possible? Thanks

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  134
  • Reputation:   115
  • Joined:  10/20/17
  • Last Seen:  

Hii Tokei!
I found a bug, or rather, a client of mine did! ^^
It turns out a map that they acquired from me had a missing bmp file.
To test again, I added the custom map to my data.grf where the files are located, and saved.
Then I extracted all of the files from the map with "Export...".
But it happened again, specifically ilus_s_124.bmp isn't being extracted.
The texture belongs to a rsm file that was previously converted from rsm2. (I don't know if it's related to the bug though)
Please take a look, thank you!

Edit: If you Export the files from the rsm itself, it works. It only doesn't work if you extract them from the map.
image.png.71dbb2dfd84bdd943e033eb4962a066a.png

Edited by Mina-chan
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  12/14/18
  • Last Seen:  

Hello, in Flatmap maker, is it possible to let walkable tiles on objects stay at its original height levels?

In the first pic belows you can see that the walkable tiles for the boat drop to the bottom of the map when made into a flatmap.

This might be a weird question but I really need a way to achieve this for my own project.

GRF-Editor-g-LIV7k-Qqdl.pngGRF-Editor-JTPsg-SAt-Ix.png

Link to comment
Share on other sites


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

9 hours ago, ocarinas said:

Hello, in Flatmap maker, is it possible to let walkable tiles on objects stay at its original height levels?

In the first pic belows you can see that the walkable tiles for the boat drop to the bottom of the map when made into a flatmap.

This might be a weird question but I really need a way to achieve this for my own project.

GRF-Editor-g-LIV7k-Qqdl.pngGRF-Editor-JTPsg-SAt-Ix.png

Hmm, you could just replace the gat files with the original ones. That should achieve the results you're looking for.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  06/20/20
  • Last Seen:  

Please help, why context menu doesn't work/show even when i enable it in Setting?

Im using Windows 10 Pro 21H1 64bit Operating System image.thumb.png.8ce13989f99b1d3d50be1d6ddb81cbe9.png

 

UPDATE: I did manage to add Context Menu, now it show this error when i try to compress a folder to .grfimage.png.b6e25e9ae8fd34324248b008d2447694.png

Edited by pazaway12
Update
Link to comment
Share on other sites


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

1 hour ago, pazaway12 said:

Please help, why context menu doesn't work/show even when i enable it in Setting?

Im using Windows 10 Pro 21H1 64bit Operating System image.thumb.png.8ce13989f99b1d3d50be1d6ddb81cbe9.png

 

UPDATE: I did manage to add Context Menu, now it show this error when i try to compress a folder to .grfimage.png.b6e25e9ae8fd34324248b008d2447694.png

Try to run as administrator

 

Greetings,

Rynbef~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  06/20/20
  • Last Seen:  

Tried running it as Administrator still same error.

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   1
  • Joined:  05/11/19
  • Last Seen:  

excuse me, could i ask something like drag and drop problems?

i downloaded the latest version of grf editor today

and with Parallels 17 i have a problem like cannot drag and drop the sprite into the data

normally, in windows, the new files which be placed in grf editor will have blue hightlight and update the sprite immediately

but it didn't have any changes like that

plz, help me TT sorry for interrupting 

i tried to enable drag and drop but it didn't worked.

 

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  88
  • Reputation:   11
  • Joined:  07/25/12
  • Last Seen:  

hello i'm update to new version and have this problem, how to fix it

erro_grf_editor.png

  • Upvote 1
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:  01/06/22
  • Last Seen:  

hello when I save data.grf file even without edit anything data.grf file size is change and when open RO it closed immediately and when I validate content it got error 

when install grf editor what is other program needed to support grf editor?

error.PNG

Link to comment
Share on other sites


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

On 1/8/2022 at 9:34 AM, oil753951 said:

hello when I save data.grf file even without edit anything data.grf file size is change and when open RO it closed immediately and when I validate content it got error 

when install grf editor what is other program needed to support grf editor?

Your error is too vague, it's impossible to know the issue from it. As for the size, it changes because it removes unused space from the file.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  09/20/21
  • Last Seen:  

Hello. I'm new to this. Thanks for your work.

I am trying to add some custom sprites to my .grf but everytime I save I am getting the error "There is not enough space on the disk". 

 

Spoiler

--------------          Message          --------------
Couldn't save the container file.
--------------        Stack trace        --------------
   at GrfToWpfBridge.Application.DefaultErrorHandler._reportAnyManagedExceptions(String message, Exception exception, ErrorLevel errorLevel)
   at GrfToWpfBridge.Application.DefaultErrorHandler.Handle(Exception exception, ErrorLevel errorLevel)
   at GRF.Core.Container._internalSave(String fileName, Container mergeGrf, SavingMode mode)
   at GRF.Core.Container._save(String fileName, Container mergeGrf, SavingMode mode)
   at GRF.Core.Container.Save(String fileName, Container mergeGrf, SavingMode mode, SyncMode syncMode)
   at GRF.Core.GrfWriter.WriteDataQuick(Container grf, Stream originalStream, Container grfAdd)
   at GRF.Core.Container._internalSave(String fileName, Container mergeGrf, SavingMode mode)
   at GRF.Core.Container._save(String fileName, Container mergeGrf, SavingMode mode)
   at GRF.Core.Container.Save(String fileName, Container mergeGrf, SavingMode mode, SyncMode syncMode)
   at GRF.Core.GrfHolder.QuickSave()
   at GRFEditor.EditorMainWindow.<_menuItemSave_Click>b__1()
   at GRF.Threading.GrfThread.<>c__DisplayClass4.<Start>b__3()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

--------------         Exception         --------------
System.Exception: Couldn't save the container file. ---> System.IO.IOException: There is not enough space on the disk.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.SetLengthCore(Int64 value)
   at System.IO.FileStream.SetLength(Int64 value)
   at GRF.Core.Container._internalSave(String fileName, Container mergeGrf, SavingMode mode)
   --- End of inner exception stack trace ---
--------------          Message          --------------
There is not enough space on the disk.

--------------      Inner exception      --------------
System.IO.IOException: There is not enough space on the disk.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.SetLengthCore(Int64 value)
   at System.IO.FileStream.SetLength(Int64 value)
   at GRF.Core.Container._internalSave(String fileName, Container mergeGrf, SavingMode mode)
 

 

Link to comment
Share on other sites


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

On 1/20/2022 at 9:23 PM, skyeang3l said:

Hello. I'm new to this. Thanks for your work.

I am trying to add some custom sprites to my .grf but everytime I save I am getting the error "There is not enough space on the disk". 

You need more space on your Windows partition drive (normally C) as it writes temporary files in "%appdata%/GRF Editor".

It can require to write the entire file to the temporary folder (and then move it to your actual desired location) if GRF Editor "defragments" your GRF while saving.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   2
  • Joined:  02/05/13
  • Last Seen:  

On 12/24/2021 at 10:40 AM, Bruno Nogueira said:

hello i'm update to new version and have this problem, how to fix it

erro_grf_editor.png

Apologies for bumping the thread, 

First of all, thank you for taking the time to read my message.

I also have similar issue.

May I ask what I should do to fix this?

Here are the things I did:
1. Download GRF Editor via rAthena
2. Install the latest GRF Editor (newest as of this date)

3. No other DLLs in the GRF Editor folder
4. Currently have .NET framework 4 (higher version, because when I tried downloading this, it told me that the .NET version is higher already)
5. Run GRF Editor

Note: I have used this software successfully before around 2020 but when I tried again today, on the same laptop, it starts not working anymore and showing up this error.

Exact error that shows up for me:
image.png.d0a58e291316c7eb221f7e3acfdda258.png

Edited by healthydude
added information
Link to comment
Share on other sites


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

On 1/23/2022 at 3:15 PM, healthydude said:

Apologies for bumping the thread, 

First of all, thank you for taking the time to read my message.

I also have similar issue.

May I ask what I should do to fix this?

Here are the things I did:
1. Download GRF Editor via rAthena
2. Install the latest GRF Editor (newest as of this date)

3. No other DLLs in the GRF Editor folder
4. Currently have .NET framework 4 (higher version, because when I tried downloading this, it told me that the .NET version is higher already)
5. Run GRF Editor

Note: I have used this software successfully before around 2020 but when I tried again today, on the same laptop, it starts not working anymore and showing up this error.

Exact error that shows up for me:

Hmmm, not entirely sure about the issue. This part though:

Quote

1. Download GRF Editor via rAthena
2. Install the latest GRF Editor (newest as of this date)

is confusing to me. The version on rAthena is not updated; the latest version available is "GRF Editor v1.8.4.1" and can be found on the mediafire link given on the download page ( https://www.mediafire.com/file/aflylbhblrzpz0h ). But it seems you have mismatching DLL files...? You could try moving the executable (GRF Editor.exe) to its own empty folder. The error itself is quite vague though. GRF Editor is compiled with .NET 3.5 (Client Profile), so you could try installing 3.5 alongside as well. 4.0 should work, but it's hard to tell with Windows's shenanigans sometimes. Can't really help you more though, it seems to be working fine for most people as far as I know, so the issue seems very specific to your Windows configuration.

  • Upvote 1
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...