Spelkontroll  ::  Emulation64  ::  DCEmu.co.ukNetwork Sites:    About  ::  Hosting  ::  Donate 
Home Files Forums Reviews Guides Articles Interviews



Welcome to EmuTalk.net

Go Back   EmuTalk.net > GC Emulation > General GC Emulation Discussion

Welcome to EmuTalk

Reply
 
Thread Tools Display Modes
Old September 4th, 2010, 16:19   #431
Tcll
The guy with no life... XD
 
Tcll's Avatar
 
Join Date: Jan 2010
Location: Somewhere in Michigan
Posts: 281
Tcll is just really nice
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

Tcll is offline   Reply With Quote
Old September 5th, 2010, 13:55   #432
Myuutsuu
forever.
 
Join Date: Feb 2009
Posts: 36
Myuutsuu is just really nice
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.
--------------------
Myuutsuu is offline   Reply With Quote
Old September 5th, 2010, 23:07   #433
Milun
EmuTalk Member
 
Join Date: Dec 2009
Posts: 79
Milun is just really nice
Well, I'm afraid I won't be of much help for the next week. I'm on vacation, sorry.
Milun is offline   Reply With Quote
Old September 6th, 2010, 15:38   #434
Tcll
The guy with no life... XD
 
Tcll's Avatar
 
Join Date: Jan 2010
Location: Somewhere in Michigan
Posts: 281
Tcll is just really nice
@Milun:
that's ok...
I'm kinda not gonna be doing anything either...

I'm currently moving and have alot of stuff to catch up on...
so yea...
thse are my probs

enjoy your vacation dude
I just finished summer vacation, for my last semester of school...
gawd school is annoying D:

@myuutsuu:
I've been on that thread from time to time...
found some interesting stuff there

but I've only learned parts of the mdl0 format,
and I can use that to help me out on the dat format...

but sadly, I don't know enough about blender to start anything big yet...

I've only been successful at importing verts...
Tcll is offline   Reply With Quote
Old September 6th, 2010, 18:31   #435
GameWatching
EmuTalk Member
 
Join Date: Jun 2010
Posts: 48
GameWatching is just really nice
what is the relation between DK's eyes and tie ?



and ...





Last edited by GameWatching : September 6th, 2010 at 18:40.
GameWatching is offline   Reply With Quote
Old September 6th, 2010, 22:04   #436
Myuutsuu
forever.
 
Join Date: Feb 2009
Posts: 36
Myuutsuu is just really nice
LOL, wow, GameWatching, that Falco's freaky. XD
Interesting... Wish I could say; it'd be really odd if DK's eyes and tie had some sort of connection.
--------------------
Myuutsuu is offline   Reply With Quote
Old Yesterday, 02:01   #437
Tcll
The guy with no life... XD
 
Tcll's Avatar
 
Join Date: Jan 2010
Location: Somewhere in Michigan
Posts: 281
Tcll is just really nice
@GW:
here's how to edit verts:

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...
if this 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

after testing, you can do your edits and export
Tcll is offline   Reply With Quote
Old Yesterday, 13:36   #438
GameWatching
EmuTalk Member
 
Join Date: Jun 2010
Posts: 48
GameWatching is just really nice
Hey !

there's a problem !
i copyed that data in a .txt file,

then i started your script,
selected the file,

and then,
he showed me an error

it selected the correct hex pattern yet !

Last edited by GameWatching : Yesterday at 13:48.
GameWatching is offline   Reply With Quote
Old Yesterday, 21:12   #439
Tcll
The guy with no life... XD
 
Tcll's Avatar
 
Join Date: Jan 2010
Location: Somewhere in Michigan
Posts: 281
Tcll is just really nice
that may have been the importer...

here...
use this:
Code:
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
Tcll is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB 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 07:56.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.