What's new

Zelda64 Actor Viewer status thread

Ice God

Resident iliterate
Weird, also I think bubble is used for Shabom... *Hit with a brick of of obviousness.*

How the heck did you replace the texture though!?

Also, just so you know, exported VRMLs will sometimes crash 3dsMax 9 when inmported.

Also, my other program, AC3D gives me an import failed warning, even those it supports this format.

Just a couple of bugs, though I have no idea how to go about fixing them. Sorry.
 
Last edited:
OP
C

cooliscool

Nintendo Zealot
Odd.. never had an issue with importing into 3DSMax 7 or Modelpress reader, the only two I test with. I'll go back over the syntax and make any corrections (if I find errors).

Edit: it seems AC3D only supports VRML 1.0. ZAV exports VRML 2.0 files.
 
Last edited:

Ice God

Resident iliterate
I forgot that.... =p

If it helps, the first map that gave me this problem was the chamber of Sages.
 
OP
C

cooliscool

Nintendo Zealot
CoS does indeed not work in 3DS Max.. found the issue though. A rogue vertex made it into the points list, and because 3 weren't generated in the loop, it was left unterminated causing 3DS Max to wonder wtf was going on.

Fixed, and I'll post a new build which fixes this issue and fixes a lot of non loading models, in just a minute.
Code:
        Dim vrmlbuffer As String = My.Resources.VRMLHeader
        Dim vrmlcnt As Integer = 0
        Dim cnt As Integer = 0
        Dim facecnt As Integer = 0
        For vrmlcnt = 0 To vert_x.Count - 1
            If vrmlcnt = vert_x.Count - 1 Then
                vrmlbuffer += vert_x.Item(vrmlcnt) & " " & vert_y.Item(vrmlcnt) & " " & vert_z.Item(vrmlcnt)
            Else
                vrmlbuffer += vert_x.Item(vrmlcnt) & " " & vert_y.Item(vrmlcnt) & " " & vert_z.Item(vrmlcnt) & ", "
            End If
        Next
        vrmlcnt = 0
        vrmlbuffer += " ] } "
        vrmlbuffer += Environment.NewLine & "coordIndex [ "
           For vrmlcnt = 0 To vert_x.Count - 1
            If cnt = vert_x.Count - 1 And facecnt <> 3 Then
                Exit For 'exit loop, done
            End If
            If vrmlcnt = vert_x.Count - 1 Then
                vrmlbuffer += cnt & ""
            Else
                vrmlbuffer += cnt & ", "
            End If
            cnt += 1
            facecnt += 1
            If facecnt = 3 And vrmlcnt <> vert_x.Count - 1 Then
                facecnt = 0
                vrmlbuffer += "-1, "
            ElseIf facecnt = 3 And vrmlcnt = vert_x.Count Then
                facecnt = 0
                vrmlbuffer += ", -1"
            End If
        Next
        vrmlbuffer += " ] } } }"
        File.WriteAllText(SaveFileDialog1.FileName, vrmlbuffer)
        vrmlbuffer = ""
        vrmlcnt = 0
        cnt = 0
        facecnt = 0
        MsgBox("VRML 2.0 file created successfully.", MsgBoxStyle.Information, "Done")

And the 3 lines that fixed it up:

Code:
            If cnt = vert_x.Count - 1 And facecnt <> 3 Then
               Exit For 'exit loop, done
            End If
 
Last edited:
OP
C

cooliscool

Nintendo Zealot
Ahh double post. :sombrero:

Public Beta 2 -

+ More models load now. Most test maps are still screwy.. from what I can tell, their age seperates them from normal maps in terms of how they load. A lot of G_TRI1 usage and almost no G_TRI2, along with G_VTX breaks in the middle of commands. Very odd.
+ Some models exported as VRML would not work in 3DS Max, etc, due to a rogue vertex making it into the points list, and because 3 (x, y, z) weren't generated in the loop, it was left unterminated causing 3DS Max or whatever app you use to wonder what the hell was going on.
+ You can now save a screenshot in either JPG or BMP format. Options>Capture Screenshot.
+ Texture dumping when choosing entry points (not render all) should yield better results.

