the Magicball Network Forums

the Magicball Network Forums (https://forum.magicball.net/index.php)
-   General (https://forum.magicball.net/forumdisplay.php?f=6)
-   -   LBABodyRandomiser (https://forum.magicball.net/showthread.php?t=18292)

Phreak 2018-11-18 19:37

LBABodyRandomiser
 
1 Attachment(s)
App release

hey guys,

I've spent the last few weeks making a program that allows you to play as any character you like in both LBA and LBA2, it also has fun features that allows you to randomise all characters. The technical way it does this is by manipulating offsets in the body.hqr file It's available both with installer (as generated by Visual Studio), or if anybody wants it then source code in C# is also available - source code is too big to attach, just ask in Discord. If anybody finds any buys or wants to make feature suggestions either drop me a PM here, or join my discord https://discord.gg/JzHKZ2E or the LBA discord https://discord.gg/E23M22d or both :-)

Phreak

Phreak 2018-11-18 19:43

I just wanted to add thanks to
MevX for being a whiney.... er for asking me for the app :D - love you really dude.
Gizmo for creating the application icon for me - and generally being really helpful.
MrQuetch - for inspiring the thing in the first place by being the motivation for the BodySwap app, and for helping with ideas


As well as all the other supportive people on the Discord

Neko 2018-11-19 11:05

ooh i need to try this but my pc is broken, does it reall work? can i play as the pearl robot?

SpaceGuitarist 2018-11-19 15:50

I thought we had something like that already 10+ years ago, at least for LBA 2, I remember playing as a rabbibunny, the wizard Tabata, etc. Nevertheless, it was pretty buggy, so, great job and although I don't have LBA installed to try I am sure your software is much better and certainly an improvement from the old stuff we had here. Cheers!

Gizmo 2018-11-19 16:08

Quote:

Originally Posted by Phreak (Post 458111)
App release

hey guys,

I've spent the last few weeks making a program that allows you to play as any character you like in both LBA and LBA2, it also has fun features that allows you to randomise all characters. The technical way it does this is by manipulating offsets in the body.hqr file It's available both with installer (as generated by Visual Studio), or if anybody wants it then source code in C# is also available - source code is too big to attach, just ask in Discord. If anybody finds any buys or wants to make feature suggestions either drop me a PM here, or join my discord https://discord.gg/JzHKZ2E or the LBA discord https://discord.gg/E23M22d or both :-)

Phreak

hey phreak :D welcome to magicball

Phreak 2018-11-19 21:48

Just to update anybody reading this. There's been a few minor updates and bug fixes since the last version. I'm currently just updating it to handle randomising the HQR offsets for any HQR file. The core functionality and main usage is for the body files however. LBAPackageEditor allows for individual lines to be swapped, but no randomisation. That's possibly what you're referring to though, which actually is a really great application :-)

SpaceGuitarist 2018-11-20 00:23

That was probably it.

Hey, you've mentioned using ANY .hqr files... hmmm does that mean I can use LBA1 models in LBA2?

For example, to play with the rabbibunny guitarist from LBA1 as Twinsen in LBA2? That would be so fun. :cool:

Phreak 2018-11-20 13:55

SpaceGuitarist... that's not something I'm personally working on. I do believe however that MrQuetch may be working on that very thing (A script to port LBA1 models to LBA2), the reverse as we/I understand it isn't possible.

Currently the uploaded app allows you to do such things as set all NPCs to any character you like, i.e. mecapenguins. It also allows you to randomise all characters.

Bear in mind that this only changes the outwards appearance of the characters and not their behaviours or actions. It's still fun to use though :-)

Randomising any HQR file feature allows you to switch the lookup order of the individual elements in the HQR file. It's basically a file with a pointer index at the start which responds to the location in the HQR file to find the data i.e. in LBA1's BODY.HQR file the first skin location is at 532. The game knows it wants the character skin at the first location, and then looks up in the index of the file the location of skin one. By changing the index location it thinks skin one is actually located at the position of skin 5, and thus loads skin 5 accordingly

Feel free to ask any questions :-)


Phreak

Phreak 2018-11-20 17:09

Quote:

Originally Posted by Jesse (Post 458115)
ooh i need to try this but my pc is broken, does it reall work? can i play as the pearl robot?


If you mean the robot that's on Citadel island and then later disapears the answer alas is no, as that's not a character skin.

The short answer is that anything listed here: http://lbafileinfo.kazekr.net/index....=LBA1:Body.hqr is a skin you can play as.


Small caveat: A couple of the items on that site aren't correctly listed, however all descriptions are correct in the app :-)

Phreak

MrQuetch 2018-11-20 22:54

Quote:

Originally Posted by SpaceGuitarist (Post 458118)
I thought we had something like that already 10+ years ago, at least for LBA 2, I remember playing as a rabbibunny, the wizard Tabata, etc. Nevertheless, it was pretty buggy, so, great job and although I don't have LBA installed to try I am sure your software is much better and certainly an improvement from the old stuff we had here. Cheers!

That was by using the LBA Package Editor - which Phreak and I are still looking into today. I believe that you should come to the LBA Discord. There seems to be a lot more going on there than there is here. Also, I've been working on a Maxscript to generate custom models from Autodesk 3ds Max for LBA 2. There are already some posted results on Discord. I was going to post here... But never did. Honestly, I wasn't sure if anyone would appreciate the effort. Thankfully, there are those who do.

I'm currently working on animated models for LBA 2. I'm going to be working on a project directly in Unity - which should allow the user full control over modeling and animation.

MrQuetch 2018-11-20 22:57

Quote:

Originally Posted by SpaceGuitarist (Post 458124)
That was probably it.

Hey, you've mentioned using ANY .hqr files... hmmm does that mean I can use LBA1 models in LBA2?

For example, to play with the rabbibunny guitarist from LBA1 as Twinsen in LBA2? That would be so fun. :cool:

I plan to work on a converter once I fully figure out the proper bytes for the LBA 1 model format. LBA 2 is fully compatible already, besides the bones. School has been limiting lately, and it really sucks - because I'm finally figuring this stuff out.

Phreak 2018-11-22 16:06

Quote:

Originally Posted by Phreak (Post 458128)
If you mean the robot that's on Citadel island and then later disapears the answer alas is no, as that's not a character skin.


I was wrong, it totally is, the answer is YES, you can play as the robot.

Phreak

Phreak 2018-11-24 11:04

1 Attachment(s)
I made a short video yesterday demonstrating that randomiser running live during game.

I've also attached the updated version.



Enjoy Phreak


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

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright ©2000 - 2019, the Magicball Network