Any chance of LoG 1 maps being able to port over?

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
lowena
Posts: 5
Joined: Fri Oct 17, 2014 9:24 pm
Location: Near Seattle, WA

Re: Any chance of LoG 1 maps being able to port over?

Post by lowena »

thomson wrote:How about writing this in a portable way? How about C++? Okay, it's maybe not the best language for text processing, but it's very portable. And can be later extended into other fancy stuff.

I have an early prototype that can convert parts of dungeon.lua from LoG1 to LoG2 format. It's not much, but you can at least load bare dungeon walls.
Anyone interested in joining forces on this one? Send me PM if you are. My terms are simple: C++, code is open source, hosted on github.
I'd love to help, but there are two problems:

1) I'm not sure if I'm a good enough programmer to be able to do anything
2) I know nothing about cross-platform programming. :/
User avatar
JohnWordsworth
Posts: 1397
Joined: Fri Sep 14, 2012 4:19 pm
Location: Devon, United Kingdom
Contact:

Re: Any chance of LoG 1 maps being able to port over?

Post by JohnWordsworth »

Just out of interest - why not just code it in Lua? I mean, there is a bit of faff in that the user needs the lua binary to run it, but it would run on Windows, OSX, Linux.

I've not put much thought in, but setting up a Lua script with the methods you see in LoG1 (defineObject, defineMaterial, spawn(), etc) that do some magic on the parameters and spit out new code saves you from doing any text parsing or painful stuff like that!
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
User avatar
lowena
Posts: 5
Joined: Fri Oct 17, 2014 9:24 pm
Location: Near Seattle, WA

Re: Any chance of LoG 1 maps being able to port over?

Post by lowena »

Lua would work, but usually most people don't want to bother with installing Lua to be able to use the script. Too bad LoG2 isn't like Hack 'n' Slash where you have wider access to Lua and could probably run such a script within the game. x)
User avatar
Rubilax
Posts: 51
Joined: Mon Oct 13, 2014 4:56 am

Re: Any chance of LoG 1 maps being able to port over?

Post by Rubilax »

Okay, so another question here. Would it be a waste of time to begin manually porting the maps over instead of waiting for a program to do this more effectively for me? I've already drafted out extra bits to my dungeon that I wanted when I realized LoG 2 would have outdoors areas, so I'm not sure if I should continue or take advantage of whatever comes out.

In the end I'm just looking to take what I have from my dungeon and tack extra areas onto it, and maybe tweak up some areas with the new mechanics, in short.
User avatar
SnowyOwl47
Posts: 148
Joined: Fri Sep 12, 2014 10:41 pm

Re: Any chance of LoG 1 maps being able to port over?

Post by SnowyOwl47 »

From Looking at the Dungeon Editor scripts as in Dungeon.lua in Legend of Grimrock 2 it will be pretty easy to port over the Dungeon.lua but everything else will be something complicated...
User avatar
lowena
Posts: 5
Joined: Fri Oct 17, 2014 9:24 pm
Location: Near Seattle, WA

Re: Any chance of LoG 1 maps being able to port over?

Post by lowena »

SnowyOwl47 wrote:From Looking at the Dungeon Editor scripts as in Dungeon.lua in Legend of Grimrock 2 it will be pretty easy to port over the Dungeon.lua but everything else will be something complicated...
Yeah, I have no idea about assets. I'd think animations, models, textures and such wouldn't have to be changed, but I have no idea.
Post Reply