The Original Forum. Game archives, full of resources. How to open them? Get help here.
-
Guest
Post
by Guest » Tue Mar 04, 2003 10:31 am
Hello,
Is it possible to enable import of files into LBX archive?
I'm a great fan of Master of Magic by Microprose...
Thanx for doing a good job for all of us
PS: That Yuri Gagarin's face on your avatar is cool

-
Mr.Mouse
- Site Admin
- Posts: 4051
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 421 times
- Been thanked: 575 times
-
Contact:
Post
by Mr.Mouse » Tue Mar 04, 2003 2:37 pm
Well, you can utilize this script in Mex3Scriptor (start from within the program). Then save it as lbx.bms and Use Custom BMS On...
Select the created lbx.bms and then select an archive of your choice.
This will probably let you import into it, but it is not flawless.
The last file of each archive will be corrupted. So it isn't much use eh.
Anyway, here's the script. And perhaps I will look into it some other time.
ImpType SFileOff ;
Get FC Int 0 ;
Get D Int 0 ;
Get D Long 0 ;
SavePos TO 0 ;
For T = 1 to FC ;
GoTo TO 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos TO 0 ;
Get FS Long 0 ;
Math FS -= FO ;
Log "" FO FS FOO 0 ;
Next T ;