Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,436,440
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-19-24 04:25 PM
Guest: Register | Login

Main - Posts by blitzlunar


blitzlunar
Posted on 02-10-15 04:44 PM, in System.ArgumentOutOfRangeException Error (SOMedit) Link | Quote | ID: 159470

Newcomer
Level: 5

Posts: 1/4
EXP: 463
Next: 66

Since: 02-10-15
From: UK

Last post: 3344 days
Last view: 3340 days
Hi guys! I've been following the progress with SOM Edit for a while, terribly excited as I am about it.

I was hesitant about doing any of my own edits knowing that the software was still very much a work-in-progress and somewhat unpredictable. But I couldn't wait any longer, so I went ahead and spent a few hours today tweaking most of the enemies (my idea being to ramp up the difficulty a little + generally throw in a few surprises.) Well, sure enough, I'm having problems!

I get these messages when saving the project (in fact, I don't think saving the project does anything):

15:25:45 - System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Someditc.FullMapEditorControl.SaveMapsToProject(ProjectFile project)
at Someditc.Form1.SaveProject()


And these messages when exporting to a ROM:

15:07:11 - System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at Someditc.FullMapEditorControl.SaveAllMaps(BinaryWriter romFile)
at Someditc.Form1.saveStuffToRom(BinaryWriter writer)


Of course, I have no idea what any of this means. There may have been other errors while I was working on it, but I didn't notice. The ROM export is successful, but of course does not work/crashes Zsnes (could share it if anyone is interested, though I doubt it'd be any use.)

If anyone has any clues as to what could be wrong / a way of fixing or getting around this problem, I'd be interested. I did update probably half the enemies so I wouldn't be surprised if that broke something. I've closed the program and lost all the progress now I guess, but it isn't a huge problem, I can remember most of what I did and would probably do a better job next time around anyway.

Finally I'd also just like to say I'm looking forward to any hacks anyone else makes, or has made.

____________________
http://iridescentaudio.co.uk

blitzlunar
Posted on 02-11-15 10:01 AM, in System.ArgumentOutOfRangeException Error (SOMedit) (rev. 2 of 02-11-15 10:07 AM) Link | Quote | ID: 159475

Newcomer
Level: 5

Posts: 2/4
EXP: 463
Next: 66

Since: 02-10-15
From: UK

Last post: 3344 days
Last view: 3340 days
I can confirm that I have had success with exporting ROMs on a couple previous occasions (around a year ago, when I first discovered SOM Edit.) Case in point:





In that instance I only edited a single enemy, so of course there's significantly less to go wrong. But even back then I can remember running into some problems with exported ROMs being unplayable, if I remember correctly. (don't remember the details)

Would be content just to work in a project file, but as you can see, it wasn't even saving ~ the file's modified date hadn't changed since not long after I started editing.

Thanks for the reply anyway. It would be cool to have a definitive answer!

____________________
http://iridescentaudio.co.uk

blitzlunar
Posted on 02-12-15 04:59 PM, in System.ArgumentOutOfRangeException Error (SOMedit) (rev. 2 of 02-12-15 04:59 PM) Link | Quote | ID: 159479

Newcomer
Level: 5

Posts: 3/4
EXP: 463
Next: 66

Since: 02-10-15
From: UK

Last post: 3344 days
Last view: 3340 days
Yeah I think you're right. I edited one enemy using v.0210, and project saving was fine. Using v.0213 however, editing the same enemy+saving produced the same error mentioned in the OP.

This update in v.0211 appears to be responsible, afaik:


- Change method of output to project file and external files for
composite maps. Now stored as human-readable/modifiable properties
file. Old file type still supported for compatibility. Similar
changes to come for other data types.


Guess I'll wait it out for a new, more stable version.

____________________
http://iridescentaudio.co.uk

blitzlunar
Posted on 02-22-15 01:07 PM, in SOM EDITOR USER GUIDE (rev. 3 of 02-22-15 01:09 PM) Link | Quote | ID: 159518

Newcomer
Level: 5

Posts: 4/4
EXP: 463
Next: 66

Since: 02-10-15
From: UK

Last post: 3344 days
Last view: 3340 days
Made a reference list for enemies, since it takes a while to scroll through them on the larger maps and it's quicker to type them if you have the numbers. Thought I'd share it here in case it's of any use to anyone else. Perhaps in future there could be a drop down list rather than (or in addition to) the up/down buttons.

0 Rabite
1 Buzz Bee
2 Mushboom
3 Chobin Hood
4 Lullabud
5 Iffish
6 Kid Goblin
7 Eye Spy
8 Green Drop
9 Specter
A Blat
B Goblin
C Water Thug
D Polter Chair
E Ma Goblin
F Dark Funk
10 Crawler
11 Ice Thug
12 Zombie
13 Kimono Bird
14 Silktail
15 Nemesis Owl
16 Pebbler
17 Pumpkin Bomb
18 Steamed Crab
19 Chess Knight
1A Wizard Eye
1B Howler
1C Robin Foot
1D LA Funk
1E Grave Bat
1F Werewolf
20 Shadow X3
21 Evil Sword
22 Tomato Man
23 Mystic Book
24 Sand Stinger
25 Mad Mallard
26 Emberman
27 Red Drop
28 Eggatrice
29 Bomb Bee
2A Mushgloom
2B Trap Flower
2C Dinofish
2D Mimic Box
2E Shadow X1
2F Kimono Wizard
30 Ghost
31 Metal Crawler
32 Spider Legs
33 Weepy Eye
34 Shellblast
35 Beast Zombie
36 Ghoul
37 Imp
38 Blue Drop
39 Marmablue
3A Fierce Head
3B Griffin Hand
3C Needlion
3D Metal Crab
3E Armored Man
3F Shadow X2
40 Eggplant Man
41 Captain Duck
42 Nitro Pumpkin
43 Turtlance
44 Tsunami
45 Basilisk
46 Gremlin
47 Steelpion
48 Dark Ninja
49 Whimper
4A Heck Hound
4B Fiend Head
4C National Scar
4D Dark Stalker
4E Dark Knight
4F Shape Shifter
50 Wolf Lord
51 Doom Sword
52 Terminator
53 Master Ninja
54 ?
55 Crystal Orb
56 Treasure Chest
57 Mantis Ant
58 Wall Face
59 Tropicallo
5A Minotaur
5B Spikey Tiger
5C Jabberwocky
5D Spring Beak
5E Frost Gigas
5F Snap Dragon
60 Mech Rider
61 Doom's Wall
62 Vampire
63 Metal Mantis
64 Mech Rider
65 Kilroy
66 Gorgon Bull
67 Brambler
68 Boreal Face
69 Great Viper
6A Lime Slime
6B Blue Spike
6C Chamber's Eye
6D Hydra
6E Aegagropilon
6F Hexas
70 Kettle Kin
71 Tonpole
72 Mech Rider
73 Snow Dragon
74 Fire Gigas
75 Red Dragon
76 Axe Beak
77 Blue Dragon
78 Buffy
79 Dark Lich
7A Biting Lizard
7B Dragon Worm
7C Dread Slime
7D Thunder Gigas
7E Doom's Eye
7F Mana Beast


Have been having fun with this myself. Pic related.

____________________
http://iridescentaudio.co.uk

Main - Posts by blitzlunar

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.223 seconds. (329KB of memory used)
MySQL - queries: 47, rows: 63/63, time: 0.218 seconds.