Search found 159 matches

by Dummy
Fri Nov 11, 2011 12:52 pm
Forum: Coding Questions
Topic: Best method to preallocate a big file?
Replies: 5
Views: 2171

Re: Best method to preallocate a big file?

Hmm dige, your code won't work for big files in 32 Bit PureBasic as it maps the whole file into virtual memory space... still it might come in handy in other projects...

Thanks Danilo for the neat piece of code. Two questions:
1. Your code fails for devices that don't support sparse files (e.g ...
by Dummy
Fri Nov 11, 2011 1:36 am
Forum: Coding Questions
Topic: Best method to preallocate a big file?
Replies: 5
Views: 2171

Best method to preallocate a big file?

I'm looking for the best way to preallocate a big file before starting to write into it in order to make code simpler in the long run.

Let's assume this as basic app code:
Declare CreateFilePreallocated(fileId, filename.s, fileSize.q)

Define big_size.q

big_size = 1024 * 1024 ; 1mb for testing ...
by Dummy
Sat Aug 13, 2011 11:02 am
Forum: Feature Requests and Wishlists
Topic: [Implemented] Packer command support of ZIP compression
Replies: 29
Views: 7229

Re: Packer command support of ZIP compression algorithm ?

Add LZMA (SDK = LZMA Utils) / LZMA2 (SDK = XZ Utils) instead.

It's free and cross platform and the license would allow integrating it as a library
by Dummy
Thu Jan 14, 2010 8:22 pm
Forum: Coding Questions
Topic: AES encryption/decryption padding
Replies: 0
Views: 712

AES encryption/decryption padding

Hi I'm currently working on a project where a Java server and a PureBasic client communicate using AES CBC encryption.

As the documentation about the AES Cipher lib of PureBasic currently is very basic I wanted to ask if anybody knows how PureBasic does the padding for input data that has a length ...
by Dummy
Mon Nov 10, 2008 10:53 pm
Forum: Announcement
Topic: uPatcher - The FREEWARE Update Patcher
Replies: 3
Views: 3024

So as you're publishing this software under the GNU GPL... where are the sources? I'd like to take a look at it ;)
by Dummy
Mon Nov 10, 2008 3:29 am
Forum: Tricks 'n' Tips
Topic: Wildcard String Compare
Replies: 16
Views: 12396

I ran some tests to compare speed and find the fastest function...

The one by Johan_Haegg seems to be the fastest but I didn't take it into account as it doesn't support the '?'-symbol.

My testing code and files:
http://www.dashtec.net/wildcards.rar

And my results:
*/tp-downloads/*/.htaccess ...
by Dummy
Fri Nov 07, 2008 10:21 pm
Forum: Tricks 'n' Tips
Topic: Wildcard String Compare
Replies: 16
Views: 12396

I wrote a new wildcard checking engine... It should perform better the others in ths thread...

So here are the current sources:
; Author: DaDummy

Structure wc_new1_data ; 2008-12-28
; attention: this structure is shared across all recursive calls - marked content musn't be invalidated ...
by Dummy
Mon Jun 23, 2008 5:08 pm
Forum: Announcement
Topic: Hover-Bots: 3D Comic Action-Racing Game [NOW ALSO FOR VISTA]
Replies: 43
Views: 19496

Vista Problem solved. Thx.

Nice Game - reminds me of one of my favourite N64 games :)
by Dummy
Mon Jun 23, 2008 12:29 pm
Forum: Announcement
Topic: Hover-Bots: 3D Comic Action-Racing Game [NOW ALSO FOR VISTA]
Replies: 43
Views: 19496

@Dummy: Thanks.
np, I'm glad to be able to help you as full Vista compatibility seems to be a pretty difficult issue for applications that use advanced 3D acceleration features.

I've addded some additional information to my bugreport.

Do you have access to the sources of your PB engine? If so I ...
by Dummy
Sun Jun 22, 2008 6:05 pm
Forum: Announcement
Topic: Hover-Bots: 3D Comic Action-Racing Game [NOW ALSO FOR VISTA]
Replies: 43
Views: 19496

Error

Number: "6_0_0"
Description: "An attemped read or write to/from an adress to which that process isn't allowed"


How to reproduce:

Start the game

What happens:

Game loads, the blue border is visible and music begins to play. No menu or anything except the texts "loading blabla..." was ...
by Dummy
Wed Jun 04, 2008 11:35 pm
Forum: General Discussion
Topic: Managing & Compiling Large Projects
Replies: 10
Views: 2728

I also wrote my own program... it wasn't intended for public release so expect the features to be somehow a little... limited.

Download: http://www.dashtec.net/pbbuild.rar

The download package consists of a very small readme, the sources and a compiled version of my pbbuild software.
You'll also ...
by Dummy
Sat May 31, 2008 12:55 am
Forum: PureFORM & JaPBe
Topic: jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Replies: 1545
Views: 689761

gnozal wrote:Update

Changes :
- fixed delay when starting jaPBe with PB4.20 and 'Load constants from residents' is enabled
Thanks for fixing it :)
by Dummy
Thu May 29, 2008 4:53 pm
Forum: PureFORM & JaPBe
Topic: jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Replies: 1545
Views: 689761

In the latest version JaPBe hangs for several seconds while starting up. This slows down the general startup process of JaPBe what is really annoying when starting and closing JaPBe often as I do.
Please fix it (JaPBe Version 3.8.5.702)
1. It noticed a delay with PB4.20 too if 'Load constants from ...
by Dummy
Wed May 28, 2008 8:54 pm
Forum: PureFORM & JaPBe
Topic: jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Replies: 1545
Views: 689761

In the latest version JaPBe hangs for several seconds while starting up. This slows down the general startup process of JaPBe what is really annoying when starting and closing JaPBe often as I do.
Please fix it (JaPBe Version 3.8.5.702)
by Dummy
Tue May 27, 2008 5:10 pm
Forum: Feature Requests and Wishlists
Topic: Static lib output
Replies: 28
Views: 43462

This: http://www.purebasic.fr/english/viewtopic.php?t=31339
looks like a temporary solution...