Azu Posted August 28, 2006 Posted August 28, 2006 I have autoit reading plain text files just how I want now (thanks to all the help in this forum) but now I have a new question!I need it to be able to read .dat files, but I can't find anything in the .dat file except gibberish such as~ ,NÅ¿Æ s$Compared to the none gibberish .txt filedesktopHeight=1024desktopPrimary=0desktopSetup=1desktopWidth=1280Can you please tell me if there any way for autoit to decipher the .dat file so it can use it just like it can use the txt file?I'd really appreciate it
randallc Posted August 29, 2006 Posted August 29, 2006 Hi, i am sure AutoIt can read this the same way any other scripting language can do; please post your script in a language which DOES read it [it would be encrypted in a certain way depending on the data?]; then it can be converted! best, randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW
Azu Posted August 29, 2006 Author Posted August 29, 2006 I don't know what language I have to use to make it read .dat files I thought autoit could do it.. :S
Moderators SmOke_N Posted August 29, 2006 Moderators Posted August 29, 2006 I don't know what language I have to use to make it read .dat filesI thought autoit could do it.. :SAs he said... AutoIt can... but it isn't just *poof*, you actually have to program an interpreter. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Azu Posted August 29, 2006 Author Posted August 29, 2006 As he said... AutoIt can... but it isn't just *poof*, you actually have to program an interpreter.Cool! I have no idea how to make an interpreter thingy though. Where should I start? I couldn't find anything in the help file that made it clear to me.Where should I look for info on how to make one?
Azu Posted August 30, 2006 Author Posted August 30, 2006 I wouldn't be asking here if I didn't already search for it and fail to find what I'm looking for. Unlike most people =/
rmarino Posted August 30, 2006 Posted August 30, 2006 You can try reading the file into an array. Then loop through it. I agree with the others here....... you should start searching and reading so you become better with scripting. #include <file.au3> dim $readfile, $x _FileReadToArray("c:\file\to\read.dat",$readfile) For $x = 1 to $readfile[0] msgbox(0,"test", $readfile[$x]) Next
spyrorocks Posted August 30, 2006 Posted August 30, 2006 (edited) He knows how to read the file, my friend (x). He just needs to decipher it to make some sense out of the .dat file. Edited August 30, 2006 by Larry [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center]
Azu Posted August 30, 2006 Author Posted August 30, 2006 You can try reading the file into an array. Then loop through it. I agree with the others here....... you should start searching and reading so you become better with scripting. #include <file.au3> dim $readfile, $x _FileReadToArray("c:\file\to\read.dat",$readfile) For $x = 1 to $readfile[0] msgbox(0,"test", $readfile[$x]) NextThanks. I did search though, and I have no problem loading the file. The problem is, it is all like.. weirded out.. I'm not sure what I have to do to it to decrypt it or whatever. By the way, I have searched for this, and wasn't able to find anything that does this. I might just be using the wrong search terms.. were YOU able to find out by searching? If so can you at least tell me what search terms you used? I've tried every combination I can think of with the words ".dat" "decrypt" and "interpreter"
Azu Posted August 30, 2006 Author Posted August 30, 2006 (edited) Sorry I shouldn't have said before I was wanting to use this for. I'm not trying to delete or modify any .dat files. I'm just trying to figure out how to AutoIt to understand them like it does the plain text files. I don't know much about .dat files but they all use the same encryption thing right? Here is an example of one of the .dat files I need AutoIt to decypher so it can use it; ~ ,NÅ¿’Æ sž$ autoreload listgroups suppress ,×Kv‰X‘Æè€s¨,w Ê©ª‘ÆèADU%,™cW‘ÆèìEÒ,NÅ¿’Æèsž$,í˜-ÝÆèÌv,í˜-ÝÆè’^~,8¿’Ƙė$,w Ê©ª‘Æèh’$,NÅ¿’Æèðªˆ$,w Ê©ª‘Æè§«Š$,×Kv‰X‘Æè*ï¬,¯{l‰X‘Æè.õÞ,NÅ¿’Æè±»µ%,NÅ¿’Æè²–E&,xfâ5^‘Æè=h’$,kR¯<N‘Æè@·/$,NÅ¿’ÆèÁq«%,꫋΃ÆèÄÇs,!âûÆèÇÇs,×Kv‰X‘ÆèH’Ž,-„za‘ÆèPªŠ$,bÇÝ‘‘ÆèY6Š$,¨©vÙ‘Æè뫊$,×Kv‰X‘ÆèìuÂ#,>°`‘Æèîhx$,×Kv‰X‘Æè=’Ž,^±’š’Æèp¦ˆ$,˜þ©‘Æèò³/$,-„za‘Æèôg’$,>°`‘Æèìhx$,NÅ¿’Æèù D&,Y´.fà‘Æþœ¨$ autorepeat,óP4æë‘ÆI:314924482 activeNotenotepad ,tq:ۢƣopen940Starbase Chartersopen134Armor Repair Systems open114open373Missilesopen626Implant Slot 9open625Implant Slot 8 open621Implant Slot 4open624Implant Slot 7open623Implant Slot 6open618Implant Slot 1 open620Implant Slot 3&(lockedstateopen,agentgroupsallid All agentslabelallagentgroups open605open699open564 open609open862open865open703open689open113open561 open567open107Smallopen405Warp Disruption Fields open932Assembly Arrays open666Capacitor Flux Coilsopen479Missile Batteriesopen640Standard Launchersopen379Cargo Containersopen132Propulsion Upgradesopen370 Leadership open531Skill Hardwiring open420 Covert Ops open555Railguns open664Capacitor Batteries open661Energy Destabilizer open4Shipsopen369Industryopen611open860open863open563 open566open109open705open106Largeopen607open702Micro open935Mining Upgrades open480Turret Batteries open850Advanced Railgun Charges open823Interdictors open404Deployable Equipment open554Shield open432 Assault Shipsopen371Learning open475Manufacture & Research&(lockedstateopen,buddygroupsallidAll buddieslabelallbuddygroupsopen139Cap Booster Chargesopen365Corporation Managementopen138 Mining Lasersopen641Assault Launchersopen832 open833open831open81open472 open467open764 open77open402open395open423open435Gallente open399Interceptorsopen126Shield Rechargers open656Electronics and Sensor Upgrades open464 Destroyersopen485Shield Hardening Arrays open6Cruisersopen845 Standard Ammoopen922Standard Rocketsopen690open606open602open861open610open700open864 open565open704open108open112open562Medium open849Advanced Blaster Charges open86Hybrid Turrets open99Projectile Ammoopen917&Advanced High Precision Light Missiles open387 Torpedoesopen478Control Towers open556Blastersopen20Industrial Goodsopen627Implant Slot 10open9Ship Equipment open551Shield Extenders open665Capacitor Rechargersopen738Nexus Chips open766 Freighters&(lockedstateopen, missiongroups agentmissionsidAgent Missionslabel agentmissions missiongroups open270 open272open267 open275 open278 open269 open268 open256 open257 open255myskillsopen372Mechanicopen928Advanced Long Range Rocketsopen933Mobile Laboratory open659Reactor Control Unitsopenocopen927#Advanced High Damage Light Missilesopen492Consumer Productsopen131Microwarpdrivesopen484Ship Maintenance Arraysopen378Tradeopen593Mining Crystals places2_242584256 open822 Command Ships open19Trade Goodsopen779Gang Assist Modulesopen10Turrets & Baysopen644Siege Launchersopen88 Laser Turretsopen643Cruise Launchers open660Auxilliary Power Controls open658Power Diagnostic Systemsopen639Rocket Launchersopen612open504open771open772Extra Largeopen364Gunneryopen613Boost Amplifiersopen505Citadel Torpedoes open465open393open825open470 open72open400open421open826open433open79Amarropen5 42Afterburners open140Missile Launchersopen930Advanced Anti-Ship Rocketsopen23 Passengersopen596Laseropen642Heavy Launchersopen483Silosopen375Science open24Skills & Accessories open469Battlecruisersopen920Standard Light Missiles open532Attribute Enhancersopen374 Navigationopen490Reactors( open60002299open60013954open60010387open60003907open60005191 open60011848open60005194 open60003556 open60009037 open60003937 open60011578open60011263 open60002638open60003058open60002635open60000892 open60003562 open60011866 open60001717 open60006547 open60011872open60010729 open60010384open60010948 open60014857open60004018 open60003904 open60013957open60009754open60012412 open60009043open60009388open60011797open60009598open60014692 open60002629 open60011977open60011788 open60011566 open60014659assetslocationsopen691open701Heavy open391Shuttlesopen550Shield Resistance Amplifiers open761Dreadnoughts open667Capacitor Power Relaysopen482Refining Arrays open27Implantsopen760Civilian Modulesopen368Engineering open768open466open61open75open471open829open396 open401open434open422open814open80open828Caldariopen 366Dronesopen116Defenderopen875OREopen557Beam Lasers open87Projectile Turretsopen506Corporate Hangar Array open848Standard Charges open668Capacitor Boostersopen488Moon Harvesting Arrays open128Shield Transportersopen367Electronics open115Auto-Targetingopen836open468open834open835open473 open64open394open436open403open424open78Minmatar EmpiresopenHelp System Channels Trade Languages Other open Alliances open CorporateCHANNELSchannelsopen912Doomsday Devices open595Hybrid open5Frigatesopen376Social open812Titansopen22Radioactive Goods open14 Hull & Armor open150Skills open824Recon Ships open655Engineering Equipment open477Starbase Structuresopen688Shield Power Relays open100Hybrid Chargesopen914Standard Auto-Targeting open674Scanners open7Battleships open52Propulsion open552Shield Boosters open448Heavy Assault Ships open117Light Missilesopen553Shield Hardenersopen481Electronic Warfare Batteries open11Ammunition & Charges open874Exhumersopen120Scan Probes open118Rocketsopen594 Projectileopen377Spaceship command listgroups,VQ]ÙŸÆdonedone)done*done+donedone2done3doneSequenceStatus,tq:Û¢Æ lscengine_mychannels_region,tq:Û¢Æ"lscengine_mychannels_constellation, ® ’Æ, ,) ),* *,+ +,/ ,2 2,3 3, SequenceDoneStatus,µOêŽÙŸÆ charactersheetselection,“[©BÛŸÆ—Ðinboxlastmsg,µ‘9Û¢Æ&autopilot_waypoints,“[©BÛŸÆŽû- inboxlastsender,tq:Û¢Æ&lscengine_mychannelsui tabgroups As you can probally see, some of it is in normal text that AutoIt will be able to use but a lot of it is encrypted or something likelistgroups suppress ,×Kv‰X‘Æè€s¨,w Ê©ª‘ÆèADU%,™cW‘ÆèìEÒ,NÅ¿’Æèsž$,í˜-ÝÆèÌv,í˜-ÝÆè’^~,8¿’Ƙė$,w Ê©ª‘Æèh’$,NÅ¿’Æèðªˆ$,w Ê©ª‘Æè§«Š$,×Kv‰X‘Æè*ï¬,¯{l‰X‘Æè.õÞ,NÅ¿’Æè±»µ%,NÅ¿’Æè²–E&,xfâ5^‘Æè=h’$,kR¯<N‘Æè@·/$,NÅ¿’ÆèÁq«%,꫋΃ÆèÄÇs,!âûÆèÇÇs,×Kv‰X‘ÆèH’Ž,-„za‘ÆèPªŠ$,bÇÝ‘‘ÆèY6Š$,¨©vÙ‘Æè뫊$,×Kv‰X‘ÆèìuÂ#,>°`‘Æèîhx$,×Kv‰X‘Æè=’Ž,^±’š’Æèp¦ˆ$,˜þ©‘Æèò³/$,-„za‘Æèôg’$,>°`‘Æèìhx$,NÅ¿’Æèù D&,Y´.fà‘Æþœ¨$ autorepeat,óP4æë‘ÆI:314924482 Edited August 30, 2006 by Azu
julmae Posted August 30, 2006 Posted August 30, 2006 I don't know much about .dat files but they all use the same encryption thing right?no. 8)
spyrorocks Posted August 30, 2006 Posted August 30, 2006 I dont think that they are encrypted. the more i think about it the more i would think thta if it was encrypted, why is there some text where you can make some english sense out of it? [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center]
Azu Posted August 30, 2006 Author Posted August 30, 2006 Weird.. so how can I turn that stuff into something sensible that AutoIt can use? O.o
spyrorocks Posted August 30, 2006 Posted August 30, 2006 well i guess you could stringreplace() all the gibberish with a blank string and try from there, i guess. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center]
julmae Posted August 30, 2006 Posted August 30, 2006 I dont think that they are encrypted. the more i think about it the more i would think thta if it was encrypted, why is there some text where you can make some english sense out of it?most .dat files have been encrypted and so is this one too. (:
ironmanexe Posted August 30, 2006 Posted August 30, 2006 (edited) No, it dosent seem encrypted its just not plain-text. Its using a non ascII markup, unlike html its mark up is saved and opend by some program we dont have, its like opening a ms word doc in notepad... all the formatting is jibberish. or it just wont open. Probly hex based markup... Though i dont know much about it. Edited August 30, 2006 by ironmanexe Time + Effort = Constant
MHz Posted August 30, 2006 Posted August 30, 2006 I don't know much about .dat files but they all use the same encryption thing right?That can be true for dat files used to store audio/video on a VCD, but AFAIK, dat files in general use can store any information (data) that is suitable. I have seen plain text data, binary data...stored in dat files.As for an interpreter, the program that uses the dat is the interpreter. The developer of the program may help you with an idea to read it.
ironmanexe Posted August 30, 2006 Posted August 30, 2006 Unfortunatley most game devs dont hand out software to mod game files... alot do but not most, there may be tools somewhere or some source code.. Google your games name and .dat decryption and start there Time + Effort = Constant
VeeDub Posted August 30, 2006 Posted August 30, 2006 Try searching Google with the keywords: file type dat Some of the sites returned may help you to understand what tools you need to use to work with your dat files
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now