Rare Witch Roundtable Podcast
Go Back   The Rare Witch Project Forums > Gaming > Rare & Playtonic > Homebrew Games and Tools

Homebrew Games and Tools If you've created a trainer, texture editor, or a full-blown fangame we'd like to see it here. Show off your mad programming skills.

Reply
 
Thread Tools
  #76  
Old 3rd September 2007, 01:32 AM
cooliscool's Avatar
cooliscool cooliscool is offline
Dingpot
 
Join Date: Aug 2007
Location: SC, USA
Total Awards: 2
You're Appreciated! INFECTED - B1K1 
Quote:
Originally Posted by runehero123
^So you agree with me then? That these models are in the game but just not visible. That's cool, and it gives me a little side thing to look into.

@CoolisCool: I was wondering if I could host your program up on the TB's site. Of course I would give you full credit. It would be a helpful tool for our hackers to use. Thanks.
TB being?

Doesn't matter either way - you're free to do as you wish with it.
Reply With Quote


  #77  
Old 3rd September 2007, 01:00 PM
BK-SNS-BT?'s Avatar
BK-SNS-BT? BK-SNS-BT? is offline
Dingpot
 
Join Date: Mar 2007
Location: Tokyo, Japan
TB=Twilight Bregade. The Whole Reson for this topic.
__________________
(xxjoesusxx)"Flame war ? That would imply that he actually has a defense, it's more of an obliteration, one stupid post at a time."(/xxjoesusxx) Epic Win.
Reply With Quote


  #78  
Old 4th September 2007, 01:07 AM
cooliscool's Avatar
cooliscool cooliscool is offline
Dingpot
 
Join Date: Aug 2007
Location: SC, USA
Total Awards: 2
You're Appreciated! INFECTED - B1K1 
Not sure how it prompted this topic, but whatever.
Reply With Quote


  #79  
Old 4th September 2007, 09:28 PM
Fox McBanjo's Avatar
Fox McBanjo Fox McBanjo is offline
Von Kriplespac
 
Join Date: Nov 2006
Location: Ireland
Total Awards: 6
INFECTED - B1K1 RWP Bash Day 8 Participation Award RWP Bash Day 7 Participation Award RWP Bash Day 6 Participation Award RWP Bash Day 2 Participation Award 
Quote:
Originally Posted by cooliscool
Not sure how it prompted this topic, but whatever.
Neither do I. How... exactly does this origonate from the TB?
Reply With Quote


  #80  
Old 4th September 2007, 10:09 PM
BK-SNS-BT?'s Avatar
BK-SNS-BT? BK-SNS-BT? is offline
Dingpot
 
Join Date: Mar 2007
Location: Tokyo, Japan
Sry i thought we were in Twilight serch topic lol
__________________
(xxjoesusxx)"Flame war ? That would imply that he actually has a defense, it's more of an obliteration, one stupid post at a time."(/xxjoesusxx) Epic Win.
Reply With Quote


  #81  
Old 4th September 2007, 11:25 PM
runehero123's Avatar
runehero123 runehero123 is offline
DJ Jamjars
 
Join Date: Jan 2007
Location: Look behind you...
Total Awards: 1
INFECTED - B1K1 
^Woahz...

Thanks CIC, and when is the next version planned for release?
Reply With Quote


  #82  
Old 5th September 2007, 10:41 AM
BK-SNS-BT?'s Avatar
BK-SNS-BT? BK-SNS-BT? is offline
Dingpot
 
Join Date: Mar 2007
Location: Tokyo, Japan
Hea hea sry. will this version have texture support?
__________________
(xxjoesusxx)"Flame war ? That would imply that he actually has a defense, it's more of an obliteration, one stupid post at a time."(/xxjoesusxx) Epic Win.
Reply With Quote


  #83  
Old 5th September 2007, 12:16 PM
cooliscool's Avatar
cooliscool cooliscool is offline
Dingpot
 
Join Date: Aug 2007
Location: SC, USA
Total Awards: 2
You're Appreciated! INFECTED - B1K1 
Next version will, yep. Projected release for it is within a week or two, depending on how dynamic my schedule is within that time. Along with it I'll release the source code (C# + OpenGL), for people to peek at.

Another small yet notable addition: given the ucode's incredible reliance on per-vertex diffuse colors to deliver colors and shading, they'll be editable (right click vertex, color dialog pops up, select color, done). Green Banjo should be interesting!

For the fun of it, this should give a little bit of insight as to how Banjo's models work (assuming my variable names make sense to anyone but me.. also, this is after the parser does its work):

