• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problems with Map Loading 7.6

Mugen94

New Member
Joined
Jan 17, 2018
Messages
19
Reaction score
3
Hello,

i have a ot serv running on 7.6.
If i only change 1 thing with the new version for rme map editor and try restart the server comes the error:
error : No such file or directory ... Map size: 2181x2048.
Map size: 2424x3289
FATAL: couldnt determine the map format! exiting2

But i need to change some bugs on map?

how i can solve this

thanks for help
 
The problem is that house is written into otbm u can use xvi to delete the bloat bytes and it will load in engine :) hope that helps. World-houses.xml from that and then end header byte and save again unfortunately. Recommend to move from yurots engines
 
RME zapisuje w otbm lokalizacje world-houses.xml która nie pozwala serwerowi załadować mapy bo ten nie umie odczytać houses.xml ani headera który jest dłuższy niż powinien być. więc albo skopiuj metode ładowania mapy z tfs (domki i tak będziesz robił ręcznie.?) albo wymień staroć na ktrym robisz i zrob cos na tfs 1.2 tfs 0.4 albo othire otx
 
You have already explained one of several possibles
that is the reason its not f*ing loading send me the map and I will prove to you with XVI that after removing the header houses it will load normally. I had that problem when working with older XML engines and I already reproduced it and fixed it. I had that problem when I was a kid maybe 15-16 and found solution by myself without anyones help. makes me wonder what people be doing these days with these obscure shitty XML engines still. we shouldnt even allow people to download them idk why we rehost them for yall they make yall lazy and u dont wanna setup Mysql database.
 
that is the reason its not f*ing loading send me the map and I will prove to you with XVI that after removing the header houses it will load normally. I had that problem when working with older XML engines and I already reproduced it and fixed it. I had that problem when I was a kid maybe 15-16 and found solution by myself without anyones help. makes me wonder what people be doing these days with these obscure shitty XML engines still. we shouldnt even allow people to download them idk why we rehost them for yall they make yall lazy and u dont wanna setup Mysql database.
came across this while trying to find out why its happening after wanting to mess around on a server i was working on years ago, do you mind explaining to a very little experienced person how i can this to recover my old map?
 
came across this while trying to find out why its happening after wanting to mess around on a server i was working on years ago, do you mind explaining to a very little experienced person how i can this to recover my old map?
on bottom of the page is donwlod version 2.54

1724420533523.webp


drag map file inside windows


1724420555768.webp


click on boxes and delete until

1724420615354.webp

save AS
new.otbm :)
or use OtMapEditor 0.4.8 (old XML map editor) but this you will have to do it each time in XVI after saving map
Post automatically merged:


OPTION 2:
JavaScript:
const fs = require('fs');

// Path to the input and output files
const filePath = 'world.otbm';
const outputFilePath = 'world_modified.otbm';

// Read the binary file into a buffer
const buffer = fs.readFileSync(filePath);

// Define the search string and the byte
const spawnXmlString = 'spawn.xml';
const feByte = 0xFE;

// Convert buffer to a string for easier searching
const fileString = buffer.toString('binary');

// Find the position of `spawn.xml`
const spawnXmlPosition = fileString.indexOf(spawnXmlString);

if (spawnXmlPosition === -1) {
  console.error('spawn.xml not found');
  process.exit(1);
}

// Find the position of the first `FE` byte after `spawn.xml`
const feBytePosition = buffer.indexOf(feByte, spawnXmlPosition + spawnXmlString.length);

if (feBytePosition === -1) {
  console.error('FE byte not found after spawn.xml');
  process.exit(1);
}

// Create a new buffer including `spawn.xml` and from `FE` byte onward
const beforeSpawnXml = buffer.slice(0, spawnXmlPosition + spawnXmlString.length);
const afterFeByte = buffer.slice(feBytePosition);

const newBuffer = Buffer.concat([beforeSpawnXml, afterFeByte]);

// Write the modified buffer to a new file
fs.writeFileSync(outputFilePath, newBuffer);

console.log('File modified successfully!');

simple node js script
usage
install node js !!
create folder on desktop of your pc put world.otbm and this file inisde folder
run cmd
cd desktop
cd folderondesktop
node house
world-output will run immediately in your ots :)
 
Last edited:
on bottom of the page is donwlod version 2.54

View attachment 86737


drag map file inside windows


View attachment 86738


click on boxes and delete until

View attachment 86740

save AS
new.otbm :)
or use OtMapEditor 0.4.8 (old XML map editor) but this you will have to do it each time in XVI after saving map
Post automatically merged:


OPTION 2:
JavaScript:
const fs = require('fs');

// Path to the input and output files
const filePath = 'world.otbm';
const outputFilePath = 'world_modified.otbm';

// Read the binary file into a buffer
const buffer = fs.readFileSync(filePath);

// Define the search string and the byte
const spawnXmlString = 'spawn.xml';
const feByte = 0xFE;

// Convert buffer to a string for easier searching
const fileString = buffer.toString('binary');

// Find the position of `spawn.xml`
const spawnXmlPosition = fileString.indexOf(spawnXmlString);

if (spawnXmlPosition === -1) {
  console.error('spawn.xml not found');
  process.exit(1);
}

// Find the position of the first `FE` byte after `spawn.xml`
const feBytePosition = buffer.indexOf(feByte, spawnXmlPosition + spawnXmlString.length);

if (feBytePosition === -1) {
  console.error('FE byte not found after spawn.xml');
  process.exit(1);
}

// Create a new buffer including `spawn.xml` and from `FE` byte onward
const beforeSpawnXml = buffer.slice(0, spawnXmlPosition + spawnXmlString.length);
const afterFeByte = buffer.slice(feBytePosition);

const newBuffer = Buffer.concat([beforeSpawnXml, afterFeByte]);

// Write the modified buffer to a new file
fs.writeFileSync(outputFilePath, newBuffer);

console.log('File modified successfully!');

simple node js script
usage
install node js !!
create folder on desktop of your pc put world.otbm and this file inisde folder
run cmd
cd desktop
cd folderondesktop
node house
world-output will run immediately in your ots :)
You are a god send! Thank you for helping me with this! It works great now!
 
Back
Top