Skip to content

Commit

Permalink
Update files
Browse files Browse the repository at this point in the history
  • Loading branch information
leikareipa committed Oct 13, 2024
1 parent a1553ce commit c04b118
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/apps/rallysported/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export default {
isChecked: (currentEditorView.now === "texture-editor"),
onClick() {
w95.shell.run(notepad({
file: "./desktop/apps/rallysported/manual.txt",
file: "/desktop/apps/rallysported/manual.txt",
isWordWrap: false,
}));
},
Expand Down
Binary file added desktop/apps/rallysported/hires2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions desktop/apps/rallysported/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html>
<head>
<title>Retro n-gon texture converter</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script src="/experimental/w95/distributable/w95-api.js"></script>
<script src="/experimental/w95/distributable/w95-assets.js"></script>
<script src="/experimental/w95/distributable/w95-widgets.js"></script>
<link href="/experimental/w95/distributable/w95.css" rel="stylesheet">
<style>
canvas.ngon-texture-convert {
background-color: rgb(192, 192, 192);
pointer-events: none;
image-rendering: pixelated;
}
iframe.rsed {
background-color: rgb(192, 192, 192);
border: none;
}
</style>
</head>
<body>
<script type="module">
import app from "./app.js";
import {icons} from "./icons.js";

const taskbar = w95.shell.taskbar();
const desktop = w95.shell.desktop({
icons: [
w95.widget.desktopIcon({
text: "Rally-Sport kenttäeditori",
icon: icons.app32,
onActivate() {
w95.shell.run(app);
},
}),
]
});

w95.shell.boot();
w95.shell.wallpaper = "./hires2.png";
w95.shell.run([desktop, taskbar, app]);
</script>
</body>
</html>
6 changes: 6 additions & 0 deletions projects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,4 +430,10 @@
<p>This is my favorite project to have worked on, but also among my least popular, as I'm not aware of it ever having users in the six years it was under active development.
I did expect it to be a niche project, but not that niche.
</p>
<p>For more information:</p>
<ul>
<li><a href="https://leikareipa.github.io/desktop/apps/rallysported/">Run the track editor</a></li>
<li><a href="https://leikareipa.github.io/rallysported/corruptor/">Run the corruptor</a></li>
<li><a href="https://leikareipa.github.io/rallysported/key-remapper/">Run the key remapper</a></li>
</ul>
</dokki-topic>

0 comments on commit c04b118

Please sign in to comment.