ravage Posted September 15, 2003 Report Share Posted September 15, 2003 Could you create an installer for the umod ONP (Operation Na Pali)? I have one of them also :) Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted September 15, 2003 Report Share Posted September 15, 2003 Could you create an installer for the umod ONP (Operation Na Pali)? I have one of them also :) Man ravage...is there anything you don't have an installer for :wink: j/k man. Keep up the great work you're doing. Quote Link to comment Share on other sites More sharing options...
Guest koko Posted September 15, 2003 Report Share Posted September 15, 2003 Could you create an installer for the umod ONP (Operation Na Pali)? I have one of them also :) Ops, maybe I'm wrong. I played Return to Na Pali mission pack with your installer just right, but is the same this mission pack and the umod ONP single player? So, i have no win$ and I can't probe it. Newly a lot of thanks. Quote Link to comment Share on other sites More sharing options...
ravage Posted September 15, 2003 Report Share Posted September 15, 2003 Ops, maybe I'm wrong. I played Return to Na Pali mission pack with your installer just right, but is the same this mission pack and the umod ONP single player? ONP is a free Unreal Tournament MOD Return To Na Pali is a stand-alone expansion to Unreal, although it is like a MOD when playing it in Linux Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 16, 2003 Report Share Posted September 16, 2003 Creating a self-extracting archive is not all that hard. I'm not on Linux right now, but here's the (not so) rought idea: First create your archive, the way you want. example: $ tar cjf myarchive.tar.bz2 location1 location2 location3 ... Next get the size of your archive. example: $ ls -l myarchive.tar.bz2 -rw-rw---- mylogin mygroup ... 12345 myarchive.tar.bz2 Then create a bash script to un-archive this archive exactly the way you want, BUT reading the file from itself (explanation later). minimal example: #!/bin/bash tail -c 12345 "$0" | tar xjpf - exit Next step is to create the wanted executable. example: $ cat myscript.sh myarchive.tar.bz2 >myexecutable.sh $ chmod +x myexecutable.sh This should work because the first part of the global file is the script you wrote, and the tail command will get the last N bytes from the global file, which happen to be the archive, because of the cat command that grouped the two files. Since the end of the global file is not shell scripting, the script you write MUST end with exit. I hope this helps. Yves. Quote Link to comment Share on other sites More sharing options...
ravage Posted September 17, 2003 Report Share Posted September 17, 2003 Creating a self-extracting archive is not all that hard. yes, it's really easy when you use makeself :shock: Quote Link to comment Share on other sites More sharing options...
DOlson Posted September 17, 2003 Report Share Posted September 17, 2003 Creating a self-extracting archive is not all that hard. yes, it's really easy when you use makeself :shock: Heh. I was thinking that too. Quote Link to comment Share on other sites More sharing options...
Guest koko Posted September 17, 2003 Report Share Posted September 17, 2003 Well, I finally found it in http://www.gamescenter.nl/UTMods.php Only cut & copy and all ok. Thanks. Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 17, 2003 Report Share Posted September 17, 2003 Creating a self-extracting archive is not all that hard. yes, it's really easy when you use makeself :shock: Yes of course. I just wanted to point out an alternative. Linux is all about alternatives ;-)With this other solution, you have total control about the way the archives extracts itself. You can: - uncompress to a temporary directory - run commands such as chmod or chown, - even execute scripts like if which checkinstall; then checkinstall; else make install; fi... There's no limit. Yves. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.