Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Moving files to PAK files

Author
Message
Newbi2basic
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Nov 2002 16:23
I have an idea that involves moving files to a pak file.. but i am wondering how do you move say

"lala.BMP"
"CC.TXT"
To a file in a PAK file....

In the style of.

Pak.Pak\Yep\lala.BMP
and
Pak.Pak\CC.TXT
???????????

Thanks for you help

Newbi2basic
"When all is lost and you have nothing to lose. Thats the time to win stuff back..." Newbi2basic 23:33 26th august 2002
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 30th Nov 2002 20:42
Maybe WRITE DIRBLOCK and READ DIRBLOCK could help?

I love Star Trek.
Especially the Episodes with Starships in.
Newbi2basic
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Nov 2002 20:55
yeah but that only makes a file.... in the packfile

"When all is lost and you have nothing to lose. Thats the time to win stuff back..." Newbi2basic 23:33 26th august 2002
Newbi2basic
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Nov 2002 20:57
And your post sounded a bit sharp...
Try being a bit more friendly perhaps?
It sounded like you were treating me like i was thick...

"When all is lost and you have nothing to lose. Thats the time to win stuff back..." Newbi2basic 23:33 26th august 2002
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 1st Dec 2002 12:11
No, it was spur of the moment idea. I'd just found out about the comands, so I didn't know how to use them. I think maybe WRITE FILEBLOCK could also help?

Other than WRITE FILEBLOCK and WRITE DIRBLOCK there are no other commands for writing to a PAK, I think.

What are you trying to do, it just looks like you want to create files in a PAK file? Then those commands should work.

I love Star Trek.
Especially the Episodes with Starships in.
Dreamora
22
Years of Service
User Offline
Joined: 20th Sep 2002
Location: Switzerland
Posted: 1st Dec 2002 21:22
this commands don't write to a pak file, as a pak-file is a file in zip-format.
they only write your byte-datas into a mainfile -> could be read out by anyone

Philip 1337
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 9th Dec 2002 18:37
You could use Pakscape
Kangaroo2
22
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 12th Dec 2002 23:54
I don't think David89 meant to sound sharp, the capital letters were to show commands. Many people do this, but for this reason I usually put a command 'like this' or like this not LIKE THIS as it can look sarcastic

* If the apocalypse comes, email me *

Login to post a reply

Server time is: 2025-05-15 01:22:18
Your offset time is: 2025-05-15 01:22:18