johnmcloud Posted September 3, 2012 Share Posted September 3, 2012 (edited) Hi guys,I have an interesting question, which can solve many problems, especially with FileInstall or with the management of multi-resource filesThe the idea came to me after seeing the portable version of Ccleaner, it has only the .exe, a file .dat with the resource and external folder with the .dll for the languages ( a good choice, because you can delete and make the software takes up less space )Now, surfing on the web i don't have found many article on this, only one:http://www.sfml-dev.org/wiki/en/tutorials/formatdatand the original version:http://archive.gamedev.net/archive/reference/articles/article1991.htmlIt's Arabic for me, but i'm sure there are people can understandSo, how i'd like to make is1) Create a .dat file with example a image/txt/exe in itself ( i don't have find external software for do this, i don't know if exist )2) Make an Autoit script/exe that reads the files in the .dat ( like open a txt, or simply use an image for the GUI etc )I can't make this by myself so i'll wait for someone more expert than me.Thanks for your time,John Edited September 3, 2012 by johnmcloud Link to comment Share on other sites More sharing options...
stormbreaker Posted September 3, 2012 Share Posted September 3, 2012 You need UDF. ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1 Link to comment Share on other sites More sharing options...
johnmcloud Posted September 3, 2012 Author Share Posted September 3, 2012 (edited) It's not the same, that UDF it's used for embed binary data into the exe and has some limitation, i think it's better to convert the C++ script into autoit and make a separate file for the resource, without any limitation, however it's my opinion Edited September 3, 2012 by johnmcloud Link to comment Share on other sites More sharing options...
johnmcloud Posted September 4, 2012 Author Share Posted September 4, 2012 bump Link to comment Share on other sites More sharing options...
UEZ Posted September 4, 2012 Share Posted September 4, 2012 (edited) Have a look to by Yashied which has a similiar idea but with some more features!Btw, why don't you try to convert the code from the link you've posted?Br,UEZ Edited September 4, 2012 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
johnmcloud Posted September 4, 2012 Author Share Posted September 4, 2012 (edited) Btw, why don't you try to convert the code from the link you've posted?Thanks UEZ for suggestion but it's out of my knowledge, i have try to understand that script with no result, i know only autoit. Hope someone can help me to convert that script.Anyway, i'll try that UDF but i'd like to see that code in action. Edited September 4, 2012 by johnmcloud Link to comment Share on other sites More sharing options...
JohnOne Posted September 4, 2012 Share Posted September 4, 2012 Is there a problem with using a zip file? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
johnmcloud Posted September 4, 2012 Author Share Posted September 4, 2012 It's not the same...everyone can open a zip, if you want to open a file inside it extract in a temp folder, you need external sofware for have the full range of option ect.., the .dat insted can't easy open because you need to know the structure, you can directly open-write a file inside it etc...many software/games use a data container for the resource, i think is the best option. Link to comment Share on other sites More sharing options...
JohnOne Posted September 5, 2012 Share Posted September 5, 2012 It's not the same...everyone can open a zip, if you want to open a file inside it extract in a temp folder, you need external sofware for have the full range of option ect.., the .dat insted can't easy open because you need to know the structure, you can directly open-write a file inside it etc...many software/games use a data container for the resource, i think is the best option.That is all very true, but it also true of any .dat file you might muster.The extention of the file means nothing. Its either simple or complicated. Take your pick. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
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