SMBX Level Patcher V1.5 !

Description: Subforum dedicated to SMBX-38A - a fan-made remake of the original SMBX Engine, made by 5438A38A.
Forum rules: This is official Europan/American community for the SMBX-38A. Suggested to don't post stuff for this engine outside this subforum.
Moderators: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

Erwill M
Topic author, Count
Count
Avatar
Erwill M
Topic author, Count
Count
Age: 24
Reputation: 189
Posts: 295
Joined: 29 Nov 2015

Post #1by Erwill » 16 Oct 2016, 1:06

Please don't use my level patcher anymore, there are a better patcher with more feature here : viewtopic.php?f=66&t=1723

old
SMBX Level Patcher v1.5 !

SMBX Level Patcher is a utility to create a level patch which can be apply on the other levels.
The level patch take every elements in a level file except the default layers and default events, the players positions and the section's informations.

What's the interest ?
You can install custom npcs with text file in your level easily, even for the custom graphics and musics.
But if you want to install a public complex system with scripts, events, variables and layers, or with custom blocks and backgrounds, it's more difficult.
This is why I programmed this program with Batch, you can install them easily in your level instead to follow an explanation to create variable or set some information in event manually.

How to use it ?
You have two programs :
- "SMBX Level Patcher V1,5" to create level patch since a existing level.
- "SMBX Level Patch Apply V1,5" to apply a patch in a level.
In those two programs, place your level and patch file in the program.
To example, if you want to apply a patch in yourlevel.lvl, place your level in the software and press enter.
Once the patch created, you get the .slp file. (SLP means SMBX Level Patch)

Don't forget !
- SMBX Level Patcher takes only the elements inside the level file, so it doesn't take the custom graphics, musics, or npc text files.
- SMBX Level Patcher takes ALL elements (except the default layers and default events, the players positions and the section's informations.) so if you don't want block in your patch, remove them in your level to example.
- SMBX Level Patcher doesn't take default layers and events.
- SMBX Level Patcher doesn't take the crypted level.
- SMBX Level Patcher works only in SMBX 38A level.

Screenshots.

Spoiler
ImageImage

Download Link : https://www.mediafire.com/?lwbtknf84e57sdo

Update !
The version 1.5 is an enhancement of the software, you can save patch file anywhere, plus, once the patch created or patched, SMBX Level Patcher ask you if you want create/apply another patch.
Last edited by Erwill on 9 Apr 2017, 22:47, edited 9 times in total.

Lx Xzit M
Moderator
Moderator
Avatar
Lx Xzit M
Moderator
Moderator
Reputation: 402
Posts: 757
Joined: 9 Nov 2015
Website

Post #2by Lx Xzit » 16 Oct 2016, 1:21

Interesting, I may use this with the NPCs TheCreator520 made, so that people can "install" these NPCs easier. Gonna give a try. Great input!
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server!

Image

Erwill M
Topic author, Count
Count
Avatar
Erwill M
Topic author, Count
Count
Age: 24
Reputation: 189
Posts: 295
Joined: 29 Nov 2015

Post #3by Erwill » 16 Oct 2016, 9:26

Lx Xzit wrote:Interesting, I may use this with the NPCs TheCreator520 made, so that people can "install" these NPCs easier. Gonna give a try. Great input!
Of course you can. Thank you !

Anyway, I make a minor update which corrects a bug, that I found today.
The version 1.0.0.1 corrects a bug with the line "SMBXFile", it was programmed to remove "SMBXFile66", however it exist levels which have "SMBXFile67", and in the previous version SMBX Level Patcher didn't remove it.
The download link is updated.

Alucard
Our friend
Our friend
Avatar
Alucard
Our friend
Our friend
Reputation: 8
Posts: 62
Joined: 5 May 2014

Post #4by Alucard » 18 Oct 2016, 14:13

Will this think work with PGE-X level file format (*.lvlx)?

Erwill M
Topic author, Count
Count
Avatar
Erwill M
Topic author, Count
Count
Age: 24
Reputation: 189
Posts: 295
Joined: 29 Nov 2015

Post #5by Erwill » 18 Oct 2016, 17:07

Alucard wrote:Will this think work with PGE-X level file format (*.lvlx)?

No, it work with .lvl made in SMBX-38A.

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 30
Reputation: 493
Posts: 1747
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #6by Wohlstand » 2 Nov 2016, 11:00

I think, for LVLX/WLDX and SMBX 1.3's LVL/WLD you can use PGE File Library: https://github.com/WohlSoft/PGE-File-Library-STL
38A's formats are experimentally supported for read/write and I don't recommend you use it for those formats now yet.
Using it is very simple, just include all CPP/C/H files into your project, enable C++11 support and you can use library's API (internally every file type, level, world map, game save, SMBX 1.3's game settings file, has special structure where you can access data.). But this case if you would create patcher in C++.
Short info about SMBX 1.3's and PGE-X files:
- in SMBX 1.3 all parameters are written with separating with line feed

Code: Select all

1
2
5
6
6
8

- in PGE-X data entries are stored into sections, and inside every section every entry uses entire line:

Code: Select all

XXX
X:1;Y:2;
X:5;Y:6;
X:6;Y:8;
XXX_END

(unlike old format and unlike 38A's every field is marked, therefore if field is not presented, it will be automatically initialized with default value. That allows to don't store parameter if default value is set).

Erwill M
Topic author, Count
Count
Avatar
Erwill M
Topic author, Count
Count
Age: 24
Reputation: 189
Posts: 295
Joined: 29 Nov 2015

Post #7by Erwill » 13 Nov 2016, 22:38

I uploaded SMBX Level Patcher which is now a better program.

Toastbunny M
Duke
Duke
Avatar
Toastbunny M
Duke
Duke
Age: 17
Reputation: 27
Posts: 103
Joined: 11 Aug 2016

Post #8by Toastbunny » 19 Dec 2016, 23:57

Can this copy scripts & variables?

Erwill M
Topic author, Count
Count
Avatar
Erwill M
Topic author, Count
Count
Age: 24
Reputation: 189
Posts: 295
Joined: 29 Nov 2015

Post #9by Erwill » 20 Dec 2016, 0:21

Toy Bonnie wrote:Can this copy scripts & variables?

SMBX Level Patcher takes all elements from your level except the players, the section's informations and the default layers/events.
If you want to create a patch with scripts and variable you must remove all elements in your level that you don't want.

Toastbunny M
Duke
Duke
Avatar
Toastbunny M
Duke
Duke
Age: 17
Reputation: 27
Posts: 103
Joined: 11 Aug 2016

Post #10by Toastbunny » 26 Feb 2017, 23:04

Catskart wrote:
SMBX Level Patcher takes all elements from your level except the players, the section's informations and the default layers/events.
If you want to create a patch with scripts and variable you must remove all elements in your level that you don't want.

Ok. I will try!


Return to “Super Mario Bros. X by 38A (SMBX-38A)”

Who is online (over the past 5 minutes)

Users browsing this forum: 2 guests