Tool Spiky's DS Map Editor (NOW OPEN-SOURCE) Page 28

Started by Spiky-Eared Pichu September 14th, 2012 2:19 PM
  • 271292 views
  • 732 replies

KJGungeon

Rom-hacker, & Researcher

Age 23
Male
Pallet Town
Seen 2 Weeks Ago
Posted January 6th, 2020
46 posts
7.3 Years
Check out my R/S/E works for Pokemon Black. Just recently came back into the Hacking Scene.
The goal is to be able to make a RSE Base Rom for people to use.

Video Here:
KJGungeon Ace

CLASS: PKMN Trainer

Check Out my Youtube and follow my updates on Rom Hacking.
https://www.youtube.com/channel/UCFITD6ZmmCDR1pTSHswVcDA

My discord username:
KJGung_eon
Male
Seen September 18th, 2016
Posted August 22nd, 2016
20 posts
6.8 Years
Whenever I try to run the latest version of this tool I get a "can not activate the GL rendering context" error. The only solution I've heard of is to run v1.7.0, but I can't find a download for it anywhere. Can anybody help me?
Use Windows XP (English 32bit)
SDSME170 is here https://github.com/Spiky-EaredPichu/SDSME/tree/master/Release%20Builds
Male
Seen September 18th, 2016
Posted August 22nd, 2016
20 posts
6.8 Years
Hi, I've been looking for a while, and I'm trying to find out what each of the commands mean in the Script editor. I can't seem to find any tutorial nor documentation of commands for that. I haven't done any real big ROM editing, but I've done a couple years of programming, and I think I could find out what to do with a couple of hints.

How can I find out how to edit the scripts? Is it the same as GBA script editing? Anything to steer me in the right direction would help, Thanks!
If you are going to edit HGSS or DPPt,you can use PPRE too.
Script commands of PPRE are differrent from those of SDSME.
Please refer to https://board.romresources.net/board219-rom-hacking-tools-tutorials-ressourcen/board16-rom-hacking-tutorials/12987-nds-ppre-scripting-tutorial-d-p-u/#post163421
This website is not written by English.

Salamence™

Gen 3♥

Male
On earth
Seen August 16th, 2016
Posted June 25th, 2016
152 posts
7.1 Years
Seriously?.. it has been so long and no update.. does no one care about hacking the ds maps? is it that hard?..
Hacking ds maps you know its 3d maps intead of 2d mapping like gen 3.... On the github page there commes few updates. Its also hard working on a big program like that..

The best starter ever <3.<3

YORAMRW

8-bit producer & Pokémon GB music hacker

Age 22
Male
Netherlands
Seen April 19th, 2017
Posted July 13th, 2016
48 posts
7.6 Years
Check out my R/S/E works for Pokemon Black. Just recently came back into the Hacking Scene.
The goal is to be able to make a RSE Base Rom for people to use.

Video Here:
Good work, but the trees need to be improved. Maybe thought about replacing the 2D fake trees with the acual tree models used in original B/W maps?
Professional Pokémon music hacker and the composer of epic 8-bit devamps
Male
Seen May 8th, 2019
Posted March 20th, 2018
53 posts
5.7 Years
I noticed some mistakes that happen with HGSS (but not DPPt) when trying to change the Wild Pokémon:
_Saving on any given Wild map will swap the third and fourth rows' levels for the Pokémon you get by Walking;
_Surfing rate is not read at all;
_In place of the Surfing rate SMSDE reads instead the max level for the 1% row while surfing;
_Saving on any given Wild map will save that value on both the Surfing rate and the 1% Surfing row max level bytes.


Here are the lines you want to check in Form9 Wild Editor.cs:
line 1014 should be numericUpDown22.Value = readWild.ReadByte()
line 1437 should be writeWild.Write((byte)numericUpDown68.Value)
line 1438 should be writeWild.Write((byte)numericUpDown67.Value)
line 1014 should be writeWild.Write((byte)numericUpDown22.Value)
Male
Seen August 6th, 2019
Posted January 9th, 2018
17 posts
8 Years
You, sir, are a god, but unfortunately I've got a problem.
See, I use blender, and I imported a map I was going to edit (from HGSS) When the map showed up in blender, everything was textureless... That wouldn't be a problem, except for the paths and flowers on the ground... I really don't want to have to get used to a different modeling program, please help. Thanks.
This signature has been disabled.
Exceeds signature dimension size limit
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Male
Seen August 6th, 2019
Posted January 9th, 2018
17 posts
8 Years
nevermind, i had textures off

forgive me for being stupid XD
This signature has been disabled.
Exceeds signature dimension size limit
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Male
Seen August 21st, 2016
Posted August 18th, 2016
2 posts
3.8 Years
I'm fairly new to this modding community and I am interested in using SDME but I keep getting an error once I try loading a rom. I have downloaded SoulSilver, HeartGold, Diamond, and Platinum. I have downloaded the roms from multiple websites so I don't think they are corrupt. Am I supposed to convert the file or anything like that? Any Help is appreciated.

