Author Topic: Help with custom models  (Read 9675 times)

cito

  • *
  • Posts: 16
    • View Profile
Help with custom models
« on: 2016-08-08 22:34:15 »
Hi all, I have some time creating custom folders battle and char (all monsters and characters of the game) and I need help to load them from 7THeaven.
I got it to work in bootleg with direct mode, but it is impossible for me to work for 7Theaven do.
I try make iro, load from folder, make a lgp file with lgp/unlgp, direct folders on game, but nothing works ...
-Batle Folder 3,43GB
Char folder 1,46GB
someone can help me with that? Plz

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Help with custom models
« Reply #1 on: 2016-08-09 02:34:29 »
I could probably help with this but I'll need a pic of your main folder with everything in so I can write the mod XML for it. You can have a folder named battle.lgp and one called char.lgp. copy all files into the correct folder with no sub folders and it'll be easy. If you want everything separate and organised it'll take a lot longer.

cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #2 on: 2016-08-09 14:36:34 »
first thanks for answering.
just load the mods to get those 2 folders I am very happy xD
photos from the main folder put them below

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Help with custom models
« Reply #3 on: 2016-08-09 14:51:25 »
I'll try explain in full detail. Make a folder somewhere called mod or something. Inside the folder make a battle lgp folder and a field lgp folder. Put every file in the correct folder. You'll then need to write the mod.XML file. To get an example of this in 7h click the options at the top and there should be an option to create iro files and extract them too. Extract a working one and look how it works. You can nearly copy it. I would suggest using one that's similar to the one your making. Are you making player models ie cloud tifa. Or enemies


cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #5 on: 2016-08-09 15:07:29 »
i try to make both and npc.

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Help with custom models
« Reply #6 on: 2016-08-09 15:11:34 »
Looks good to me. I can write you an XML for this in the next hour if you'd like me too or try write it yourself with the information from the my post above. If you want to have multiple options to choose a cloud tifa model well need to change it a little but if its just the one your sorted

cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #7 on: 2016-08-09 15:16:30 »
if it could be that charged my char and battle folders instead of the original battle.lgp and char lgp

cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #8 on: 2016-08-09 16:00:27 »
Ready. Like this?

http://imgur.com/AqhucJg

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Help with custom models
« Reply #9 on: 2016-08-09 16:18:50 »
Yup that exactly how I would do it. Now the mod.XML is all that's left. Extract an existing mod from 7H and look at the mod.XML and pretty much copy it but adjust it to your mod

cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #10 on: 2016-08-09 16:26:49 »
For example:

<?xml version="1.0"?>

-<ModInfo>

<Author>Qhimm Modding Community</Author>

<Version>1.0</Version>

<Description>Click "Configure" To Select Battle Scenes</Description>

<Link>http://forums.qhimm.com</Link>

<PreviewFile>battle_bg_preview.png</PreviewFile>

<ModFolder ActiveWhen="battle_bg = 0" Folder="No Change"/>

<ModFolder ActiveWhen="battle_bg = 1" Folder="EQ2Alyza"/>

<ModFolder ActiveWhen="battle_bg = 2" Folder="Felix Leonhart + Magochocobo + Bloodshot + Team Avalanche"/>

<ModFolder ActiveWhen="battle_bg = 3" Folder="satsuki"/>


-<ConfigOption>

<Type>List</Type>

<Default>3</Default>

<ID>battle_bg</ID>

<Name>Textures</Name>

<Description>EQ2Alyza [Upscaled] = All Completed, Felix... [New] = 68/87 Completed, satsuki [Upscaled] = All Completed</Description>

<Option PreviewFile="no_change.png" Name="No Change" Value="0"/>

<Option PreviewFile="battle_upscaled_eq2alyza.png" Name="EQ2Alyza" Value="1"/>

<Option PreviewFile="battle_new.png" Name="Felix Leonhart + Magochocobo + TA" Value="2"/>

<Option PreviewFile="battle_upscaled_satsuki.png" Name="satsuki" Value="3"/>

</ConfigOption>

</ModInfo>


No idea of setting this....

cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #11 on: 2016-08-09 16:34:03 »
something like that? I have to create iro from the mods folder?

<?xml version="1.0"?>

-<ModInfo>

<Author>Qhimm Modding Community</Author>

<Version>1.0</Version>

<Description></Description>

<Link>http://forums.qhimm.com</Link>

<PreviewFile></PreviewFile>

<ModFolder ActiveWhen="battle.lgp = 0" Folder="No Change"/>

<ModFolder ActiveWhen="battle.lgp = 1" Folder="mods/battle.lgp"/>

<ModFolder ActiveWhen="char.lgp = 2" Folder="No Change"/>

<ModFolder ActiveWhen="char.lgp = 3" Folder="mods/char.lgp"/>
« Last Edit: 2016-08-09 16:37:50 by cito »

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Help with custom models
« Reply #12 on: 2016-08-09 16:47:56 »
Close

<?xml version="1.0"?>

-<ModInfo>

<Author>Cito</Author>

<Version>1.0</Version>

<Description></Description>

<Link>http://forums.qhimm.com</Link>

<PreviewFile>preview.png</PreviewFile>

<ModFolder ActiveWhen="battle.lgp = 0" Folder="No Change"/>

<ModFolder ActiveWhen="battle.lgp = 1" Folder="battle.lgp"/>

<ModFolder ActiveWhen="char.lgp = 0" Folder="No Change"/>

<ModFolder ActiveWhen="char.lgp = 1" Folder="char.lgp"/>

  <ConfigOption>
    <Type>List</Type>
    <Default>0</Default>
    <ID>Battle</ID>
    <Name>Models</Name>
    <Description>Turn models on</Description>
    <Option Value="0" Name="No change" PreviewFile=""/>
    <Option Value="1" Name="battle.lgp" PreviewFile=""/>
  </ConfigOption>

  <ConfigOption>
    <Type>List</Type>
    <Default>0</Default>
    <ID>Char</ID>
    <Name>Models</Name>
    <Description>Turn models on</Description>
    <Option Value="0" Name="No change" PreviewFile=""/>
    <Option Value="1" Name="char.lgp" PreviewFile=""/>
  </ConfigOption>

That should be fine, now when option 1 is selected for each folder it will activate. If you place a PNG file in the main folder named preview.PNG it will be the image for you mod and i changed the author to you :D

cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #13 on: 2016-08-09 17:15:37 »
System.Xml.XmlException: Los datos del nivel de raíz no son válidos. línea 3, posición 1.  (translate: The root level data are invalid. Line 3, position 1.)
   en System.Xml.XmlTextReaderImpl.Throw(Exception e)
   en System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   en System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   en System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   en System.Xml.XmlTextReaderImpl.Read()
   en System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   en System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   en System.Xml.XmlDocument.Load(XmlReader reader)
   en System.Xml.XmlDocument.Load(String filename)
   en Iros._7th.Workshop.fImportMod.ImportMod(String source, String name, Boolean iroMode, Boolean noCopy) en c:\Iros\7thWorkshop\fImportMod.cs:línea 67
   en Iros._7th.Workshop.fImportMod.bOK_Click(Object sender, EventArgs e) en c:\Iros\7thWorkshop\fImportMod.cs:línea 117
   en System.Windows.Forms.Control.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ButtonBase.WndProc(Message& m)
   en System.Windows.Forms.Button.WndProc(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

maybe I did something wrong xDDD

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Help with custom models
« Reply #14 on: 2016-08-09 17:18:55 »
Actually I think I made an error. There's no " at the end of some of the lines like char.lgp. try that

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Help with custom models
« Reply #15 on: 2016-08-09 17:20:01 »
Wait maybe not. I'm not sure. Umm I'll be on my oc soon if ya can wait a little

cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #16 on: 2016-08-09 17:24:31 »
Do not worry though not for today I do not care. I have long been on trying xD

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Help with custom models
« Reply #17 on: 2016-08-09 17:28:25 »
I'll try teach you how it works so you can do it yourself forever without help

cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #18 on: 2016-08-09 17:36:09 »
OK thanks. since 2015 start FFVII With mods I learned everything by trial and error. It is the first time I asked in a forum because my English is doubtful
« Last Edit: 2016-08-09 17:39:13 by cito »

cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #19 on: 2016-08-18 17:37:23 »
please someone could help me?
« Last Edit: 2016-09-29 16:34:07 by cito »

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Help with custom models
« Reply #20 on: 2016-10-01 21:15:11 »
Ok, i think i got it, i learnt a lot since way back then :D
For this to work properly  follow this list:

Create folders "Battle" and "Char".
Each with another folder inside named "battle.lgp" and "char.lgp"
Place your models inside each of these

If you want pictures to work
Create a folder named "Preview"
In this folder the main picture for the mod must be called "Pic" and must be a PNG
There are also option for "Off" and "On" which also must be PNG

That should all work fine

Code: [Select]
<?xml version="1.0"?>
<ModInfo>
  <Author>Tsunamix and Cito</Author>
  <Version>1.0</Version>
  <Description>Models For Main Characters</Description>
  <Link>https://www.facebook.com/Tsunamods</Link>
  <PreviewFile>Preview\Pic.png</PreviewFile>

<ModFolder Folder="Battle" ActiveWhen="Battle = 1" />
<ModFolder Folder="Char" ActiveWhen="Char = 1" />


  <ConfigOption>
    <Type>List</Type>
    <Default>0</Default>
    <ID>Battle</ID>
    <Name>Battle</Name>
    <Description>Battle Models</Description>
    <Option Value="0" Name="Off" PreviewFile="Preview\Off.png"/>
    <Option Value="1" Name="On" PreviewFile="Preview\On.png"/>
  </ConfigOption>

  <ConfigOption>
    <Type>List</Type>
    <Default>0</Default>
    <ID>Char</ID>
    <Name>Char</Name>
    <Description>Field Models</Description>
    <Option Value="0" Name="Off" PreviewFile="Preview\Off.png"/>
    <Option Value="1" Name="On" PreviewFile="Preview\On.png"/>
  </ConfigOption>

</ModInfo>

cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #21 on: 2016-10-04 16:38:38 »
No way, tested iro file, from folder, folders separately, activating only one at a time.
I get this error ever in app log:

[00000000] INFO: FF7/FF8 OpenGL driver version 0.8.1b
[00000000] INFO: Auto-detected version: FF7 1.02 US English
[00000000] INFO: NVIDIA Corporation GeForce GTX 660/PCIe/SSE2 4.5.0 NVIDIA 372.70
[00000000] INFO: OpenGL 2.0 support detected
[00000000] INFO: Found swap_control extension
[00000000] INFO: Max texture size: 16384x16384
[00000000] INFO: Original resolution 640x480, window size 1920x1080, output resolution 1920x1080, internal resolution 3840x2160
[00000000] INFO: Shader limits: varying 124, vert uniform 4096, frag uniform 4096
[00000000] INFO: FFMpeg movie player plugin loaded
[00000000] INFO: FFMpeg version SVN-r25886, Copyright (c) 2000-2010 Fabrice Bellard, et al.
[00000000] INFO: VGMStream music plugin loaded
[00000000] INFO: Loading external library Multi.dll
[00000000] LOCK UNLOCK TEST
[00000001] MATRIX INITIALIZE
[00000001] INITIALIZE DD/D3D END
[00000001] initializing sound...
[00000001] creating dsound primary buffer
[00000001] reading audio file
[00000001] loading static sounds
[00000001] sound initialized
[00000001] : unhandled exception



It will be the size of the mod? 5,25GB

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Help with custom models
« Reply #22 on: 2016-10-04 17:25:54 »
Wow that HUGE! Oh man. What you got in there? Do the screenshot thing again. If i cant solve it then if you have teamviewer i'll take control of your pc and fix it for you

cito

  • *
  • Posts: 16
    • View Profile
Re: Help with custom models
« Reply #23 on: 2016-10-04 18:53:29 »
http://imgur.com/a/KFw2W


I can make a mega and pass the link for mail, battle for example to test


TEX files are too big
http://imgur.com/a/v6KJb
« Last Edit: 2016-10-04 18:58:14 by cito »

Tsuna

  • Global moderator
  • *
  • Posts: 823
  • Working together to create awesome things!
    • View Profile
    • The home of Tsunamods
Re: Help with custom models
« Reply #24 on: 2016-10-04 19:03:54 »
Hmm, only thing i see is why are all the files archive files? They don't look like that on mine. Where did you get these