lorpo Posted March 21, 2011 Author Share Posted March 21, 2011 Hey guys, I've got a pretty much important question,so I've been making my game and all that, edited it some with VB6 and such… But now I have released it to my close friends for testing it out and such, all is great, however I want to know something of you guys... Would it be possible to unpack this Eclipse Library Files installer thing so that I can add it to my client installer? So that I don't have to reference my players to all these sites and such, so that I actually can become a stand-alone game creator? Editing code and such shouldn't be a problem, I'm just wondering, If it would be possible (or if anyone even has the source code of it) to unpack the files & just add them into my installer of my game.Thanks in forward,Lorpo Link to comment Share on other sites More sharing options...
Conra Posted March 21, 2011 Share Posted March 21, 2011 I also wanted to know this for quite a while now. Great question lorpo. Link to comment Share on other sites More sharing options...
Guest Posted March 21, 2011 Share Posted March 21, 2011 If I remember correctly I think it was InnoSetup that allowed you to do that, not sure though. Link to comment Share on other sites More sharing options...
damian666 Posted March 21, 2011 Share Posted March 21, 2011 you can also write your own with NSIS, its a easy scriptable installer.thats how i do it.Dami Link to comment Share on other sites More sharing options...
Yxxe Posted March 21, 2011 Share Posted March 21, 2011 You could ship them with your game. Add a little bit of code to check whether it is the first time they have played the game, then Shell the Library Files Installer (.exe) and close the game. Just make sure you check it before it initialises anything. ;) Link to comment Share on other sites More sharing options...
Conra Posted March 21, 2011 Share Posted March 21, 2011 Thanks will try all three methods but think sekaru or lightnings' are best. :) Link to comment Share on other sites More sharing options...
Guest Posted March 21, 2011 Share Posted March 21, 2011 Easiest*. Our comments were directed at Lorpo either way. Link to comment Share on other sites More sharing options...
Conra Posted March 21, 2011 Share Posted March 21, 2011 But it is here to help every one xD Link to comment Share on other sites More sharing options...
lorpo Posted March 21, 2011 Author Share Posted March 21, 2011 Thanks guys, I'll try you guys suggestions and post the easiest and most succesfull way on this thread so everyone can enjoy it :D.EDITHey guys, I found a list of all the library files at our forum:http://www.touchofdeathforums.com/smf/index.php/topic,59223.msg626667.html#msg626667Now, I've got 2 remaining questions:- Are they still up-to-date? Or are there new files already?- Should I just pack them with my installer, so should I let them install in a certain folder? Or just where my client will be installed in a certain dll/OCX directory? Link to comment Share on other sites More sharing options...
Conra Posted March 22, 2011 Share Posted March 22, 2011 Answers:- Not sure about this one- The library file installer automatically installs the .dll into the Windows file directory so all you have to do is get your installer to run that installer and then install your game into the directory you wish when that is completed. Link to comment Share on other sites More sharing options...
lorpo Posted March 22, 2011 Author Share Posted March 22, 2011 I found all the files from the list and copied them in a different directory where my game will be, there was only 1 problem scripten.inf wasn't in the windows directory/my computer, but since it's an .inf file i guess it won't be that kind of a worry… I'll now try to make the installer with source code & give it to you guys once it's done ^^ Link to comment Share on other sites More sharing options...
Conra Posted March 22, 2011 Share Posted March 22, 2011 That will be great thanks man! Link to comment Share on other sites More sharing options...
lorpo Posted March 22, 2011 Author Share Posted March 22, 2011 Ok guys, so I think I've got it fixed, just need a tester… The following link will take you to Eclipse files hoster, where you can download a zip package. It contains a Inno Setup Script and all the library files I think you will need. So for testing and making your own setup you'll need a few steps to do so:-Download the Inno Setup (Here: http://www.jrsoftware.org/isdl.php).-Install the Inno Setup with the wizard.-Download the zip file (Here: http://www.megaupload.com/?d=KZQVMKZK)-Unpack the zip file.-Open the script file called library, then on the first 4 lines, change the words between the brackets ("...") by your own words. Just make sure the .exe on the 4th line doesnt get removed...-Now, drag the library files where ever you want them to be, for example on your desktop.-Open your desktop directory and copy the link (ex. of a link: C:\Documents and Settings\Admin\Desktop -> This could be completely different with you!)-In the script editor, press Ctrl+H and copy the link in the Replace with text box, in the first text box however (Search text box) fill in Directory.-Now you're ready to compile your setup! (Green play-button on the top middle of your screen)-After compiling and completing your example setup you can find the setup file in the C:\Windows directory, make sure not to change the C:\Windows directory in your script or you'll screw up things! (Unless your computer has another driver as standard :p)-Now, it's up to you, compile the installer with another installer with your game, or just give it as an extra together in the package of your game :)Hope it helped, now you've got a clean and copyrightless (well without the origins things and such then ;p) installer!Greetz,Lorpo. Link to comment Share on other sites More sharing options...
Yxxe Posted March 22, 2011 Share Posted March 22, 2011 I don't see why you needed to go through making a new Installer when it would have taken about 5 lines of code to check and run the libs on starting the client. :/ Link to comment Share on other sites More sharing options...
lorpo Posted March 22, 2011 Author Share Posted March 22, 2011 You've got a point there, however, I don't got VB6 for the upcoming week and well, if I had the time, it would be possible for me to learn VB6 codings & get it into my client, but yes, wasn't really able to for the moment :p Link to comment Share on other sites More sharing options...
Conra Posted March 22, 2011 Share Posted March 22, 2011 Nice. It works. Good work lorpo Link to comment Share on other sites More sharing options...
Robin Posted March 22, 2011 Share Posted March 22, 2011 You're really going through a lot of effort just so you don't have 'Origins' flashed at your users for a couple of minutes. xDAnyway, there's a full list of the files installed in the installer itself. When running it it'll show you before you accept. Go run that installer in a temp. folder or some shit then just copy & paste them in to your own installer.Make sure you're using an installer creator which supports dll registration. Link to comment Share on other sites More sharing options...
Conra Posted March 22, 2011 Share Posted March 22, 2011 That doesn't work. Just tried it and it won't install into a temp file. Maybe look at the list of files and find them in the windows file??? Link to comment Share on other sites More sharing options...
lorpo Posted March 22, 2011 Author Share Posted March 22, 2011 Well Robin, no offence you've made a damn great engine and put a lot of effort in it, but for the library files, it'd just be like saying, yes i did use an engine, and yes i didn't do a lot to make the game, just the mapping and stuff.. I'm trying to go on my own one day, so I'm just trying to go solo already at this time :p Link to comment Share on other sites More sharing options...
Robin Posted March 22, 2011 Share Posted March 22, 2011 @Conra:> That doesn't work. Just tried it and it won't install into a temp file. Maybe look at the list of files and find them in the windows file???Then you didn't do it properly.@lorpo:> Well Robin, no offence you've made a damn great engine and put a lot of effort in it, but for the library files, it'd just be like saying, yes i did use an engine, and yes i didn't do a lot to make the game, just the mapping and stuff.. I'm trying to go on my own one day, so I'm just trying to go solo already at this time :pBelieve me, I've had plenty of people not want to credit me for my work over the years. I'm not going to start caring now. Link to comment Share on other sites More sharing options...
Conra Posted March 22, 2011 Share Posted March 22, 2011 Ok. Well i did my way and searched for the files one by one from the list in the windows directory and made a great installer with that. Ps i did credit you because well it is truly yours. 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