Search found 342 matches
- May 04, 2019 8:38
- Forum: Community Discussion
- Topic: Extending Wstring and Zstring with UDTs
- Replies: 75
- Views: 35879
Re: Extending Wstring and Zstring with UDTs
@coderJeff i'm happy, you are digging on wstring features, i was surprised 3 years ago by some wstr function behavour when i was interrested on creating an "unicode dynamic string" and part because of these strange behavour , i've implemented my first "unicode string" using strin...
- May 04, 2019 8:16
- Forum: Community Discussion
- Topic: Challenge : Sfx encrypted file, to verify it's security level
- Replies: 9
- Views: 4448
Re: Challenge : Sfx encrypted file, to verify it's security level
Thank's all for your remarks @Tourist Trap I will avoid to download exe from that kind of organisation, i do not want to give total access to my pc... @counting_pine it's what i bet, put enougth difficulties for the people versus interrest as i said it is for 'private' usage not commercial. what i d...
- May 02, 2019 18:00
- Forum: Community Discussion
- Topic: Challenge : Sfx encrypted file, to verify it's security level
- Replies: 9
- Views: 4448
Re: Challenge : Sfx encrypted file, to verify it's security level
I know uniextract, i've used it for several years... it use the archivers uncompress dll, or exe to uncompress files, it looks at the known signature of the compressed file to select the right tool to use. Do not expect it will work for the challenge file, my objective is not to spray the info but t...
- May 02, 2019 17:37
- Forum: Community Discussion
- Topic: Challenge : Sfx encrypted file, to verify it's security level
- Replies: 9
- Views: 4448
Re: Challenge : Sfx encrypted file, to verify it's security level
yes sfx is the designation you can see on rar or other archivers
SFX for self extraction file, it has to be an executable, with embedded data.
SFX for self extraction file, it has to be an executable, with embedded data.
- May 02, 2019 16:49
- Forum: Community Discussion
- Topic: Challenge : Sfx encrypted file, to verify it's security level
- Replies: 9
- Views: 4448
Challenge : Sfx encrypted file, to verify it's security level
Hi I have been working on encrypt_decrypt features, and i've done an sfx creator for encrypted content. the objective is to transfert data to others with some level of security ( not as professionnal) Before using it, I am interrested to know how robust is it. As i've seen some topics on crypto subj...
- Apr 05, 2019 9:35
- Forum: Projects
- Topic: FB File2Bas Code Generator v1.01 build 2020-05-25 beta [Windows only]
- Replies: 5
- Views: 3428
Re: FB File2Bas Code Generator v0.99 beta [Windows only]
as on example, a code to embeed files just using incbin #Macro Macro_IncCommunEx(label , file , sectionName) dim label##_data as UByte Ptr dim label##_size as ULong #If __FB_DEBUG__ asm jmp .LT_END_OF_FILE_##label##_DEBUG_JMP #Else asm .section sectionName ' Switch to/Create the specified section #E...
- Apr 05, 2019 9:10
- Forum: Projects
- Topic: FB File2Bas Code Generator v1.01 build 2020-05-25 beta [Windows only]
- Replies: 5
- Views: 3428
Re: FB File2Bas Code Generator v0.99 beta [Windows only]
as in example a code to embeed files just using rcdata as simple as that #include once "windows.bi" 'compile with -x "D:\freebasic\samples\res_embeed.exe" -w pedantic -s console -v res_embeed.bas XXX_TEMP.RC > res_embeed.log 2>&1 'example of rc file named XXX_TEMP.RC /' //_BE...
- Apr 05, 2019 8:18
- Forum: Projects
- Topic: FB File2Bas Code Generator v1.01 build 2020-05-25 beta [Windows only]
- Replies: 5
- Views: 3428
Re: FB File2Bas Code Generator v0.99 beta [Windows only]
@UEZ nice to see, some usage of lzfx code yes, you could use also lzmat code, wich is better in compression ratio versus lzfx , and similar on speed decompression. but if you are interrested on compression have a look on my github place for compress https://github.com/marpon/Compression_tools you wi...
- Apr 05, 2019 7:30
- Forum: Sources, Examples, Tips and Tricks
- Topic: Simple lzmat compress/decompress without any dependency
- Replies: 6
- Views: 3773
Re: Simple lzmat compress/decompress without any dependency
@UEZ happy to see some interrest... I will reply more deeply on your posted project. @srvaldez i don't understand what's wrong. just use the function to push the compressed buffer to it it will be saved as compressed file ubyte2File(_COMPRESSED_FILE_,enc1 , i2) after if you want to decompress that c...
- Apr 04, 2019 16:44
- Forum: Sources, Examples, Tips and Tricks
- Topic: Simple lzmat compress/decompress without any dependency
- Replies: 6
- Views: 3773
Re: Simple lzmat compress/decompress without any dependency
@srvaldez yes it is no output to file , just buffers to compare thats enougth to verify the full compression/decompression process, but no problem, you can add that feature simply. take the buffer you want to save as file (compressed or uncompressed or both) and just use a function like this one to ...
- Apr 04, 2019 15:50
- Forum: General
- Topic: Need help on converting C code
- Replies: 12
- Views: 2462
Re: Need help on converting C code
THANK YOU DLK, for your very good fbfrog. just finished convert a compress /decompress code from c, can see the post on Tips & Tricks After some cleaning on the c code as explained before, the for ... loop do not convert easily with fbfrog the --, ++ , multi steps expended... used fbfrog and onl...
- Apr 04, 2019 15:39
- Forum: Sources, Examples, Tips and Tricks
- Topic: Simple lzmat compress/decompress without any dependency
- Replies: 6
- Views: 3773
Simple lzmat compress/decompress without any dependency
Hi, again a new compress/decompress code, from c source public domain by Ilya Muravyov. got it under crush name in powturbo github converted and adapted to freebasic, gives a quite good compression ratio /speed, very fast on decompression and very light also. and only in freebasic code '' original c...
- Apr 03, 2019 14:33
- Forum: General
- Topic: Need help on converting C code
- Replies: 12
- Views: 2462
Conclusion : Need help on converting C code
In fact for the ones who want convert c to freebasic, some interresting advice clean as much as you can on the c side, choose to preprocess the code or not ( you can replace defines by macros in fb) replace all the for loops , by while or do loops replace i++ by i +=1 in all part of your code try to...
- Apr 03, 2019 14:16
- Forum: General
- Topic: Need help on converting C code
- Replies: 12
- Views: 2462
SOLVED REALLY : Need help on converting C code
@counting_pine thanks for your very good answer, on the mean time i've concluded as you , see here the macro : #macro sub_macro(m_resbits, m_bits , m_src) if (m_bits and &h7fffffff) <> 0 then m_resbits = m_bits m_bits = m_bits + m_bits else m_src += 4 m_resbits = *(cptr(Ulong ptr ,(m_src - 4))) ...
- Apr 02, 2019 14:21
- Forum: General
- Topic: Need help on converting C code
- Replies: 12
- Views: 2462
SOLVED - Re: Need help on converting C code
Thank's both of you for your answer, on the mean time i think i got a good replacement code in c sub_macro( Ulong *presbits, Ulong *pbits , Ubyte **ppsrc0 ) { (*pbits) = (*pbits) & 0x7fffffff; if(*pbits) { *presbits = (*pbits); (*pbits) = (*pbits) + (*pbits); } else { (*ppsrc0) += 4; (*presbits)...