Edit: A couple of posts down for the attachment.
 
Last edited:

Ice God

Resident iliterate
Uh-oh.png


Uh-oh...

Whenever I try to open it, I get this.
 
S

Sasuke3.0

Guest
I get an error whenever I start:

Unhadled exception has occured in your application. If you click
Continue, the application will ignore this error and attempt to continue. If
you click Quit, the application will close immediately.

Conversion from string '"' to type 'Boolean' is not valid.
 
S

Sasuke3.0

Guest
I'm still getting the same error

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Conversion from string "" to type 'Boolean' is not valid. ---> System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToBoolean(String Value)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Conversions.ToBoolean(String Value)
at WindowsApplication1.MainWin.Form1_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Zelda64 Actor Viewer
Assembly Version: 0.0.1.0
Win32 Version: 0.0.1.0
CodeBase: file:///C:/Documents%20and%20Settings/.../Desktop/.../Zelda64%20Actor%20Viewer.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Tao.Platform.Windows
Assembly Version: 1.0.0.3
Win32 Version:
CodeBase: file:///C:/Documents%20and%20Settings/S.../Desktop/.../Tao.Platform.Windows.DLL
----------------------------------------
Tao_OpenGl
Assembly Version: 0.0.0.0
Win32 Version:
CodeBase: file:///C:/Documents%20and%20Settings/.../Desktop/.../Tao_OpenGl.DLL
----------------------------------------
Tao_OpenGl.Glu
Assembly Version: 1.5.0.3
Win32 Version: 1.5.0.3
CodeBase: file:///C:/Documents%20and%20Settings/.../Desktop/.../Tao_OpenGl.Glu.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


hope that helps
 
S

Sasuke3.0

Guest
Very strange.. not sure why DevIL's being picky on all systems but mine. Ah well, here's a version with all IL stuff removed, and consequently the screenshot feature. Once I have more time to isolate the issue, it'll be back. This version is using an updated version of the OGL lib, so things may be faster and so on.

Ah well, still is more compatible and all VRML exports should work fine. :p

as much as I hate to say it, I'm still receiving the same error :|
 
OP
C

cooliscool

Nintendo Zealot
Is it working on your end, Ice God?

I did make a small error in the entry point portion (treating a boolean as an integer on accident ;)) but it wouldn't make sense that it affects one person and not the other.

Anyway, with that error fixed, try this build.
 
S

Sasuke3.0

Guest
Is it working on your end, Ice God?

I did make a small error in the entry point portion (treating a boolean as an integer on accident ;)) but it wouldn't make sense that it affects one person and not the other.

Anyway, with that error fixed, try this build.

much better

EDIT: ran into another error, same one again >:\

I have to delete the .ini file just to avoid the error
 
Last edited:
S

Sasuke3.0

Guest
hmm... reloaded the program with the ini this time, the error seems to be gone.
 

Jason Rose

Hakumei Mitsukai
Fixed up the map list somebody posted earlier. It's just a basic list of the main maps (no subsections listed). I'll make full and more detailed list if I feel like it.

