FL8: =?ISO-8859-1?Q?Verz=F6gerte_Pinselanimation_mit_Bitma?=   =?ISO-8859-1?Q?pData?=

Hi NG,
ich experimentiere nebenbei mit ein paar neuen
Animationsmöglichkeiten herum.
Ich hab was ganz nettes gefunden (siehe
http://ffk06.flashforum.de/
in der Präsentation
von Thomas Wagner).
Und zwar gibts da eine Art verzögerte Pinselanimation,
die per BitmapData erzeugt wird.
Da ich das ganze explizit in Flash 8, nicht in AS3 machen
will, hab ich ein kleines Problem:
1. Ich bekomme es nicht so schnell hin, einen Kreis mit Hilfe
der BitmapData.setPixel()
Methode zu erzeugen. Gibt es Bibliotheken für die
Erzeugung von geometischen Formen via
setPixel()?
2. Es gibt drei Methoden, mit der man z.B. eine Kreisform in
ein BitmapData bekommt:
a) setPixel, s.o.
b) loadBitmap() (aus der Bibliothek), Problem: Es kann keine
Position angegeben werden,
für die Stelle an der das Bitmap attached werden soll.
Man könnte Movieclip-Container
erstellen und diese dann positionieren, aber das will ich
vermeiden, da ich die
Bitmap-Fläche allein nutzen will.
c) draw(), im Prinzip wie loadBitmap(), auch hier ist keine
Positionierung möglich (außer
über Movieclip-Container)
Also würde ich setPixel() nehmen. Vielleicht hab ich was
übersehen, oder jemand hat eine
andere Idee?
Grüße
Nick Weschkalnies
Web ||
http://www.medianetic.de
Blog ||
http://www.blog.medianetic.de

