![]() |
|
![]() |
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. |
![]() |
|
Thread Tools |
#1
|
||||
|
||||
![]()
Dear folks,
your waiting has come to an end... the LBA 1/2 LSC (scene) editor 1.00 beta ![]() It can (for now) only edit actor/sprite data, for zones and the rest, you'll have to wait (I have to decipher, how they are saved into LBA 2 scene files first), but it has a working Save As feature, and also an option to auto-detect scene type (LBA 1 or LBA 2; I don't recommend using it, since it does not always detect files correctly). Sorry for the delay (1 day), but the servers here are not currently perfectly working (the speed is 31.2 kbps, although it works as on a 7.8 kbps ![]() BTW: ChaosFish, please add it to the sticky thread (the one with the programs list), OK? Yours sincerely, O_Brasileiro. ![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! |
#2
|
||||
|
||||
Ok I'll add your program in the Quick Start thread
![]() Bug Report:
Edited: . Program added in the Quick Start thread.
__________________
LBA2Remake v0.4.0 released - open source re-implementation of the LBA 2 original engine for the web. [Play on Browser]|[Changes]|[Github] The Sacred Carrot website Last edited by xesf; 2004-08-15 at 01:26. |
#3
|
||||
|
||||
![]() Quote:
So I attach with this file the LBA 1/2 LSC Editor 1.02 beta, which fixes the bugs, reported by alexfont, and also other bugs, found by me. Also, it now detects the bonus type, and displays it (a new label was added). However, I'm waiting (of course) for more bug reports. BTW: The servers work OK today. - alexfont: edit the link in the Quick Start sticky thread, so that it specifies this new version of the program. OK? ![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! Last edited by Battler; 2004-08-15 at 20:49. Reason: Forgot some lines... |
#4
|
||||
|
||||
Quote:
__________________
LBA2Remake v0.4.0 released - open source re-implementation of the LBA 2 original engine for the web. [Play on Browser]|[Changes]|[Github] The Sacred Carrot website |
#5
|
||||
|
||||
- alexfont: can you specify exactly, in which file some actors cause this error? Otherwise, I can't fix it.
![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! |
#6
|
||||
|
||||
It happens all actors.
Btw, you're getting wrong the sprite index. In the first scene file (Prison) the first sprite is the Plataform and have the entrie #26. In your program you have #0. The #26 are in the Animation Entity.
__________________
LBA2Remake v0.4.0 released - open source re-implementation of the LBA 2 original engine for the web. [Play on Browser]|[Changes]|[Github] The Sacred Carrot website |
#7
|
||||
|
||||
![]() Quote:
2. The wrong sprite index was for LBA 1/Relentless only. This has been fixed now too (changed the offsets). And, also change the Quick Start sticky thread, so that it links to this new version of the program. And, I also express my extreme gratitude to you for testing the program. More bug reports are welcome. So, now I attach the version 1.06 beta (the prorgram now also has a real about dialog, now a form, before, it was a MessageBox). ![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! Last edited by Battler; 2004-08-15 at 22:50. Reason: Forgot some lines... |
#8
|
||||
|
||||
The thread was updated.
Btw, you're getting to few actors. The first scene have 22 actor without Twinsen you're getting 13.
__________________
LBA2Remake v0.4.0 released - open source re-implementation of the LBA 2 original engine for the web. [Play on Browser]|[Changes]|[Github] The Sacred Carrot website |
#9
|
||||
|
||||
- alexfont: could you tell me, please, how to check, if I found a sprite/actor thing? Because the current check doesn't find all of the 23 actors.
![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! |
#10
|
||||
|
||||
what the program does?
__________________
LBA Image Creator project (image by leoboe! ![]() Get the Jump-Save-Bug graphically explained here |
#11
|
||||
|
||||
- Lightwing: my program does exactly, what alexfont's LBA Scene Editor does: edits the entries, that are stored in the LBA 1's or LBA 2's SCENE.HQR file.
![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! |
#12
|
||||
|
||||
Like I put in the LBA Scene Format:
You need to get the staticValue for each Actor. Then if(staticValue & 0x400) is a Sprite Actor, Else is an Actor.
__________________
LBA2Remake v0.4.0 released - open source re-implementation of the LBA 2 original engine for the web. [Play on Browser]|[Changes]|[Github] The Sacred Carrot website |
#13
|
||||
|
||||
- alexfont: 1. explain me the above for Basic (or at least for Pascal), not for C.
2. before this sprite/actor check, how do you determine, whether it is a sprite/actor data, and not a zone, flag, etc. ![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! |
#14
|
||||
|
||||
if(staticValue & 0x400) Don't know in other languages but I think it's similar.
This is a bit check. 0x400 -> 0100 0000 0000. It will test the 11 bit. It's an AND ( & ) operation with the staticValue. For example: If you have 0x7 & 0x4 == 0x4 because 0111 & 0100 == 0100. Edited: If you didn't get that, try to find over the internet something about bit fields
__________________
LBA2Remake v0.4.0 released - open source re-implementation of the LBA 2 original engine for the web. [Play on Browser]|[Changes]|[Github] The Sacred Carrot website |
#15
|
||||
|
||||
- alexfont: I got this now. But, how do you determine, which kind of data it is: e.g. how do you know, that it's not a zone or a flag? Can you explain this to me?
![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! |
#16
|
||||
|
||||
Oh sorry, I forgot that.
This is a different thing. In the file you first open the Sprites/Actors then some offsets next the Zones and some offsets next the Flags. ------------------------[ format ]----------------------- u16 = unsigned short (16bit) s16 = signed short (16bit) byte (8bit) + = to add in the previous value * = unknown '+=' = to add the previous saved value '=' = previous value (don't add nothing) //---------------------------------------- ... ... +1 byte Talk Color +1 byte Armour +1 byte Life Point +1 u16 // This value will be needed to add when the next '+=' was request +2 u16 Actor Move Script += u16 // Add the saved value - // This value will be needed to add when the next '+=' was request +2 u16 Actor Script += // Add the saved value [ / Actors Cycle ] // End cycle // get the last value in the actors cycle. This value is the number of Zones that exist in the cube. = u16 Number of Zones +2 [ Zones ] // make a cycle: start with 0 and increase till the value < Number of Zones = u16 Bottom Left - X Coordinates +2 u16 Bottom Left - Z Coordinates +2 u16 Bottom Left - Y Coordinates +2 u16 Top Right - X Coordinates +2 u16 Top Right - Z Coordinates +2 u16 Top Right - Y Coordinates +2 u16 Zone type (ººº) +2 u16 * +2 u16 * +2 u16 * +2 u16 * +2 [ / Zones] // End cycle = u16 Number of Flags +2 [ Flags ] // make a cycle: start with 0 and increase till the value < Number of Flags = u16 X Coordinates +2 u16 Z Coordinates +2 u16 Y Coordinates +2 [ / Flags ] // End cycle
__________________
LBA2Remake v0.4.0 released - open source re-implementation of the LBA 2 original engine for the web. [Play on Browser]|[Changes]|[Github] The Sacred Carrot website |
#17
|
||||
|
||||
- alexfont: my question is: which bytes do caracterize the beginning of an actor or sprite data. Apparently they are 23h 00h, but not only that. What else can caracterize an actor/sprite?
![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! |
#18
|
||||
|
||||
I don't get the actors with that.
What you first need to get is the Maximum number of actors that exist in the scene. Note that this number include twinsen. To get this number you need to: (hope I made it right) . Go to the offset 2Dh and save this value. . Now add 2h in the offset. . Now add the previous save value in the offset. . Save again the value in this new offset. . Now add 2h in the offset . Now add the previous save value in the offset. This last one will have the total number of actors ( for example 23 in the 1st scene ). Then: . Add 2h in the offset. Then you need to make a cycle to obtain the Actor values. // actorvalues - 1 ( without twinsen ) . Same as last offset. // staticValue . Add 2h in the offset. // Entity Number (FILE3D.HQR entrie) . Add 2h in the offset. // Body - Entity Instance . Add 1h in the offset. // Animation - Entity Instance . Add 1h in the offset. // Sprites index (SPRITE.HQR entrie) . Add 2h in the offset. // X Coordinates . Add 2h in the offset. // Z Coordinates . Add 2h in the offset. // Y Coordinates . Add 2h in the offset. // Hit Force . Add 1h in the offset. // Bonus type (ºº) . Add 2h in the offset. // Character Angle . Add 2h in the offset. // Rotation Speed . Add 2h in the offset. // Behavior . Add 2h in the offset. // Crop Left . Add 2h in the offset. // Crop Top . Add 2h in the offset. // Crop Right . Add 2h in the offset. // Crop Bottom . Add 2h in the offset. // Bonus Amount . Add 1h in the offset. // Talk Color . Add 1h in the offset. // Armour . Add 1h in the offset. // Life Point . Add 1h in the offset and save this value. . Add 2h in the offset . Add the saved value in the offset. . Add 2h in the offset. . Add the saved value in the offset. // in the last cycle this will be the number of total zones. // end of cycle.
__________________
LBA2Remake v0.4.0 released - open source re-implementation of the LBA 2 original engine for the web. [Play on Browser]|[Changes]|[Github] The Sacred Carrot website |
#19
|
||||
|
||||
Well... got it now. Thanks, alexfont. Without your help, my program would still be at a 1.00 beta state. Thanks again.
EDIT: I tested, what you wrote here (transformed it into code), and everything works correctly (for LBA 1/Relentless). Tomorrow, I'm going to test, if this also works for LBA 2/TO. EDIT 2: Now, here I attach the newest version of this program. It's the LBA 1/2 LSC Editor 1.10 beta. Alexfont please update the Quick Start sticky thread. OK? ![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! Last edited by Battler; 2004-08-16 at 03:09. Reason: Tested alexfont's specification... |
#20
|
||||
|
||||
Alexfont, please update the Quick Start sticky thread, so that it specifies version 1.10 beta of the program. OK?
![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! |
#21
|
||||
|
||||
You don't need to alert always about that. I'll update the thread always I saw some modifications, so please don't make such post, OK?
![]()
__________________
LBA2Remake v0.4.0 released - open source re-implementation of the LBA 2 original engine for the web. [Play on Browser]|[Changes]|[Github] The Sacred Carrot website |
#22
|
||||
|
||||
Quote:
![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! |
#23
|
||||
|
||||
- alexfont: you didn't update the Quick Start sticky thread. Please update it, OK?
![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! |
#24
|
||||
|
||||
Errr....
Edited: Btw, why you don't upload the files in your site server? In that way I don't need always to change the downloaded url for your program. Just need to put the updated text.
__________________
LBA2Remake v0.4.0 released - open source re-implementation of the LBA 2 original engine for the web. [Play on Browser]|[Changes]|[Github] The Sacred Carrot website Last edited by xesf; 2004-08-17 at 19:38. |
#25
|
||||
|
||||
![]() Quote:
LBA 1/2 LSC Editor version 1.10 beta LBA 1/2 LSC Editor version 1.10 beta source. BTW: Don't know why, but ProHosting links those files to download pages, so you must click the link on the page, that will be opened, in order to download the file(s). Better now? ![]()
__________________
Join #doki-doki on irc.ringoflightning.net for some nice chit-chat about anime, manga, and other aspects of Japanese culture now! Last edited by Battler; 2004-08-17 at 21:15. Reason: Forgot an explanation... |
![]() |
Thread Tools | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
(deprecated) LBA Story Coder [discuss] | xesf | LBA Modifications - General | 126 | 2008-09-27 22:23 |
I do love LBA - the final text | Gustav Sweden | Fan Creations - General | 23 | 2008-08-15 18:14 |
How did you start playing LBA? | Mia | General | 59 | 2006-06-25 15:46 |
LBA Resource Manager | Battler | LBA Modifications - General | 8 | 2005-03-10 15:59 |
LBA Scene 0.1.0 released | xesf | LBA Modifications - General | 0 | 2004-06-26 15:35 |