Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

GFXFileManager-0.0.1

Newbie Spellweaver
Joined
Oct 22, 2008
Messages
75
Reaction score
143
First and foremost, this is a "programmers' project". I really hope it works out, but there is always a chance it will crash and burn. In itself, it won't be terribly useful for most people who do not do any type of development. With that said though, it is still (somewhat) non-programmer friendly (i.e., PK2 modders can make use of this).

The purpose of this project is to further expand the customization of Silkroad. This release is a base project that hopefully will be used as the foundation for many more to expand the way files are handled in Silkroad.

This project is a custom implementation of "GFXFileManager.dll", the Silkroad file responsible for loading assets in the client. This specific implementation is coded to load files from your hard drive rather than the PK2s. This means you can easily modify and swap out Silkroad's files without having to use any tools.

I've tested this on the latest ISRO version as well as a 1.188 VSRO private server and it worked without any issues. I would think that it will work on most modern Silkroad versions, but only through testing will we know for sure.

readme
GFXFileManager
pushedx

This is an experimental GFXFileManager replacement DLL to enable loading files
from disk rather than from PK2s. It contains only the minimal amount of code
to allow reading and writing files. For more information, consult the source code.

1. Backup your entire Silkroad directory to another location in case anything
goes wrong or it does not work for you.

2. Using a PK2 extractor, extract all of your client's PK2 files into
folders with the name of the PK2. For example, "data.pk2" should be
extracted to "data". "Media.pk2" should be extracted to "media", and
so on. Do not delete the PK2s!

3. (Optional) If you wish to save space, copy over the provided empty
PK2s to overwrite your old PK2s. "Silkroad.exe" requires files with
the PK2 names for patching, so that is why files with the same name are
still needed (the contents of the files do not matter though).

4. Copy "GFXFileManager.dll" into your Silkroad directory, overwriting the
previous version.

5. Start Silkroad through the launcher or a loader. If all goes well, you should
be able to get in game without any errors. NOTE: Since files are now loaded
from your hard disk, there might be small delays the first time they are loaded
as they are cached by the operating system.

6. (Optional) Use the provided "svt_gen" program to change the Silkroad version to
force a patch. You should be able to patch normally without any issues. See
"bin\svt_gen\readme.txt" for more information.

Discussion Thread: http://forum.ragezone.com/f475/help-decide-future-pk2s-854514/

Progress Videos:

Download: Attached ( )

Support:
I will be providing limited support in attempts to identify and fix any bugs that might come up. If you get any message boxes when using this, please tell me the text of the message box as well as approximately what was going on at the time you got it. Crashes are really hard to identify, so if I can't replicate it, there won't be much I can do for you. It is possible to make a debug version that logs more information in the event of crashes, but that will be focused on later, depending on how many crashes there are. So far, I've not had a single crash myself.

I strongly suggest you use my "PK2Tools 5-in-1 Bundle" for PK2 extraction. The most common cause of crashes will be missing files (since the client assumes some will never be missing), so you need to use a reliable PK2 extractor to make sure you get all of the PK2 files extracted in the first place.

Finally, any loaders that use PK2 files won't work without modifications (i.e., all of mine). Since you no longer have any PK2 files, there is nothing for the loader to use to get the connection information. These loaders must be modified to load the files from hard drive instead of PK2s. I have no plans on updating any of mine at this time.
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
Oct 9, 2007
Messages
151
Reaction score
15
Just an educational question: did u just change the exiating gfx using hex/asm or u made a new1?

P.s1: this is bloody sweet cant wait to get home and take abetter look at this.
P.s2: i wanna like this but cant since im on my mobile phone and the link button does not appear, anyway, LIKE!!
 
Newbie Spellweaver
Joined
May 28, 2012
Messages
70
Reaction score
8
good job but that's bad for server owners who dont want anyone to know what's they updating .etc
 
