well...
everyone who was helping me on the importer seems to be dead again...
IDK...
having thoughts about starting this back up...
but...
then my current work to do hits me...
(organizing my 5 hdd's, and extracting some other models and crap)
in other news...
I've downloaded Pokepark and am extracting the pokemon from it...
as well as a bunch of gamecube games...
I'm very limited on space right now as I'm almost ready to format my 160 GB hdd so I can move all my games to it...
and I also need to work on my video's (or at least levels and sites for it)
as well as my games and such (since they were eaten by my 160 GB hdd)
sry bout such a long post with random crap I'm dealing with...
just needed a place to vent...
anyways...
so I'm having thoughts about starting this back up...
I've got new code methods to test and everything...
I just need to get revel8n back on here...
once he gets back...
I'll cut my current stuff, and come back on here...
I really need the melee models for my one video...
as well as helping out the melee hacking community...
I should've never gotten internet XDD
--------------------
Spoiler:
Sites/Forumz Ive been to:
Quote:
Originally Posted by we3co
You think you know, but you have no idea.
we3co.lefora.com
Sorry, Tcll, only thing I could crack were the textures... After that, I hoped people with much more knowledge of the stuff would have success in advancements. Certainly not bad, for as old as the game is. Shows how much interest there is left in it.
I recall seeing revel8n posting at Smash Boards very recently, can't remember of what, though. But, there has been just a tiny bit of progression over there, with finding the coordinates of the auto-colored files like Fox and Falco's lasers.
copy the blue and the red data:
the red is the extra bytes to fill the length between the offsets...
* and paste it in a new file...
now use this script to import your newly created file:
Code:
import Blender, struct as S
def utwobyte(this): return S.unpack(">H", this)[0]
def import_mdl0(path):
Blender.Window.WaitCursor(1)
name = path.split('\\')[-1].split('/')[-1]
mesh = Blender.NMesh.New( name )
mdl0 = open(path, 'rb')
def vec(): return utwobyte(mdl0.read(2)) * 0.001
while NumVerts>0:NumVerts-=1;mesh.verts.append(Blender.NMesh.Vert(vec(),vec(),vec()))
mdl0.close()
ob = Blender.Object.New('Mesh', name)
ob.link(mesh)
scn = Blender.Scene.GetCurrent()
for o in scn.getChildren(): o.sel = 0
scn.link(ob)
ob.sel= 1
ob.Layers = scn.Layers
Blender.Window.WaitCursor(0)
Blender.Window.RedrawAll()
Blender.Window.FileSelector(import_mdl0, 'Import')
and use this script to export to export a new file:
Code:
import Blender, bpy, struct as S
def fourbyte(this): return S.pack(">h", this*100.01)
def write_obj(filepath):
mdl0 = file(filepath, 'wb')
sce = bpy.data.scenes.active
ob = sce.objects.active
mesh = ob.getData(mesh=1)
for vert in mesh.verts:
vx,vy,vz = vert.co.x,vert.co.y,vert.co.z
mdl0.write(fourbyte(vx)+fourbyte(vy)+fourbyte(vz))
mdl0.close()
Blender.Window.FileSelector(write_obj, "Export")
export an original import first to test this, and compair the original to the export in hxd... ifthis doesn't compair completely, change this: 'this*100.01' to this: 'this*1000.01'
and that should work...
to run the script:
open a text editor in blender, and use 'Alt+P' to run it
import struct as S
import Blender
def utwobyte(this): return S.unpack(">h", this)[0]
def import_dat(path):
Blender.Window.WaitCursor(1)
name = path.split('\\')[-1].split('/')[-1]
mesh = Blender.NMesh.New( name )
file = open(path, 'rb')
def vec():return utwobyte(file.read(2)) * 0.001
a = 0
while(a==0):
x, y, z = vec(), vec(), vec()
if (x == 0.0 and y == 0.0 and z == 0.0):
a = 1
mesh.verts.append(Blender.NMesh.Vert(x, y, z))
ob = Blender.Object.New('Mesh', name)
ob.link(mesh)
scn = Blender.Scene.GetCurrent()
for o in scn.getChildren(): o.sel = 0
scn.link(ob)
ob.sel= 1
ob.Layers = scn.Layers
Blender.Window.WaitCursor(0)
Blender.Window.RedrawAll()
Blender.Window.FileSelector(import_dat, 'Import')
and btw...
the exporter is: 'this*1000.01'
change the value if you havn't