[Release] SQF to Biedi converter/importer

JayWood

New Member
For a long time I wanted to add buildings to my Epoch server for my players to inhabit, but I worried about adding buildings on top of buildings, on top of more buildings. So, I built this. Using this ensures that if any 'new' building sqf's are released that I can see if they overwrite any existing buildings before I add them.

I realize this tool isn't for everyone, but I'm quite proud of it so why not see if someone else can get use out of it. Watch the video to see how to use it, and of course it's a plus that you don't have to 'download' an exe or other file, it's web only. You're free to rip this html, distribute it, etc... just don't sell it, that's just stupid.


Video Tut:

NOTE: This tool is no longer maintained by me, therefore I've moved it's sourcecode to github for further use by someone else. If you wish to host it or something just submit a pull request to the readme file and I'll add your link. For now, that is all!

Get it on GitHub

https://github.com/JayWood/sqf_to_beidi

Use it online:
https://github.com/JayWood/sqf_to_beidi#use-this-tool-online

Revisions:
v1.2

  • Altered javascript to check for only createVehicle to get rid of 'unit' issues as well as markers and basically anything that isn't a vehicle. You should now be able to paste an entire SQF file, though you will only get the usual output, vehicles only.
  • Moved output code to textarea, I just like it there instead. Allows Ctrl+A and prevents selecting the entire page.
  • A few style changes.

All I ask is that you link to my site if you decide to rip the html.
 
Last edited:
So i added tons of buildings to my map and at one point my arma was corrupt and so i had to reinstall, which meant i lost everything ib my editor. Ive always wanted to go back and load my map back onto the editor so i could change or remove old placements, but as i had no beidi i couldnt. Would this tool help me? Sorry for run ons im on cell at work
 
it seems there need to be an empty line between the single object blocks...
otherwise it only loads the first block
 
@Gagi2:
Yes that's correct. I based my code off of the common 'buildings.sqf' which most servers used. You'll notice in those SQF's that there are two line breaks after the vehicle declaration. You could modify the split declaration on line 95 to work around that if you'd like. Here's where the split begins:
Code:
_sqf.split("};\n\n");

It essentially splits each vehicle into it's own array, then iterates through that to get the appropriate values. Hope that makes sense.

@DangerRuss
If you still have the old SQF from the mission this will work for re-adding the buildings, aka. vehicles. If you watch the video I show you how to start a new map, and import pre-made sqf's into it. Should cover your bases.

@CommanderRetra
Glad you found it useful, and thanks for the sticky.
 
yes awesome Ill just slap the SQF's from my server. Very cool. I can't tell you how long Ive been googling for a solution.
 
You need to add some lines to the top of that .biedi you created. Look example from some original .biedi file.
 
I've tried to get the tool to work on your site but it stops at building 668. Is there some kind of limit on the number of buildings?
 
I must be retarded because i can't get this to work

All I get is working on your file

Nevermind i see what was going on, there were units and groups in there as well. Hopefully you improve this to include those, or make a seperate tool to convert the units/groups

But great tool it was very helpful, thank you!
 
Mine keeps getting stuck on "Working on your file, please wait".
I have about 1950 lines I'm trying to convert, is it too much?
 
If I may... what do people really use this for? It seems to not work and I can't think of why it would be necessary other than perhaps a time saver?
 
If I may... what do people really use this for? It seems to not work and I can't think of why it would be necessary other than perhaps a time saver?
people use this for what it was meant to be used...
so you want to tell me you recompile a 1200line sqf manually to a biedi file?
congratz... you must have too much spare time :cool:

i have used a few times now and it worked every time...

as i posted before... you need an empty line between the single objects... or it will stop parsing right there...
 
people use this for what it was meant to be used...
so you want to tell me you recompile a 1200line sqf manually to a biedi file?
congratz... you must have too much spare time :cool:

i have used a few times now and it worked every time...

as i posted before... you need an empty line between the single objects... or it will stop parsing right there...

It was an honest question that didn't deserve a smart ass answer with a dick head remark. No shit its used to convert sqf to beidi, I was asking for specifics since everyone was complaining it didn't work. The only beidi file I use is in my map editor, and copy pasting some coordinates doesn't take much time at all.

So back to my original question for anyone who doesn't want to be a condescending prick. Thanks.
 
ok so you copy and paste about 1200 coordinates... like i said...
c'mon... lets do it...

i guess some people are getting a bit more into their custom maps like 1 or 2 objects like it seems you do...

i have overread the dick head remark for this time... next time maybe you arent so lucky kiddo...
 
ok so you copy and paste about 1200 coordinates... like i said...
c'mon... lets do it...

i guess some people are getting a bit more into their custom maps like 1 or 2 objects like it seems you do...

i have overread the dick head remark for this time... next time maybe you arent so lucky kiddo...
lol internet tough guy. flex those muscles! quit flaming the thread. I asked a serious question. If you took the time to put 1200 items in one custom map file, YOU have too much time. And if you made the map yourself, why would you need a converter? You would already have the beidi. So back to my original question and quit wasting my time.
 
The reason I use it is if I find a nice map addition I want to do changes to in the editor, now I can.
 
The reason I use it is if I find a nice map addition I want to do changes to in the editor, now I can.
thanks for the honest reply. I guess I was just wondering if there were other types of beidi files that people used for other things (besides maps) on their server.
 
Back
Top