Platinum Lucario

The Legendary Master of Light!

Age 27
Male
Warrnambool, Victoria, Australia.
Seen 2 Weeks Ago
Posted April 13th, 2020
1,603 posts
12.4 Years
I'm fairly new to this modding community and I am interested in using SDME but I keep getting an error once I try loading a rom. I have downloaded SoulSilver, HeartGold, Diamond, and Platinum. I have downloaded the roms from multiple websites so I don't think they are corrupt. Am I supposed to convert the file or anything like that? Any Help is appreciated.
Alrighty, first of all, download and install the Microsoft .NET Framework 4.0, then make sure SDSME is at the root of the C:\ directory. Secondly, run the program as Administrator (you can also make it permanent by right clicking SDSME, click properties, click compatibility tab and select "Always run as Administrator" box, then click OK).

That should solve most of the problems that you currently have. I hope it helps! ^^
[Platinum Lucario's Signature]
If you need to disable my signature, please give me advice on how to improve the CSS-DIV code. Thank you!
All credits for the avatar since 2008 goes to shorty-antics-27 (fanart account)! Thank you! ^^
Signature Status: Strikes: 1/3 | Infractions: 0/3
It's time to change the future...
to a positive direction!
Let's prevent things from getting bad!

I'm a ROM and ISO Researcher

Current Project: Researching Pokémon Mystery Dungeon Adventure Squad games (WiiWare)

Platinum Lucario

The Legendary Master of Light!

Age 27
Male
Warrnambool, Victoria, Australia.
Seen 2 Weeks Ago
Posted April 13th, 2020
1,603 posts
12.4 Years
Thank you, that really helped. Any advice on where to find a good tutorial?
If you need a good tutorial on how to use SDSME, I did make a tutorial on how to use the movement permissions as well as exporting and importing models, as well as editing them. I hope my tutorial helps ^^
[Platinum Lucario's Signature]
If you need to disable my signature, please give me advice on how to improve the CSS-DIV code. Thank you!
All credits for the avatar since 2008 goes to shorty-antics-27 (fanart account)! Thank you! ^^
Signature Status: Strikes: 1/3 | Infractions: 0/3
It's time to change the future...
to a positive direction!
Let's prevent things from getting bad!

I'm a ROM and ISO Researcher

Current Project: Researching Pokémon Mystery Dungeon Adventure Squad games (WiiWare)
Seen January 15th, 2020
Posted April 1st, 2019
103 posts
11.5 Years
can someone tell me how to look up a specific map?

I can make it go from the header to the wild pokes or events, but i can't figure out how to change the map from there.

it's frustrating, because i'm tired of looking through 600+ maps trying all 60+ tilesets to see if its the right map.
Project Concerto is starting up again, slowly but surely.

Buffel Saft

Male
Seen 19 Hours Ago
Posted 19 Hours Ago
746 posts
6.7 Years
I've been working on fixing a few of the bugs in some of SDSME's editors recently and figured I'd share my updated source code.

So far I've done the following:
  • Fixed the DPPt wild editor; it now saves fishing encounters to the correct location and doesn't corrupt encounter data
  • Added ball capsule (all gen IV games) and ability (HGSS only) editors to the trainer editor. This data was being overwritten in earlier versions
  • Rearranged the trainer selection box; you can now search for a trainer by name instead of having to scroll through the entire list, as in pk3DS
  • Added auto-suggestion to all wild Pokemon and trainer editor combo boxes (e.g. typing "ea" in a move selection box will bring up Earthquake instead of Ember followed by Absorb)

I'm currently working on getting the script editor to actually save changes, though the code is hard to read so it's going to take some time. Once I've fixed all the bugs I plan to add a few more editors to SDSME, such as move, item and Pokemon editors.

Source is available here: https://github.com/BuffelSaft/SDSME

There are no compiled versions right now, and some of the modified UIs are a bit messy, but everything I've modified should be safe to use.

I noticed some mistakes that happen with HGSS (but not DPPt) when trying to change the Wild Pokémon:
_Saving on any given Wild map will swap the third and fourth rows' levels for the Pokémon you get by Walking;
_Surfing rate is not read at all;
_In place of the Surfing rate SMSDE reads instead the max level for the 1% row while surfing;
_Saving on any given Wild map will save that value on both the Surfing rate and the 1% Surfing row max level bytes.


Here are the lines you want to check in Form9 Wild Editor.cs:
line 1014 should be numericUpDown22.Value = readWild.ReadByte()
line 1437 should be writeWild.Write((byte)numericUpDown68.Value)
line 1438 should be writeWild.Write((byte)numericUpDown67.Value)
line 1014 should be writeWild.Write((byte)numericUpDown22.Value)
I've also included all of these fixes except the last one due to the typo, though I'll get that sorted too at some point. If you still know which line that code was supposed to be on, and wouldn't mind sharing, I'd appreciate it.

-snip-
I know this is a long shot, but if you're still around Spiky, I'd appreciate a chance to ask you a few questions about the source code.
Female
NH
Seen December 30th, 2018
Posted November 9th, 2018
12 posts
4.7 Years
I've been working on fixing a few of the bugs in some of SDSME's editors recently and figured I'd share my updated source code.

So far I've done the following:
  • Fixed the DPPt wild editor; it now saves fishing encounters to the correct location and doesn't corrupt encounter data
  • Added ball capsule (all gen IV games) and ability (HGSS only) editors to the trainer editor. This data was being overwritten in earlier versions
  • Rearranged the trainer selection box; you can now search for a trainer by name instead of having to scroll through the entire list, as in pk3DS
  • Added auto-suggestion to all wild Pokemon and trainer editor combo boxes (e.g. typing "ea" in a move selection box will bring up Earthquake instead of Ember followed by Absorb)

I'm currently working on getting the script editor to actually save changes, though the code is hard to read so it's going to take some time. Once I've fixed all the bugs I plan to add a few more editors to SDSME, such as move, item and Pokemon editors.

Source is available here: https://github.com/BuffelSaft/SDSME

There are no compiled versions right now, and some of the modified UIs are a bit messy, but everything I've modified should be safe to use.


I've also included all of these fixes except the last one due to the typo, though I'll get that sorted too at some point. If you still know which line that code was supposed to be on, and wouldn't mind sharing, I'd appreciate it.


I know this is a long shot, but if you're still around Spiky, I'd appreciate a chance to ask you a few questions about the source code.
Hey, how do I like, apply or whatever the updated source code you did?

Buffel Saft

Male
Seen 19 Hours Ago
Posted 19 Hours Ago
746 posts
6.7 Years
Hey, how do I like, apply or whatever the updated source code you did?
You'd have to download the source code and compile it using Visual Studio, which is a free but kinda big download. Alternatively, if you don't mind waiting a while, I plan to have a compiled release with a fixed script editor uploaded sometime in the next two weeks once my exams are over.

bruno051

Bruno051

Male
Italy
Seen 19 Hours Ago
Posted 2 Weeks Ago
17 posts
4 Years
Can you make a sort of "Music Associate" ?... Like Towns....

But we can associate music to specific trainer classes.... Like Youngster boy i want associate to Youngster Class the Twinleaf Town OST.... So if we add new trainer class... and i add new song to the SDAT File... we can associate new files or original files to specific class.
Female
NH
Seen December 30th, 2018
Posted November 9th, 2018
12 posts
4.7 Years
You'd have to download the source code and compile it using Visual Studio, which is a free but kinda big download. Alternatively, if you don't mind waiting a while, I plan to have a compiled release with a fixed script editor uploaded sometime in the next two weeks once my exams are over.
Yeah I can wait. I do have Visual Studio but by the time I plan to test this tool out you should have the compiled release up.

Buffel Saft

Male
Seen 19 Hours Ago
Posted 19 Hours Ago
746 posts
6.7 Years
You'd have to download the source code and compile it using Visual Studio, which is a free but kinda big download. Alternatively, if you don't mind waiting a while, I plan to have a compiled release with a fixed script editor uploaded sometime in the next two weeks once my exams are over.
Yeah I can wait. I do have Visual Studio but by the time I plan to test this tool out you should have the compiled release up.
Just a quick update on this: I've released a compiled version for anyone who wants it, but haven't been able to get the script editor working yet. I was hoping that the function that saves changes to scripts was the only major problem with 1.9.0's editor, but it seems that other parts of it are broken as well. I haven't been able to identify which parts just yet, so it may be quite some time before I can get a fix up.
Female
NH
Seen December 30th, 2018
Posted November 9th, 2018
12 posts
4.7 Years
Just a quick update on this: I've released a compiled version for anyone who wants it, but haven't been able to get the script editor working yet. I was hoping that the function that saves changes to scripts was the only major problem with 1.9.0's editor, but it seems that other parts of it are broken as well. I haven't been able to identify which parts just yet, so it may be quite some time before I can get a fix up.
Ooh, I'll take the compiled release. Wasn't planning on editing scripts anyway.

inared

Just a PokéCommunity User.

Male
Mexico
Seen January 21st, 2020
Posted January 21st, 2020
13 posts
267 Days
Splendid.


This Rom-hack tool it's needed for my new ROM-HACK of Pokémon Sun Diamond.
I'm starting to make it, Right now.