Someone with experience compiling programs written in #C?

Programming related discussions related to game research
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Someone with experience compiling programs written in #C?

Post by Kratos9999 »

Hi, someone here with experience compilling programs written in #C can to compile this program for me: https://drive.google.com/file/d/0B-izXc ... p=drivesdk for running in Windows 7?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Someone with experience compiling programs written in #C

Post by aluigi »

At least provide the homepage of the project in case someone wants more info or doesn't want to download your file.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Someone with experience compiling programs written in #C?

Post by aluigi »

If the software is this one then you may start reading the comments where Terry tells you at least the main requirement:
http://www.terrybutler.co.uk/2011/03/12 ... en-source/
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Someone with experience compiling programs written in #C?

Post by Kratos9999 »

I have the requirements for the compilling, the problem is that I'm not right when it comes to transforming the source code in .exe.
homepage: http://www.terrybutler.co.uk/2011/03/12 ... en-source/
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Someone with experience compiling programs written in #C?

Post by aluigi »

That's the easiest part at least in theory :)
Just select the "Build->Build Solution" option from the menu.

If the project is really complete (full source code plus dependent libraries) and you have the same version of Visual Studio suggested by Terry, then it should compile perfectly in few seconds without errors.
But that line "I haven’t yet uploaded my small personal framework that accompanied it" in the homepage of the project smells of partial source code.

Anyway let's wait the posts of other users who want to help you.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Someone with experience compiling programs written in #C?

Post by Acewell »

i would say give the binary a try but the download link here is dead
http://www.terrybutler.co.uk/tools/asur ... extractor/

so i have attached my copy of it to this post :)
AsuraEngineExtractor.zip


but aluigi's bms script is far more thorough, you should use that instead
http://aluigi.altervista.org/bms/asura.bms


edit
i used ILSpy to decompile the framework.dll
Framework_source.zip
atom0s
Posts: 250
Joined: Sat Dec 27, 2014 8:49 pm

Re: Someone with experience compiling programs written in #C?

Post by atom0s »

The homepage clearly states there are missing parts of the project:

but all you’re missing is some basic file handling class and a custom zlib wrapper, which is probably a little more complicated, but easily replaced.


You need to recode these parts yourself like the site states in order for it to compile.
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Someone with experience compiling programs written in #C?

Post by Kratos9999 »

Thanks Acewell and atom0s, and aluigi. I will try the tool and post the results, God
willing, this tool will help me to finish my 5th translation project!!
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Someone with experience compiling programs written in #C?

Post by Kratos9999 »

The tool is running here, but a little difference in my archive do not allow the tool extract the files. The tool is projected to read the "FNFO" header, my archive have the same structure, but before FNFO there is "Asura ". "Asura FNFO" is the header, I believe that adapting the tool for read this new header, will works. I say this why I managed to adapt a Exporter/Importer for the texts files of this game using the "judge_dredvsd" made originally by Swuforce, the only thing that I have changed has been the header in tool source code. Instead "LTXT" I have renamed for "Asura LTXT" and is working perfectly here. It seems this is the only difference in archives of this game, the "Asura " name in the beginning of all archives. Again, I can't to compile to validade this little changing. So Acewell, you can compile again the tool making this change and take a look in the archive https://drive.google.com/file/d/0B-izXc ... p=drivesdk to confirm if the tool really can extract it?
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Someone with experience compiling programs written in #C?

Post by Acewell »

i never compiled the tool, i just shared the binaries i downloaded from Terry's site a couple of years ago :)
your sample is already supported by aluigi's asura script and it seems to extract the files perfectly. :D
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Someone with experience compiling programs written in #C?

Post by Kratos9999 »

Yes, the extraction works fine, the problem is reimport. For my luck the subtitles files are not compressed in the archive, so I am replacing manually the texts using the Hxd. But after this, the subtitles are not showed, maybe something wrong with the tool that I have adapted. The my first adaption tool for the main texts of this game is working very fine, but the tool for subtitles only it seems work. I'll ask the Swuforce to take a look at her later.
Thanks!
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Someone with experience compiling programs written in #C?

Post by Acewell »

AsuraEngineExtractor doesn't reimport to my knowledge anyway, it just extracts.
you can try using Quickbms reimporter/reinjector feature or have you tried this
http://forum.xentax.com/viewtopic.php?f=33&t=8902
i don't know man, modding is not my area and i can't really help with that. :)
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Someone with experience compiling programs written in #C?

Post by Kratos9999 »

Thankyou very much Acewell by the link, the AsuraASR tool that I have found in this link works perfectly with my asr archives, both in unpack and repack mode.