[H2X] Sunfish 2011 - Development Discussion Thread

Discuss your Halo 2 mod project here.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

[H2X] Sunfish 2011 - Development Discussion Thread

Post by JacksonCougar »

Sunfish is a new Halo 2 modding program for the Xbox version. It works by decompiling a map into source-files which are imported into a project directory. You edit these source-files in the application using various tools (meta editor & specific tag editors) and build maps from the source-files.

The goal is to create a Visual Studios style program for editing the source-files.

Source Code:
http://code.google.com/p/halo2x-sunfish/source/checkout


Current Features:
Solution Explorer
  • lists all tags in a project by folder heirarchy

Lite Meta Editor - Probably discontinued
  • allows for large tags to be edited with minimum memory usage (no crashing!)
  • minimal in design because the focus is not on meta editing in this application

Map Decompiler
  • implemented as Project->Import->Map'
  • decompiles all tags in the map into seperate isolated resource file-format that's proprietary to Sunfish


In-development Features:
Map Compiler
  • creates a .map file playable on the xbox from decompiled tags
  • initial release should be decently fast
Bitmap Studio
  • Imports all DXTn formats used by the engine
  • Exports as DXTn formats
Model Studio
  • Imports a WavefrontObject mesh into a model tag Code in-place
  • Creates a new model tag from a WavefrontObject file
  • Exports model meshes as WavefrontObjects Code in-place
  • 3D Model Viewer Working
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: Sunfish 2011 - Halo 2 modding toolkit development thread

Post by XZodia »

It would be good to see a list of features, current and future
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by JacksonCougar »

Image
A little bit of progress
User avatar
NotZachary82
Posts: 1846
Joined: Thu Dec 20, 2007 8:39 pm

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by NotZachary82 »

Where does that material come from?
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by JacksonCougar »

Xna effect
User avatar
neodos
Posts: 1493
Joined: Sun Dec 09, 2007 8:58 pm

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by neodos »

Looks very cool! Yet could you post the binaries?
Also do you think I could delete a lot of tags (taking care of not breaking anything) and recompile?
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by JacksonCougar »

Yea, that should work. I'll post a download when there's a stable build and compiling works.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by JacksonCougar »

Image
After getting hung up on a bug with my BasicEffect for XNA, I have made headway :)
Image
I put my hog on a pallet, it ships better that way :l0l:
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by XZodia »

That. Is. Awesome.
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
Ogrish
Posts: 1512
Joined: Wed Dec 12, 2007 2:56 am

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by Ogrish »

Nice work, I hope to try this APP out soon.
User avatar
neodos
Posts: 1493
Joined: Sun Dec 09, 2007 8:58 pm

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by neodos »

Woosh, any chance you could add marker placement/rotation? that'd be even more epic.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by JacksonCougar »

Was already thinking of it Neodos :]
User avatar
NotZachary82
Posts: 1846
Joined: Thu Dec 20, 2007 8:39 pm

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by NotZachary82 »

Damn, nice. Get a public build going once you've model and bitmap injection to a stable point. <3

*Edit: How is the model injection working btw? Does it support multiple child objects (shaders) within a single model/chunk?
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by JacksonCougar »

If I remember what I was coding, yes: it does make shader groups based on the materials in the OBJ file.
User avatar
bumlove
Posts: 524
Joined: Tue Dec 11, 2007 8:10 am
Location: England I'm not British, I'm English

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by bumlove »

NotZachary82 wrote:Get a public build going once you've model and bitmap injection to a stable point.
I think compile is perhaps more vital
Last edited by bumlove on Thu Jun 02, 2011 1:14 am, edited 1 time in total.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by JacksonCougar »

Image
I'll just leave this here.. :hmm:
User avatar
NotZachary82
Posts: 1846
Joined: Thu Dec 20, 2007 8:39 pm

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by NotZachary82 »

bumlove wrote:
NotZachary82 wrote:Get a public build going once you've model and bitmap injection to a stable point.
I think compile is perhaps more vital
Or, whatever ends up working first.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by JacksonCougar »

My goals with this studio are pretty much as follows:
  • Allow markers to be added, deleted, and transformed (moved, scaled, and rotated)
  • Allow bones to be added, deleted, and transformed (moved, scaled, and rotated)
  • Allow mesh to be assigned to bones
  • Allow mesh to be transformed (moved, scaled, and rotated)
  • Render textures
  • Import mesh from OBJ files
Image
Bones!

I committed my latest changes to the repository tonight, and this will probably be the last update I can post for a while because I am moving and won't have access to internet right away (I may push updates through my phones :))
User avatar
neodos
Posts: 1493
Joined: Sun Dec 09, 2007 8:58 pm

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by neodos »

This is looking very promising, you seem get the job done pretty fast =P
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by XZodia »

JacksonCougar wrote:Image
I'll just leave this here.. :hmm:
What are we looking at here?
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
neodos
Posts: 1493
Joined: Sun Dec 09, 2007 8:58 pm

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by neodos »

Looks like normals to me.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by JacksonCougar »

Markers, lul
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by XZodia »

Why do they only have 2 directions?
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by JacksonCougar »

Each arrow is a seperate Marker, so they only have a single direction...
These ones are the AI pathfinding markers or something.
User avatar
neodos
Posts: 1493
Joined: Sun Dec 09, 2007 8:58 pm

Re: [H2X] Sunfish 2011 - Development Discussion Thread

Post by neodos »

XZodia wrote:Why do they only have 2 directions?
Well you have two disconnected edges you get that, but its not normals in this case anyways then xD
Post Reply