I was just wondering if any knows a easy way to convert a .simba file to a .jar? Thanks.
I was just wondering if any knows a easy way to convert a .simba file to a .jar? Thanks.
You can't.
They're different languages.
Any way you can port it over?
The only reason you'd want to do this is if you were trying to encrypt, obfuscate, or otherwise close-source your script.
This is frowned upon at SRL, everything here is free and open-source.
To answer your question: no, PascalScript and Java are entirely different languages.
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols
well, short answer no.
Long answer Yes and very buggy, you can but it requires a lot of knowledge in assembly as well as both languages, involves extensive knowledge of how the 2 languages compile to assembly and a complex process of compiling and de-compiling the code into java, or making a special compiler which can automatically interpret convert pascal script and the dependencies and finally compiling it into a .jar file. (correct me if I am wrong) I have never tried this myself, but theoretically it is possible.
For all that effort, it would simply be easier to learn how to code the basics in both languages and just copy the script over.
Once you understand the script logic you can pretty much copy the script over providing you change the syntax and the dependent functions.
Guides:Lape Basics ---Multi-Dimensional Arrays --- Dung Guide , Scripts:Cooking guilder --- Enslaved Fletcher --- EnslavedHumidity
start -> control panel -> folder options, click the view tab. uncheck 'hide extensions for known file types'
go to the .simba file, right click -> rename, type name as .jar.
there. its converted to a .jar. it wont run or anything because it doesnt have the structure that a .jar would, but hey. its a jar.
There are currently 1 users browsing this thread. (0 members and 1 guests)