Author Topic: Mapper stand alone version  (Read 2986 times)

Offline Mr Handy

  • Repair 300%
Mapper stand alone version
« on: August 28, 2014, 10:02:09 pm »
I know this is question about TLA SDK but I want create v455 stand alone mapper. What files I need to this? I would be grateful for any help.

Offline Wipe

  • Rotator
  • Random is god
Re: Mapper stand alone version
« Reply #1 on: August 29, 2014, 12:39:29 am »
Let's see - .zips/.dats from client, scripts.cfg and scripts used (you can use either source or bytecode), protos, Server/text/ and Server/data/ files, some example map (like e_desert1), client and server config files, did i miss something?

Take a look at Jovanka's standalone mapper. It has been made for 2238, but should serve well as an example; you just have to remake the thing with TLA content.
« Last Edit: August 29, 2014, 12:44:47 am by Wipe »
Games are meant to be created, not played...

JovankaB

  • Guest
Re: Mapper stand alone version
« Reply #2 on: August 29, 2014, 04:27:07 am »
Note that I used a trick by making Client and Sever named "Mapper" in Mapper.cfg,
and the Client and Server folders are just Mapper folder, so settings like window
resolution can be inside Mapper.cfg with other Mapper settings. It also simplifies
folder structure a bit. Also if you want to reduce the Mapper size, not all client
data needs to be included - for example most of the client interface, music, sounds,
town backgrounds, loading screends etc. can be stripped.

I know this is question about TLA SDK but

Not sure what you mean, but questions about TLA SDK are welcome as much
as about any other aspect of FOnline.
« Last Edit: August 29, 2014, 07:01:36 am by JovankaB »

Offline Mr Handy

  • Repair 300%
Re: Mapper stand alone version
« Reply #3 on: August 29, 2014, 03:54:31 pm »
Thanks for help but when I added all files (I hope that all :) ), mapper run but i don't see mouse cursor.
Here is mapper log:

Code: [Select]
Starting Mapper (version 455)...
Mapper initialization...
Sprite manager initialization...
OpenGL extension 'framebuffer_object' not supported. Not critical.
OpenGL extension 'framebuffer_multisample' not supported. Not critical.
OpenGL extension 'texture_multisample' not supported. Not critical.
OpenGL extension 'get_program_binary' not supported. Not critical.
Sprite manager initialization complete.
Init interface.
Init interface complete.
Script system initialization...
Reload scripts...
Reload scripts complete.
Bind reserved functions...
Bind reserved function fail, name<map_load>.
Bind reserved function fail, name<map_save>.
Bind reserved functions fail.
Script system initialization complete.
Loaded<325> critter types.
Item manager initialization...
Item manager initialization complete.
Loading items prototypes...
Items prototypes successfully loaded, count<4614>.
Critter manager initialization...
Critter manager initialization complete.
Loading critters prototypes...
Loaded<529> critter protos, errors<0>.
Hex field initialization...
Hex field initialization complete.
Mapper initialization complete.
Create map from prototype.
Create map from prototype complete.
Exit from mapper.

What is the problem?
« Last Edit: August 29, 2014, 04:01:15 pm by Mr Handy »

JovankaB

  • Guest
Re: Mapper stand alone version
« Reply #4 on: August 29, 2014, 05:01:41 pm »
Mouse cursor is taken from master.dat so you don't have correct path to client or master.dat is missing.

Offline Mr Handy

  • Repair 300%
Re: Mapper stand alone version
« Reply #5 on: August 29, 2014, 09:14:15 pm »
Thanks Jovanka and Wipe for help. My mistake :) I forgot about this, now working corretly.