• Please stop embedding files/images from Discord. Discord has anti-hotlinking logic in place that breaks links to Discord hosted files and images when linked to from anywhere outside of Discord. There are a multitude of file/image hosting sites you can use instead.

    (more info here)

Quick Modding/Hacking Answers Thread

Mar 12, 2016 at 5:29 PM
Junior Member
"Wahoo! Upgrade!"
Join Date: May 26, 2014
Location: on the Internet
Posts: 45
Rather then forcing people to play first game, I'd have it so that you get starting bonus in 2nd game for playing 1st.
 
Mar 12, 2016 at 6:57 PM
Its dark in here
"Deaths: 4000"
Join Date: Nov 21, 2013
Location: farther
Posts: 922
Age: 29
Pronouns: he/him
Yes, because I am a competent assembly hacker. And every other hack I have ever made hasn't ended in the game crashing and me in tears.
Nobody starts out amazing, assembly takes time and practi-

actually since you probably won't take anyone else's advice maybe you'll listen to your own
git gud and lern
 
Mar 12, 2016 at 7:50 PM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 33
OK, if you insist on me doing it myself then here's my question:
When I find the function what the fuck do I do to disable it?
git gud and lern

If you want a hint, I'd look for where in the titlescreen function it checks for the UP and DOWN key presses, since that will be the code that moves the selection from NEW to LOAD and vice versa.
 
Mar 12, 2016 at 7:52 PM
Its dark in here
"Deaths: 4000"
Join Date: Nov 21, 2013
Location: farther
Posts: 922
Age: 29
Pronouns: he/him
I found that quite funny actually.
OK, if you insist on me doing it myself then here's my question:
When I find the function what the fuck do I do to disable it?
Play around with the code, and see what happens. You're probably the first person who ever wanted to do this, so be the forefront of your research
 
Mar 12, 2016 at 10:36 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pronouns: she/her
Good, then this shitfest can end
 
Mar 13, 2016 at 10:51 AM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 25
Pronouns: he/him
Alright, here's another question: How would one increase the fire rate at which a gun shoots when you hold the key (Like the Bubbler and Machine Gun) or how do you set a weapon to auto-fire? I can't be bothered to look through all the existing weapons for the code BTW
 
Mar 13, 2016 at 11:23 AM
lavender
"What're YOU lookin' at?"
Join Date: Oct 17, 2011
Location: scattered across time and space (supposedly)
Posts: 1123
Age: 28
Alright, here's another question: How would one increase the fire rate at which a gun shoots when you hold the key (Like the Bubbler and Machine Gun) or how do you set a weapon to auto-fire? I can't be bothered to look through all the existing weapons for the code BTW
autofire has to be implemented by adding some code, it's not a value or anything

as for the firing speed
0041E457 CMP ECX,6
machine gun firing speed, lower the value for faster firing, and remember to set maxbullets to something higher

0041F2DA CMP ECX,3
bubbler lv2/3 firing speed, same deal as with machine gun
 
Mar 14, 2016 at 12:00 AM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 25
Pronouns: he/him
autofire has to be implemented by adding some code, it's not a value or anything

as for the firing speed
0041E457 CMP ECX,6
machine gun firing speed, lower the value for faster firing, and remember to set maxbullets to something higher

0041F2DA CMP ECX,3
bubbler lv2/3 firing speed, same deal as with machine gun
I meant where does the code for auto-fire start? I want to create my own weapon that auto-fires, and I also want to find the code and copy it in, then fix it up or something

EDIT: I've also got another question. How would you edit the tilesets? For example, tile 41 is solid and 44 is no NPCs. How would I edit the unused tiles into a tile that's actually useful? If you can't tell me that, can you tell me the offset for the tilesets?
 
Last edited:
Mar 14, 2016 at 7:27 AM
lavender
"What're YOU lookin' at?"
Join Date: Oct 17, 2011
Location: scattered across time and space (supposedly)
Posts: 1123
Age: 28
I meant where does the code for auto-fire start? I want to create my own weapon that auto-fires, and I also want to find the code and copy it in, then fix it up or something

EDIT: I've also got another question. How would you edit the tilesets? For example, tile 41 is solid and 44 is no NPCs. How would I edit the unused tiles into a tile that's actually useful? If you can't tell me that, can you tell me the offset for the tilesets?
congrats on 100 posts btw

anyway
p213377-0-gtpeyqk.png

first three lines: check if button is held, check if it's the fire button; if it's not, jump to 41e749 which is probably somewhere around the reload ammo code

then there's very unoptimized check if we can fire another shot after already firing one, basically everything before the last JMP

increase the timer, compare it to 6, jump the the shoot function (where the timer is put to 0 once again, mind you (last line of the code above)) if it's greater or equal to 6
if not, jump to the end of the weapon code

basically that's it

e: I don't think I ever played with the tiles so I can't say much here
 
Mar 14, 2016 at 7:31 AM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 25
Pronouns: he/him
congrats on 100 posts btw

anyway
p213377-0-gtpeyqk.png

first three lines: check if button is held, check if it's the fire button; if it's not, jump to 41e749 which is probably somewhere around the reload ammo code

then there's very unoptimized check if we can fire another shot after already firing one, basically everything before the last JMP

increase the timer, compare it to 6, jump the the shoot function (where the timer is put to 0 once again, mind you (last line of the code above)) if it's greater or equal to 6
if not, jump to the end of the weapon code