Dominik (ipxlan) Franzrahe schrieb:
> ...und damit geht bestimmt noch mehr
>
>
http://groups.csail.mit.edu/graphics/classes/6.837/F98/Lecture6/circle.html
>
>
>
import flash.display.*;
import flash.filters.*;
bmp = new BitmapData(600, 600, false, 0x000000);
var filter:BlurFilter = new BlurFilter(1.1, 1.1);
this.attachBitmap(bmp, 1);
counter = 0;
this.onEnterFrame = function() {
var w:Number = 10;
var h:Number = 10;
circleMidpoint(_xmouse, _ymouse,10,0x99CC00);
function circlePoints(cx, cy, x,y,pix)
var act = 0xFF0000;
if (x == 0) {
bmp.setPixel( cx, cy + y,act);
bmp.setPixel(cx, cy - y,pix);
bmp.setPixel(cx + y, cy,pix);
bmp.setPixel(cx - y, cy,pix);
} else
if (x == y) {
bmp.setPixel( cx + x, cy + y,act);
bmp.setPixel(cx - x, cy + y,pix);
bmp.setPixel(cx + x, cy - y,pix);
bmp.setPixel(cx - x, cy - y,pix);
} else
if (x < y) {
bmp.setPixel( cx + x, cy + y,act);
bmp.setPixel(cx - x, cy + y,pix);
bmp.setPixel(cx + x, cy - y,pix);
bmp.setPixel(cx - x, cy - y,pix);
bmp.setPixel(cx + y, cy + x,pix);
bmp.setPixel(cx - y, cy + x,pix);
bmp.setPixel(cx + y, cy - x,pix);
bmp.setPixel(cx - y, cy - x,pix);
function circleMidpoint(xCenter,yCenter, radius, c)
var pix = c;
var x = 0;
var y = radius;
var p = (5 - radius*4)/4;
circlePoints(xCenter, yCenter, x, y, pix);
while (x < y) {
x++;
if (p < 0) {
p += 2*x+1;
} else {
y--;
p += 2*(x-y)+1;
circlePoints(xCenter, yCenter, x, y, pix);
Gruß Dominik (IPXLAN) ƒranzrahe
Ganz neu, ganz frisch:
http://www.superskank.com
ICQ:165771582
Skype: ipxlan
shock-box
mail: ipxlan<@>gmx.de
site:
http://www.shock-box.net
spirit link
mail: dominik.franzrahe<@>spiritlink.de
site:
http://www.spiritlink.de

Similar Messages

  • I have an iphone 3g I tried to dl an app for netflix and it said i need to have ISO 5 but my phone has ISO 4.2.1 and when i try to update it I get message saying I have current version how or what can i do do to get an app the lets me watch netflix on my

    I have an iphone 3g I tried to down load  an app for netflix and it said I  need to have ISO 5 but my phone has ISO 4.2.1 and when I  try to update it on my computer through itunes  I get message saying I have current version how or what can I do do to get an app the lets me watch netflix on my  iphone 3g .Is there an sulision to my problem? I also tried another app with another name diff from netflix and I got the same message saying i need ISO 5 .Someone please help  thank you

    Thank you for your help are you aware of any apps that will work the iso 4.2.1 system that will let you watch movies on the phone. Also I tried to down load something else the other day and got message that Safari wont let you open this is ther any to see if i have the latest safari on my phone?

  • ISO FILE FOR WINDOWS BOOTABLE DISC - ISO FILE DOES NOT WORK

    Hi Guys!
    So I'm attempting at loading windows on my new iMac via Boot Camp, I've created the ISO file, and am trying to add it on boot camp and it simply doesn't work (even though my destination drive is MS FAT 32.
    Reference this
    http://support.apple.com/en-is/HT203909
    Heres a screen shot of what pops up when i try to load the ISO file!!
    Can anyone help me?

    Please correct me if I am incorrect.. you are trying to make a bootable USB with a Windows File using Disk Utility to the use it to boot it with bootcamp? If that's the case i would advise creating the bootable device directly from the bootcamp app, and not from disk utility

  • I have a ipad 2 with iso 4 abd trying to update iso 7 but its take 89 hour to finish.anyone have any idea to make it faster...my iternet conection was fast in normal download.but using apple download it take very very long..any idea to solve?

    my ipad 2 was using iso 4 now...but i was trying to update to iso 7 and it took 89 hour to finish..with my normal dowload speed was fast but using itune was slow...i was using my somputer to update my ipad..any idea that to make my update faster?

    Hi ayukio!
    I have an article that can address your question for you:
    iTunes Store: Download times will vary
    http://support.apple.com/kb/ht1577
    If you continue having issues downloading the file, I would suggest using the troubleshooting steps in the following article to isolate or resolve the issue:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • Convert utf-8 to iso-8859-1

    Hello,
    sorry for my very bad english
    i use httpxmlrequest to answer a database and show resultin a
    div
    the string means utf-8 encoded by my javascript fonction and,
    of course,
    no result are found in the database.
    How can i convert the string to iso-8859-1 before request the
    database ?
    Thank if you have an idea
    JiBé (France)

    PaulH **AdobeCommunityExpert** a écrit :
    > Jibé wrote:
    >> PaulH **AdobeCommunityExpert** a écrit :
    >> I work with a MS SQL server database encoding in
    iso-8859-1
    >
    > data stored in plain text,char,varchar datatypes (ie not
    "N")?
    datatype of "titre" is varchar(250) and "contenu" is text
    using the
    > ODBC or JDBC (it would be listed as ms sql server in the
    db drivers
    > list) driver?
    I think it's jdbc driver (case of my test computer)
    >
    >> The code :
    >
    > you're not following good i18n practices. while my
    preference is for
    > unicode ("just use unicode" has been my motto for
    years), if you're
    > really only ever going to use french & never need
    the euro symbol then i
    > guess iso-8859-1 (latin-1) is fine.
    Here is a part of the content of my application.cfm
    <cfprocessingdirective pageencoding="iso-8859-1">
    <cfcontent type="text/html; charset=iso-8859-1">
    <cfset setEncoding("URL", "iso-8859-1")>
    <cfset setEncoding("Form", "iso-8859-1")>
    >
    > if you think you might need other languages, including
    the euro symbol,
    > then you should consider unicode. change your text
    columsn to "N" type
    > (nText, nChar, nVarChar) & swap the latin-1
    encodings in the tags above
    > to utf-8.
    I'm going to test that....
    JiBé

  • Help needed to enable ISO-8859-1 encoding in Weblogic 10.3

    We have upgraded from Weblogic 10 to Weblogic 10.3. In the old environment foreign characters (iso-8859-1 charater set) were enabled using the Java properties "*-Dfile.encoding=iso-8859-1 -Dclient.encoding.override=iso-8859-1*".
    Also, we set the page encoding in the JSPs to be
    _'<%@ page pageEncoding="iso-8859-1" contentType="text/html; charset=iso-8859-1" %>'._
    This was working fine. We were able to input characters like euro (€) and display it back to user.
    After we upgraded to Weblogic 10.3, I applied the same Java properties, all the special characters of the 8859-1 set like Æ, à etc are just displayed as garbled text like '��ï' etc. So, the new server is unable to handle/encode these characters.
    Our weblogic environment is - Weblogic appserver 10.3, JRockit 1.6.0_31-R28.2.3-4.1.0 running on Linux OS.
    Is there any additional seting in 10.3 to encode character sets?
    Thanks in advance.

    Hi Kalyan,
    Thanks for the info. Please help me understand just one more thing, before I ask our server team to apply the patch.
    I checked the full version of our Weblogic server from WEBLOGIC_HOME/registry.xml. It is *<component name="WebLogic Server" version="10.3.6.0" >*.
    The patch from MOS says it is *"Release WLS 10.3.3"*. Does this mean the version 10.3.6 should already have this patch? Is the release of Patch same as WLS version?
    Should I still go ahead and install the patch for this version 10.3.6 also?
    Thanks again.
    - Shankar.

  • Encodings in XML iso-8859-1

    I am using Oracle XML parser ( Java) v1.0.2. The documentation says that it supports UTF-8 , UTF-16, UCS-2, UCS-4,iso-8859-1 . It works fine for ascii and UTF-8. But i do have a problem with iso8859-1. I am not able to retrieve the umlauts and the ess-sets. I do get a "?" instead of the corresponding umlauts and essets.
    Is there any solution for this problem.
    I have included the encoding as "iso-8859-1" in the header as well as i have set the encoding of the output document to be iso-8859-1 by doc.setEncoding("iso-8859-1")
    Is this a known bug in version 1.0.2. Is there any work around for this problem.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ray:
    Why don't you try V2? which you can download from OTN?<HR></BLOCKQUOTE>
    It is working fine with the latest version which is available in otn. But our application uses the older version. I just wanted to know whether there is a work aroung for the problem.

  • [Solved] how do i build my ISO image with archiso?

    hi all
    i've been following this wiki and it's been going really well (it hasn't gone wrong...). but the wiki page just sort of stops halfway through the configuration bit
    a google search brought me to this page which suggests using the "build.sh" script located in my chroot environment's /tmp/releng/ directory.
    running this script returns the error "build.sh: line 207: syntax error near unexpected token '('
    line 207 of the file reads:
    paste -d"\n" <(sed "s|%ARCH%|i686|g" ${script_path}/aitab.${_iso_type}) \
    i don't really know much about scripts so i can't see what's wrong
    any advice?
    sorry if i've missed a wiki or something n00bish like that. also i'm aware that someone who doesn't know what they're doing shouldn't be attempting archiso but i thought it would be a fun learning experience
    here's the full build.sh in case it is helpful:
    #!/bin/bash
    set -e -u
    iso_name=archlinux
    iso_label="ARCH_$(date +%Y%m)"
    iso_version=$(date +%Y.%m.%d)
    install_dir=arch
    arch=$(uname -m)
    work_dir=work
    out_dir=out
    verbose=""
    script_path=$(readlink -f ${0%/*})
    # Base installation (root-image)
    make_basefs() {
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "base" create
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "memtest86+ syslinux mkinitcpio-nfs-utils nbd curl" create
    # Additional packages (root-image)
    make_packages() {
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "$(grep -v ^# ${script_path}/packages.${arch})" create
    # Copy mkinitcpio archiso hooks (root-image)
    make_setup_mkinitcpio() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    local _hook
    for _hook in archiso archiso_shutdown archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_loop_mnt; do
    cp /lib/initcpio/hooks/${_hook} ${work_dir}/root-image/lib/initcpio/hooks
    cp /lib/initcpio/install/${_hook} ${work_dir}/root-image/lib/initcpio/install
    done
    cp /lib/initcpio/install/archiso_kms ${work_dir}/root-image/lib/initcpio/install
    cp /lib/initcpio/archiso_shutdown ${work_dir}/root-image/lib/initcpio
    cp /lib/initcpio/archiso_pxe_nbd ${work_dir}/root-image/lib/initcpio
    cp ${script_path}/mkinitcpio.conf ${work_dir}/root-image/etc/mkinitcpio-archiso.conf
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Prepare ${install_dir}/boot/
    make_boot() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    local _src=${work_dir}/root-image
    local _dst_boot=${work_dir}/iso/${install_dir}/boot
    mkdir -p ${_dst_boot}/${arch}
    mkarchroot -n -r "mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img" ${_src}
    mv ${_src}/boot/archiso.img ${_dst_boot}/${arch}/archiso.img
    mv ${_src}/boot/vmlinuz-linux ${_dst_boot}/${arch}/vmlinuz
    cp ${_src}/boot/memtest86+/memtest.bin ${_dst_boot}/memtest
    cp ${_src}/usr/share/licenses/common/GPL2/license.txt ${_dst_boot}/memtest.COPYING
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Prepare /${install_dir}/boot/syslinux
    make_syslinux() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    local _src_syslinux=${work_dir}/root-image/usr/lib/syslinux
    local _dst_syslinux=${work_dir}/iso/${install_dir}/boot/syslinux
    mkdir -p ${_dst_syslinux}
    for _cfg in ${script_path}/syslinux/*.cfg; do
    sed "s|%ARCHISO_LABEL%|${iso_label}|g;
    s|%INSTALL_DIR%|${install_dir}|g;
    s|%ARCH%|${arch}|g" ${_cfg} > ${_dst_syslinux}/${_cfg##*/}
    done
    cp ${script_path}/syslinux/splash.png ${_dst_syslinux}
    cp ${_src_syslinux}/*.c32 ${_dst_syslinux}
    cp ${_src_syslinux}/*.com ${_dst_syslinux}
    cp ${_src_syslinux}/*.0 ${_dst_syslinux}
    cp ${_src_syslinux}/memdisk ${_dst_syslinux}
    mkdir -p ${_dst_syslinux}/hdt
    wget -O - http://pciids.sourceforge.net/v2.2/pci.ids | gzip -9 > ${_dst_syslinux}/hdt/pciids.gz
    cat ${work_dir}/root-image/lib/modules/*-ARCH/modules.alias | gzip -9 > ${_dst_syslinux}/hdt/modalias.gz
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Prepare /isolinux
    make_isolinux() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    mkdir -p ${work_dir}/iso/isolinux
    sed "s|%INSTALL_DIR%|${install_dir}|g" ${script_path}/isolinux/isolinux.cfg > ${work_dir}/iso/isolinux/isolinux.cfg
    cp ${work_dir}/root-image/usr/lib/syslinux/isolinux.bin ${work_dir}/iso/isolinux/
    cp ${work_dir}/root-image/usr/lib/syslinux/isohdpfx.bin ${work_dir}/iso/isolinux/
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Customize installation (root-image)
    # NOTE: mkarchroot should not be executed after this function is executed, otherwise will overwrites some custom files.
    make_customize_root_image() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    cp -af ${script_path}/root-image ${work_dir}
    chmod 750 ${work_dir}/root-image/etc/sudoers.d
    chmod 440 ${work_dir}/root-image/etc/sudoers.d/g_wheel
    mkdir -p ${work_dir}/root-image/etc/pacman.d
    wget -O ${work_dir}/root-image/etc/pacman.d/mirrorlist http://www.archlinux.org/mirrorlist/all/
    sed -i "s/#Server/Server/g" ${work_dir}/root-image/etc/pacman.d/mirrorlist
    chroot ${work_dir}/root-image /usr/sbin/locale-gen
    chroot ${work_dir}/root-image /usr/sbin/useradd -m -p "" -g users -G "audio,disk,optical,wheel" arch
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Split out /lib/modules from root-image (makes more "dual-iso" friendly)
    make_lib_modules() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    mv ${work_dir}/root-image/lib/modules ${work_dir}/lib-modules
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Split out /usr/share from root-image (makes more "dual-iso" friendly)
    make_usr_share() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    mv ${work_dir}/root-image/usr/share ${work_dir}/usr-share
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Make [core] repository, keep "any" pkgs in a separate fs (makes more "dual-iso" friendly)
    make_core_repo() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    local _url _urls _pkg_name _cached_pkg _dst _pkgs
    mkdir -p ${work_dir}/repo-core-any
    mkdir -p ${work_dir}/repo-core-${arch}
    pacman -Sy
    _pkgs=$(comm -2 -3 <(pacman -Sql core | sort | sed 's@^@core/@') \
    <(grep -v ^# ${script_path}/core.exclude.${arch} | sort | sed 's@^@core/@'))
    _urls=$(pacman -Sddp ${_pkgs})
    pacman -Swdd --noprogressbar --noconfirm ${_pkgs}
    for _url in ${_urls}; do
    _pkg_name=${_url##*/}
    _cached_pkg=/var/cache/pacman/pkg/${_pkg_name}
    _dst=${work_dir}/repo-core-${arch}/${_pkg_name}
    cp ${_cached_pkg} ${_dst}
    repo-add -q ${work_dir}/repo-core-${arch}/core.db.tar.gz ${_dst}
    if [[ ${_pkg_name} == *any.pkg.tar* ]]; then
    mv ${_dst} ${work_dir}/repo-core-any/${_pkg_name}
    ln -sf ../any/${_pkg_name} ${_dst}
    fi
    done
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Process aitab
    # args: $1 (core | netinstall)
    make_aitab() {
    local _iso_type=${1}
    if [[ ! -e ${work_dir}/build.${FUNCNAME}_${_iso_type} ]]; then
    sed "s|%ARCH%|${arch}|g" ${script_path}/aitab.${_iso_type} > ${work_dir}/iso/${install_dir}/aitab
    : > ${work_dir}/build.${FUNCNAME}_${_iso_type}
    fi
    # Build all filesystem images specified in aitab (.fs .fs.sfs .sfs)
    make_prepare() {
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare
    # Build ISO
    # args: $1 (core | netinstall)
    make_iso() {
    local _iso_type=${1}
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" checksum
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-${_iso_type}-${arch}.iso"
    # Build dual-iso images from ${work_dir}/i686/iso and ${work_dir}/x86_64/iso
    # args: $1 (core | netinstall)
    make_dual() {
    local _iso_type=${1}
    if [[ ! -e ${work_dir}/dual/build.${FUNCNAME}_${_iso_type} ]]; then
    if [[ ! -d ${work_dir}/i686/iso || ! -d ${work_dir}/x86_64/iso ]]; then
    echo "ERROR: i686 or x86_64 builds does not exist."
    _usage 1
    fi
    local _src_one _src_two _cfg
    if [[ ${arch} == "i686" ]]; then
    _src_one=${work_dir}/i686/iso
    _src_two=${work_dir}/x86_64/iso
    else
    _src_one=${work_dir}/x86_64/iso
    _src_two=${work_dir}/i686/iso
    fi
    mkdir -p ${work_dir}/dual/iso
    cp -a -l -f ${_src_one} ${work_dir}/dual
    cp -a -l -n ${_src_two} ${work_dir}/dual
    rm -f ${work_dir}/dual/iso/${install_dir}/aitab
    rm -f ${work_dir}/dual/iso/${install_dir}/boot/syslinux/*.cfg
    if [[ ${_iso_type} == "core" ]]; then
    if [[ ! -e ${work_dir}/dual/iso/${install_dir}/any/repo-core-any.sfs ||
    ! -e ${work_dir}/dual/iso/${install_dir}/i686/repo-core-i686.sfs ||
    ! -e ${work_dir}/dual/iso/${install_dir}/x86_64/repo-core-x86_64.sfs ]]; then
    echo "ERROR: core_iso_single build is not found."
    _usage 1
    fi
    else
    rm -f ${work_dir}/dual/iso/${install_dir}/any/repo-core-any.sfs
    rm -f ${work_dir}/dual/iso/${install_dir}/i686/repo-core-i686.sfs
    rm -f ${work_dir}/dual/iso/${install_dir}/x86_64/repo-core-x86_64.sfs
    fi
    paste -d"\n" <(sed "s|%ARCH%|i686|g" ${script_path}/aitab.${_iso_type}) \
    <(sed "s|%ARCH%|x86_64|g" ${script_path}/aitab.${_iso_type}) | uniq > ${work_dir}/dual/iso/${install_dir}/aitab
    for _cfg in ${script_path}/syslinux.dual/*.cfg; do
    sed "s|%ARCHISO_LABEL%|${iso_label}|g;
    s|%INSTALL_DIR%|${install_dir}|g" ${_cfg} > ${work_dir}/dual/iso/${install_dir}/boot/syslinux/${_cfg##*/}
    done
    mkarchiso ${verbose} -w "${work_dir}/dual" -D "${install_dir}" checksum
    mkarchiso ${verbose} -w "${work_dir}/dual" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-${_iso_type}-dual.iso"
    : > ${work_dir}/dual/build.${FUNCNAME}_${_iso_type}
    fi
    purge_single ()
    if [[ -d ${work_dir} ]]; then
    find ${work_dir} -mindepth 1 -maxdepth 1 \
    ! -path ${work_dir}/iso -prune \
    | xargs rm -rf
    fi
    purge_dual ()
    if [[ -d ${work_dir}/dual ]]; then
    find ${work_dir}/dual -mindepth 1 -maxdepth 1 \
    ! -path ${work_dir}/dual/iso -prune \
    | xargs rm -rf
    fi
    clean_single ()
    rm -rf ${work_dir}
    rm -f ${out_dir}/${iso_name}-${iso_version}-*-${arch}.iso
    clean_dual ()
    rm -rf ${work_dir}/dual
    rm -f ${out_dir}/${iso_name}-${iso_version}-*-dual.iso
    make_common_single() {
    make_basefs
    make_packages
    make_setup_mkinitcpio
    make_boot
    make_syslinux
    make_isolinux
    make_customize_root_image
    make_lib_modules
    make_usr_share
    make_aitab $1
    make_prepare $1
    make_iso $1
    _usage ()
    echo "usage ${0} [options] command <command options>"
    echo
    echo " General options:"
    echo " -N <iso_name> Set an iso filename (prefix)"
    echo " Default: ${iso_name}"
    echo " -V <iso_version> Set an iso version (in filename)"
    echo " Default: ${iso_version}"
    echo " -L <iso_label> Set an iso label (disk label)"
    echo " Default: ${iso_label}"
    echo " -D <install_dir> Set an install_dir (directory inside iso)"
    echo " Default: ${install_dir}"
    echo " -w <work_dir> Set the working directory"
    echo " Default: ${work_dir}"
    echo " -o <out_dir> Set the output directory"
    echo " Default: ${out_dir}"
    echo " -v Enable verbose output"
    echo " -h This help message"
    echo
    echo " Commands:"
    echo " build <mode> <type>"
    echo " Build selected .iso by <mode> and <type>"
    echo " purge <mode>"
    echo " Clean working directory except iso/ directory of build <mode>"
    echo " clean <mode>"
    echo " Clean working directory and .iso file in output directory of build <mode>"
    echo
    echo " Command options:"
    echo " <mode> Valid values 'single' or 'dual'"
    echo " <type> Valid values 'netinstall', 'core' or 'all'"
    exit ${1}
    if [[ ${EUID} -ne 0 ]]; then
    echo "This script must be run as root."
    _usage 1
    fi
    while getopts 'N:V:L:D:w:o:vh' arg; do
    case "${arg}" in
    N) iso_name="${OPTARG}" ;;
    V) iso_version="${OPTARG}" ;;
    L) iso_label="${OPTARG}" ;;
    D) install_dir="${OPTARG}" ;;
    w) work_dir="${OPTARG}" ;;
    o) out_dir="${OPTARG}" ;;
    v) verbose="-v" ;;
    h|?) _usage 0 ;;
    _msg_error "Invalid argument '${arg}'" 0
    _usage 1
    esac
    done
    shift $((OPTIND - 1))
    if [[ $# -lt 1 ]]; then
    echo "No command specified"
    _usage 1
    fi
    command_name="${1}"
    if [[ $# -lt 2 ]]; then
    echo "No command mode specified"
    _usage 1
    fi
    command_mode="${2}"
    if [[ ${command_name} == "build" ]]; then
    if [[ $# -lt 3 ]]; then
    echo "No build type specified"
    _usage 1
    fi
    command_type="${3}"
    fi
    if [[ ${command_mode} == "single" ]]; then
    work_dir=${work_dir}/${arch}
    fi
    case "${command_name}" in
    build)
    case "${command_mode}" in
    single)
    case "${command_type}" in
    netinstall)
    make_common_single netinstall
    core)
    make_core_repo
    make_common_single core
    all)
    make_common_single netinstall
    make_core_repo
    make_common_single core
    echo "Invalid build type '${command_type}'"
    _usage 1
    esac
    dual)
    case "${command_type}" in
    netinstall)
    make_dual netinstall
    core)
    make_dual core
    all)
    make_dual netinstall
    make_dual core
    echo "Invalid build type '${command_type}'"
    _usage 1
    esac
    echo "Invalid build mode '${command_mode}'"
    _usage 1
    esac
    purge)
    case "${command_mode}" in
    single)
    purge_single
    dual)
    purge_dual
    echo "Invalid purge mode '${command_mode}'"
    _usage 1
    esac
    clean)
    case "${command_mode}" in
    single)
    clean_single
    dual)
    clean_dual
    echo "Invalid clean mode '${command_mode}'"
    _usage 1
    esac
    echo "Invalid command name '${command_name}'"
    _usage 1
    esac
    Last edited by gav989 (2012-02-12 10:59:11)

    thanks for that, according to this it should be run like
    /path/to/build.sh build single netinstall
    from inside the chroot
    posting this for my own reference and in case it helps others, will mark as solved
    thanks again for your help
    Last edited by gav989 (2012-02-12 10:58:04)

  • Encore cs4 creates invalid disc image (iso file)

    I have a video I edit in premiere cs4, exported an .mpg file that I import into encore to create a DVD. This works mostly fine (I have to delete the .xmp* file before importing to encore).
    Today I edited the video, re-encoded the mpg file using quality 5 and 2 pass vbr, and added a slide show (about 6 photos) to the encore project. It also builds fine to a disc image (iso file). But when I try to burn the iso file using windows 7, it tells me the iso image is invalid. I tried imgburn and got an  error message like this:
    session 1 track 1 MODE1 .... 2054
    dvd format: MODE1 .... 2048
    If I ask imgburn to continue it then says something about CSS and encryption, which I don't use, so I assume the iso file is too messed up.
    I burned a DVD5 directly from encore, and it works in a dvd player.
    Any idea why this invalid iso happens and whether there is a work-around?
    Since cs4 is not the latest version, I assume there is no hope of bug fix?

    There seem to be major problems in the disc creation process. I am struggling since several days now and I am not able to produce a working Blu-Ray Disk or iso image with Encore 5.5:
    - when producing Blu-Ray ISO images, you get an ISO that is recognized as DVD iso in all virtual drive programs. Therefore, you cann not burn them on a BD-R disc, also viewing them is not possible because it is a "DVD with blu-ray content".
    - when burning directly to disk, Encore does not close the sessing. This means, the Disk is not playable on all home Blue-Ray players. It was playable on my computer, but after closing the session manually the disc was a coaster.
    - when burning on a virtual burner (Virtual CD 10), the Blue-Ray plays ok on my computer, but I am NOT able to make a ISO image from this disk because some errors (unreadable blocks) on the disk are reported during creation and image creation stops.
    - from time to time (not reproduceable), Encore produces an additional AACS folder on the created Blu-Ray.
    I am an experienced user and dont have any issues with other software solutions, but with Encore I was not able to get any usable results so far.
    Win 7 x64 SP1

  • 2013.03-4 archboot "2k13-R1" ISO hybrid images released

    Hi Arch community,
    Arch Linux (archboot creation tool) 2013.03-4, "2k13-R1" has been released.
    Homepage and for more information on archboot:
    http://wiki.archlinux.org/index.php/Archboot
    Summary:
    - major update/cleanup on all components
    Hybrid image files and torrents are provided, which include
    i686 and/or x86_64 core repository. Please check md5sum before using it.
    Hybrid image file is a standard CD-burnable image and also a raw disk image.
        - Can be burned to CD(RW) media using most CD-burning utilities.
        - Can be raw-written to a drive using 'dd' or similar utilities.
          This method is intended for use with USB thumb drives.
    Please get it from your favorite arch linux mirror:
    https://downloads.archlinux.de/iso/archboot/2013.03/
    <yourmirror>/iso/archboot/2013.03/
    /boot for PXE/Rescue files are provided here:
    https://downloads.archlinux.de/iso/arch … 13.03/boot
    <yourmirror>/iso/archboot/2013.03/boot
    Changelog:
    GENERAL:
    - kernel 3.8.4 / LTS kernel 3.0.70
    - pacman 4.0.3 usage
    - RAM recommendations: 768 MB
    - major update/cleanup on all components
    Kernel changes:
    - bump to latest 3.8.x series and bump lts to latest 3.0.x series
    Environment changes:
    - updated pacman mirrorlist
    - replaced netcfg with netctl
    - removed ide-legacy hook
    - replaced arch_virtio, arch_fw with block hook
    - replaced usbinput with keyboard hook
    - replaced dbus-core with dbus
    - bump to latest mkinitcpio code
    - bump syslinux from 4.x to 5.0
    - removed bind and dnsutils
    - blacklist floppy module during boot
    setup changes:
    - replaced netcfg network setup with netctl
    - always install netctl instead of netcfg
    - replaced gummiboot-efi with gummiboot
    - removed initscripts compat mode
    - always install systemd-sysvcompat
    - updated gummiboot install routine
    - updated refind install routine
    - removed persistent soundcard and network hack,
      systemd handles everything now.
    - no need to add hostname to /etc/hosts anymore
    quickinst changes:
    - removed initscripts compat mode
    - removed rc.conf hint
    - removed double check on ntfs
    Further documentation can be found on-disk and on the wiki.
    Thanks to all beta testers, which reported bugs during this development period.
    Have fun!
    greetings
    tpowa
    Last edited by tpowa (2013-03-23 19:22:43)

    openfred wrote:- When booting install media with LTS kernel, then it may be good to install LTS kernel ?
      latest kernel (3.8) were installed instead.
    Fixed in archboot git syslinux changed boot parameter names.
    openfred wrote:- When installing grub (BIOS/grub-bios), I had only the choice between /dev/sda (target drive) and /dev/sdb (USB boot drive).
      Would it be possible to be presented the option to install grub in a partition (ex: /dev/sdX) ?
      For testing reason, I installed Arch with archboot on another partition, as I am chainloading from another "main" partition.
    For grub it is recommended to use a grub boot partition.
    You can use syslinux for installing to a partition.
    openfred wrote:- After the installation, network is not working, AND /etc/netctl is empty...
      So I wonder if it is normal, as this new version of Archboot seems to provide...netctl :-)
    Please tell me what you have done, on my virtual machine all works as it should.
    You need to setup your connection with installer and choose autoconfiguration yes on system configuration.
    Last edited by tpowa (2013-03-25 08:33:47)

  • How to convert .iso to .img

    i am being driven absolutely madd by my computer. all i want to do is a simple task, yet hours of my life have now been drained. so to save the rest of my time as well as others in the future, how does one convert a .iso file to .img on a mac? (yes, i've looked at every forums answers and ive copied the instructions (which were slightly different for each forum) perfectly into terminal, but nothing happens. so lets make this as simple as can be....
    just in case this maters, i'm running osx mavericks.
    on my desktop there is an iso file we will call X.iso.
    i want X.iso to be converted to X.img.
    simple right? or at least you’d think so….
    if anyone can write out the formula that i can then type into terminal, you will achieve god like status in my mind.
    the file is on my desktop, and i want the converted file to end up on my desktop as well. so because the file location is simple, and universal, the formula should be pretty easy to figure out.
    thank you to whoever does.

    hi allan,
    thanks for the super quick reply, but i don't think this is true. theres definitely a way of converting .iso to .img; theres many people out there who claim to have success with this through terminal. it doesn't matter what the file is called... like i said in the original post... for reasons of simplicity, we are going to call it X.iso; the name is irrelevant; it's the formula that gets typed into terminal that i need.
    i don't mean to sound rude, but if you don't have an answer please just keep your comments to yourself. the last thing any forum needs is a bunch of "i don't know"'s. there is a way, and i want to hear the formula from someone who knows what he/she's doing.
    a couple examples of this formula from other websites are as follows...
    hdiutil convert -format UDRW -o /convert/newfile/output.img /convert/source.iso
    or
    Type "hdiutil convert source.iso -format UDRW -o destination.img" without quotes, and then press "Return." Replace "source" and "destination" with their actual values.
    BUT...
    none of them have worked for me. this being said, it's worked for others somehow. i must be typing something wrong. this is why i need a mac genius. any takers?

  • Where can i get a FRESH Windows 8 iso? (LEGALLY)

    Hey guys,
    I wanted to know where you can get a Windows 8 iso, NOT a upgrade iso.
    I already did some googleing, and http://www.redmondpie.com/download-windows-8-iso-x86-x64-file-directly-from-micr osoft/ this website seemed to tell me you can get it by downloading a file from Microsoft and just entering a product Key.
    However, for this i think you actually need a Windows 7 , because it is an UPGRADE iso, not a fresh system-builder iso.
    So i was wondering, where can you get a fresh Windows 8 iso to install on my MacBook, which doesn't have Windows 7?
    Or can you use the iso described in remondpie and use it to install Windows 8?
    Thanks!
    PS According to many people, the new MAcBook Air (2013) which i have does not work really well when you install windows with a CD. That's why i'm trying to use a USB and iso to download it.

    iso is just a 100% bit by bit image of an optical disc
    there are millions of free programs which will make an iso file out of an optical disc in a few minuts

  • Can I OPEN an ISO file in Encore

    Cs4 Encore, I have created an ISO file a few months ago , can I open it in Encore and make changes to its authoring?

    No, and not even if you had a folder you built to.
    You can use one of the iso software drives to mount the iso and pull the individual files (the same result as if you burned the iso to disk and then copied files off it).  You can then try to pull the vobs into Encore, or rename and import, or convert.  This is not a terrible option if you have the menu files around and do not have the source video files.
    In my DVDIt days, I played with their "open DVD" (or somesuch) that allowed this.  It added another directory on the DVD and additional files, then allowed you to open that and edit.

  • How do I burn an .ISO from MSDN that Boot Camp will recognize?

    Hello, I have a developers license that allows me to download the Windows 7 installers from the MSDN site in .ISO form. I can't seem to burn any of the installers to a disc that Boot Camp assistant will recognize as an installer DVD.
    I have read and followed ALL of the solutions and still can not burn a recognizable disc. I have followed the IMGBURN instructions while in Parallels running Windows too.
    Does anyone know how to create a compatible Boot Camp installer disc from the ISO's available on the MSDN network for Windows 7, preferably the 64-bit English Ultimate version?
    I have tried the following instructions while in Windows 7 running in Parallels but they are either inaccurate or poorly written. If you have used these instructions with success, please translate into plain english because it just doesn't work in the VM I used.
    1. Insert Windows Install disc into DVD drive
    2. Using the build mode of imgburn, go to the advanced tab, then bootable disc and then select your DVD folder +--(saw that correction)+ in the extract boot image drop down list . Go ahead and extract the boot image and store it somewhere on your hard drive +(where is the extract button?)+
    3. Go to the information tab and add your DVD drive as the source file
    4. Options tab, check that file system is ISO9660 + IDF and UDF revision is 1.02 (should be anyway by default)
    5. Go to Advanced tab, sub tab Restrictions and further sub tab ISO9660: Set Folder / File length to Level X and tick the four check boxes at the bottom (allow more than 8 directory levels, Allow more than 255 characters in path, Allow files without Extensions, Don’t Add ‘;1’ Version number to Files. (Note it’s this bit that actually solves the problem the rest is effectively just duplicating the existing disc)
    6. Move to the bootable disc tab: Click the tick box to make the image bootable, emulation type to “none (custom)” and the browse and select the boot image you previously extracted from the windows disc. Finally set Sectors to load to 4.
    7. Click the big create iso button to create the bootable iso. +(there is no big 'create' button, there is a build button though)+
    8. And use that iso to burn a new install disc.
    --THANKS, searching for the solution.

    When I had boot issues with CDs, I would use BCD and create a bootable disc rather quickly. http://www.nu2.nu/bcd/ I can't verify that it works with Vista or Win 7, but you'd have to try it yourself. Very easy to use and hadn't failed me in the past.

  • Cdrecord/brasero burn the ISO file as data file instead of as image

    Following the wiki, I was able to burn a Cd witht he command:
    $ sudo cdrecord -v driveropts=burnfree dev=/dev/cdrom -dao "isofile.iso"
    Things seemed to go fine and I got this output:
    TOC Type: 1 = CD-ROM
    scsidev: '/dev/sr0'
    devname: '/dev/sr0'
    scsibus: -2 target: -2 lun: -2
    Linux sg driver version: 3.5.27
    Wodim version: 1.1.10
    Driveropts: 'burnfree'
    SCSI buffer size: 64512
    Device type : Removable CD-ROM
    Version : 5
    Response Format: 2
    Capabilities :
    Vendor_info : 'Optiarc '
    Identification : 'DVD RW AD-7540A '
    Revision : '1.01'
    Device seems to be: Generic mmc2 DVD-R/DVD-RW.
    Current: 0x000A (CD-RW)
    Profile: 0x002B (DVD+R/DL)
    Profile: 0x001B (DVD+R)
    Profile: 0x001A (DVD+RW)
    Profile: 0x0016 (DVD-R/DL layer jump recording)
    Profile: 0x0015 (DVD-R/DL sequential recording)
    Profile: 0x0014 (DVD-RW sequential recording)
    Profile: 0x0013 (DVD-RW restricted overwrite)
    Profile: 0x0012 (DVD-RAM)
    Profile: 0x0011 (DVD-R sequential recording)
    Profile: 0x0010 (DVD-ROM)
    Profile: 0x000A (CD-RW) (current)
    Profile: 0x0009 (CD-R)
    Profile: 0x0008 (CD-ROM) (current)
    Profile: 0x0002 (Removable disk)
    Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
    Driver flags : MMC-3 SWABAUDIO BURNFREE
    Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
    Drive buf size : 890880 = 870 KB
    Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
    communication breaks or freezes immediately after that.
    FIFO size : 4194304 = 4096 KB
    Track 01: data 100 MB
    Total size: 115 MB (11:24.94) = 51371 sectors
    Lout start: 115 MB (11:26/71) = 51371 sectors
    Current Secsize: 2048
    ATIP info from disk:
    Indicated writing power: 3
    Reference speed: 6
    Is not unrestricted
    Is erasable
    Disk sub type: High speed Rewritable (CAV) media (1)
    ATIP start of lead in: -11240 (97:32/10)
    ATIP start of lead out: 359849 (79:59/74)
    1T speed low: 4 1T speed high: 10
    2T speed low: 4 2T speed high: 0 (reserved val 6)
    power mult factor: 1 5
    recommended erase/write power: 5
    A1 values: 24 1A D8
    A2 values: 26 B2 4A
    Disk type: Phase change
    Manuf. index: 27
    Manufacturer: Prodisc Technology Inc.
    Blocks total: 359849 Blocks current: 359849 Blocks remaining: 308478
    Speed set to 1764 KB/s
    Starting to write CD/DVD at speed 10.0 in real SAO mode for single session.
    Last chance to quit, starting real write in 0 seconds. Operation starts.
    Waiting for reader process to fill input buffer ... input buffer ready.
    Performing OPC...
    Sending CUE sheet...
    Writing pregap for track 1 at -150
    Starting new track at sector: 0
    Track 01: 100 of 100 MB written (fifo 100%) [buf 100%] 10.6x.
    Track 01: Total bytes read/written: 105207808/105207808 (51371 sectors).
    Writing time: 110.338s
    Average write speed 7.0x.
    Min drive buffer fill was 100%
    Fixating...
    Fixating time: 19.578s
    BURN-Free was never needed.
    wodim: fifo had 1658 puts and 1658 gets.
    wodim: fifo was 0 times empty and 1585 times full, min fill was 89%.
    But then when I mount the cdrom back, instead of the contents of the ISO image, I find the "isofile.iso" file!!
    I tried installing brasero and using it instead, but the same thing happened, what could the problem be?
    Last edited by Ferk (2010-11-07 14:24:46)

    You should not be using the "-dao" switch and get rid of the burnfree thing as that is now deprecated and will be used anyways if your drive supports it, so:
    sudo cdrecord -v dev=/dev/cdrom isofile.iso

Maybe you are looking for

  • Mapping of Tax Form Fields to the PDF Tax Form

    Hi,    Can anyone tell me how to see the mapping betw the Tax Form fields and the Tax Form in pdf format. For example in Quarterly State Unemployment form, I have a Tax Form field T003. How can I map this field to a particular field in the Tax Form i

  • Flash content loaded in IFRAME gets disappeared while applying transform:scale css property

    I have an iframe loaded with a flash content inside, and i have to resize the iframe while browser window width changes. So i tried changing transform:scale() property on different media query cut-offs. But unfortunately firefox makes the flash conte

  • Any special steps to install Tiny7 via BootCamp?

    I've done a few flawless Windows 7 installs but I'm just having a hard time getting Tiny7 to install correctly. The issue I'm currently running into is after I've used BootCamp Utility to make a bootable thumbdrive from the Tiny7 iso on my computer.

  • Framemaker 12 - "Liste von" defekt?

    Guten Tag, wenn ich diese Funktion auswähle und bei den Einstellungen "Importierte Grafiken" oder "ungelöste Querverweise" angebe, bekomme ich keine oder eine unvollständige Liste. Haben wir irgendwelche Einstellungen falsch? Oder ist das ein Bug in

  • Recieving messages from JMS host on different machine

    Hi guys and girls, I am having a little trouble trying to send JMS object messages from one machine to another where the JMS Host is located on the same machine as the server. We'll use the same "earth" "jupiter" example as used by sun in the tutoria