Skip to content

RayZopf/LSLForge_patched

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS REPO IS DEPRECATED

(still usefull regarding build environment, need for json == 0.7.* + text and the float varibale bug)

PLEASE GO TO: https://github.com/raysilent/lslforge
and fork that one, it has

  • fixes for the SIM Editor (no more Java 6 needed!)
  • hopefully all the patches that were integrated here
  • support for later added LSL functions and variables
  • some more fixes

Main intention of this repo is to provides an enhanced LSLForge (haskell) executable

using LSLForge 0.1.6, LSLForge executable 0.1.3
(06. May 2014, LSLForge.exe 0.1.6.2)

BUG: (float-variable = number-a / number-b) get's calculated to (f-v = 0); use f-v = a.n / b.m
not (val = 4 / 5) but (val = 4.0 / 5.0)
have not tested if the bug is in main LSLForge too, or if only this patched version exposes this miscalculation

LSLForge and Eclipse

if you want to use SIM editor you need to use Java 6 (outdated, no longer gets public security updates, not recommended),
see #22, and also pay attention to path and file naming, see #37

to use Java6 instead of default one: modify eclipse.ini, add
-vm
C:/Program Files/Java/jre6/bin/javaw.exe
(== path to your Java6 installation directory)
just before
-vmargs
example:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:/Program Files/Java/jre6/bin/javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m

How to build LSLForge executable yourself

get ancient Haskell version -
as Haskell platform download is missing, get below GHC version and install needed packages manually!
http://www.haskell.org/ghc/download_ghc_6_10_4
Packages from Haskell Hackage

and here is my full lib list (C:\ghc\ghc-6.10.4\bin\ghc-pkg list):
C:/ghc/ghc-6.10.4\package.conf:
    Cabal-1.6.0.3, HTTP-3001.1.5, HUnit-1.2.0.3, HaXml-1.19.7,
    QuickCheck-1.2.0.0, Win32-2.2.0.0, array-0.2.0.0, base-3.0.3.1,
    base-4.1.0.0, binary-0.4.5, binary-0.5.0.2, bytestring-0.9.1.4,
    cereal-0.4.0.1, containers-0.2.0.1, directory-1.0.0.3,
    (dph-base-0.3), (dph-par-0.3), (dph-prim-interface-0.3),
    (dph-prim-par-0.3), (dph-prim-seq-0.3), (dph-seq-0.3),
    extensible-exceptions-0.1.1.0, fclabels-0.4.2.1, filepath-1.1.0.2,
    (ghc-6.10.4), ghc-prim-0.1.0.0, haddock-2.4.2, haskell-src-1.0.1.3,
    haskell98-1.0.1.0, hpc-0.5.0.3, html-1.0.1.2, integer-0.1.0.1,
    json-0.7, monads-fd-0.0.0.1, mtl-1.1.0.2, network-2.2.1.2,
    old-locale-1.0.0.1, old-time-1.0.0.2, packedstring-0.1.0.1,
    parallel-1.1.0.1, parsec-2.1.0.1, polyparse-1.2, pretty-1.0.1.0,
    process-1.0.1.1, pureMD5-0.2.4, pureMD5-1.1.0.0, random-1.0.0.1,
    regex-base-0.72.0.2, regex-compat-0.71.0.1, regex-posix-0.72.0.3,
    rts-1.0, stm-2.1.1.2, syb-0.1.0.1, template-haskell-2.3.0.1,
    text-0.5, time-1.1.4, transformers-0.1.4.0, utf8-string-0.3.7,
    xhtml-3000.2.0.1, zlib-0.4.0.4

follow the instructions given for LSLPlus at paragraph Building the Native Executable
you need to get the packages in the above given versions and configure, build and install most of them manually
as there are some issues with cabal/dependencies

Added patches

###From Issues list

###From clone (haskell code)

What to do with Win32 LSLForge.exe

get precompiled patched LSLForge executable from this repo
replace current LSLForge.exe found in path-to-eclipse\plugins\lslforge_win32_x86_0.1.6\os\win32\x86
verify by any updated/recompiled lsl files and changed header message (enhanced first line)

I got feedback the exe is not working on Win8-64 (comment accidentially removed), so I added cygwin 'file' and 'ldd' output for you to check. https://github.com/RayZopf/LSLForge_patched/commit/e7c8f814c5065f4fa066b9ccfd47f62e424e4435

(LSL, LSLForge, Eclipse, Haskell, Second Life, script, editor, patch)

About

!!!go to https://github.com/raysilent/lslforge !!! LSLForge for eclipse with patches added (LSL, LSLForge, Eclipse, Haskell, Second Life, script, editor, patch)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published