basically that's it

e: I don't think I ever played with the tiles so I can't say much here
Lol 100 posts :D
Anyway, thanks for saving me hours of flipping through the codes and confusing myself; I'll probably have to find the tiles myself :(
 
Mar 14, 2016 at 8:09 AM
lavender
"What're YOU lookin' at?"
Join Date: Oct 17, 2011
Location: scattered across time and space (supposedly)
Posts: 1123
Age: 28
Lol 100 posts :D
Anyway, thanks for saving me hours of flipping through the codes and confusing myself; I'll probably have to find the tiles myself :(
there are some things you can find in Noxid's resources that might be useful

00416E20 - Clear Player Tiles (Set 49E63C = 0)
00416E30 - Player Tile collision, Solid tiles
00417160 - Player Bump Against Ceilling
004171D0 - Player Tile Collision, Roof Slope 1
004172E0 - Player Tile Collision, Roof Slope 2
004173F0 - Player Tile Collision, Roof Slope 3
00417500 - Player Tile Collision, Roof Slope 4
00417610 - Player Tile Collision, Floor Slope 1
00417720 - Player Tile Collision, Floor Slope 2
00417830 - Player Tile Collision, Floor Slope 3
00417940 - Player Tile Collision, Floor Slope 4
00417A50 - Player Tile Collision, Water
00417AE0 - Player Tile Collision, Spike
00417B70 - Player Tile Collision, Spike (water)
00417C00 - Player Tile Collision, Wind (Left)
00417C90 - Player Tile Collision, Wind (Up)
00417D20 - Player Tile Collision, Wind (Right)
00417DB0 - Player Tile Collision, Wind (Down)
00417E40 - PC Tile checking algorithm

basically I think you'd need to make a new code with the collisions you need and then add that to the checking algorithm, but I can't be sure
I believe GIR had some custom tiles in WTF? Story so you might want to ask him about that
 
Mar 14, 2016 at 8:26 AM
Bonds that separate us
Forum Administrator
"Life begins and ends with Nu."
Join Date: Aug 20, 2006
Location:
Posts: 2870
Age: 35
Pronouns: he/him
Speaking of posts, the thread just hit 7000

Too bad modding is dead huh :awesomeface:
 
Mar 14, 2016 at 8:46 AM
lavender
"What're YOU lookin' at?"
Join Date: Oct 17, 2011
Location: scattered across time and space (supposedly)
Posts: 1123
Age: 28
Speaking of posts, the thread just hit 7000

Too bad modding is dead huh :awesomeface:
hory shet did it really

but yeah
modding is dead
kinda

I am still planning to finish at least one normal mod lol
 
Mar 14, 2016 at 8:54 AM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 25
Pronouns: he/him
there are some things you can find in Noxid's resources that might be useful

00416E20 - Clear Player Tiles (Set 49E63C = 0)
00416E30 - Player Tile collision, Solid tiles
00417160 - Player Bump Against Ceilling
004171D0 - Player Tile Collision, Roof Slope 1
004172E0 - Player Tile Collision, Roof Slope 2
004173F0 - Player Tile Collision, Roof Slope 3
00417500 - Player Tile Collision, Roof Slope 4
00417610 - Player Tile Collision, Floor Slope 1
00417720 - Player Tile Collision, Floor Slope 2
00417830 - Player Tile Collision, Floor Slope 3
00417940 - Player Tile Collision, Floor Slope 4
00417A50 - Player Tile Collision, Water
00417AE0 - Player Tile Collision, Spike
00417B70 - Player Tile Collision, Spike (water)
00417C00 - Player Tile Collision, Wind (Left)
00417C90 - Player Tile Collision, Wind (Up)
00417D20 - Player Tile Collision, Wind (Right)
00417DB0 - Player Tile Collision, Wind (Down)
00417E40 - PC Tile checking algorithm

basically I think you'd need to make a new code with the collisions you need and then add that to the checking algorithm, but I can't be sure
I believe GIR had some custom tiles in WTF? Story so you might want to ask him about that
Yeah, I was referring to that. The 45 degree slopes, the tiles which you can only go up onto, etc
hory shet did it really

but yeah
modding is dead
kinda

I am still planning to finish at least one normal mod lol
Lol meanwhile you're about to hit 1000 posts
 
Mar 14, 2016 at 9:05 AM
lavender
"What're YOU lookin' at?"
Join Date: Oct 17, 2011
Location: scattered across time and space (supposedly)
Posts: 1123
Age: 28
Lol meanwhile you're about to hit 1000 posts
sadly, it's not even impressive considering my join date

anyway I might do a bit of research on the tiles, so if I find anything I'll let you know
 
Mar 14, 2016 at 11:20 AM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 25
Pronouns: he/him
I looked a bit at WTF story's tileset, and tile 47 seems to be the one that goes ◿, 48's the one that goes ◺, 49 goes ◹, and 4A goes ◸. 4B seems to be the block that you can stand on, can go through it from any direction but up, like those mario platforms.

EDIT: Fuck. The formatting doesn't work. Look at the screenshot I made
 

Attachments

  • WTF blocks.PNG
    WTF blocks.PNG
    79.3 KB · Views: 10
Last edited:
Mar 14, 2016 at 1:02 PM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
Gir wrote custom slope code, don't assume you can use anything from a mod that's so heavily modified
 
Mar 14, 2016 at 5:16 PM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
Better map design
 
Back
Top