Jump to content

FileArchiver


Recommended Posts

  • Former Staff

There is a Problem with the ApplyType0 when its be 8 and the ApplyValue0 is - it creates the number like: 4294967281

in my own converter for sql i do this:

switch (rApplyValue0) {   						 case "4294967281":       						 rApplyValue0 = "-15";       						 break;   						 case "4294967282":       						 rApplyValue0 = "-14";       						 break;   						 case "4294967283":       						 rApplyValue0 = "-13";       						 break;   						 case "4294967284":       						 rApplyValue0 = "-12";       						 break;   						 case "4294967285":       						 rApplyValue0 = "-11";       						 break;   						 case "4294967286":       						 rApplyValue0 = "-10";       						 break;   						 case "4294967287":       						 rApplyValue0 = "-9";       						 break;   						 case "4294967288":       						 rApplyValue0 = "-8";       						 break;   						 case "4294967289":       						 rApplyValue0 = "-7";       						 break;   						 case "4294967290":       						 rApplyValue0 = "-6";       						 break;   						 case "4294967291":       						 rApplyValue0 = "-5";       						 break;   						 case "4294967292":       						 rApplyValue0 = "-4";       						 break;   						 case "4294967293":       						 rApplyValue0 = "-3";       						 break;   						 case "4294967294":       						 rApplyValue0 = "-2";       						 break;   						 case "4294967295":       						 rApplyValue0 = "-1";       						 break;					    }
Maybe someone can fix this

Sounds crazy but that values will still work ;)

Link to comment
Share on other sites

  • Premium

There is a Problem with the ApplyType0 when its be 8 and the ApplyValue0 is - it creates the number like: 4294967281

 

in my own converter for sql i do this:

                        switch (rApplyValue0) {
                            case "4294967281":
                                rApplyValue0 = "-15";
                                break;
                            case "4294967282":
                                rApplyValue0 = "-14";
                                break;
                            case "4294967283":
                                rApplyValue0 = "-13";
                                break;
                            case "4294967284":
                                rApplyValue0 = "-12";
                                break;
                            case "4294967285":
                                rApplyValue0 = "-11";
                                break;
                            case "4294967286":
                                rApplyValue0 = "-10";
                                break;
                            case "4294967287":
                                rApplyValue0 = "-9";
                                break;
                            case "4294967288":
                                rApplyValue0 = "-8";
                                break;
                            case "4294967289":
                                rApplyValue0 = "-7";
                                break;
                            case "4294967290":
                                rApplyValue0 = "-6";
                                break;
                            case "4294967291":
                                rApplyValue0 = "-5";
                                break;
                            case "4294967292":
                                rApplyValue0 = "-4";
                                break;
                            case "4294967293":
                                rApplyValue0 = "-3";
                                break;
                            case "4294967294":
                                rApplyValue0 = "-2";
                                break;
                            case "4294967295":
                                rApplyValue0 = "-1";
                                break;
                        }

Maybe someone can fix this

4294967295 = 2^32 -1 = Max value for a 4bit long-integral number without overflowing.

 

-4294967296 --> 4294967295

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • Premium

Hello,

 

Tim found time to update the FileArchiver_Proto to fix the problem with the shinings when converting protos. The new version of FileArchiver_Proto.exe is now included in the package downloadable from the original post.

 

Please note this is the last version of the tool that will be released to the public.

 

Thanks for your feedback.

 

 

  • Love 2
Link to comment
Share on other sites

Shogun 1 question

 

When i compile with Iv, automatic create iv, but if i click uncompile ( the archive compiled with iv ) compile normal and i can see the archives:

 

 

My xml to uncompile:

<ScriptFile>
<ExtractEterPack ArchivePath='root' ivPath='iv/root.iv' OutputPath='root_descompilado/' />
</ScriptFile>

My xml to compile:

<ScriptFile Version='3'>
	<CreateEterPack ArchivePath='root' IvPath='iv/root'>
		<File ArchivedPath='assassin_m.msm' Type='3'><![CDATA[root_descompilado//assassin_m.msm]]></File>
		<File ArchivedPath='assassin_w.msm' Type='3'><![CDATA[root_descompilado//assassin_w.msm]]></File>
		<File ArchivedPath='atlasinfo.txt' Type='3'><![CDATA[root_descompilado//atlasinfo.txt]]></File>
		<File ArchivedPath='barra_abajo.tga' Type='3'><![CDATA[root_descompilado//barra_abajo.tga]]></File>
		<File ArchivedPath='barra_arriba.tga' Type='3'><![CDATA[root_descompilado//barra_arriba.tga]]></File>
	

when i click uncompile and folder Iv/ not exist, the archive decompile fine.

 

Srry my english.

 

Here with metin2dev archiver:

 

And when uncompile with iv folder and iv file

 

0450b-526c311b-dcdd-40e5-ac01-873eaf68b1

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

When i unpack item_proto where the archiver found letter a it change it in ? the problem is if near letter à there is a turns everything into a ?

 

For expample :

Normally :        LocalizedName="Lillà" Type="5"
After archiver :  LocalizedName="Lill? Type="5"

It's a problem

 

And for Mob_proto, Skill_level and Skill_vnum all = 0

 

sorry for bad English

Link to comment
Share on other sites

  • 3 weeks later...

hello :)

 

Well now I have a big care Encryption with File Archiver when I try to encrypt the root pack the client not start: (

 

The files have Type 1, 2, 3, 4 or RAW, LZO, XTEA | LZO, PANAMA

 

It changes nothing

 

Can someone help me :)

 

 

Edit Up

 

Anyone has a solution? 
FileArchiver.exe works very well with all other update the root package.
 
Its either as its

<CreateEterPackXml Input="root" ArchivePath="../Live/pack/root" XmlPath="xml/root_create.xml">
<Add Wildcard="*.py" Type="RAW" />
<Add Wildcard="*.txt" Type="RAW" />
<Add Wildcard="*.msm" Type="RAW" />
<Ignore Wildcard="*.xml" />
</CreateEterPackXml>

 
or as its

<CreateEterPackXml Input="root" ArchivePath="../Live/pack/root" XmlPath="xml/root_create.xml">
<Add Wildcard="*.py" Type="0" />
<Add Wildcard="*.txt" Type="0" />
<Add Wildcard="*.msm" Type="0" />
<Ignore Wildcard="*.xml" />
</CreateEterPackXml>

 

Encrypting the root does not work

Link to comment
Share on other sites

  • 1 month later...
  • Premium

How can I set-up .dat serverside files?

 

Make a new folder on server-side called package in the auth and put the generated *.dat files to the folder.

 

What LZO is in that tool?

The default: B9 9E B0 02 6F 69 81 05 63 98 9B 28 79 18 1A 00

 

792fe51897.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.