Last edited:
Master Summoner
Joined
Nov 18, 2011
Messages
529
Reaction score
345
works good... but how i can start by loader?
Finally, any loaders that use PK2 files won't work without modifications (i.e., all of mine). Since you no longer have any PK2 files, there is nothing for the loader to use to get the connection information. These loaders must be modified to load the files from hard drive instead of PK2s. I have no plans on updating any of mine at this time.
hmm...
btw thanks !
 
Last edited:
Experienced Elementalist
Joined
Nov 22, 2011
Messages
255
Reaction score
111
works great .. i test by loader but i notice a delay (freeze) 5 to 7 seconds while loading after selecting character and press start

anyone else notice that ?!

thank you really for this :)

@statiic

after extracting media.pk2 to media folder don't remove or replace it..

game will load from media folder while loader can load from media.pk2 :)

tested here...
 
Master Summoner
Joined
Nov 18, 2011
Messages
529
Reaction score
345
yea i know but the idea is load files from "media" if i use loader will load files from media.pk2 ^^
 
Experienced Elementalist
Joined
Nov 22, 2011
Messages
255
Reaction score
111
yea i know but the idea is load files from "media" if i use loader will load files from media.pk2 ^^

leave your media.pk2 file >> loader will load from it >> edit anything in your media folder

you will see the edit inside the game >>> that means loader only needs media.pk2 to start the game

while the game from inside loading everything from media folder

test that yourself and tell me what you find :)
 
Newbie Spellweaver
Joined
Oct 22, 2008
Messages
75
Reaction score
143
Thanks for the feedback so far, it's good to hear it's working as intended!

good job but that's bad for server owners who dont want anyone to know what's they updating .etc

This can actually help them in the long run, if they have the resources to implement custom versions of it. Right now, it doesn't change anything for anyone using the default setup. Here's why.

Right now, anyone who uses the PK2 format can have files extracted or modified using my PK2 tools or the official tools. There is only so much you can change to make it a little different, but people always end up figuring it out.

Anyone who uses the Download server can have their files easily downloaded individually (once again, due to projects i've released). It wasn't reposted on this forum, but if you search for "SilkroadPatchUtilites - DownloadServer Tools", you'll find an older project of mine that can be easily adapted to any private server that uses a DownloadServer.

All you need is the GatewayServer ip, port, locale (content id), and the version. Using that information alone, you can easily download each set of file updates.

This means, since the time of that project release, July 06 2010, it has always been possible for anyone to download each set of patch files for any Silkroad version that uses a DownloadServer.

Or in other words, people always have had the ability to figure out what servers updated. I'm guessing most people just might not have known about the project though.
 
Experienced Elementalist
Joined
Aug 13, 2010
Messages
248
Reaction score
108
Okey thats cool :) it works fine for me how ever idk why it lages the client [ original one run's without any lags ] thank you it will help me much :)

Thanks for the feedback so far, it's good to hear it's working as intended!



This can actually help them in the long run, if they have the resources to implement custom versions of it. Right now, it doesn't change anything for anyone using the default setup. Here's why.

Right now, anyone who uses the PK2 format can have files extracted or modified using my PK2 tools or the official tools. There is only so much you can change to make it a little different, but people always end up figuring it out.

Anyone who uses the Download server can have their files easily downloaded individually (once again, due to projects i've released). It wasn't reposted on this forum, but if you search for "SilkroadPatchUtilites - DownloadServer Tools", you'll find an older project of mine that can be easily adapted to any private server that uses a DownloadServer.

All you need is the GatewayServer ip, port, locale (content id), and the version. Using that information alone, you can easily download each set of file updates.

This means, since the time of that project release, July 06 2010, it has always been possible for anyone to download each set of patch files for any Silkroad version that uses a DownloadServer.

Or in other words, people always have had the ability to figure out what servers updated. I'm guessing most people just might not have known about the project though.

including ISRO its awesome if its right !
 
Newbie Spellweaver
Joined
Mar 24, 2012
Messages
9
Reaction score
0
Thank you thank you thank you

is extremely cool, now there are also times faster bugs;)
 
Back
Top