alley_shop - One of the shops in hyrule Market
Bdan_boss - Jabu Jabus bellyt boss room ((Though it looks messed up))
bdan - Jabu Jabus belly.
besitu - BETA test map.
Bmori - Forest Temple
bowling - Bombchu Bowling alley
daiyousei_izumi - One of the great Fariry fountains
ddan_boss - Dodongos Cavern boss room.
ddan - Dodongos cavern
depth_test - Depth Test (124 on Map Select)
drag - A shop of some sort?
enrui - Path between Drawbrige and Market (adult)
entra_n - Path between Drawbridge and Market (night)
entra - Path between Drawbridge and Market
face_shop - Happy mask shop!
FIRE_bs - Fire temple. Two rooms of it, at least.
ganon_boss - Fight GannonDORF ((Not the monster))
ganon_demo - Pig-Gannons area
ganon_final - Outside Ganon's Castle (collapsing)
ganon - Ganons Castle
ganon_sonogo - Ganons castle (collapsing))
ganon_tou - Ganons tower
ganontika - First pat of Gannons Castle ((Temple areas))
Ganontikasonogo - Temple Area collapsing.
Gerudoway - Gerudos fortress
Golon - Goron Shop
hairal_niwa2 - Castle Garden ((On the way to Zeldas place))
hairal_niwa_n - The very first bit of the garden
haial_niwa - Repeat of hairal_niwa2
hakaana_ouke - Royal Families tomb
Hakaana - Tomb with only one redead.
HAKAdan_bs - Bongo Bongos room.
HAKAdan - Shadow temple
HAKAdan_ch - Bottom of the well
Hakasitarelay - Racing Dampe, and the windmill
HIDAN - Fire temple
hiral_demo - Unknown (Rumored to be Title Screen Hyrule Field)
hut - Dampes hut
hylia_labo - Lake Hylia labrotory
ice_doukutu - Ice Cavern
impa - Impas house
jyasinboss - Twinrova
jyasinzou - Spirit Temple
kakariko3 - Kakariko house
kakariko - Kakariko house
kakusiana - Underground Grotto
kanjyanoma - Chamber of Sages
kinsuta - Spider house
kokiri_home3 - A kokiris house
kokiri_home4 - A kokiris house
kokiri_home5 - A kokiris house
kokiri_home - A kokiris house
kokiri_shop - Kokiri Shop
labo - Ajnu's house in Kakariko ((With the cuccoos behind it))
link_home - Links house
mahouya - Old hags potion shop
malon_stable - Ranch stable
market_alley_n - Back of the alley
market_alley - Above, during the day
market_day - Hyrule market day
market_night - Hyrule Market night
market_ruins - Hyrule Market in ruins
men - Gerudo Training Ground
miharigoya - First house in Hyrule Castle town
MIZUsiin_bs - Water temple Boss
MIZUsin - Water Temle
moriboss - Forest temple Boss
nakaniwa - Castle Courtyard
night_shop - Unknown (Looks like a bar of some kind)
sasatest - Flat Test Map (SRD Map, 117 on Map Select) (Bugged)
shop1 - Kakariko shop?
shrine - Outside Temple of Time
souko - Lon Lon ranch tower
spot 00 - Hyrule Field
spot 01 - Kakariko Village
spot 02 - Graveyard
spot 03 - Zoras River
spot 04 - Kokiri Forest
spot 05 - Sacred Forest Meadow
spot 06 - Lake Hylia
spot 07 - Zoras domain
spot 08 - Zoras Fountain
spot 09 - First bit of Gerudo Valley
spot 10 - Lost woods
spot 11 - Desert near Spirirt temple
spot 12 - Outside Gerudos fortress
spot 13 - Desert
spot 14 - N/a
spot 15 - Hyrue Castle (outside)
spot 16 - Death mountain trail
spot 17 - Death mountain crater
spot 18 - Goron City
spot 19 - N/a
spot 20 - Lon Lon Ranch
sutaru_0 - Combat Test Room
syatekijyou_0 - Shooting Gallery
syotes2_0 - Stalfos Beta Room 1
syotes_0 - Stalfos Beta Room 2 (Bugged)
takaraya - Treasure chest game
tent - Tent in Gerudo valley
test01 - Checkered test area
testroom - Exactly what it says
tokinoma - The Temple of Time
turibori - Fishing hole
ydan_boss - Inside Deku Tree Boss
ydan - Inside the Deku tree
yousei_izumi_tate - Underground Fairy Fountain
yousei_izumi_yoko - Another Great Fairies Fountain
zoora - Zora Shop
 

Top