Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Ilda & CTN batch convertor

  1. #1
    Join Date
    Jul 2008
    Location
    My momentum is too precisely determined :S
    Posts
    1,777

    Default Ilda & CTN batch convertor

    This is a very basic program that allows you to batch convert between all ilda format files and a Chinese company's proprietary .ctn file format. This is especially useful for people who have an SD card projector and a large library of uncompatible ilda files. It automatically recognises all ilda and ctn file formats upon import and outputs to the desired format. SD card users will probably want to use ilda format 0. There are no bells or whistles, but it comes with a little preview window and frame position slider, so maybe one bell and one whistle are added.




    The top buttons load/export one ilda or ctn file at a time. This is more like a quick inspect tool.

    The bottom buttons are the batch conversion tools.

    1. Select a folder of source files with the first button (optionally, subfolders can be processed as well)
    2. Select a destination folder
    3. Select an output format, multiple formats can be chosen at the same time
    4. Click Process and enjoy!


    This is very basic, no options are present to fix the palette etc., it always assumes the default 64 colour palette is used. This will be correct in 99.9 % of the case (it will load in included palettes from ilda files).

    This program is more like a coding exercice for me to improve my skill. So, feedback is appreciated, especially if you found any bugs. It uses a library I'm developing for Processing.

    So, here it is!

    64 bit: IldaCtnBatchConvertor.rar
    32 bit: CRTN2Ilda x86.rar


    System requirements:
    Windows 32 or 64 bit (Mac and Linux users hit me up: it is possible to compile for OSX/Linux but you need to be on a mac/linux computer for that)
    Recent Java install
    OpenGL 2.0+

    Enjoy!


    Click image for larger version. 

Name:	Schermafdruk 2015-06-16 23.20.41.png 
Views:	323 
Size:	19.9 KB 
ID:	47347
    Last edited by colouredmirrorball; 10-14-2015 at 07:45.

  2. #2
    Join Date
    Jul 2010
    Location
    Netherlands
    Posts
    3,314

    Default

    Nice! Great work!

  3. #3
    Join Date
    May 2008
    Location
    Once it was called "Bel Paese" = ITALY
    Posts
    858

    Default

    WOW!!! Great job!!!
    Thanks to share!
    my webpage
    http://stevemilani.jimdo.com
    Skype ID: stevemilani957

    my RGB analogue projectors:
    3.9 W (640/532/445) 30kpps
    2.6 W (655/532/450) 30kpps
    2.5 W (638/532/450) 30kpps
    0.7 W (test unit)(635/532/473) 18kpps

  4. #4
    Join Date
    Jul 2015
    Posts
    28

    Default

    Thank you very much!
    I just ordered my first laser projector with SD-Card support, and plan on making some simple animations using LasershowGen, so this program will most likely come in handy.

    Edit:

    I'm getting a white screen, just like IldaViewer v1.
    I got the latest Nvidia drivers and Java 64bit version.
    I'm using Windows 8.1 64 bit

    Any idea how to fix this?

    Thanks
    Last edited by boempa; 07-13-2015 at 14:53.

  5. #5
    Join Date
    Jul 2008
    Location
    My momentum is too precisely determined :S
    Posts
    1,777

    Default

    Woops, sorry boempa, looks like I missed your question!

    A white screen looks like it can find java as the program starts up. Nothing showing up means probably an OpenGL issue. It could also be something else goes wrong during the setup of the program. It's normal for the screen to be white during start up but it should take a couple seconds at maximum. Maybe let it start up for a little longer? Could be something is interfering with the start up process (like antivirus) slowing it seriously down.

    Can you do these steps?

    -Browse in explorer to the folder you extracted the program (.exe) to
    -right click anywhere in the explorer window
    -click on "New" and then "Text file"
    -Rename the text file to "CRTN2Ilda.bat"
    -Put this in the text file:

    Code:
    @echo off
    java -Djava.ext.dirs=lib -Djava.library.path=lib CRTN2Ilda
    -double click the .bat file
    -A command prompt should now open up
    -Reply with the output from this command prompt (you can click on the top left icon to bring up a dialog where you can edit >> select/copy text)

  6. #6
    Join Date
    Jul 2015
    Posts
    28

    Default

    Hi colouredmirrorball, I've just installed the latest Java version, to be sure, here's the output:
    Catched FileNotFoundException: D:\CRTN2Ilda\lib\gluegen-rt-natives-windows-i586.
    jar (Het systeem kan het opgegeven bestand niet vinden), while addNativeJarLibsI
    mpl(classFromJavaJar class com.jogamp.common.os.Platform, classJarURI jar:file:/
    D:/CRTN2Ilda/lib/gluegen-rt.jar!/com/jogamp/common/os/Platform.class, nativeJarB
    aseName gluegen-rt-natives-windows-i586.jar): [ file:/D:/CRTN2Ilda/lib/gluegen-r
    t.jar -> file:/D:/CRTN2Ilda/lib/ ] + gluegen-rt-natives-windows-i586.jar -> slim
    : jar:file:/D:/CRTN2Ilda/lib/gluegen-rt-natives-windows-i586.jar!/
    Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: Can't loa
    d library: D:\CRTN2Ilda\gluegen-rt.dll
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.load0(Unknown Source)
    at java.lang.System.load(Unknown Source)
    at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary Internal(JNILibLoad
    erBase.java:551)
    at com.jogamp.common.jvm.JNILibLoaderBase.access$000( JNILibLoaderBase.ja
    va:64)
    at com.jogamp.common.jvm.JNILibLoaderBase$DefaultActi on.loadLibrary(JNIL
    ibLoaderBase.java:96)
    at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary (JNILibLoaderBase.j
    ava:414)
    at com.jogamp.common.os.DynamicLibraryBundle$GlueJNIL ibLoader.loadLibrar
    y(DynamicLibraryBundle.java:388)
    at com.jogamp.common.os.Platform$1.run(Platform.java: 209)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.jogamp.common.os.Platform.<clinit>(Platform.ja va:179)
    at javax.media.opengl.GLProfile.<clinit>(GLProfile.ja va:83)
    at processing.opengl.PJOGL.initSurface(PJOGL.java:250 )
    at processing.opengl.PGraphicsOpenGL.initPrimary(PGra phicsOpenGL.java:63
    10)
    at processing.opengl.PGraphicsOpenGL.requestDraw(PGra phicsOpenGL.java:16
    53)
    at processing.core.PApplet.run(PApplet.java:2256)
    at java.lang.Thread.run(Unknown Source)

  7. #7
    Join Date
    Jul 2008
    Location
    My momentum is too precisely determined :S
    Posts
    1,777

    Default

    Ah, looks like a 32 VS 64 bit issue. I'll upload a 32 bit version as soon as I get back to my computer in an hour. If you can't wait that long and have a 64 bit computer you can try it again with a 64 bit Java VM.

  8. #8
    Join Date
    Jul 2015
    Posts
    28

    Default

    Thanks for the effort.
    I'll wait for the new version

  9. #9
    Join Date
    Jul 2008
    Location
    My momentum is too precisely determined :S
    Posts
    1,777

    Default

    Updated first post with 32 bit version.

  10. #10
    Join Date
    Jul 2015
    Posts
    28

    Default

    Thanks, works like a charm!
    Btw, it would seem the .ctn file format isn't that common among animation sites, correct?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •