Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Maki

Pages: 1 2 3 [4] 5 6 7 8 9 ... 25
76
Is that from disassembling it?
Yep, real vanilla game code

77
To add to this I'm attaching a pseudocode of what  actually get's loaded by the engine:
Code: [Select]
FILE *MenuReadFiles()
{
  Menu_GetFile(&mngrphd_binBuffer, aMngrphd_bin);
  Menu_GetFile(&facesp2_buffer, aFace_sp2);
  dword_1D2BB78 = AllocateMemory(0x800u, aCFf8MenuKata_1, 143);
  Menu_GetFile(&magsortbuffer, aMagsort_bin);
  Menu_GetFile(&mweaponbuffer, aMwepon_bin);
  Menu_GetFile(&mmagbuffer, aMmag_bin);
  Menu_GetFile(&mthomasbuffer, aMthomas_bin);
  Menu_GetFile(&areamesdc2buffer, aAreames_dc2);
  Menu_GetFile(&mmagicbinbuffer, aMmagic_bin);
  Menu_GetFile(&mitembuffer, aMitem_bin);
  Menu_GetFile(&areamesbuffer, aAreames_dc1);
  Menu_GetFile(&mmag2bin, aMmag2_bin);
  Menu_GetFile(&cyocobobinbuffer, aCyocobo_bin);
  Menu_GetFile(&m000binbuffer, aM000_bin);
  Menu_GetFile(&m001binbuffer, aM001_bin);
  Menu_GetFile(&m002buffer, aM002_bin);
  Menu_GetFile(&m003buffer, aM003_bin);
  Menu_GetFile(&m004buffer, aM004_bin);
  Menu_GetFile(&m000msgbuffer, aM000_msg);
  Menu_GetFile(&m001msgbuffer, aM001_msg);
  Menu_GetFile(&m002msgbuffer, aM002_msg);
  Menu_GetFile(&m0003msgbuffer, aM003_msg);
  Menu_GetFile(&m004msgbuffer, aM004_msg);
  Menu_GetFile(&mitembinbuffer, aMitem_bin_0);
  Menu_GetFile(&petexpbinbuffer, aPet_exp_bin);
  Menu_GetFile(&petexpmsgbuffer, aPet_exp_msg);
  Menu_GetFile(&shopbinbuffer, aShop_bin);
  Menu_GetFile(&pricebinbuffer, aPrice_bin);
  Menu_GetFile(&mitembinbuffer_0, aMitem_bin_1);
  Menu_GetFile(&mweaponbinbuffer, aMwepon_bin_0);
  Menu_GetFile(&mweaponmsgbuffer, aMwepon_msg);
  Menu_GetFile(&mmagbinbuffer, aMmag_bin_0);
  Menu_GetFile(&cardanmsp2buffer, aCardanm_sp2);
  return Menu_GetFile(&mtmagbinbuffer, aMtmag_bin);
}

78
menu translations are here:
tkmnmes1.bin
tkmnmes2.bin
tkmnmes3.bin

example tkmnmes1.bin text dump:
Code: [Select]
JunctiontJunction MenutItemtItem MenutMagictMagic MenutGFtGuardian Force MenutStatustStatus MenutCardtLook at cardstRearrangetRearrange party ordertSavetSave MenutConfigtConfiguration Menut????tPast party memberstPLAYtGt:tCurrent EXPtNext LEVELt/tHPtLVt-t%tFiretIcetThundertEarthtPoisontWindtWatertHolytDeathtPoisontPetrifytDarknesstSilencetBerserktZombietSleeptSlowtStoptCursetConfusetAbsorbtCan`t selecttMakingtShoptLoadtMoteltMoteltYestNotJunk Shopt(t)tAbilitytUse GF abilitytSwitchtSelect party memberstHaven`t been to a shop!tTutorialtExplanationtS.LVtSeeD ranktAtAcetChanges current HP
OK?t????tInformationtFFâ…Ąâ…ˇ Info CornertTESTtTake Written Test to raise SeeD ranktReviewtReview SeeD Written TesttNothing happenedtTIMEtTIMERtt


Quick reverse engineering shows this structure:
Code: [Select]
ushort unk;
ushort paddingSize?;
byte[paddingSize] NULL; //usually 36
ushort[x] pointersToText //this+36(paddingSize) [256 buffer size in case of tkmnmes1.bin]
string text //null terminated

right now I don't know where's the pointers count. Distance between first pointer to first text is 256 ((unk*paddingSize)/2)?
tkmnmes3.bin shows that there might be more pointers/data inside one file?

79
finally!


and once again- big shoutout to amazing people contributing to project. You're doing extremely good job, I'm impressed!

80
Ok now I get exception error when I try enter any of the battle encounters

System.UnauthorizedAccessException: 'Access to the path 'D:\out.dat' is denied.'

in debug_battleDat.cs delete line starting at 607:
Code: [Select]
#if _WINDOWS
            MakiExtended.DumpBuffer(buffer, "D:/out.dat");
#endif


though if you want to only play and watch the monsters I recommend grabbing this commit:
https://github.com/MaKiPL/OpenVIII/commit/c346872fa630d29a1c17a2af5ecb8be5616c3a41
as it's the one from GIF

81

Good news. We got the monsters more-or-less working:

82
Great job! I have merged the commits. Everything looks great. I'll make sure to add you as an collaborator soon

83
I've committed everything locally. I think I need permission on Github to submit to you. It should probably go in it's own branch to prevent messing anything you are working on.

You can fork the repository and create a pull request:
https://github.com/MaKiPL/OpenVIII/pulls

84
I got some audio playing in linux but it's all distorted for some reason.

It's expected behaviour- I am not converting ADPCM to PCM stream due to NAudio compatibility issues with Linux- instead I'm forcing to play compressed sound.
I'll be moving to FFMpeg soon- that will solve this problem

I am loading the entire ogg into a byte array to add to a sound effect.

Vorbis OGG is also a compression format, just like adpcm. They both need conversion to basic stream, which FFMpeg will be capable of this.

85
Troubleshooting / Re: FF 8 CRASHING WHILE ENTER IN A CITY
« on: 2019-03-12 19:02:05 »
Your post lacks so many details. What version you have? 2000 or Steam? What town you are trying to enter? Do you have a modded/downloaded save? Does it happen to specific town? Does the worldmap and Balamb works fine?

86
Unsure if Maki would like me to commit my code to github.

sure I do- feel free to commit any code you think is needed. This is in-dev prototype, so everything goes in. The code would be rewritten to support config like in original FF8, so don't worry about controls and/or gamepad support
I installed Roses and Wine W07 full with installer and it renamed dmusic to dmusic_backup so I guess just need to add a if statement to check both folders?
Yep, exactly.


EDIT: Ok uninstalling the music mod fixes all the issues
Phew!

87
Ok I've run the debugger theres 29 warnings but first thing that pops up is

Exception Unhandled: System.IO.DirectoryNotFoundException: 'Could not find a part of the path 'C:\media\griever\Data\SteamLibrary\steamapps\common\FINAL FANTASY VIII\Data\Music\dmusic'.'

I do have the music mod installed could that be the issue?

which system are you working one? Please make sure to pull the newest configuration, you'll be able to switch between Debug and DebugLinux, because you are using a Linux configuration for path. It should point to your FF8 installation folder. Make sure you typed correct path into Memory.cs at line ~65. I don't quite remember. It's in-dev build, so there's no easy config here, sorry!

88
So I downloaded everything changed the line in memory file and saved it, pressed 'build ff8', says it succeeded but when I click the exe nothing happens.

Is the memory line correct am I missing something?

public const string FF8DIR = @"D:\Program Files (x86)\Steam\steamapps\common\FINAL FANTASY VIII\Data\lang-en\"; //Work

This is weird, never heard of this issue. Normally you should see either some exception or program crash. Try to run debugging and see if there's something there, something that may help me locate the issue.

89
I have refactored the code and posted full guide for both Windows and Linux development. On Linux it's not possible to hear any music due to DirectX 6 DirectMusic component not natively supported by Linux.

https://github.com/MaKiPL/OpenVIII/blob/master/README.md#getting-started-windows
https://github.com/MaKiPL/OpenVIII/blob/master/README.md#getting-started-linuxmono-tested-on-ubuntu

90
(think I need some other stuff for video/audio).

all needed dll's are in root catalogue: AForge.Video.FFMPEG.dll; AForge.Video.dll; DirectMidiNet.dll and NAudio.dll

You should probably contact Square Enix and see how much money they're willing to give you for it.  Awesome job!

SE hates VIII for some reason

Anyway, I'm really afraid of animations- I haven't done any single type of skeletal animation directly from code other than vertex morphing. I have no single idea how I'm supposed to work with bones/skin and animation frames

91

What?
OpenVIII is made in MonoGame and aims to recreate 1:1 experience of FFVIII

Why?
I don't know

Show it!
https://youtu.be/Fo5Q0qOCsU4
PS> I forgot to show FMV support, but it's there (just without audio  :x )

open-source, you say?
yes, https://github.com/MaKiPL/OpenVIII

OpenVIII not only is going to play VIII as vanilla, but also would leave an open doors for modders. It's going to be extremely easy to import own OBJ, FBX models into the game, uses 4K textures and whatever you want. I'll make sure to create a mod tool so you would just import your model from 3D modelling tool and that's all.

92
Scripting and Reverse Engineering / Re: FF8 Field Models
« on: 2019-02-17 15:10:20 »
sorry for digging up ten years old thread, but I was working with the MCH files on chara.one from world map. This is what I get:

like some geometry might be missing as you wrote but looks like there were no answer so far to this. Also what's the deal with the second vertices array? this:

Code: [Select]
  u16 verticies1[4]; //Edge data???

Is it normal? I'm also retriangulating quads with ABCD> ABD ACD (as in battle stages)
My guess is it's because of the animation and geometry is not in t-pose, what's your opinion?

93
New updates!

I wrote a python script to dump the pointers to cameras:
https://gist.github.com/MaKiPL/e0f2e36b5edb560ff047e12a33aba9be

Use it like shown here:


It requires python 2.7
also I updated the wiki page and uploaded the video:
https://www.youtube.com/watch?v=R9Y9PEhlMhs&t=2s

94
Misc. Tools / Re: [FFXV PC] Cindy, Text Editor
« on: 2019-01-02 19:51:59 »
Great job, as always!

95
Thanks but it seems some runtime library is needed? Because i got this


I have no single idea why this happens. I attached all needed libraries.
Does anyone know how to solve this? I'm Qt first timer...
Anyway, I uploaded the fields for you:
https://www.dropbox.com/s/y3l4tyu5byojfr5/backExport.7z?dl=0

96
Here it is:
https://www.dropbox.com/s/cpuqot7hno0jise/deling-modded.7z?dl=0

It's modified Deling by Myst6re. That Qt is weird, it's like C++, but not c++ O_o
Anyway, open field.fs and then click here:

it will ask you for a folder and then it will start exporting images (software may not response, but it's working):

97
to clarify everything- XMB2 format is binary-XML file that is in final PC release, right?

98
If you're still interested in batch background extraction, then I'm installing Qt now and will fire unofficial build of Deling with mass export

99
Damn, that's really great. There's no way to export all in one click, yet I'll try to do my best to do it asap.
New processed images:




100
Misc. Tools / Re: [FFXV PC] Hammerhead, EARC archiver
« on: 2018-12-03 08:26:30 »
Hi Colly. Sorry for replying after such a looong time. Do you know if Hammerhead 1.4 works with Ep. Duscae and Platinum Demo? I am currently modding those two demo. Are you in the FFXV hacking discord ?
You may want to take a look here:
https://github.com/Xeeynamo/ffxv

Pages: 1 2 3 [4] 5 6 7 8 9 ... 25