people playing: 83, servers online: 28, games played: 142,109,731 Top Player: Karstnator

  Toribash Community » Toribash » Mods » Third party
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Mar 12, 2018   #21
dengue
Chatterbox
 
Punk Belt
Join Date: Mar 2008
Posts: 5,051



true, to get the HTTP request for each member would be a fight.
not impossible yet, you would need help from the devs.
dengue is offline   Reply With Quote
Old Mar 12, 2018   #22
жFluxorious
 
3rd Dan Black Belt
Join Date: Aug 2015
Posts: 2,162
Clan: WAPOW



Maybe I'll contact sir sometime in the future about it.

We'll see

Last edited by Fluxorious; Mar 12, 2018 at 11:34 AM..
Fluxorious is online now   Reply With Quote
Old Mar 13, 2018   #23
Advaneten
Member
 
Blue Belt
Join Date: Mar 2015
Posts: 112



Once again great work with the program! Will having more than one Tori in the scene be possible? (e.g. for art involving a certain group of Toribash players)
almost always in a war on what my set should be

true pain is missing your shiai token reward

[SIGPIC][/SIGPIC]
Advaneten is offline   Reply With Quote
Old Mar 13, 2018   #24
жFluxorious
 
3rd Dan Black Belt
Join Date: Aug 2015
Posts: 2,162
Clan: WAPOW



Originally Posted by Advaneten View Post
Once again great work with the program! Will having more than one Tori in the scene be possible? (e.g. for art involving a certain group of Toribash players)

Thank you and yes it will.
Fluxorious is online now   Reply With Quote
Old Mar 17, 2018   #25
жFluxorious
 
3rd Dan Black Belt
Join Date: Aug 2015
Posts: 2,162
Clan: WAPOW



Update!
Originally Posted by Fluxorious View Post
Added LoadPlayer Sound, Joint Hover Sound, Joint clicking Sound, "Ghost" and Visual Feedback for which Joint the Cursor is hovered over at the moment!

Preview can be found here!


Still couldn't fix the Exception with Texture Loading. I can only assume some Tga's don't work because they are RLE compressed, don't know where to go from that point though
Fluxorious is online now   Reply With Quote
Old Mar 17, 2018   #26
dengue
Chatterbox
 
Punk Belt
Join Date: Mar 2008
Posts: 5,051



cant you convert the TGA files compressed to not compressed with C#?
you can use a image library.
dengue is offline   Reply With Quote
Old Mar 18, 2018   #27
жFluxorious
 
3rd Dan Black Belt
Join Date: Aug 2015
Posts: 2,162
Clan: WAPOW



Originally Posted by dengue View Post
cant you convert the TGA files compressed to not compressed with C#?
you can use a image library.

I should exactly know my issue before trying to solve it... I've got something new now that might help in understanding what's wrong. Still don't know how to get it properly working though :/

First Exception I had was
EndOfStreamException : Failed to read past end of stream
New Exception that is a little more specific
TGA had non 32/34bit depth
Fluxorious is online now   Reply With Quote
Old Mar 18, 2018   #28
dengue
Chatterbox
 
Punk Belt
Join Date: Mar 2008
Posts: 5,051



it must be how you save the tga files,
normally in toribash it is 24 bits, your program seem to desire
a 32 bits.

must be something you should change when you read the file.
dengue is offline   Reply With Quote
Old Mar 21, 2018   #29
жFluxorious
 
3rd Dan Black Belt
Join Date: Aug 2015
Posts: 2,162
Clan: WAPOW



Phew... I'll share some Progress without actually editing the OP

Importing the Textures should work now. Took quite some hours and nerves to understand what the problem is, how I find a solution to the problem etc.


A bit of boring Explanation from here on:

Alltogether I kept the Texture Importer for Body Textures because that seemed to work out fine, however to load all Object Textures I now use a .Net assembly which loads the tga into a bitmap first, and then I convert the Bitmap with MemoryStreams into a usable Texture.

I had to research a bit about TGA to understand why it didn't worked and as it seems, the genius inventors of the Targa Image type left 1 bit out of 16 unused. And that led to problems when I tried to load 16bit Textures.
That Means Before I start reading any tga's I first need to check if it's a 32bit, 24 or 16bit TGA as 32bit got an alphachannel and 16bit actually only are 15bit.

Before I could use the new Assembly though I needed another Assembly. Because the TGA Assembly relies on BitMap it needed a System.Drawing.Bitmap and that's where Issue number 2 occured.
The Engine I'm using doesn't officially support that Assembly, the only way to use it was to find and old version of it and after that I needed to change my Project to no longer use .Net subset.

Sounds simple enough but finding out and researching how to actually do all this was a pain.
I also broke all public references after I got System.Drawing.Bitmap into the Project. Had fun putting all Arrays and References back together. Not.

Because there's quite alot going on now when reading all the Textures it takes a couple of seconds to load in a Set with alot of Objects and Textures. Maybe I'll take a look at asynchronously loading Toribash Players so the Program doesn't freeze for a few seconds, but only maybe. That's not top priority



Next up I want to manually support all Toribash Items. They import correctly (atleast Head, Breast, Lumbar and Chest Objects), but they aren't correctly sized and positioned.
Also some UV's are not correctly alligned.
Fluxorious is online now   Reply With Quote
Old Mar 22, 2018   #30
dengue
Chatterbox
 
Punk Belt
Join Date: Mar 2008
Posts: 5,051



C# and javascript are both good for asynchronous processing,
that is not just possible, it is proper of both of these languages.
dengue is offline   Reply With Quote
Reply


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


All times are GMT +1. The time now is 09:50 PM.




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game