Go Back   the Magicball Network > Forums > LBA Modifications > LBA Modifications - General
Buy LBA1/Relentless from GOG.com Buy LBA1/Relentless from DotEmu Buy LBA2/Twinsen's Odyssey from DotEmu Buy LBA2/Twinsen's Odyssey from GOG.com Buy Little big Adventure from GOG.com or DotEmu Buy Little big Adventure 2 from DotEmu or GOG.com

Welcome to the Magicball Network.

You are currently viewing our site as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Reply
 
Thread Tools
  #1  
Old 2007-04-13, 22:26
Rincevent_123's Avatar
Rincevent_123 Rincevent_123 is offline
Magic Level: Fire Ball
 
Join Date: Apr 2007
Location: Germany
Posts: 380
question about the exact content of LBA1 HRQ

Hi all,

I am trying to figure out how I can display a room background loaded from the HQR.

Looking at the twin engine, it looks like that there is 3 important files for that (I have to say the twin engine code
is a bit messy so it is pretty hard to catch the content...) :

- LBA_BRK.HQR : contain the sprites of each parts of the rooms

- lba_bll.hqr : for each room, contain a list of index of sprite to load from LBA_BRK.HQR to get the full picture???

- lba_gri.hqr: contain the physical information of the room for collision (not quite sure of that one) ???


Could you please tell me if I am in the good way or not, and correct me if I made a mistake?
Thanks a lot!

Last edited by Rincevent_123; 2007-04-13 at 22:48.
Reply With Quote
  #2  
Old 2007-04-13, 22:32
Kobold's Avatar
Kobold Kobold is offline
Magic Ball Master
 
Join Date: Jun 2006
Location: Germany
Posts: 7,336
I guess "HRQ" should be HQR?
To simply look at a room, you can use LBArchitect. A link should be here.
Reply With Quote
  #3  
Old 2007-04-13, 22:49
Rincevent_123's Avatar
Rincevent_123 Rincevent_123 is offline
Magic Level: Fire Ball
 
Join Date: Apr 2007
Location: Germany
Posts: 380
I already looked at LBArchitect, but what I am trying to do is coding it by myself to better understand the mechanisms of the LBA engine.
Reply With Quote
  #4  
Old 2007-04-13, 23:10
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,767
- LBA_BRK.HQR : contain the tiles/bricks of each block of the rooms

- lba_bll.hqr : contain the layouts. Layouts are group of bricks which compose a sprite to use in rooms, like objects, walls, grounds, water, etc.. They also have a related flag, which can related a sound (like the ground) and a water (when you die in game)

- lba_gri.hqr: contain the rooms. Rooms are group of Layouts.

Don't know if was what you're looking for?!
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #5  
Old 2007-04-13, 23:10
Kobold's Avatar
Kobold Kobold is offline
Magic Ball Master
 
Join Date: Jun 2006
Location: Germany
Posts: 7,336
Ah, I see.

Many editing tools are outsourced. You can check if LBArchitect is too on Emerald Moon Base (when it works properly again).
Reply With Quote
  #6  
Old 2007-04-13, 23:13
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,767
Ah, and about the twin-e code, its normal to be messy when its a reverse engineer.
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #7  
Old 2007-04-13, 23:22
Rincevent_123's Avatar
Rincevent_123 Rincevent_123 is offline
Magic Level: Fire Ball
 
Join Date: Apr 2007
Location: Germany
Posts: 380
Yes alex, I know and totally understad that. I didn't mean that as a bad point. Actually this engine is trully a great work. But I am trying to understand the concept of it and that is not so easy.


I wanted to base on the existant twin engine in order to create another game, but I guess I will have to rewrite the whole engine from scratch using nice c++ classes in order to make the whole thing more modulable first

Btw, is there any place I could find the source code of the LBArchitect tool?
The Emerald Moon Base website is so slow at my place, it takes hours to load a single page so I guess it will be impossible for to find anything from there.

Last edited by Rincevent_123; 2007-04-13 at 23:29.
Reply With Quote
  #8  
Old 2007-04-13, 23:25
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,767
If you want to know how the engine work you should use the tools we have in the sticky thread in this forum and also see some file formats specifications some fan projects have, like mine. I learn a lot how the engine work and how they did the things with that, of course twin-e help too.
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #9  
Old 2007-04-19, 15:25
Zink's Avatar
Zink Zink is offline
Master of Degree
 
Join Date: Sep 2001
Location: Lublin, Poland
Posts: 1,744
Rincevent, give me your e-mail, I will send you the source code if you can't download it from my page.
__________________
Emerald Moon Base projects: Little Big Architect - v 0.10 and v 1.0 beta 9, Package Editor - v 0.11+, Text Editor 2 - v 2.3, Font Editor - v 2.03+.
Bug reporting (hosted by alexfont).

All LBA technical information goes in here -> LBA File Information Project

LBA Prequel Demo has been released! See our blog
Reply With Quote
  #10  
Old 2007-04-19, 16:05
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,767
Rincevent already talk to me privately and already get that working.
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LBA Modifications: Quick Start & Modding Tools [updated: 01-04-2009] ChaosFish LBA Modifications - General 0 2004-01-23 18:59
The Ultimate Question A_LIPSTICK Off topic 47 2003-07-18 04:01
Technical LBA1 Question Mirage General 20 2001-12-14 18:57


All times are GMT +2. The time now is 08:11.




News Feed
Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright ©2000 - 2016, the Magicball Network