Ask a simple question, get a simple answer

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
User avatar
Modraneth
Posts: 95
Joined: Thu Aug 27, 2015 8:27 pm
Location: Portugal

Re: Ask a simple question, get a simple answer

Post by Modraneth »

minmay wrote:That's a question to ask your favourite search engine.
i had done that and dont found any program to change mp4 to ivf
Mods:
Isle of Gunger
The Bloody Path Dropped
A World of Power work in progress
User avatar
Isaac
Posts: 3185
Joined: Fri Mar 02, 2012 10:02 pm

Re: Ask a simple question, get a simple answer

Post by Isaac »

Modraneth wrote:i had done that and dont found any program to change mp4 to ivf
The modding section lists the instructions to create cinematics for the game.
It also gives suggested tools for this.
http://www.grimrock.net/modding/creating-cinematics/

This works. Tried and tested.
User avatar
Modraneth
Posts: 95
Joined: Thu Aug 27, 2015 8:27 pm
Location: Portugal

Re: Ask a simple question, get a simple answer

Post by Modraneth »

have u used that ?
i try it and i cant do it
i dont think thats a proper program its something that u need to use with the windows comands but i cant make it work
Mods:
Isle of Gunger
The Bloody Path Dropped
A World of Power work in progress
User avatar
Isaac
Posts: 3185
Joined: Fri Mar 02, 2012 10:02 pm

Re: Ask a simple question, get a simple answer

Post by Isaac »

I have used it. I tested it just before I posted; to make sure of it. ;)

*Audacity is an audio editor, FFMPEG is the video encoder.
User avatar
Modraneth
Posts: 95
Joined: Thu Aug 27, 2015 8:27 pm
Location: Portugal

Re: Ask a simple question, get a simple answer

Post by Modraneth »

yah i know that, but i download the ffmpeg and i cant make it work
Mods:
Isle of Gunger
The Bloody Path Dropped
A World of Power work in progress
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: Ask a simple question, get a simple answer

Post by AndakRainor »

2.2.1:
- bug fix: ProjectileComponent:setCastByChampion() has an incorrect argument type
Has anyone seen a regression here ??? I was sure at some point I tested this and it worked, granting XP to the party on a kill, or may be I dreamed it...

I just noticed tonight the ordinal was not sent to the resulting TileDamager of the hitEffect !!! I get the correct ordinal in the projectile, but a nil value in the tile damager... So back to the old tricky method of using only custom objects to set the correct value on impact or put a default ordinal in the tile damager ? Or does it work for you and I just did something wrong ?
User avatar
Isaac
Posts: 3185
Joined: Fri Mar 02, 2012 10:02 pm

Re: Ask a simple question, get a simple answer

Post by Isaac »

Modraneth wrote:yah i know that, but i download the ffmpeg and i cant make it work
First... How familiar are you with console applications?

I installed ffmpeg and used the command suggested by Almost Human; with the paths changed to match my files. It worked perfectly. (I was surprised too.)

*Also... the original intro slides method from LoG1 can be approximated by using functions in the GUI object, or even the GameMode object.
User avatar
Modraneth
Posts: 95
Joined: Thu Aug 27, 2015 8:27 pm
Location: Portugal

Re: Ask a simple question, get a simple answer

Post by Modraneth »

Isaac wrote: First... How familiar are you with console applications?

I installed ffmpeg and used the command suggested by Almost Human; with the paths changed to match my files. It worked perfectly. (I was surprised too.)

*Also... the original intro slides method from LoG1 can be approximated by using functions in the GUI object, or even the GameMode object.
i dont use the console to much.. only a couple of times.
if possible can u teach from the start how to do it?
Mods:
Isle of Gunger
The Bloody Path Dropped
A World of Power work in progress
User avatar
Isaac
Posts: 3185
Joined: Fri Mar 02, 2012 10:02 pm

Re: Ask a simple question, get a simple answer

Post by Isaac »

What operating system are you running?

(I'm rusty on anything but Windows :( )
SpoilerShow
For Windows: Run the command prompt. Type: CMD in the start menu search, or in the Run dialog on the start menu; or in the 'search Apps' dialog for Windows 8.

You should get the familiar black box panel with white text.

For simplicity sake, it might be easier to first move the ffmpeg folder to the root of your hard disk (usually drive c:); and put your videos in it as well. Otherwise you will need to change directories (in the command prompt) to the ffmpeg folder ~where it is; and add the paths to your video files ~wherever they are.

If the folder is on the C: drive, then type: cd ffmpeg [at the prompt, and then press Enter]
You should see this at the prompt: C:\FFMPEG\
If the videos are in the ffmpeg folder, then you can type the command that AH lists:
ffmpeg -i cinematic.mp4 -vcodec libvpx -b 3000k -s 1280x720 cinematic.ivf

*Tip: select the line above, and copy it to the clipboard; then in the command prompt, right click and choose edit>>paste, (and press Enter.)

(This assumes the video is named cinematic.mp4; substitute your filename ~and extension.)
Note: Windows (for awful reasons) defaults to not showing file extensions. If your system is using the default, then you are going to want to change that so that you can see the real filenames. https://support.microsoft.com/en-us/kb/865219
(And of course, you can change it back when you are done, if need be.)

If your video file name is given correctly in the above ffmpeg command, then ~if all goes well, you should end up with the converted video in the ffmpeg folder. Then you just put it in your mod_assets folder somewhere, and it should be playable in the game using GameMode.playVideo().
User avatar
Modraneth
Posts: 95
Joined: Thu Aug 27, 2015 8:27 pm
Location: Portugal

Re: Ask a simple question, get a simple answer

Post by Modraneth »

thank you i will test it. and yes i have windows

EDIT:
i got the same problem.
i have done everything u say

and i have the ffmpeg folder on C: directory, but when i type cd ffmpeg cmd dont locate it

its the same problem i have before.. i cant locate the ffmpeg folder with cmd, i dont know why
but i take the ffmpeg folder to the C: diretory like u said and cmd dont locate it anyway

EDIT:
its only that last thing and i finish my mod... this is making me crazy..
Last edited by Modraneth on Sat Sep 12, 2015 1:13 pm, edited 2 times in total.
Mods:
Isle of Gunger
The Bloody Path Dropped
A World of Power work in progress
Post Reply