Code:
        private void BuildList(int game, int mode)
        {
            int r = 0;
            int b = -1;
            if (game == 0)
            {
                for (int c = 0; c < polyind.Count; c++)
                {
                    if (r + 1 <= changeoff.Count)
                    {                
                       if (((int)changeoff[r]) == c)
                        {
                            b++;
                            r++;
                        }
                    }

                    int curoff = (int)curbase[b];
                    int curvert = (int)polyind[c];
                    Int16 p1 = (Int16)vert_x[curoff + curvert];
                    Int16 p2 = (Int16)vert_y[curoff + curvert];
                    Int16 p3 = (Int16)vert_z[curoff + curvert];
                    int R = (int)vert_r[curoff + curvert];
                    int G = (int)vert_g[curoff + curvert];
                    int B = (int)vert_b[curoff + curvert];
                    int A = (int)vert_a[curoff + curvert];

                    if ((int)curbase[b] + (int)polyind[c] > vert_x.Count)
                    {
                        break;
                    }
                    if (mode == 0)
                    {
                        Gl.glColor4ub((byte)R, (byte)G, (byte)B, (byte)A);
                    }
                    else if (mode == 1)
                    {
                        Gl.glColor3i(0, 0, 0);
                    }
                    else if (mode == 2)
                    {
                        Gl.glColor3ub(123, 233, 9);
                    }
                    Gl.glVertex3i(p1, p2, p3);
                }
            }
        }

Last edited by cooliscool; 5th September 2007 at 12:38 PM.
Reply With Quote


  #84  
Old 5th September 2007, 08:39 PM
runehero123's Avatar
runehero123 runehero123 is offline
DJ Jamjars
 
Join Date: Jan 2007
Location: Look behind you...
Total Awards: 1
INFECTED - B1K1 
^ Lovely!

Can't wait for that next version. Textures FTW!
Reply With Quote


  #85  
Old 5th September 2007, 09:48 PM
collecter's Avatar
collecter collecter is offline
Jinjo
 
Join Date: Jan 2006
Location: United States
Is it possible to use a model viewer to see the "unknown object" (possably invisible) digets for BT or not?
Reply With Quote


  #86  
Old 5th September 2007, 09:59 PM
cooliscool's Avatar
cooliscool cooliscool is offline
Dingpot
 
Join Date: Aug 2007
Location: SC, USA
Total Awards: 2
You're Appreciated! INFECTED - B1K1 
If they're model data, yep. Just have to find the file.
Reply With Quote


  #87  
Old 5th September 2007, 10:02 PM
runehero123's Avatar
runehero123 runehero123 is offline
DJ Jamjars
 
Join Date: Jan 2007
Location: Look behind you...
Total Awards: 1
INFECTED - B1K1 
^Will this be compatible with the DK64 kiosk rom?
Reply With Quote


  #88  
Old 5th September 2007, 10:13 PM
P_L's Avatar
P_L P_L is offline
Brash Breegull
 
Join Date: Jul 2006
Location: Silverside, LD
I hope the new release can offer some kind of fix for my refusal-to-load problem ... texture support'll be fun.

Could someone perhaps upload a model file or two (not the .bin files, the actual .bkm files in a ZIP or RAR or something) that they know work/s with their copy of the program so I can see if my issue is a decompressor-related one (as I'm guessing it is, since the numbers of the .bin files it produces only come up to 10XXXX or so yet I see images linked to in this thread that have models in the 2XXXXX range ...)? I'd appreciate it!
__________________
[Invent your own signature]

P_L for Registered User
Reply With Quote


  #89  
Old 6th September 2007, 10:58 AM
cooliscool's Avatar
cooliscool cooliscool is offline
Dingpot
 
Join Date: Aug 2007
Location: SC, USA
Total Awards: 2
You're Appreciated! INFECTED - B1K1 
Quote:
Originally Posted by runehero123
^Will this be compatible with the DK64 kiosk rom?
Depending on whether or not this 2 weeks I've laid out gives me time to figure out the (very) weird layout of DK64's data, it will.

P_L - Private message your way.
Reply With Quote


  #90  
Old 6th September 2007, 10:34 PM
P_L's Avatar
P_L P_L is offline
Brash Breegull
 
Join Date: Jul 2006
Location: Silverside, LD
Quote:
Originally Posted by cooliscool
P_L - Private message your way.
Got it, and responded. Gotta mess around with the decompression process now, since I know the program itself is fine ...

I'm very much looking forward to the next release now!

EDIT: Compressor's still a load of crap for me. I did figure out that it isolates files with SEVEN digit names, not six, which is why they all began with 0 or 1 and didn't match the manes of the files other people ended up with. That doesn't mean they work though.

I might just end up begging around for a complete ZIP/RAR of all the B-K .bkm models (hint, hint, if it's not too much trouble, they are small files ) as I'm beyond tired of this computer's basksassing about this ... I tried decompressing one of the .bin files and saving it to a new location then isolating a model from it, but that made it "in use by another process" even AFTER I terminated the decompressor and all windows displaying the folder it was in (didn't expect the latter to do anything, but anything was worth a shot by that point) ...

Sorry if I sound really whiny about this ... this computer's just been pushing me and pushing me for months by complaining about every little thing and I'm finally about to be pushed over the edge, if I haven't been already.
__________________
[Invent your own signature]

P_L for Registered User

Last edited by P_L; 7th September 2007 at 03:19 AM.
Reply With Quote


Reply


User Tag List

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



All times are GMT. The time now is 07:39 PM.


Forums powered by vBulletin® Copyright © Jelsoft Enterprises Ltd.
Website © 2000-2015 The RWP