Skip to content

Commit c0c7c0c

Browse files
Wurmatroneip618
andauthored
added DSI, Switch, OLED Board diagrams, Removed .hw gudes, (#1497)
* Added DSI Board diagram * Added Switch 2 * Fixed error with .pop being run on non 3ds consoles * Added Switch Board * Added plates, removed guides (as its no longer used), Removed recomendation for o2ds as its no longer offered by nintendo * Added OLED Diagram, Made by Emerkt * Fixed fix some ponctuation, Emerkt * Fixed formatting * Adding missing board titles * Flake vs Wurm * Update hwtest.hardware.md * Update plates.hardware.md --------- Co-authored-by: eip <36315290+eip618@users.noreply.github.com>
1 parent 37d4837 commit c0c7c0c

File tree

4 files changed

+49
-14
lines changed

4 files changed

+49
-14
lines changed

cogs/assistance-cmds/hardware/guides.hardware.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

cogs/assistance-cmds/hardware/hwtest.hardware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Please note: if the console is unmodded, your only option is to run the test usi
1010
Once this test has completed, any amount of errors above 0 indicates RAM failure. This is currently unfixable barring a complete motherboard replacement. If you need assistance transferring your files to a new console/motherboard, you can ask in https://discord.com/channels/196618637950451712/196635695958196224 .
1111

1212
*While it's technically possible to replace the RAM, it's very time consuming, requires a donor board, and would likely end up costing more than a replacement board, or a whole new console.*
13-
*If your console is an Old 2DS or New 2DS XL, it may be worth looking into a replacement from [Nintendo](<https://www.nintendo.com/>)*
13+
*If your console is a New 2DS XL, it may be worth looking into a replacement from [Nintendo](<https://www.nintendo.com/>)*
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Worn Plates
3+
help-desc: Notes on replacment plates / shells
4+
thumbnail-url: https://hacksguidewiki.sfo3.digitaloceanspaces.com/hardwarewiki/Peeling.webp
5+
aliases: plate,worn
6+
---
7+
8+
Are your outer plates worn or peeling?
9+
We recommend covering them with a shell instead of replacing as replacement covers are of extremely poor quality (peel and scratch easily, usually don't fit properly, brittle, etc). Most 3DS systems have solid color covers, which can be found on AliExpress for cheap.
10+
- If you really are set on replacing them, we recommend tracking down OEM/Original ones, which you most likely have to salvage from another system.
11+
- Please note: most of the ones being sold as OEM/Original are also just the 3rd party ones you can find on Aliexpress with large markups.
12+
- If you are still planning on buying a 3rd party one, be ready with some files, a knife, and resin to correct the poor molding, and place a clear cover over it afterward.

cogs/assistancehardware.py

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,12 @@
6060
'switch': 'https://www.ifixit.com/Device/Nintendo_Switch',
6161
'switcholed': 'https://www.ifixit.com/Device/Nintendo_Switch_OLED_Model',
6262
'switchlite': 'https://www.ifixit.com/Device/Nintendo_Switch_Lite',
63-
'joycons': 'https://www.ifixit.com/Device/Joy-Con',
63+
'joycon': 'https://www.ifixit.com/Device/Joy-Con',
6464
'procontroller': 'https://www.ifixit.com/Device/Switch_Pro_Controller',
6565
'gamewatch': 'https://www.ifixit.com/Device/Game_Watch_Nintendo',
6666
'gameboylight': 'https://www.ifixit.com/Device/Game_Boy_Light',
67+
"joycon2": "https://www.ifixit.com/Device/Nintendo_Switch_2_Joy-Con",
68+
"switch2": "https://www.ifixit.com/Device/Nintendo_Switch_2",
6769
# Sega
6870
'segacd': 'https://www.ifixit.com/Device/Sega_CD',
6971
'dreamcast': 'https://www.ifixit.com/Device/Sega_Dreamcast',
@@ -168,9 +170,12 @@
168170
"hdh": "switchlite",
169171
"heg": "switcholed",
170172
"procon": "procontroller",
171-
"joycon": "joycons",
173+
"joycons": "joycon",
172174
"wup": "wiiu",
173175
"rvl": "wii",
176+
"bee": "switch2",
177+
"s2": "switch2",
178+
"joycons2": "joycon2"
174179
}
175180

176181
boards = {
@@ -183,6 +188,9 @@
183188
"new3dsxl": "https://hacksguidewiki.sfo3.digitaloceanspaces.com/hardwarewiki/Board-n3dsxl.png",
184189
"new2dsxl": "https://hacksguidewiki.sfo3.digitaloceanspaces.com/hardwarewiki/Board-n2dsxl.png",
185190
"ds": "https://hacksguidewiki.sfo3.digitaloceanspaces.com/hardwarewiki/Board-ntr-compressed.png",
191+
"dsi": "https://hacksguidewiki.sfo3.digitaloceanspaces.com/hardwarewiki/Board-dsi-compressed.png",
192+
"switch": "https://hacksguidewiki.sfo3.digitaloceanspaces.com/hardwarewiki/Board-switch-compressed.png",
193+
"switcholed": "https://hacksguidewiki.sfo3.digitaloceanspaces.com/hardwarewiki/OLED_board_diagram_compressed.png"
186194
}
187195

188196
# Used for board command title
@@ -196,6 +204,9 @@
196204
"new3dsxl": "\"New\" 3DS XL (2015)",
197205
"new2dsxl": "\"New\" 2DS XL",
198206
"ds": "DS (Fat/NTR)",
207+
"dsi": "DSI (TWL)",
208+
"switch": "Switch (v1/v2)",
209+
"switcholed": "Switch OLED"
199210
}
200211

201212
bits = {
@@ -211,11 +222,24 @@
211222
"switch": "PH 00, Y00",
212223
"switchlite": "PH 00, Y00",
213224
"switcholed": "PH 00, Y00",
214-
"joycons": "PH 00, Y00",
225+
"joycon": "PH 00, Y00",
215226
"procontroller": "PH 00, Y00",
227+
"joycon2": "PH 0, PH00, Y00"
216228
}
217229

218230

231+
valid_3ds = ['3ds', '3dsxl', 'new3ds', 'new3dsxl', '2ds', 'new2dsxl']
232+
233+
234+
def is_3ds(dname):
235+
try:
236+
if dname in valid_3ds or alias[dname] in valid_3ds:
237+
return True
238+
return False
239+
except:
240+
return False
241+
242+
219243
class AssistanceHardware(commands.Cog):
220244
"""
221245
General hardware commands that will mostly be used in the hardware but also other help channels.
@@ -305,6 +329,13 @@ async def pop(self, ctx: KurisuContext, console: str = ""):
305329
"""Fix popping issue for the given console. """
306330
console = console.lower()
307331
embed = discord.Embed(color=discord.Color.blue())
332+
333+
if not is_3ds(console):
334+
embed.description = f'{ctx.author.mention}, Valid options are `' + ', '.join(valid_3ds) + "`"
335+
embed.color = discord.Color.red()
336+
await ctx.send(embed=embed, delete_after=10)
337+
return
338+
308339
if console in boards.keys():
309340
embed.set_image(url=boards[console])
310341

@@ -313,13 +344,13 @@ async def pop(self, ctx: KurisuContext, console: str = ""):
313344
embed.set_image(url=boards[alias[console]])
314345

315346
else:
316-
embed.description = f'{ctx.author.mention}, Valid options are `' + ', '.join(boards) + "`"
347+
embed.description = f'{ctx.author.mention}, Valid options are `' + ', '.join(valid_3ds) + "`"
317348
embed.color = discord.Color.red()
318349
await ctx.send(embed=embed, delete_after=10)
319350
return
320351

321352
else:
322-
embed.description = f'{ctx.author.mention}, Valid options are `' + ', '.join(boards) + "`"
353+
embed.description = f'{ctx.author.mention}, Valid options are `' + ', '.join(valid_3ds) + "`"
323354
embed.color = discord.Color.red()
324355
await ctx.send(embed=embed, delete_after=10)
325356
return

0 commit comments

Comments
 (0)