Register for your free account! | Forgot your password?

You last visited: Today at 19:19

  • Please register to post and access all features, it's quick, easy and FREE!

 

Editing dat files

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2005
Posts: 615
Received Thanks: 48
hey all just got bak from my holiday..anyway i was wondering if any1 knows a proggy that can read and edited dat files *monster.dat* i wanna change zoom size of sum stuff

i always thought it was in the ini..but that did nothing wen i changed zoom size..



Saxasolt is offline  
Old   #2
 
elite*gold: 0
Join Date: Mar 2005
Posts: 1,272
Received Thanks: 1,308
i am working on a structure for the monster.dat then i will release an editor for your needs


Ultimation is offline  
Old   #3
 
elite*gold: 0
Join Date: Aug 2005
Posts: 615
Received Thanks: 48
Quote:
Originally posted by ultimatehaker@Sep 20 2005, 13:05
i am working on a structure for the monster.dat then i will release an editor for your needs
wahaha kool..but im jus curios if ther is a certain program that can read it?
Saxasolt is offline  
Old   #4
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 379
DWORD MonsterAmount //first 4 bytes of file
offset=4 //first record starts at 4th byte
struct {
DWORD namelen
CHAR name[namelen]
DWORD sizeadd
DWORD zoompercent
DWORD maxlife
DWORD level
}


unknownone is offline  
Old   #5
 
elite*gold: 0
Join Date: Apr 2005
Posts: 969
Received Thanks: 17
Yes, a Hex editor

I suggest Hex Workshop
Hojo is offline  
Old   #6
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 379
I got bored and made a little editor.
It automatically make a backup of the file, including time, each time you run the program.
Attached Files
File Type: ibf post-53-1127236687.ibf (7.7 KB, 63 views)
unknownone is offline  
Old   #7
 
elite*gold: 0
Join Date: Aug 2005
Posts: 615
Received Thanks: 48
Quote:
Originally posted by unknownone@Sep 20 2005, 19:18
I got bored and made a little editor.
It automatically make a backup of the file, including time, each time you run the program.
wow thats nice..karma for u itd b alot better if u added a find function..then it deserves a sticky(and a guide for the nubs )

EDIT: oo i got it...press letters for corresponding monster
Saxasolt is offline  
Old   #8
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 379
I can add a find easily if you need it, theres only 331 things to go through though, i dont think its neccesary.
I made it in VB, PM me if you want the source.
I dont think it needs a sticky, doesnt really do much. I have an ItemType.dat editor of randomness and some other .dats. Might make an all-in-one .dat reader if i get some spare time.
unknownone is offline  
Old   #9
 
elite*gold: 0
Join Date: Aug 2005
Posts: 615
Received Thanks: 48
Quote:
Originally posted by unknownone@Sep 21 2005, 00:53
I dont think it needs a sticky, doesnt really do much. I have an ItemType.dat editor of randomness and some other .dats. Might make an all-in-one .dat reader if i get some spare time.
well i think its very useful, zoom size helps SO much for SO many things. eg. shrinking monsters down for easier travel as archer so u dont click on em and start shooting..then get pwned :cry:
Saxasolt is offline  
Old   #10
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 379
Yeh, but nothing that cant be done in a hex editor in a short time. This just make it a slight bit simpler. Has its drawbacks: spamming the ini folder with backups each time you use it.
unknownone is offline  
Old   #11
 
elite*gold: 0
Join Date: Sep 2005
Posts: 98
Received Thanks: 1
Itemtype editor would be very helpful to us, as well as any other .dat editors you may have.

+1 karma, very useful monster editor.
Virtue is offline  
Old   #12
 
elite*gold: 0
Join Date: Aug 2005
Posts: 615
Received Thanks: 48
Quote:
Originally posted by unknownone@Sep 21 2005, 01:49
Yeh, but nothing that cant be done in a hex editor in a short time. This just make it a slight bit simpler. Has its drawbacks: spamming the ini folder with backups each time you use it.
lol its much quicker than downloading a hex editor etc..and no that isnt a drawback..it replaces the old old one with the old one..if its on the same day.. ...thats kinda a downside too...but im sure i can turn my pheasants off 400 zoom size anytime i want..anytime now..anytime
Saxasolt is offline  
Old   #13
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 379
Ok, i'll try finish off the item editor and others asap.
I still have quite a large number of unknowns in the structure of the item file, if you have an idea what any are for, please let me know.

Quote:

struct {
ULONG identifier
CHAR itemname[16]
BYTE professionreq
BYTE proficencyreq
USHORT levelreq
USHORT strengthreq
USHORT dexreq
USHORT staminareq '//always zero :S
USHORT manareq '//also zero always
USHORT UNKNOWN1 '//non-zero on many quest items.
USHORT UNKNOWN2 '//Zero on all but SurrenderLt
ULONG price
BYTE UNKNOWN[4] '//non-zero on scrolls/skillbooks etc.
USHORT maxattack
USHORT minattack
USHORT defense
USHORT dex
USHORT dodge
USHORT health
USHORT mana
USHORT UNKNOWN3 '//UNKNOWN 3 and 4 always same value. changes for nearly all item names
USHORT UNKNOWN4 '//same number for items of same name. Maybe somethign to do with the item mesh :S
ULONG UNKNOWN5 '//non-zero on all arrows
USHORT UNKNOWN6 '//non zero on crafstone(s), goldbullion, redpacket, some chinese name iems.

USHORT magicattack
USHORT magicdefense
USHORT UNKNOWN5 '//1 for all non weapons + 1 handers, 2 for 2 handers, 10-25 for bows? Range methinks.:S
USHORT frequency '// frequency * 0.064 = displayed frequency
CHAR description[128]
}


//oh, and also the first 41,600 bytes of the file. I've not looked into what the hell all that is for.

//Missing values:
Weight: Equipments have a value for weight, as ive seen on some glitched items.
texture: The location of the .dds files for the item on ground and in inventory
maxdura
Added amounts for composition

unknownone is offline  
Old   #14
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 379
bump ^. Updated structure a bit
unknownone is offline  
Old   #15
 
elite*gold: 0
Join Date: Aug 2005
Posts: 615
Received Thanks: 48
wow looking at the monster.dat alot carefully..its a really good resource for checking wat u CAN lvl at and iv noticed how many things i havent seen like bluedove and smartmonker and silver hawk..lol


Saxasolt is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Editing RDU Files
Does anyone know how I can edit RDU files? ^^~;
0 Replies - Rappelz
editing csv files
I downloaded once from this site a csv editor. I can't find him back. Someone have a link to it ?
4 Replies - Dekaron
Editing .DDS files
Requirments: Adobe Photoshop(Dont have Adobe? PM me for Link ^_^) .DDS Plugin For Adobe Photoshop(Get Here --- Assuming you have all these files...
10 Replies - CO2 Weapon, Armor, Effects & Interface edits



All times are GMT +2. The time now is 19:19.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.