These are the steps to get this version of makehuman and use the update script for the first time:
- Install a command-line SVN client :
- For windows users: SlikSVN
- For linux users, use your package manager to install:
- subversion
- libglew1.5
- p7zip (this is just for the compression format I use)
- Unfortunately this is not supported for Mac users!
- Copy this compressed makehuman version and extract in a desired location
- Click on the update script:
- For windows users: click on update.bat
- For linux users with 64bit system: click on update-linux64.sh
- For linux users with 32bit system: click on update-linux32.sh
Now, anytime you believe there is a change in the development, just click on the respective update script again and you will have the latest nightly build (makehuman should not be running when you do this)! This updating method will take you at most 5seconds!
Now I will list the pros and cons of this sort of updating makehuman
Pros:
- If there was a new feature developed in makehuman at this very moment, you will see this feature tomorrow if you use the usual nightly build downloads. But with this method you can update anytime to the current build!
- You will need minimal bandwidth, most update need in average 200-1000kb of data exchange. Thus, if you live or work in a place with slow bandwidth you will have the latest makehuman without downloading a full 50Mb of zipped nightly build everytime you want the latest makehuman build.
- You will also need less time to have your updates (a second?). And you dont need a new install.
- You will do us and tuxfamily (our server that provides the makehuman download) a favor, by reducing the traffic there.
- You will have a portable updatable version of makehuman (bring it in a usb stick .. wherever you are, its an updated version!.. if you want a new update just stick your usb stick in a pc where subversion is installed and click on the update script).
Cons:
- There will be an extra hidden folder called
.svnsitting in every subfolder and root directory of makehuman (this was not the case if you used a nightly build download). But this is not really a big deal, is it? - You needed an extra installation (SVN command client), whereas in the nightly build download you didnt need that.
- You will have an unstable build (unless the build was done during a makehuman stable release date). But this is also the case if you used a nightly build. In exchange, you do have the most recent features and bugfixes.
On linux I get:
ReplyDeletemakehuman $ sh update-linux64.sh
'nknown command: 'update
Type 'svn help' for usage.
cp: missing destination file operand after `./bin/linux/64bit/*\r'
Try `cp --help' for more information
The fix seems to be saving it in a non dos txt format and adding ./ after the copy command. Also the permissions is wrong.
The final script looks like this:
svn update
cp -f ./bin/linux/64bit/* ./
Hope this helps :)
Also should I use the binary or is it better to use scons to compile it my self?
of course, you can use scons to compile it yourself. The binary is for those who dont want to compile. Thanks! I almost expected this permission problem, as I zipped the whole stuffs in windows.
ReplyDeleteUpdate: I was punished for writing a linux script in a windows text editor :P ... I re-uploaded the makehuman.7z file. This will now contain the correct linux permissions and the script should be working now. Though, I havent checked if the makehuman executable will execute for 64bit (I dont have 64bits).
ReplyDeleteThanks :D I can confirm that both the scrips work! the permissions are not set to execute but you can still run them via the sh command:
ReplyDeletemakehuman $ sh update-linux32.sh
At revision 1278.
running them directly gives:
makehuman $ ./update-linux32.sh
-bash: ./update-linux32.sh: Permission denied
I added the svn property to executable. Please confirm by doing sh update-linux32.sh and then try executing again without doing it via sh. Thanks :)
ReplyDeletePS: you dont need to download the makehuman.7z again, just execute the update to confirm :)
ReplyDeletePSS: I also made the makehuman binary file to executable in the svn properties. This should make the makehuman file executable after the update.
Yep now everything works perfectly. Good job!
ReplyDeletei have problems in windows 7...it says that could not run python script
ReplyDeleteI keep getting errors:
ReplyDeleteTraceback (most recent call last):
File "", line 1, in
File "main.py", line 81, in
import human, hair_chooser, background, human_texture
File "./apps\human.py", line 37, in
import hair
File "./apps\hair.py", line 24, in
import gui3d, events3d, guifiles, mh, os
File "./apps\gui\guifiles.py", line 40, in
import mh2obj
ImportError: Bad magic number in ./apps\mh2obj.pyc
Could not run main Python script