SDLView

A program left in Beta1, started to figure it out

aaro4130
MM2X Super Active User
MM2X Super Active User
Posts: 2405
Registered for: 16 years 6 months
Location: Canada
Been thanked: 1 time

SDLView

Postby aaro4130 » Tue Jan 07, 2014 9:07 pm

There was a program called SDLView in Beta1. We now can create semi-working SDL files!!!

sdl = text form of psdl

Here is my sample SDL file loaded in with some modifications
Image

Added a 4x4 grid and 2 buildings to it
Image

You can also do pathests
Image

I will soon release the SDL starter kit so people can make their own, with a tutorial and controls

EDIT : NVIDIA CARDS DO NOT RENDER EVERYTHING AND GET ERRORS ONCE EVERY FRAME.

The images above were taken with an nvidia card, here is what it looks like using an intel:

Image
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer

[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15760
Registered for: 17 years 6 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Tue Jan 07, 2014 11:43 pm

This is cool, looks a lot interesting. Amazing work. :) Looking for more progress.
You've invented this SDL file format, right? And you'll make the PSDL format conversion from it?
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

aaro4130
MM2X Super Active User
MM2X Super Active User
Posts: 2405
Registered for: 16 years 6 months
Location: Canada
Been thanked: 1 time

Postby aaro4130 » Wed Jan 08, 2014 1:33 am

No SDL = Angels file
SDLView = Angels program
SDL View has PSDL converter built in

This is me playing around with it, SDLView was previously deemed useless but it is obviously not :P
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer

[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15760
Registered for: 17 years 6 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Wed Jan 08, 2014 2:22 am

Yeah, this program made by the game developers (present in the files of the French language version of the game) seemed to be useless, until now. So they used this SDL format to built the cities PSDL files, apparently. Perfect for the already built-in format converter.
Well, keep up the good work figuring out and succeeding to create a working PSDL from their text form through this program. :wink:
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

aaro4130
MM2X Super Active User
MM2X Super Active User
Posts: 2405
Registered for: 16 years 6 months
Location: Canada
Been thanked: 1 time

Postby aaro4130 » Wed Jan 08, 2014 2:28 am

I already have done it!

Here is the sample SDL File

Code: Select all

v 100 0 100 v -100 0 100 v 100 0 -100 v -100 0 -100 td s_grass rooms 2 0 0 room 1 id 1 type 4 tex 1 ofan 4 2 3 1 0 perimeter 4 2 1 3 1 1 1 0 1
This will create a working drivable city
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer

[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]

User avatar
mm2mm1fan
MM2X Very Active User
MM2X Very Active User
Posts: 1214
Registered for: 11 years 5 months
Location: USA
United States of America

Postby mm2mm1fan » Wed Jan 08, 2014 3:23 am

This can be used in the SF extension mod.

aaro4130
MM2X Super Active User
MM2X Super Active User
Posts: 2405
Registered for: 16 years 6 months
Location: Canada
Been thanked: 1 time

Postby aaro4130 » Wed Jan 08, 2014 3:36 am

It is being used ;)
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer

[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]

User avatar
Storm_Sullivan
MM2X Active User
MM2X Active User
Posts: 522
Registered for: 11 years 3 months
Location: Ohio

Postby Storm_Sullivan » Mon Feb 03, 2014 6:25 pm

So what exactly does it do? Is it just a viewer or does it create new scenery, or does it create scenery from an objects list or something? And whatever it does, is it simple enough for people like me who don't fluently know computer coding?

Also, I have a Nvidia GS6800, so if I used this program, what sort of errors are we looking at?
:)
[color=red]Religion: Man going to God
Christianity: God coming to man

