euverve Posted January 18, 2009 Posted January 18, 2009 I have problem obfuscating my project, please help...Here's the error:>Running Obfuscator (1.0.25.0) from:C:\Program Files\AutoIt3\SciTE cmdline:!File contains records longer than 2047 .. stopping process.!Ending Obfuscator program.!>20:07:32 Obfuscator ended with errors, using original scriptfile.rc:999Any input guys...
Developers Jos Posted January 18, 2009 Developers Posted January 18, 2009 Not sure what your question is... Assuming you have a line in your script that is longer than 2048 which, as clearly is mentioned, you need to split that/those line(s). Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
piratao2 Posted May 17, 2009 Posted May 17, 2009 Sorry to revive an old thread, but I'm having the same error and I actually don't find any lines on my script that are longer than 2047 chars. Actualy the bigger one was 380 chars long, and I have splitted it using: $temp="Some string goes here." & @CR $temp=$temp & "Another string continuing the text." & @CR $temp=$temp & "One more and it's almost done..." & @CR $temp=$temp & "Finally the last one!" GUICtrlSetTip(-1, $temp)
AdmiralAlkex Posted May 17, 2009 Posted May 17, 2009 (edited) Sorry to revive an old thread, but I'm having the same error and I actually don't find any lines on my script that are longer than 2047 chars. Actualy the bigger one was 380 chars long, and I have splitted it using: $temp="Some string goes here." & @CR $temp=$temp & "Another string continuing the text." & @CR $temp=$temp & "One more and it's almost done..." & @CR $temp=$temp & "Finally the last one!" GUICtrlSetTip(-1, $temp)Did you check your includes? If you have that error there must be an overly long line somewhere. Edited May 17, 2009 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Valuater Posted May 17, 2009 Posted May 17, 2009 Sorry to revive an old thread, but I'm having the same error and I actually don't find any lines on my script that are longer than 2047 chars. Actualy the bigger one was 380 chars long, and I have splitted it using:...Can you post the error info like the OP did?8)
piratao2 Posted May 17, 2009 Posted May 17, 2009 I have this: #include <SQLite.dll.au3> And I think it may be the problem... The error is: >Running Obfuscator (1.0.24.22) from:C:\Program Files\AutoIt3\SciTE cmdline: !File contains records longer than 2047 .. stopping process. !Ending Obfuscator program. !>17:47:06 Obfuscator ended with errors, using original scriptfile.rc:999
piratao2 Posted May 17, 2009 Posted May 17, 2009 Yes, sqlite.dll.au3 contains lines with 4095 chars! Would I need to split all those lines in 2047 chars parts?
Inverted Posted May 17, 2009 Posted May 17, 2009 (edited) Yes, sqlite.dll.au3 contains lines with 4095 chars! Would I need to split all those lines in 2047 chars parts?Yes, you can reliably and easily split lines like this example, taken from the help file (Language Reference - Comments) MsgBox(4096,"", "This is a rather long line, so I " & _ "broke it with the underscore, _, character.") Edited May 17, 2009 by Inverted
piratao2 Posted May 18, 2009 Posted May 18, 2009 Then I will need to make a script to modify that file... Thanks!
KaFu Posted May 18, 2009 Posted May 18, 2009 Or try this: #Obfuscator_Off ;Stop the Obfuscation process below this line #include <sqlite.dll.au3> #Obfuscator_On OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
piratao2 Posted May 19, 2009 Posted May 19, 2009 Or try this: #Obfuscator_Off ;Stop the Obfuscation process below this line #include <sqlite.dll.au3> #Obfuscator_OnJust for the record, this does not work. I'm still going to make a script which will split each line of the sqlite.dll.au3 and return a new file with max 2047 chars per line. Once I do that I'll post here for future reference.
KaFu Posted May 19, 2009 Posted May 19, 2009 You're right... I thought I've tested it before and it worked OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
Inverted Posted May 19, 2009 Posted May 19, 2009 You don't have to split every line ! Just check each line to see if it's above the limit and split that if needed, no need to rape the poor files
piratao2 Posted May 19, 2009 Posted May 19, 2009 (edited) You don't have to split every line ! Just check each line to see if it's above the limit and split that if needed, no need to rape the poor files On sqlite.dll.au3, all lines are 4095 chars. So I do need to rape that sexy file! Just lazy to do that script now...Thanks! Edited May 19, 2009 by piratao2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now