SSMC Studio, offering emergency vehicle conversion from GTA SA, GTA IV, ETS2, & DSF to MM2. See what I do [url=https://www.mm2x.com/page.php?name=Forums&file=viewtopic&t=5566]here[/url][/color]

America faces a threat worse than ever before. Yesterday, George taxed our tea. Today, Obama taxes our freedom. Tomorrow, someone may tax our mortal lives. We must act now, to stop this threat. The Rebel Alliance begins here.

aaro4130
MM2X Super Active User
MM2X Super Active User
Posts: 2405
Registered for: 16 years 6 months
Location: Canada
Been thanked: 1 time

Postby aaro4130 » Mon Feb 03, 2014 7:42 pm

Not seeing the help info that's all :)
I'll explain more later at school
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer

[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]

User avatar
Diatosta
MM2X Active User
MM2X Active User
Posts: 783
Registered for: 12 years 5 months
Location: Portugal? Maybe...
Contact:

Postby Diatosta » Mon Feb 03, 2014 7:44 pm

1st- It serves to create or modify .sdl files that can be converted to .psdl, to be used as maps ;) (Talking of which, where's the SDL Kit Aaro? :P )

2nd-Yeah, it's mostly simple, it's almost a drag and put and modifying blocks properties (didn't explored that much tho)

3rd- It seems it will only not show some texts (atleast from the image above ;)

P.S.- Interestingly I have 2 graphic crads, an Nvidia and a built-in Intel. Is it possible to just enable the Intel in the SDLViewer?
[color=white]MM2 lover! Yeah![/color]
[color=white]diatosta.pt[/color]

[color=white]Also, gotta love when people don't publicize their work or ask for support in their signatures. Also don't forget to check my unfinished mods and donate to my Paypal

Also, one of my trucks[/color]
[img][/img]

User avatar
Storm_Sullivan
MM2X Active User
MM2X Active User
Posts: 522
Registered for: 11 years 3 months
Location: Ohio

Postby Storm_Sullivan » Mon Feb 03, 2014 9:17 pm

So I could make a simple map just with this, then?
[color=red]Religion: Man going to God
Christianity: God coming to man

SSMC Studio, offering emergency vehicle conversion from GTA SA, GTA IV, ETS2, & DSF to MM2. See what I do [url=https://www.mm2x.com/page.php?name=Forums&file=viewtopic&t=5566]here[/url][/color]

America faces a threat worse than ever before. Yesterday, George taxed our tea. Today, Obama taxes our freedom. Tomorrow, someone may tax our mortal lives. We must act now, to stop this threat. The Rebel Alliance begins here.

User avatar
HummersRock
MM2X Super Active User
MM2X Super Active User
Posts: 2152
Registered for: 18 years
Location: Floating in The Land of Colours
Contact:

Postby HummersRock » Mon Feb 03, 2014 9:26 pm

Does this have anything for modifying behavior/paths for traffic/pedestrians?
[url=https://bit.ly/znpgtp][color=deepskyblue]My MM2 Creations[/color][/url] | [url=https://bit.ly/o9c3][color=red]My MM2 Youtube[/color][/url] | [url=https://bit.ly/yfqjeq][color=green]My DeviantArt[/color][/url]

User avatar
Diatosta
MM2X Active User
MM2X Active User
Posts: 783
Registered for: 12 years 5 months
Location: Portugal? Maybe...
Contact:

Postby Diatosta » Mon Feb 03, 2014 10:07 pm

Storm_Sullivan: Yes, I did one in like 2 min. Just loaded a block, made water around and grass in the middle, saved, converted (I think, it was some time ago) and played in-game. Just like that ;)

HummersRock: I don't think so, but isn't that what Zentra GPS Mapper does?
[color=white]MM2 lover! Yeah![/color]
[color=white]diatosta.pt[/color]

[color=white]Also, gotta love when people don't publicize their work or ask for support in their signatures. Also don't forget to check my unfinished mods and donate to my Paypal

Also, one of my trucks[/color]
[img][/img]

User avatar
HummersRock
MM2X Super Active User
MM2X Super Active User
Posts: 2152
Registered for: 18 years
Location: Floating in The Land of Colours
Contact:

Postby HummersRock » Mon Feb 03, 2014 10:23 pm

HummersRock: I don't think so, but isn't that what Zentra GPS Mapper does?
I completely forgot about that program.
[url=https://bit.ly/znpgtp][color=deepskyblue]My MM2 Creations[/color][/url] | [url=https://bit.ly/o9c3][color=red]My MM2 Youtube[/color][/url] | [url=https://bit.ly/yfqjeq][color=green]My DeviantArt[/color][/url]

User avatar
mm2mm1fan
MM2X Very Active User
MM2X Very Active User
Posts: 1214
Registered for: 11 years 5 months
Location: USA
United States of America

Postby mm2mm1fan » Mon Feb 03, 2014 10:41 pm

Can you make any size map with this? Will it work in Win98?